GL-CLeF: A Global-Local Contrastive Learning Framework for Cross-lingual Spoken Language Understanding

Libo Qin, Qiguang Chen, Tianbao Xie, Qixin Li, Jian-Guang Lou, Wanxiang Che, Min-Yen Kan

Introduction

Spoken Language Understanding (SLU) is the core technology powering virtual assistants like Alexa and Siri. It involves two primary tasks: intent detection (identifying the user's goal, e.g., "book a flight") and slot filling (extracting specific parameters, e.g., "to London"). While high-quality training data is abundant for English, it is scarce for most other languages. This necessitates zero-shot cross-lingual SLU, where models are trained on English and expected to generalize to target languages without additional translated training data.

The Challenge of Implicit Alignment

Traditional approaches to cross-lingual SLU rely on "implicit alignment." They assume that massive pre-trained models like Multilingual BERT (mBERT) will naturally cluster similar concepts across languages due to shared parameters. However, this "black box" process often fails to capture the fine-grained distinctions required for both sentence-level intents and word-level slots, leading to a significant representation gap between languages.

The GL-CLeF Framework

To address these limitations, the authors propose GL-CLeF (Global–Local Contrastive LEarning Framework). This framework shifts the paradigm from implicit to explicit alignment, forcing the model to mathematically represent equivalent concepts (e.g., "movie" in English and "电影" in Chinese) similarly.

Comparison of prior work (implicit alignment) versus the proposed GL-CLeF framework (explicit alignment) across sentence, token, and semantic levels.

Key Components

  • Multi-lingual Code-Switching: Using bilingual dictionaries, the model generates "hybrid" sentences (e.g., "watch 运动 movie") to create diverse views of the same semantic meaning.
  • Local Contrastive Learning: This module separately aligns overall sentence intents and specific token-level slot representations across languages.
  • Global Contrastive Learning: This "secret sauce" treats the relationship between an intent and its corresponding slots as a self-supervision signal, pulling their representations closer in the vector space to improve generalization in low-resource settings.
  • Negative Sampling: The model utilizes a queue of negative examples to learn what is different, helping it distinguish between subtly different intents.

Experimental Results

GL-CLeF was evaluated on the MultiATIS++ benchmark, covering nine diverse languages. The framework achieved a new state-of-the-art performance, reaching an overall accuracy of 54.09%—a 10.06% absolute improvement over the previous best model (CoSDA). Intent accuracy averaged 91.95%, while slot filling reached an F1 score of 80.00%.

Ablation study showing the impact of removing different components (Local Intent, Local Slot, Global Intent-Slot) on the overall performance of GL-CLeF.

Key Insights

  • Explicit Alignment is Superior: Tightly clustering representations via contrastive loss significantly outperforms simple parameter sharing.
  • Granularity Matters: Handling intent and slots at their respective scales (sentence vs. token) is crucial for accuracy.
  • Intent-Slot Synergy: The global alignment of intents and slots acts as a powerful semantic "glue," particularly beneficial for low-resource languages.
  • Architecture Agnostic: GL-CLeF improved performance across various backbones, including BiLSTM and XLM-R, demonstrating its versatility.

Conclusion and Future Work

GL-CLeF demonstrates that explicit, multi-level alignment is key to robust zero-shot cross-lingual SLU. While the current framework relies on bilingual dictionaries for code-switching, future work will explore more sophisticated contextual word-to-word translations to further refine token-level alignment and reduce dependency on external dictionaries.

Summary updated

BibTeX
@inproceedings{qin2022gl,
  author = {Libo Qin and Qiguang Chen and Tianbao Xie and Qixin Li and Jian-Guang Lou and Wanxiang Che and Min-Yen Kan},
  title = {{GL-CLeF: A Global-Local Contrastive Learning Framework for Cross-lingual Spoken Language Understanding}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.191},
}
Figure