Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generation

Qianli Wang, Van Bach Nguyen, Yihong Liu, Fedor Splitt, Nils Feldhus, Christin Seifert, Hinrich Schütze, Sebastian Möller, Vera Schmitt

TL;DR

This paper provides the first comprehensive look at how Large Language Models (LLMs) generate counterfactual explanations across multiple languages. The authors find that while translation-based methods are more effective at flipping model predictions than direct generation, they are less efficient; furthermore, using these generated examples for data augmentation significantly boosts model performance in low-resource languages, despite persistent errors like "copy-pasting" or logical inconsistencies.

What Problem Does This Paper Address?

Counterfactual (CF) examples are a cornerstone of AI interpretability. They answer the "what-if" questions: How would I need to minimally change this input to get a different prediction from the model? While LLMs have become remarkably good at generating these for English, the field has remained stubbornly English-centric.

The authors address a critical gap: we don't know if LLMs can maintain this "minimal edit" precision across diverse languages and scripts. If an LLM can't generate a valid counterfactual in Swahili or Hindi, we can't effectively explain model behavior to users of those languages. The paper investigates whether it's better to generate CFs directly in a target language or generate them in English and translate them, and whether these "synthetic" explanations can actually help train better multilingual models.

Methods

The researchers evaluated three state-of-the-art LLMs (Qwen2.5-7B, Gemma3-27B, and Llama3.3-70B) using a one-shot Chain-of-Thought (CoT) prompting strategy. They compared two primary generation pipelines:

  1. Direct Generation (DG-CFs): The LLM is prompted to identify important words in the target language and replace them to flip the label.
  2. Translation-Based (TB-CFs): The LLM generates a CF in English first, which is then translated into the target language.

To evaluate quality, they used three main metrics:

  • Label Flip Rate (LFR): Did the edit actually change the model's prediction? (The "Validity" metric).
  • Perplexity (PPL): Is the resulting text fluent and natural?
  • Textual Similarity (TS): How "minimal" was the edit? (Using multilingual SBERT).

Datasets

The study utilized two major multilingual benchmarks across six languages (English, Arabic, German, Spanish, Hindi, and Swahili):

  • XNLI: A Natural Language Inference dataset (determining if a premise entails or contradicts a hypothesis).
  • SIB200: A large-scale topic classification dataset (7 categories like Politics, Science, etc.).

Key Insights and Ideas

  • The "European Convergence": LLMs apply remarkably similar edit strategies across English, German, and Spanish. This suggests that for high-resource European languages, cross-lingual perturbations follow a "universal" strategic principle.
  • The Translation Trade-off: Translation-based counterfactuals (TB-CFs) generally have a higher success rate in flipping labels (LFR) than direct generation. However, they are "messier"—they require significantly more textual changes and often suffer from lower fluency due to translation artifacts.
  • The "Copy-Paste" Trap: A major failure mode identified was the "copy-paste" error, where the LLM simply returns the original input without any edits. This happens much more frequently in topic classification (SIB200) than in logical inference (XNLI).
  • Language Confusion: In lower-resource settings (Arabic, Swahili), LLMs often "hallucinate" English back into the output or fail to follow the language constraint entirely.
  • Data Augmentation Wins: Even though the generated CFs aren't perfect, using them to augment training data (Counterfactual Data Augmentation or CDA) leads to significant performance gains, especially for lower-resource languages.

Key Results

  • Validity Gap: English consistently achieves the highest Label Flip Rate. On the SIB200 dataset, English LFR reached ~92%, while Swahili and Hindi often lagged behind, particularly with smaller models.
  • Task Difficulty: Generating CFs for NLI (XNLI) is much harder than for topic classification. LFRs for XNLI hovered around 35-50%, whereas SIB200 saw success rates often exceeding 80%.
  • Augmentation Impact: Multilingual CDA (training on CFs in the target language) outperformed cross-lingual CDA (training on English CFs). For Arabic, multilingual CDA provided a massive accuracy boost of +64.45% over the baseline in certain configurations.
  • Error Filtering: The authors showed that simply filtering out "copy-paste" and "language confusion" errors from the synthetic data consistently improved the final model's performance (e.g., a +2.34% gain for Hindi).

Limitations and Future Work

  • Metric Bias: The authors acknowledge that sentence embeddings (SBERT) used for similarity might not perfectly capture the nuances of non-Latin scripts compared to English.
  • Language Scope: While covering six diverse languages is a start, the study doesn't touch on very low-resource languages or a wider variety of language families.
  • Human Utility: The study focuses on automatic metrics. Future work is needed to determine if these multilingual counterfactuals are actually helpful to human users in real-world debugging or explanation scenarios.
  • Model Size: While 70B models were tested, the "frontier" models (like GPT-4o or Claude 3.5) were not included, which might show even fewer "language confusion" errors.

Summary updated

BibTeX
@inproceedings{wang2026parallel,
  author = {Qianli Wang and Van Bach Nguyen and Yihong Liu and Fedor Splitt and Nils Feldhus and Christin Seifert and Hinrich Schütze and Sebastian Möller and Vera Schmitt},
  title = {{Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.12},
}
Figure