MIDAS: Multi-level Intent, Domain, And Slot Knowledge Distillation for Multi-turn NLU

Yan Li, So-Eon Kim, Seong-Bae Park, Soyeon Caren Han

Introduction

MIDAS (Multi-level Intent, Domain, And Slot) is a novel knowledge distillation framework designed to master multi-turn Natural Language Understanding (NLU). By training a compact student model using three specialized "teacher" models—each focusing on a different semantic level (word, sentence, and document)—MIDAS significantly outperforms both traditional NLU baselines and state-of-the-art Large Language Models (LLMs) like GPT-4o in tracking dialogue context.

The Challenge of Multi-turn NLU

While Large Language Models (LLMs) are excellent at generating human-like text, they often struggle with the critical work of NLU: precisely identifying what a user wants (Intent), the specific details they provide (Slots), and the overall topic (Domain) across a long conversation.

Most existing NLU models are "dual-level," focusing only on intent and slots within a single turn. However, real-world conversations are multi-turn; to understand a user's request in turn five, a model must retain context from turn one. Handling this complexity in a single model often leads to "knowledge conflicts" or high computational costs. The MIDAS framework addresses this by distilling the specialized expertise of multiple teacher models into one efficient student that understands the entire dialogue hierarchy.

The MIDAS Framework

The authors introduce the MIDAS framework, which utilizes a multi-teacher knowledge distillation (KD) approach to capture hierarchical dialogue information.

The MIDAS framework architecture, illustrating the multi-teacher knowledge distillation process across word, sentence, and document levels.

Specialized Teachers

Instead of a single generalist, MIDAS fine-tunes three separate BERT-based models:

  • Word-level ($T_{SF}$): Expert in Slot Filling (e.g., identifying "6:00 PM" as a time).
  • Sentence-level ($T_{ID}$): Expert in Intent Detection (e.g., "booking a table").
  • Document-level ($T_{DC}$): Expert in Domain Classification (e.g., "restaurant" vs. "taxi").

Student and Loss Functions

The student model is a lightweight, vanilla Transformer encoder. To help the student learn from these three experts without confusion, two new loss functions were introduced:

  • Relation Loss ($L_{rel}$): Uses a "voting mechanism" among teachers to determine the relationship between different data samples, guiding the student toward the majority consensus.
  • Teacher Prediction Supervised Loss ($L_{tp}$): Uses the teachers' class probability distributions as "soft" pseudo-labels, providing richer signals than simple binary ground truth.

Experimental Setup

The model was evaluated on two gold-standard multi-turn dialogue datasets:

  • MultiWOZ 2.2: A massive human-to-human dialogue dataset covering domains like hotels and attractions, featuring 30 slot types and 11 intent types.
  • M2M (Machines Talking to Machines): A dataset of goal-directed conversations (movies and restaurants) with 21 slot types and 15 intent types.

Key Insights

  • Specialization Trumps Generalization: Distilling knowledge from three specialized experts is more effective than using one multi-task teacher, as each teacher optimizes its feature space for its specific hierarchical level.
  • LLMs Struggle with Constraints: Qualitative findings show that frontier models like GPT-4o and LLaMA 3.1 struggle with the strict formatting required for NLU, often failing to predict slots for every token. The distilled MIDAS student remains highly disciplined.
  • Consistency is Key: Using the same architecture (e.g., all BERT) for all teachers worked better than mixing architectures. Inconsistent feature spaces between teachers can impede the student's learning.

Key Results

MIDAS demonstrated superior performance across all metrics, as shown in the comparison table below:

Performance comparison of MIDAS against various baselines on MultiWOZ (MWOZ) and M2M datasets.
  • Slot Filling: On MultiWOZ, MIDAS achieved a near-perfect 0.9928 F1 score, significantly outperforming GPT-4o (3-shot), which trailed at 0.8525.
  • Intent Detection: In the M2M dataset, MIDAS reached 0.9427 accuracy, compared to GPT-4o's 0.7510.
  • Efficiency: Despite having only 58M parameters compared to the 7B+ parameters of modern LLMs, the MIDAS student was more accurate and reliable for these specific NLU tasks.
  • Ablation Success: Results confirmed that the combination of all three teachers ($ID + SF + DC$) yielded the highest performance, proving that domain-level knowledge improves word-level slot filling.

Conclusion and Future Work

While MIDAS sets a new standard for multi-turn NLU, the authors identify several areas for future research, including expanding to multilingual support and conducting a more fine-grained analysis of how each loss function impacts different stages of a conversation. Ultimately, the framework's performance is tied to teacher quality; as specialized encoders improve, the MIDAS framework is expected to scale further.

Summary updated

BibTeX
@inproceedings{li2025midas,
  author = {Yan Li and So-Eon Kim and Seong-Bae Park and Soyeon Caren Han},
  title = {{MIDAS: Multi-level Intent, Domain, And Slot Knowledge Distillation for Multi-turn NLU}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.445},
}
Figure