Abstract
Few-shot Multi-label Intent Detection (MID) is a critical challenge in modern dialogue systems where user utterances often contain multiple intents and labeled data is scarce. Traditional classification-based pipelines suffer from error propagation and ignore valuable relationships between instances. This paper presents an end-to-end framework that treats MID as a graph-based relation learning problem. By propagating label knowledge across an instance relation graph and employing a dual relation-enhanced loss, the proposed model significantly outperforms specialized baselines and large language models (LLMs) in low-resource scenarios.
Introduction
In contemporary conversational AI, a single user request frequently encapsulates multiple goals. For instance, the query "What time is my meeting and what day?" requires the detection of both request_time and request_date. This multi-label nature, combined with the need to adapt to new domains with minimal examples (few-shot learning), presents a significant hurdle.
Existing methodologies typically rely on a two-stage process: generating a vector embedding for the utterance and then applying a classification threshold. This approach has two primary weaknesses:
- Error Propagation: Slight inaccuracies in the initial embedding—often caused by the overlap of multiple intents—lead to classification failure.
- Isolation: Models often classify instances in isolation, failing to leverage the structural relationships between the query and the labeled support set.
Methods
The proposed Instance Relation Learning Network shifts the focus from isolated classification to relational learning via a graph-based architecture.
Instance Relation Graph Construction
The model constructs a fully connected graph where each node represents an utterance from either the support set or the query set. Edges between nodes represent the strength of their relationship. To enhance the nodes, the model concatenates utterance text with explicit intent descriptions (e.g., "request_time"), providing semantic anchors for the learning process.
Label Knowledge Propagation
Using a Graph Neural Network (GNN), the model iteratively propagates label information across the graph. This process allows support instances to become more informative by sharing context with related nodes over multiple cycles.
Dual Relation-enhanced Loss
The network is optimized using a two-tiered loss function:
- Support-level Loss ($\mathcal{L}_s$): Ensures that support instances sharing labels have strong relational edges, while those with different labels have weak ones.
- Query-level Loss ($\mathcal{L}_q$): Maximizes the relation strength between a query and its relevant support instances, facilitating accurate multi-label prediction.
Direct inference is achieved through the final edge weights, which act as a "voting" mechanism for the query's labels, eliminating the need for manual threshold tuning.
Experimental Setup
The framework was evaluated using the TourSG benchmark, a multi-domain dialogue dataset covering areas such as Itinerary, Accommodation, Food, and Transportation. Experiments were conducted in 5-way and 10-way settings with 1-shot and 3-shot configurations to test performance under varying degrees of data scarcity.
Key Results
The proposed method establishes a new state-of-the-art for few-shot MID, demonstrating particular strength in the most challenging scenarios.
- Significant Performance Gains: In 1-shot tasks, the model achieved an average improvement of 9.54% in AUC and 11.19% in Macro-F1 over strong baselines like DCKPN.
- Superiority over LLMs: The model consistently outperformed massive models such as Llama3-70b and ChatGLM4. While LLMs are versatile, they often struggle with the exhaustive intent capture required in MID or fail to adapt to domain-specific nuances as effectively as the proposed relational approach.
- Stability: Unlike previous methods that showed high variance across different domains (e.g., Food vs. Shopping), this model exhibited robust stability across the entire TourSG benchmark.
Discussion and Conclusion
The success of this framework highlights that in multi-label settings, modeling relations is often more effective than refining individual representations. By treating class descriptions as first-class citizens in the graph, the model creates a more resilient learning signal.
Future work may involve integrating external knowledge bases or domain-specific ontologies to further enrich the graph nodes. Additionally, optimizing the computational efficiency of the fully connected graph construction will be key to scaling the approach for larger datasets.
Summary updated