Label-aware Multi-level Contrastive Learning for Cross-lingual Spoken Language Understanding

Shining Liang, Linjun Shou, Jian Pei, Ming Gong, Wanli Zuo, Xianglin Zuo, Daxin Jiang

Abstract

Zero-shot cross-lingual Spoken Language Understanding (SLU) is critical for scaling voice assistants to low-resource languages. While existing methods utilize code-switching for implicit alignment, they often overlook the hierarchical dependencies between utterances, slots, and words. This paper introduces LAJ-MCL, a framework that explicitly models these hierarchies using slot labels as semantic anchors. By applying contrastive learning at three distinct levels, LAJ-MCL achieves state-of-the-art results on MultiATIS++ and MTOP datasets, demonstrating significant improvements in semantic accuracy across diverse languages.

Introduction

Spoken Language Understanding (SLU) involves two primary tasks: intent detection (determining the user's goal) and slot filling (extracting specific parameters). While deep learning models have achieved high performance in English, their effectiveness in low-resource languages is hampered by a lack of labeled data.

Current "zero-shot" approaches often employ code-switching—randomly replacing source words with target language equivalents during training—to encourage language-agnostic representations. However, these methods typically align representations implicitly and fail to capture the structural hierarchy inherent in SLU tasks. The authors argue that without explicit alignment of these structures, models miss deeper semantic connections that remain constant across different languages.

Methodology

The proposed LAJ-MCL framework consists of two core components: the Label-aware Joint Model (LAJoint) and Multi-level Contrastive Learning (MCL).

The LAJ-MCL architecture, featuring the Label-aware Joint Model (a) and the Multi-level Contrastive Learning pipeline (b).

1. Label-aware Joint Model (LAJoint)

The LAJoint model treats slot labels as language-invariant semantic anchors. By concatenating the set of possible slot labels (e.g., fromloc, depart_time) to the input sequence, the model learns to attend to these labels regardless of the input language. Because the concept of a "departure location" is universal across languages, these labels act as stable targets for cross-lingual alignment.

2. Multi-level Contrastive Learning (MCL)

To further refine the alignment, MCL applies contrastive learning at three levels of granularity. Contrastive learning works by pulling "positive" pairs (similar items) closer in vector space while pushing "negative" pairs (dissimilar items) apart.

Examples of positive and negative pairs generated for contrastive learning at the utterance (a), slot (b), and word (c) levels.
  • Utterance Level (UCL): Aligns the representation of an original English sentence with its code-switched counterpart to ensure intent consistency across languages.
  • Slot Level (SCL): A key innovation involving "hard negatives." By replacing slot values with values from semantically similar but distinct slots, the model is forced to learn precise boundaries between related concepts (e.g., distinguishing a "departure city" from an "arrival city").
  • Word Level (WCL): Focuses on the relationship between individual words and their BIO (Beginning, Inside, Outside) tags, improving the model's ability to identify slot spans accurately.

Experimental Results

LAJ-MCL was evaluated on two major benchmarks: MultiATIS++ (airline travel, 9 languages) and MTOP (complex conversational domains, 6 languages).

  • Performance Gains: On MultiATIS++, the model achieved a 21.7% improvement in semantic Exact Match (EM) accuracy over standard code-switching baselines (CoSDA-ML) when using mBERT.
  • State-of-the-Art: The framework consistently outperformed state-of-the-art models across various languages, including low-resource ones like Hindi and Turkish.
  • Ablation Studies: Results confirmed that each level of the MCL hierarchy (utterance, slot, and word) contributes significantly to the final performance, validating the importance of multi-level structural alignment.

Limitations and Future Work

The authors identified two primary limitations. First, there is a complexity bias; while performance was exceptional on MultiATIS++, gains on the MTOP dataset were less dramatic due to its high number of intent labels. Second, the model introduces computational overhead because it concatenates the slot set to the input and dynamically generates negative examples, increasing training and inference times.

Future research will focus on optimizing the integration of intent labels into the semantic alignment process and reducing the model's computational footprint to improve efficiency.

Summary updated

BibTeX
@inproceedings{liang2022label,
  author = {Shining Liang and Linjun Shou and Jian Pei and Ming Gong and Wanli Zuo and Xianglin Zuo and Daxin Jiang},
  title = {{Label-aware Multi-level Contrastive Learning for Cross-lingual Spoken Language Understanding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.673},
}
Figure