Abstract
This paper introduces a novel multi-grained label refinement network designed to jointly tackle intent detection and slot filling in Natural Language Understanding (NLU). By explicitly modeling the relationship between a sentence's syntactic dependency structure and its label semantics, the proposed architecture bridges the gap between how a sentence is built and what its components mean. Utilizing Graph Attention Networks (GATs) to encode dependency trees and semantic label embeddings to provide informative priors, the model achieves state-of-the-art performance on the benchmark ATIS and SNIPS datasets.
Introduction
In NLU, Intent Detection (identifying the user's goal) and Slot Filling (extracting specific entities) are typically treated as joint tasks due to their high correlation. However, existing models often overlook the crucial link between syntax (sentence structure) and label semantics (the inherent meaning of labels). For example, verbs often signal intent, while objects in prepositional phrases frequently correspond to slots. Most current models treat labels as arbitrary IDs, ignoring the rich structural information provided by dependency trees. This research aims to bridge this gap by using syntactic structures to enhance sentence representations and label descriptions to provide semantic priors.
Methods
The proposed architecture employs a multi-stage approach to fuse structural and semantic information:
- Feature Extraction: The model utilizes BERT-large as a backbone to generate high-quality contextual word representations.
- Dependency Structures Encoder: Using the Stanford CoreNLP toolkit, the model generates a dependency parsing tree for each sentence. This tree is converted into an adjacency matrix and processed by a Graph Attention Network (GAT), allowing the model to weigh the importance of syntactic neighbors.
- Label Semantic Embeddings: Rather than treating labels as integers, the authors encode label descriptions (e.g., "airline_name") to create semantic embeddings.
- Multi-Grained Refinement:
- Intent Label Attention: Fuses sentence-level features from the [CLS] token with intent label embeddings.
- Slot Label Attention: Fuses span-level features with slot label embeddings to refine entity extraction.
- Intent Semantic Gated Mechanism: A specialized gate that uses refined intent information to guide the model in locating relevant slots within the sentence.
Key Insights
- Syntax as a Roadmap: Syntactic elements act as indicators; verbs are the "engines" of intent, and prepositional objects are the "cargo" (slots). Encoding this via GATs provides a structural roadmap that linear models may miss.
- Labels as Data: By using label descriptions as input features, the model gains a "prior" understanding. Knowing a slot is a "city_name" allows the model to leverage pre-trained geographical knowledge.
- The Gated Bridge: The Intent Semantic Gated Mechanism ensures that high-level intent understanding directly informs the granular task of finding slots, reducing the search space and improving accuracy.
Key Results
The model was evaluated on the ATIS (flight reservations) and SNIPS (multi-domain) datasets. As shown in the results table below, the proposed model outperformed several strong baselines, including BERT-Joint and Stack-Propagation.
On ATIS, the model achieved a Slot F1 of 96.28 and an Intent Accuracy of 98.78%. On SNIPS, it reached a Slot F1 of 97.17 and an Intent Accuracy of 98.51%. The ablation study confirmed the necessity of each component; notably, removing the dependency structure encoder led to a significant performance drop, proving that syntactic knowledge is critical for these tasks.
Conclusion and Future Work
While the model demonstrates superior performance on standard benchmarks, its reliance on external dependency parsers (like Stanford CoreNLP) means that parsing errors can propagate through the network. Future research will explore cross-domain applications, aiming to create models that can adapt to new tasks using only prior knowledge-driven label embeddings, further reducing the reliance on domain-specific training data.
Summary updated