Abstract
Zero-shot Intent Classification (ZSIC) is a critical task for scaling dialogue systems to handle new user intents without the need for extensive labeled datasets. This paper presents a novel framework that addresses two primary challenges in ZSIC: the extraction of indicative features and the generalization gap between seen and unseen intents. By integrating a "Mixture Attention" mechanism—which combines statistical word importance with learned neural attention—and an episode-based meta-learning training strategy, the proposed model demonstrates significant performance gains over existing baselines in both standard and generalized zero-shot settings.
Introduction
In modern dialogue systems such as Alexa or Siri, the ability to rapidly integrate new functionalities is essential. Traditional intent classification models require thousands of labeled examples for every new category (e.g., "Book a Flight"), creating a significant development bottleneck. Zero-shot Intent Classification (ZSIC) aims to bypass this requirement by leveraging the semantic descriptions of labels to recognize intents that were never encountered during training.
Despite its potential, ZSIC faces two major hurdles. First, standard feature extraction often fails to distinguish between "indicative" keywords and common filler words. Second, models trained on a fixed set of intents often struggle to generalize to unseen categories, particularly in Generalized ZSIC (GZSIC) scenarios where the model must simultaneously identify both seen and unseen intents.
Methodology
1. Mixture Attention Mechanism
To improve feature extraction, the authors propose a hybrid attention mechanism that weights word importance using both statistical and neural cues. This "Mixture Attention" consists of two primary components:
- Distributional Signature Attention: This component utilizes statistical properties to identify salient words. It down-weights frequent, non-informative words using unigram likelihood and up-weights words that are highly specific to certain categories via a ridge regression classifier.
- MLP Attention: A standard multi-layer perceptron (MLP) calculates attention weights based on the hidden states of a Bidirectional Long Short-Term Memory (Bi-LSTM) network, capturing the contextual nuances of the utterance.
An adaptive weight vector merges these two signals, allowing the model to dynamically balance hard statistical signatures with flexible, learned patterns.
2. Meta-learning Paradigm
To bridge the generalization gap, the framework adopts an episode-based meta-learning strategy. This approach treats zero-shot classification as a skill to be practiced during the training phase. The "seen" intents are partitioned into "meta-seen" and "meta-unseen" groups to simulate the zero-shot environment:
- Meta-training: The model learns to classify the meta-seen intents.
- Meta-adapting: The model is fine-tuned on the meta-unseen intents, forcing it to develop a robust strategy for projecting utterance features into a semantic space defined by label embeddings.
By repeatedly "pretending" that known intents are unseen, the model learns a more effective projection between user utterances and the prototypes of new intent categories.
Experimental Evaluation
Datasets and Settings
The model was evaluated on two diverse datasets:
- SNIPS: An English dataset featuring 7 user intents (e.g., "Get Weather," "Play Music").
- SMP: A Chinese dialogue corpus containing 30 intents, used to validate the method's cross-linguistic effectiveness.
Performance was measured in two settings: Standard ZSIC (testing exclusively on unseen intents) and Generalized ZSIC (testing on a mixture of seen and unseen intents).
Results
The proposed model outperformed several strong baselines, including DeViSE and Capsule Network-based architectures. On the SNIPS dataset, the model achieved an accuracy of 84.44%, which increased to 91.39% when utilizing BERT-based embeddings.
In the more challenging Generalized ZSIC setting, the model showed a substantial lead. When combined with an unknown intent detection method (SEG), it achieved an overall F1-score of 0.7729 on SNIPS, compared to the baseline performance of 0.3911. Ablation studies confirmed that both the meta-adapting phase and the mixture attention components were essential for these performance gains.
Discussion and Conclusion
The success of this framework highlights the importance of combining statistical cues with deep learning. While neural models are powerful, they can overlook simple distributional signatures that are highly indicative of intent. Furthermore, the meta-learning paradigm effectively prepares the model for the "unknown" by simulating zero-shot scenarios during training.
Future work will address current limitations, such as the model's assumption of single-label intents. In real-world scenarios, users often combine multiple requests (e.g., "Check the weather and play music"), requiring multi-label detection. Additionally, the authors aim to automate the selection of the threshold ($\lambda$) used in generalized settings and explore more complex meta-learning strategies to further enhance the model's adaptability.
Summary updated