Examining Multilingual Embedding Models Cross-Lingually Through LLM-Generated Adversarial Examples

Andrianos Michail, Simon Clematide, Rico Sennrich

Introduction

Multilingual embedding models serve as the foundation for modern cross-lingual semantic search and retrieval. However, evaluating their true performance is challenging. Standard benchmarks like MTEB often rely on "easy" negatives—randomly sampled sentences that are trivial for models to distinguish from a correct match. In real-world scenarios, search engines must often differentiate between sentences that share significant lexical overlap but possess distinct meanings (e.g., "The court approved the law" vs. "The court rejected the law").

This paper introduces Cross-Lingual Semantic Discrimination (CLSD), a novel evaluation framework designed to test model robustness against "hard negatives." By leveraging Large Language Models (LLMs) to generate adversarial examples, the authors expose the vulnerabilities of popular retrieval models and provide insights into optimal cross-lingual search strategies.

The CLSD Framework

The CLSD workflow consists of a lightweight, four-step process aimed at generating challenging adversarial distractors:

  1. Adversarial Generation: Starting with a pair of parallel sentences (e.g., German and French), GPT-4 is prompted to generate four "distractor" sentences in the target language. These distractors are designed to be syntactically and lexically similar to the true translation while being semantically distinct.
  2. Discrimination Task: The embedding model is tasked with ranking the true translation higher than the four adversarial distractors based on cosine similarity.
  3. Evaluation: Performance is measured using Precision@1 (P@1).
  4. Fine-Grained Analysis: Using the Stanza NLP toolkit, the researchers identify specific parts of speech (POS) altered in the distractors to determine which linguistic changes most significantly impact model performance.
Examples of LLM-generated adversarial distractors in German and French.

Manual inspection confirmed the effectiveness of this approach, with over 98% of GPT-4 generated distractors successfully maintaining lexical similarity while altering the core meaning of the sentence.

Experimental Setup and Datasets

The researchers constructed four new datasets in the news domain for the German–French language pair, derived from the WMT19 and WMT21 test sets. These datasets include a total of 18,928 generated distractors, covering both translation directions (DE→FR and FR→DE). This resource allows for a rigorous evaluation of how models handle subtle semantic shifts in a high-resource language pair.

Key Findings

The "Pivot Paradox"

A significant finding is the performance discrepancy between models trained for general retrieval versus those designed for bitext mining. Models like the e5 series, which are heavily English-centric, often exhibit a "pivot paradox": they perform better when translating both source and target into English before comparison, rather than searching directly cross-lingually. Conversely, specialized models like LaBSE perform best in direct cross-lingual settings and actually lose accuracy when an English pivot is introduced.

Linguistic Sensitivity Analysis

The fine-grained analysis revealed that models are highly sensitive to specific types of word changes. Across all tested models, alterations to proper nouns (e.g., changing a city name) resulted in the largest drops in semantic similarity. This suggests that models rely on entities as high-signal anchors for meaning.

Impact of part-of-speech perturbations on model similarity scores.

Furthermore, the study highlights that many models are prone to the "lexical overlap trap," where high surface-level similarity leads to incorrect high rankings for semantically wrong distractors. The paraphrase-multilingual-mpnet-base-v2 model was identified as the most sensitive to these single-word changes.

Conclusion

The CLSD framework provides a more demanding and realistic benchmark for multilingual embeddings. The results suggest that while models like LaBSE remain robust (achieving 94.43% P@1), many popular retrieval models are fragile when faced with adversarial lexical overlap. For practitioners, the choice between direct cross-lingual search and English pivoting depends heavily on the specific model architecture. Future work will aim to expand this framework to low-resource languages and more complex adversarial edits beyond single-word swaps.

Summary updated

BibTeX
@misc{michail2025examining,
  author = {Andrianos Michail and Simon Clematide and Rico Sennrich},
  title = {{Examining Multilingual Embedding Models Cross-Lingually Through LLM-Generated Adversarial Examples}},
  year = {2025},
  eprint = {2502.08638},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.08638},
}
Figure