NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

From Masked Language Modeling to Translation: Non-English Auxiliary Tasks Improve Zero-shot Spoken Language Understanding

Rob van der Goot, Ibrahim Sharaf, Aizhan Imankulova, Ahmet Üstün, Marija Stepanovic, Alan Ramponi, Siti Oryza Khairunnisa, Mamoru Komachi, Barbara Plank

Introduction

Digital assistants like Alexa and Siri rely on Spoken Language Understanding (SLU) to interpret user requests. This process involves two core tasks: Intent Classification (determining the user's goal, e.g., "add_reminder") and Slot Filling (extracting specific parameters, e.g., "swim" as the activity and "11am tomorrow" as the time). While these systems are highly effective in English, their performance drops significantly in other languages due to a lack of high-quality, human-annotated training data.

This research addresses the "data desert" problem through zero-shot transfer, where a model is trained on English data and evaluated on target languages without any labeled examples in those languages. The authors introduce XSID, a new benchmark covering 13 languages, and propose a multi-task learning framework to bridge the cross-lingual gap.

Methodology: Multi-Task Auxiliary Learning

The researchers utilized the MaChAmp toolkit to implement a multi-task learning approach. The core idea is to train the model on the primary English SLU task while simultaneously performing "auxiliary" tasks in the target language. This forces the model to develop a deeper understanding of the target language's syntax and semantics.

The multi-task architecture featuring an Intent Decoder and Slot Decoder built upon contextualized embeddings.

Three types of auxiliary tasks were evaluated:

  1. Masked Language Modeling (MLM): Predicting missing words in raw target-language text.
  2. Neural Machine Translation (NMT): Learning to translate between English and the target language.
  3. Universal Dependency (UD) Parsing: Learning the syntactic structure (grammar) of the target language.

The XSID Benchmark

To evaluate these methods, the authors created XSID, a benchmark for cross-lingual Slot and Intent Detection. XSID includes 13 languages from 6 families, notably including the low-resource South Tyrolean dialect (de-st). The dataset homogenizes existing SLU data from Snips and Facebook, providing a robust testing ground for zero-shot capabilities.

Key Results and Analysis

The study reveals that the effectiveness of an auxiliary task depends heavily on the specific SLU sub-task and the base model used (e.g., mBERT vs. XLM15).

Task-Specific Strengths

  • Slot Filling: Masked Language Modeling (MLM) emerged as the most effective auxiliary task for slot filling. It helps the model align tokens across languages, which is critical for identifying the exact spans of information. For the XLM15 model, joint learning with MLM provided a massive average improvement of +7.7 F1.
  • Intent Classification: Translation-based methods (nmt-transfer) were the clear winners for intent detection, achieving an average accuracy of 88.2% with mBERT. Translation provides a strong global semantic mapping, helping the model understand the overall meaning of a sentence even if it struggles with specific word boundaries.
Comparison of F1 score improvements over the baseline for mBERT (a) and XLM15 (b) using different auxiliary tasks.

The Impact of Base Models

The choice of pre-trained model is a major factor in performance. mBERT, pre-trained on 104 languages, provides a higher baseline than XLM15 (15 languages). However, auxiliary tasks offer the most significant gains for languages that were underrepresented in the initial pre-training phase. For instance, in a case study on the South Tyrolean dialect, adding a small amount of scraped raw data for an MLM task boosted the Slot F1 score from 49.9 to 56.2.

Conclusion

This research demonstrates that jointly training on non-English auxiliary tasks significantly enhances zero-shot SLU performance. While translation is superior for identifying user intent, Masked Language Modeling is more efficient and effective for the granular task of slot filling. These findings suggest that developers can build capable multilingual digital assistants by leveraging unlabelled data and auxiliary linguistic tasks, reducing the reliance on expensive human-annotated datasets.

Summary updated

BibTeX
@inproceedings{goot2021from,
  author = {Rob van der Goot and Ibrahim Sharaf and Aizhan Imankulova and Ahmet Üstün and Marija Stepanovic and Alan Ramponi and Siti Oryza Khairunnisa and Mamoru Komachi and Barbara Plank},
  title = {{From Masked Language Modeling to Translation: Non-English Auxiliary Tasks Improve Zero-shot Spoken Language Understanding}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.197},
}
Figure