HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Deep Open Intent Classification with Adaptive Decision Boundary

Hanlei Zhang; Hua Xu; Ting-En Lin

Deep Open Intent Classification with Adaptive Decision Boundary

Abstract

Open intent classification is a challenging task in dialogue systems. On the one hand, it should ensure the quality of known intent identification. On the other hand, it needs to detect the open (unknown) intent without prior knowledge. Current models are limited in finding the appropriate decision boundary to balance the performances of both known intents and the open intent. In this paper, we propose a post-processing method to learn the adaptive decision boundary (ADB) for open intent classification. We first utilize the labeled known intent samples to pre-train the model. Then, we automatically learn the adaptive spherical decision boundary for each known class with the aid of well-trained features. Specifically, we propose a new loss function to balance both the empirical risk and the open space risk. Our method does not need open intent samples and is free from modifying the model architecture. Moreover, our approach is surprisingly insensitive with less labeled data and fewer known intents. Extensive experiments on three benchmark datasets show that our method yields significant improvements compared with the state-of-the-art methods. The codes are released at https://github.com/thuiar/Adaptive-Decision-Boundary.

Code Repositories

thuiar/Adaptive-Decision-Boundary
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
open-intent-detection-on-banking-77-50-knownADB
1:1 Accuracy: 78.86
F1-score: 80.90
open-intent-detection-on-banking-77-75-knownADB
1:1 Accuracy: 81.08
F1-score: 85.96
open-intent-detection-on-banking77-25-knownADB
1:1 Accuracy: 78.85
F1-score: 71.62
open-intent-detection-on-oos-25-knownADB
1:1 Accuracy: 87.59
F1-score: 77.19
open-intent-detection-on-oos-50-knownADB
1:1 Accuracy: 86.54
F1-score: 85.05
open-intent-detection-on-oos-75-knownADB
1:1 Accuracy: 86.32
F1-score: 88.53
open-intent-detection-on-stackoverflow-25ADB
1:1 Accuracy: 86.72
F1-score: 80.83
open-intent-detection-on-stackoverflow-50ADB
1:1 Accuracy: 86.40
F1-score: 85.83
open-intent-detection-on-stackoverflow-75ADB
1:1 Accuracy: 82.78
F1-score: 85.99

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp