TL;DR
This paper introduces PromptSLU, a novel framework that unifies multi-intent Spoken Language Understanding (SLU) by treating both Intent Detection (ID) and Slot Filling (SF) as text generation tasks. By leveraging prompting and a shared Seq2Seq model, PromptSLU simplifies the architecture and improves performance, especially by using semantic descriptions of labels and an auxiliary Slot Prediction task.
What Problem Does This Paper Address?
Spoken Language Understanding (SLU) is crucial for task-oriented dialogue systems, involving two key sub-tasks: identifying user intents (Intent Detection, ID) and extracting relevant information (Slot Filling, SF). While jointly modeling these tasks can improve performance by exploiting their correlation, existing methods often treat them with distinct formulations (e.g., classification for ID, sequence tagging for SF). This disparity hinders effective shared feature extraction and can lead to complex, less interpretable models. Furthermore, real-world utterances can contain multiple intents, making accurate alignment between intents and slots more challenging. This paper aims to address these issues by proposing a unified framework that simplifies the architecture and enhances the interaction between intents and slots.
Methods
The core of PromptSLU is its unified text generation approach for both ID and SF, powered by pre-trained language models (PLMs) and a prompting mechanism.
- Unified Text Generation: Instead of separate models or complex joint architectures, both ID and SF are framed as text generation tasks. The input utterance is embedded into task-specific prompt templates, and a single pre-trained Seq2Seq model generates the output.
- Prompting: The framework utilizes prompts to guide the model. For ID, the prompt elicits intent labels. For SF, intents are first predicted and then embedded into prompts to guide slot-value extraction, a mechanism termed Semantic Intent Guidance (SIG). This helps maintain semantic consistency.
- Semantic Label Descriptions: To improve understanding, the authors replace raw intent and slot labels with their natural language descriptions. This is hypothesized to leverage the semantic information learned by PLMs more effectively.
- Auxiliary Slot Prediction (SP): An additional sub-task, Slot Prediction, is introduced during training. This auxiliary task helps the model maintain semantic consistency between ID and SF and acts as a regularizer.
- Loss Functions: Two loss functions are proposed:
- Weighted Loss (Lw): A standard weighted sum of losses for ID, SP, and SF.
- Split Loss (Ls): A more direct text generation loss that treats each sub-task as a separate generation process, aiming to avoid trade-offs between potentially conflicting optimization targets.
Datasets
The experiments were conducted on two widely used multi-intent SLU datasets:
- MixATIS: Contains 13,162 training, 759 validation, and 828 test samples.
- MixSNIPS: Contains 39,776 training, 2,198 validation, and 2,199 test samples.
The paper does not introduce new benchmarks but evaluates its method against existing state-of-the-art approaches on these established datasets.
Key Insights and Ideas
- Unifying ID and SF as Text Generation is Powerful: The most significant insight is that framing both ID and SF as text generation tasks within a single Seq2Seq model simplifies the architecture and surprisingly leads to strong performance. This contrasts with traditional approaches that use distinct task formulations.
- Semantic Descriptions Enhance Understanding: Using natural language descriptions for intents and slots, rather than just raw labels, significantly improves the model's ability to align intents with slots, leading to better overall accuracy. This highlights the importance of semantic information for SLU.
- Intent Guidance for Slot Filling (SIG) Works: Embedding predicted intents into prompts for slot filling effectively guides the model, improving its ability to extract relevant slot-value pairs and maintain semantic consistency.
- Auxiliary Slot Prediction Aids Consistency: The Slot Prediction sub-task, while seemingly redundant, acts as a crucial regularizer, helping the model maintain semantic consistency between intent detection and slot filling.
- Split Loss (Ls) Outperforms Weighted Loss (Lw): The proposed Split Loss function, which treats each sub-task as a distinct generation process, generally yields better results than a simple weighted sum of losses, suggesting that optimizing for each task independently within the generation framework is more effective.
Key Results
PromptSLU consistently outperforms several state-of-the-art baselines on both MixATIS and MixSNIPS datasets, regardless of whether pre-trained models are used.
- Overall Accuracy: PromptSLU achieves significant improvements in Overall Accuracy, particularly when using semantic label descriptions (PromptSLU_s). For example, on MixSNIPS, PromptSLU_base achieves 84.8% Overall Acc, surpassing the best baseline (GL-GIN+ROBERTa) at 82.4%.
- Intent Accuracy: PromptSLU demonstrates strong Intent Accuracy, with PromptSLU_base reaching 85.8% on MixSNIPS, outperforming baselines.
- Slot F1: While Slot F1 scores are competitive, the improvements in Overall Accuracy suggest that the framework excels at integrating information across tasks.
- Ablation Studies: Removing the Slot Prediction (SP) or Semantic Intent Guidance (SIG) mechanisms leads to performance drops, confirming their importance. The use of semantic descriptions (PromptSLU_s) over raw labels (PromptSLU) also shows a notable improvement in Overall Accuracy.
Limitations and Future Work
- Transmission Errors: While the impact of transmission errors from predicted intents to slot filling is estimated to be not significant, it's still a potential area for improvement. The authors suggest that the model's ability to check intents against the input utterance and filter incorrect ones mitigates this.
- Model Size: The paper notes that while PromptSLUsmall performs competitively against pre-trained baselines, PromptSLUbase shows substantial improvements with a larger backbone, indicating that model scale still plays a significant role.
- Future Work: The authors suggest that their framework's ability to translate user utterances into different language versions (as seen in Table 3) hints at its potential to alleviate forgetting of pre-trained knowledge after fine-tuning, which could be an avenue for further research. The framework's simplicity and interpretability also open doors for more complex dialogue systems.
Summary updated