Abstract
The classic word analogy task ("King is to Queen as Man is to Woman") has historically served as the primary benchmark for evaluating semantic properties in word embeddings. However, evaluation has largely remained English-centric and focused on static vector spaces. This paper introduces the Multilingual Analogy Test Set (MATS), a comprehensive expansion of the BATS dataset into six languages: German, French, Spanish, Italian, Dutch, and Mandarin. By evaluating both traditional static embeddings (word2vec, fastText) and modern contextual models (mBERT), we find that static models maintain a significant lead in morphological tasks. Furthermore, we demonstrate that the performance of contextual models is remarkably sensitive to prompt formatting, where the simple addition of quotation marks can drastically alter results.
Introduction: Beyond the English Bubble
While word analogies are the poster child for semantic vector space properties, most research has operated within an English-only framework using aging datasets like GATS or BATS. As the field transitioned from static vectors to contextual models like BERT, two critical gaps emerged: the lack of high-quality multilingual benchmarks and the absence of a consensus on how to probe contextual models for analogies. Contextual models do not have a single "fixed" vector for a word; the vector changes based on the sentence, leading to questions about whether to average vectors or use "fill-in-the-blank" prompts.
Methodology and the MATS Dataset
To address these gaps, the researchers developed the Multilingual Analogy Test Set (MATS). This dataset covers 40 analogical relations across 6 languages, totaling nearly 100,000 quadruplets. Unlike simple machine translation, MATS involved manual adaptation of morphological rules (e.g., German noun cases) and localization of encyclopedic facts (e.g., provincial capitals).
The study compared three primary evaluation strategies:
- Static Baselines: Using fastText and word2vec models.
- Static Probing of Contextual Models: Deriving "static" versions of mBERT embeddings via "Singleton" (isolated words) or "Context-sample" (averaging across real-world sentences from the Oscar corpus) methods.
- Prompt-based Probing: Treating analogies as a zero-shot "unmasking" task (e.g., "Man is to Woman as King is to [MASK]").
Static Models and the Multilingual Gap
A key finding is that traditional static models, particularly fastText, remain highly competitive. Because fastText utilizes sub-word information (n-grams), it consistently outperforms mBERT on inflectional and derivational tasks.
As seen in the results above, for morphological tasks (I and D), looking at character-level patterns is often more effective than deep contextual reasoning. Interestingly, Mandarin showed unique success in mBERT for derivational morphology, likely due to its regular character-based system aligning well with BERT's tokenization.
Prompt Sensitivity and the "Quote" Effect
When evaluating contextual models through prompts, the researchers discovered extreme "brittleness." In German, switching between semantically equivalent prompt templates caused accuracy to swing wildly. However, a consistent trend emerged regarding the use of quotation marks.
Simply wrapping the analogy terms in quotes (e.g., "man" is to "woman") significantly boosted mBERT's performance. This suggests that the model treats quoted text as a distinct linguistic category, signaling it to pay closer attention to the specific tokens within. Furthermore, the choice of layer for extracting vectors was critical; lower layers often captured morphology better, while middle/upper layers were better for semantic relations.
Conclusion
The introduction of MATS reveals that we are still far from a standardized protocol for evaluating how models understand word relationships. While contextual models are powerful, their "understanding" is highly dependent on the layer chosen for extraction and the specific wording of prompts. Static models remain the "Morphology Kings," proving that simpler architectures still hold value in multilingual semantic tasks. Future work will look toward instruction-tuned models to see if they exhibit less sensitivity to prompt volatility and translationese biases.
Summary updated