I2KD-SLU: An Intra-Inter Knowledge Distillation Framework for Zero-Shot Cross-Lingual Spoken Language Understanding

Tianjun Mao, Chenghong ZhangarXiv 2023 · DOI

Introduction

Spoken Language Understanding (SLU) serves as the foundational component of modern voice assistants, tasked with extracting semantic meaning from user utterances. This process involves two primary subtasks: Intent Detection (ID), which identifies the user's overall goal (e.g., "book a flight"), and Slot Filling (SF), which extracts specific entities or parameters (e.g., "destination: London").

While SLU systems have reached high levels of maturity in high-resource languages like English, their performance degrades significantly in "low-resource" languages where labeled training data is scarce. Zero-shot cross-lingual SLU aims to bridge this gap by training models on a source language (typically English) and deploying them on target languages without additional fine-tuning. However, existing approaches often fail to capture the synergistic relationship between intent and slots—a concept known as "mutual guidance"—across different languages. This paper introduces I²KD-SLU, a framework designed to leverage Intra-Inter Knowledge Distillation to enhance cross-lingual transfer by explicitly modeling these task dependencies.

Methodology

The I²KD-SLU framework is built upon the multilingual BERT (mBERT) architecture and introduces a novel distillation strategy to align semantic representations across languages and tasks.

1. Code-Switching Data Augmentation

To expose the model to multilingual contexts during training, the researchers employ a code-switching strategy. Using bilingual dictionaries, specific tokens in English training sentences are replaced with their equivalents in various target languages (e.g., replacing "distance" with the Spanish "distancia"). This creates a "mixed-language" dataset that encourages the model to focus on underlying semantic content rather than language-specific syntax.

2. Intra-Knowledge Distillation

The Intra-Knowledge Distillation module ensures that the model's internal representations remain consistent regardless of the input language. By forcing the model to produce similar probability distributions for an original English sentence and its code-switched counterpart, the framework anchors the meaning of the utterance in a language-agnostic space.

3. Inter-Knowledge Distillation

The core innovation of I²KD-SLU is the Inter-Knowledge Distillation module. This component addresses the mutual guidance between Intent Detection and Slot Filling. The model is trained to minimize the divergence between the predictions of these two subtasks. By ensuring that the intent prediction and the slot predictions are logically aligned (e.g., a "flight" intent should naturally correlate with "city" or "airport" slots), the framework transfers the structural logic of the task from the source language to the target languages.

4. Training Objective

The framework utilizes a composite loss function. In addition to standard cross-entropy losses for classification, it incorporates Jensen-Shannon Divergence (JSD) to manage the distillation process, ensuring smooth knowledge transfer across the intra- and inter-task boundaries.

Experimental Evaluation

The framework was evaluated using the MultiATIS++ dataset, a comprehensive benchmark for multilingual SLU covering nine languages: English (en), German (de), Spanish (es), French (fr), Hindi (hi), Japanese (ja), Portuguese (pt), Turkish (tr), and Chinese (zh). The dataset includes 18 intent categories and 84 slot types.

Key Results

I²KD-SLU established a new state-of-the-art (SOTA) for zero-shot cross-lingual SLU:

  • Overall Performance: The model achieved an average accuracy of 55.70% across all target languages, representing a 3.0% improvement over the previous leading model (LAJ-MCL).
  • Task-Specific Accuracy: The framework reached an average Intent Accuracy of 92.91% and a Slot Filling F1 score of 81.53%.
  • Ablation Studies: The importance of the Inter-KD module was highlighted when its removal led to a nearly 4% drop in overall accuracy, confirming that modeling the relationship between intents and slots is critical for effective cross-lingual transfer.

Discussion and Future Work

The success of I²KD-SLU demonstrates that distillation is a powerful tool for transferring the logic of a task, not just linguistic features. By focusing on the synergy between intent and slots, the model becomes more robust to the variations found in different languages.

However, the framework currently relies on bilingual dictionaries for its code-switching augmentation, which may present a bottleneck for extremely low-resource languages where such resources are unavailable. Future research will explore methods to reduce this dependency and investigate the application of Intra-Inter distillation to other complex NLP tasks, such as multi-turn dialogue systems and cross-lingual sentiment analysis.

Conclusion

I²KD-SLU provides a robust solution for the "mutual guidance" gap in zero-shot cross-lingual SLU. By coordinating intent and slot understanding through a dual-distillation approach, it significantly advances the ability of AI systems to serve global users in their native languages without the need for extensive localized datasets.

Summary updated

BibTeX
@misc{mao2023i,
  author = {Tianjun Mao and Chenghong Zhang},
  title = {{I2KD-SLU: An Intra-Inter Knowledge Distillation Framework for Zero-Shot Cross-Lingual Spoken Language Understanding}},
  year = {2023},
  eprint = {2310.02594},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.02594},
}
Figure