Abstract
Natural language understanding typically maps single utterances to a dual level semantic frame, sentence level intent and slot labels at the word level. The best performing models force explicit interaction between intent detection and slot filling. We present a novel tri-level joint natural language understanding approach, adding domain, and explicitly exchange semantic information between all levels. This approach enables the use of multi-turn datasets which are a more natural conversational environment than single utterance. We evaluate our model on two multi-turn datasets for which we are the first to conduct joint slot-filling and intent detection. Our model outperforms state-of-the-art joint models in slot filling and intent detection on multi-turn data sets. We provide an analysis of explicit interaction locations between the layers. We conclude that including domain information improves model performance.
Introduction
Traditional Natural Language Understanding (NLU) systems typically operate on a "dual-level" semantic frame: they identify the Intent (the goal of the utterance, like "book a flight") and fill Slots (specific entities, like "destination: London"). While this works for simple, single-turn queries, it often struggles with the nuance and context of real-world, multi-turn conversations.
Researchers have identified two major gaps in existing NLU frameworks:
- Ignoring Domain Context: Most models overlook the Domain (the broad topic, e.g., "Travel" vs. "Food") or merge it into the intent. However, the domain provides critical context that constrains what intents and slots are even possible.
- Implicit vs. Explicit Interaction: While "Joint NLU" models exist, many rely on implicit information sharing (like a shared backbone). This paper argues that for complex datasets, we need explicit pathways for these three levels to "talk" to each other during the encoding process.
Methodology
The proposed tri-joint model architecture consists of three main stages designed to facilitate explicit task interaction:
Input Embedding
Instead of a single shared BERT model, the system uses three separate BERT encoders—one specialized for each task (Domain, Intent, and Slot).
Tri-Transformer-Encoder Layer
This is the core of the model, adding Transformer layers on top of the BERT encoders to allow for explicit information exchange. The authors tested two primary variants for this interaction:
- Cross-Attention: Encoders share their "Key" and "Value" vectors with each other during the attention phase.
- Before-Feed-Forward (BF): The output of the self-attention layer from the "Slot" unit is fed directly into the feed-forward layers of the "Intent" and "Domain" units.
Tri-directional Joint NLU Layer
In the final stage, the model performs a "fusion." For example, the probability distributions calculated for Intent and Domain are concatenated back into the Slot hidden states to help refine the final word-level labels.
Experimental Evaluation
The model was evaluated on two prominent multi-turn, multi-domain English datasets:
- M2M (Machines Talking To Machines): A goal-oriented dataset covering restaurant and movie domains, featuring ~14k training samples.
- MultiWOZ 2.2: A large and complex dataset with 48 domains and 78 intents, designed to simulate realistic conversations between tourists and information desk clerks.
Notably, the authors are the first to conduct joint slot-filling and intent detection experiments specifically on these multi-turn datasets using this tri-level framework.
Results and Discussion
The proposed model set new benchmarks for joint NLU on multi-turn data, significantly outperforming standard BERT and ALBERT baselines.
Key Insights
- Domain as a North Star: Including Domain Classification significantly improved both Intent and Slot performance. Domain information was found to "guide" the intent more effectively than it guides individual slots.
- Architecture > Parameters: The model using
BERT-baseconsistently outperformedBERT-largemodels that lacked explicit tri-level interaction. This suggests that how a model processes task-specific context is more important than raw parameter count. - Task-Specific Synergy: The optimal location for information exchange may depend on the complexity of the conversation. The "Cross-Attention" variant worked best for the M2M dataset, while the "Before-Feed-Forward" variant excelled on MultiWOZ.
Conclusion
This research demonstrates that a tri-level approach to NLU, incorporating explicit domain classification and task interaction, is superior to traditional dual-level models for multi-turn conversations. While the current model processes each utterance individually, future work will focus on incorporating Dialogue State Tracking (DST) or other context-memory mechanisms to allow the tri-level interaction to span across the entire conversation history.
Summary updated