Introduction
Spoken Language Understanding (SLU) is a critical component of modern voice assistants, traditionally divided into two sub-tasks: Intent Detection (ID) (e.g., identifying that a user wants to set an alarm) and Slot Filling (SF) (e.g., identifying the specific time for that alarm).
Historically, researchers have faced a trade-off between accuracy and flexibility. Joint models that handle both tasks simultaneously offer high accuracy by capturing inter-task dependencies but often struggle with domain adaptation because they treat labels as arbitrary categorical indexes. Conversely, models designed for flexibility across domains frequently treat ID and SF separately, sacrificing the performance gains of joint learning. This paper proposes a unified framework that bridges this gap by reframing SLU as a text-to-text generation task.
The Text-to-Text Paradigm
The core innovation lies in shifting from a "Classify-Label" framework to a Text-to-Text (T2T) approach. In traditional systems, intents and slots are treated as arbitrary numbers, making it difficult for models to generalize to new labels. By representing the output as a natural language string containing the intent, slot names, and slot values, the model can leverage the semantic information inherent in the labels themselves.
Constrained T2T (CT2T)
The authors introduce two variants of this approach. The first, Unconstrained T2T (UT2T), uses a standard sequence-to-sequence model with a copy mechanism. While flexible, UT2T is prone to "hallucinating" labels that do not exist in the target domain. To address this, the authors developed Constrained T2T (CT2T).
CT2T utilizes a dynamic vocabulary and constrained decoding. It encodes the names of intents and slots into semantic vectors using a pre-trained encoder like RoBERTa. During the generation process, the decoder is restricted to selecting tokens that form valid intents or slot names defined by the specific domain's ontology. This ensures that the model's output remains semantically and syntactically valid while allowing it to generalize to new domains through zero-shot or few-shot learning.
Experimental Results
The models were evaluated on two major multi-domain benchmarks: ASMixed (ATIS and Snips) and MTOD (Alarm, Reminder, and Weather). CT2T achieved competitive sentence-level accuracy—84.87% on ASMixed and 91.24% on MTOD—matching the performance of state-of-the-art joint models.
The true strength of CT2T is its adaptation capability. In few-shot scenarios where only 1% of the target domain data was available, CT2T outperformed the unconstrained version by over 30%. Furthermore, the model demonstrated impressive zero-shot performance; for instance, it achieved over 90% accuracy in the "Reminder" domain by transferring knowledge from the "Alarm" domain, simply by understanding the semantic similarity between labels like "cancel reminder" and "cancel alarm."
Discussion and Future Work
By treating labels as natural language data, the CT2T framework enables a powerful synergy between joint learning and domain flexibility. However, challenges remain. The model occasionally struggles with precise boundary detection for long slot values (e.g., predicting "hawaii" instead of "big island of hawaii") and is not currently designed to handle nested entities. Future research may focus on expanding semantic coverage and refining the T2T format to accommodate more complex linguistic structures.
Summary updated