Abstract
This paper introduces a new multilingual dataset for task-oriented dialog, focusing on intent classification and slot filling. The authors evaluate strategies for transferring knowledge from high-resource English to lower-resource Spanish and Thai. While machine-translating training data is effective in zero-shot scenarios, multilingual contextual word representations—derived from machine translation encoders—demonstrate superior performance as soon as a small amount of target-language data becomes available.
Introduction
Building conversational AI systems requires two primary natural language understanding (NLU) tasks: identifying a user's intent (e.g., "Set an alarm") and extracting relevant slots or arguments (e.g., "7:00 AM"). Training robust models for these tasks typically requires tens of thousands of labeled examples. While such data is abundant for English, it is scarce for most of the world's 6,500+ languages. This research addresses the challenge of Cross-Lingual Transfer Learning: leveraging large English datasets to bootstrap high-performing models in languages with limited labeled data.
Methods
The authors employ a standard NLU architecture consisting of a biLSTM-CRF model. This architecture processes input sequences to simultaneously predict the overall intent and label individual tokens for slot filling.
The study focuses on the impact of different word representation (embedding) strategies:
- Zero/Static Embeddings: Standard fixed word vectors.
- XLU Embeddings: Pre-trained cross-lingual static embeddings (MUSE).
- CoVe (Contextualized Vectors): Internal states from a pre-trained Neural Machine Translation (NMT) encoder.
- Multilingual CoVe: A novel approach training an NMT encoder on multiple language pairs (e.g., Spanish-to-English and English-to-Spanish) to encourage a language-agnostic semantic space.
- Translate Train: A baseline where English training data is machine-translated into the target language to create synthetic training sets.
Dataset
The researchers released a new dataset comprising 57,000 annotated utterances across three languages: English (43k), Spanish (8.6k), and Thai (5k). The dataset covers three domains: Weather, Alarm, and Reminder. Notably, these utterances were annotated using consistent guidelines across all languages, facilitating a rigorous evaluation of transfer learning methods.
Results and Key Insights
The evaluation reveals several critical findings regarding cross-lingual transfer:
- Zero-Shot vs. Few-Shot: In a pure "zero-shot" setting (no target language training data), the "Translate Train" baseline is surprisingly difficult to beat. However, a "tipping point" occurs quickly; with just a few hundred labeled target-language examples, joint training with contextual embeddings (like CoVe or ELMo) significantly outperforms translation-based methods.
- Contextual Superiority: Contextual representations consistently outperform static embeddings, highlighting the importance of capturing word usage within specific sentence contexts.
- Efficiency of Transfer: Cross-lingual models show remarkable few-shot efficiency. For instance, with only 200 Spanish training examples, transfer models achieved nearly 60% exact match accuracy, compared to less than 20% for a model trained solely on those 200 examples.
- Layer Sharing: The primary benefit of cross-lingual training stems from sharing the biLSTM and CRF layers across languages, rather than just aligning input word vectors.
Conclusion and Future Work
While the results are promising, the authors note several limitations. The Thai dataset, while showing high scores, may have been artificially "cleaned" by removing difficult examples where annotators disagreed. Additionally, the study's scope is limited to three domains, whereas commercial assistants handle hundreds. Future research directions include exploring newer pre-trained models like BERT and incorporating character-level embeddings to better handle morphologically rich languages or different scripts.
Summary updated