Learning to Classify Open Intent via Soft Labeling and Manifold Mixup

Zifeng Cheng, Zhiwei Jiang, Yafeng Yin, Cong Wang, Qing Gu · DOI

Introduction

In modern natural language understanding (NLU), dialogue systems are typically designed under a "closed-world" assumption. These systems are trained to map user queries to a predefined set of categories, such as "Check Balance" or "Transfer Money." However, real-world deployment frequently exposes these models to "open" intents—queries that fall outside the training distribution.

The challenge of Open Intent Classification (OIC) is to accurately categorize known intents while effectively identifying and rejecting unknown ones. Traditional approaches often rely on post-hoc outlier detection, but these methods struggle because deep neural networks are notoriously overconfident, frequently assigning high probability scores to out-of-distribution inputs. This paper introduces SLMM, a framework that integrates unknown intent awareness directly into the training process using Soft Labeling and Manifold Mixup.

The SLMM Framework

SLMM treats OIC as a $(K+1)$-class classification problem, where the $(K+1)$-th class represents all unknown intents. Since training data for the "unknown" class is inherently unavailable, the authors propose two synergistic strategies to prepare the model for unseen inputs.

Soft Labeling (SL)

Standard classifiers use "hard" one-hot labels, forcing the model to assign 100% probability to a single known class. This leads to the overconfidence problem mentioned above. SLMM addresses this by reallocating a small probability mass (denoted as $\xi$) from the known classes to the $(K+1)$-th "open" class during training. By preventing the model from becoming absolute in its predictions for known categories, the framework leaves "room" in the probability space for unknown intents to be identified during inference.

Manifold Mixup (MM)

To provide the model with concrete examples of what an unknown intent might look like, the authors utilize Manifold Mixup. This technique operates on the hidden representations (embeddings) extracted by a BERT backbone. By mathematically interpolating the embeddings of two different known intents, the model generates "pseudo-unknown" samples.

This approach is based on the "Betweenness" Hypothesis: the feature space residing between distinct known intent clusters is a high-probability region for unknown intents. Training the model to recognize these interpolated points as the $(K+1)$-th class allows it to draw more robust decision boundaries around known intent clusters.

Experimental Evaluation

The authors evaluated SLMM across four benchmark datasets: BANKING (77 intents), CLINC (150 intents), SNIPS (7 intents), and ATIS (18 intents). To test the model's robustness, experiments were conducted with varying ratios of known classes (25%, 50%, and 75%).

Key Results

  • State-of-the-Art Performance: SLMM consistently outperformed leading baselines, including Adaptive Decision Boundary (ADB) and Deep Open Classification (DOC).
  • Superiority in Data-Scarce Scenarios: The model showed its greatest strengths when the number of known intents was small. On the CLINC dataset with only 25% of intents known, SLMM achieved an accuracy of 91.25%, a 3.6% improvement over the previous state-of-the-art.
  • Improved Calibration: The macro F1-scores indicated that SLMM is significantly better at identifying the "Open" class itself, often outperforming baselines by 5 to 10 points. This suggests that the combination of soft labeling and manifold mixup effectively calibrates the model's confidence.

Discussion and Future Directions

While SLMM represents a significant step forward in OIC, the authors identified specific areas for improvement. The model occasionally struggles with semantic similarity, where an unknown intent is linguistically close to a known one (e.g., confusing an unknown "Add to Playlist" with a known "Play Music"). Additionally, performance on the ATIS dataset was impacted by inherent class imbalance, suggesting that integrating imbalance-handling techniques could further stabilize the model.

Finally, while this study utilized a BERT backbone with frozen layers to manage computational costs, the authors suggest that full fine-tuning of the transformer architecture specifically for the OIC objective could yield even higher performance gains. By moving away from post-processing detection and toward an integrated $(K+1)$ training objective, SLMM provides a more robust foundation for building reliable, real-world dialogue systems.

Summary updated

BibTeX
@article{cheng2022learning,
  author = {Zifeng Cheng and Zhiwei Jiang and Yafeng Yin and Cong Wang and Qing Gu},
  title = {{Learning to Classify Open Intent via Soft Labeling and Manifold Mixup}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2022},
  doi = {10.1109/taslp.2022.3145308},
}
Figure