CrossAligner & Co: Zero-Shot Transfer Methods for Task-Oriented Cross-lingual Natural Language Understanding

Milan Gritta, Ruoyu Hu, Ignacio Iacobacci

Abstract

Task-oriented personal assistants enable people to interact with a host of devices and services using natural language. One of the challenges of making neural dialogue systems available to more users is the lack of training data for all but a few languages. Zero-shot methods try to solve this issue by acquiring task knowledge in a high-resource language such as English with the aim of transferring it to the low-resource language(s). To this end, we introduce CrossAligner, the principal method of a variety of effective approaches for zero-shot cross-lingual transfer based on learning alignment from unlabelled parallel data. We present a quantitative analysis of individual methods as well as their weighted combinations, several of which exceed state-of-the-art (SOTA) scores as evaluated across nine languages, fifteen test sets and three benchmark multilingual datasets. A detailed qualitative error analysis of the best methods shows that our fine-tuned language models can zero-shot transfer the task knowledge better than anticipated.

Introduction

Building effective voice assistants requires solving two primary Natural Language Understanding (NLU) tasks: Intent Classification (e.g., determining a user wants to "play music") and Slot Filling (e.g., identifying "Jazz" as the genre). While training data is abundant for English, it is scarce for the vast majority of the world's languages.

Zero-Shot Cross-lingual Transfer aims to bridge this gap by training models on high-resource languages (like English) and generalizing that knowledge to target languages (like Thai or Hindi). However, even advanced models like XLM-RoBERTa often struggle with perfect cross-lingual alignment. While they may capture the overall intent, they frequently fail at slot filling in target languages due to variations in word order, grammar, and syntax.

The CrossAligner Framework

To address these alignment challenges, this research introduces a suite of methods designed to force better representation alignment across languages. The flagship method, CrossAligner (CA), moves beyond simple sentence-level alignment. It utilizes a "language-agnostic" binary vector that marks the presence of specific entities within a sentence (e.g., [Date: 1, Location: 0, Artist: 1]). By training the model to predict the same entity-presence vector for both an English sentence and its machine-translated counterpart, the model learns to focus on slot content regardless of the linguistic surface form.

The CrossAligner architecture integrates multiple loss functions, including intent and entity classification alongside the CrossAligner classifier, to optimize cross-lingual transfer.

Additional methods in the framework include:

  • Translate-Intent (TI): A baseline that uses translated sentences solely to train the Intent Classifier, avoiding the noise often introduced by projecting slot labels onto translated text.
  • Contrastive Alignment (CTR): A contrastive learning approach that pulls parallel sentence embeddings closer in the vector space while pushing unrelated ones apart.
  • Adaptive Weighting (CoV): To balance these various objectives, the authors employ the Coefficient of Variation (CoV) to dynamically weight different loss functions during training, preventing any single task from dominating the learning process.

Experimental Results

The framework was evaluated on three major multilingual benchmarks: MTOP (6 languages), MTOD (3 languages), and M-ATIS++ (9 languages). The results demonstrate that combining these alignment strategies yields significant performance gains.

Performance comparison of various zero-shot transfer methods across MTOP, MTOD, and M-ATIS++ benchmarks, showing the proposed CoV-weighted combination achieving new state-of-the-art results.

Key Findings

  • New State-of-the-Art: The combination of XeroAlign and CrossAligner using CoV weighting achieved an overall score of 89.3, surpassing previous benchmarks.
  • Slot Filling Improvements: CrossAligner specifically boosted the F-score for entity recognition by 2.7 points over the previous SOTA.
  • Qualitative Success: A native-speaker analysis revealed that approximately 39% of the model's "errors" were actually acceptable transfers or due to inconsistencies in the original human-labeled datasets, suggesting the models perform even better than raw metrics indicate.

Conclusion and Future Work

While these methods significantly improve zero-shot transfer, challenges remain. The reliance on English as a "pivot" language is not always ideal for all language families, and the quality of machine translation remains a bottleneck. Future research will explore multi-source transfer—training on multiple high-resource languages simultaneously—and developing more robust post-processing techniques to handle language-specific grammatical nuances.

Summary updated

BibTeX
@misc{gritta2022crossaligner,
  author = {Milan Gritta and Ruoyu Hu and Ignacio Iacobacci},
  title = {{CrossAligner \& Co: Zero-Shot Transfer Methods for Task-Oriented Cross-lingual Natural Language Understanding}},
  year = {2022},
  eprint = {2203.09982},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.09982},
}
Figure