Introduction
Spoken Language Understanding (SLU) serves as the critical "ear" of task-oriented dialogue systems, tasked with two primary objectives: Intent Detection (identifying the user's goal) and Slot Filling (extracting specific entities like dates or locations). While single-turn SLU has reached a high level of maturity, multi-turn SLU remains a significant challenge. It requires models to maintain context across several exchanges to interpret the current utterance accurately.
Historically, researchers have faced a strict trade-off between speed and accuracy. Autoregressive models (e.g., RNNs) are highly accurate but slow due to their sequential nature. Conversely, non-autoregressive models (e.g., Transformers) offer high speed through parallel processing but often struggle to capture salient historical information and suffer from the "uncoordinated slot" problem.
The SHA-LRT Framework
To bridge the gap between speed and accuracy, this paper introduces SHA-LRT (Salient History Attention with Layer-Refined Transformer). This model achieves a 15x speedup over state-of-the-art autoregressive baselines while improving accuracy through three core innovations:
1. Salient History Attention (SHA)
Traditional models often concatenate all previous dialogue turns into a single string, which introduces significant noise. SHA instead uses a specialized attention mechanism that treats the current utterance as a "query." It searches through historical utterances and, crucially, the results (previous intents and slots) to find the most relevant context.
2. Layer-Refined Mechanism (LRM)
To correct potential errors without the latency of a full second pass, LRM generates a "preliminary" prediction at a middle layer of the Transformer. These initial results are then fed back into subsequent layers to guide and refine the final output sequence.
3. Slot Label Generation (SLG)
SLG is an auxiliary task used exclusively during the training phase. It employs an autoregressive decoder to teach the shared encoder the sequential dependencies of slot labels (the "grammar" of IOB tags). Because this decoder is discarded during inference, the model retains the accuracy of sequential logic without any additional real-time latency.
Experimental Evaluation
The model was evaluated on three major benchmarks: KVRET (multi-turn navigation, weather, and calendar tasks), and ATIS & SNIPS (standard single-turn SLU datasets).
Key Results
- Accuracy and F1 Gains: On the KVRET dataset, SHA-LRT improved overall accuracy by 17.5% and the Slot Filling F1-score by 16.1% compared to the previous state-of-the-art (RPFSLU+Stack-Propagation).
- Efficiency: The model is approximately 15 times faster than leading autoregressive baselines. While baselines required ~174ms per inference, SHA-LRT processed utterances in just ~12ms.
- Generalization: Even on single-turn tasks (ATIS/SNIPS), the LRT component outperformed existing non-autoregressive models like SlotRefine, proving its robustness as a general-purpose SLU architecture.
Conclusion and Future Directions
SHA-LRT demonstrates that history-aware attention and internal layer refinement can overcome the traditional limitations of non-autoregressive models. While the model is highly effective, it remains susceptible to error propagation if early turns in a dialogue are misidentified. Future work may involve integrating SHA-LRT with larger pre-trained language models like BERT to further enhance performance in complex, multi-domain environments.
Summary updated