Statement-Tuning Enables Efficient Cross-lingual Generalization in Encoder-only Models

Ahmed Elshabrawy, Thanh-Nhi Nguyen, Yeeun Kang, Lihan Feng, Annant Jain, Faadil Abdullah Shaikh, Jonibek Mansurov, Mohamed Fazli Mohamed Imam, Jesús-Germán Ortiz-Barajas, Rendi Chevi, Alham Fikri Aji

Introduction

In the current NLP landscape, Large Language Models (LLMs) like Llama and Qwen dominate zero-shot and few-shot tasks because their generative nature allows them to follow instructions across various languages. However, these models are computationally expensive and memory-intensive.

Conversely, "encoder-only" models (like BERT or RoBERTa) are much more efficient but have historically been "stiff." They typically require a custom "head" for every new task (e.g., a specific layer for sentiment, another for entailment), making zero-shot generalization to new tasks nearly impossible. This research explores how to give these efficient encoders the flexibility of LLMs in a multilingual context, specifically targeting low-resource languages where compute efficiency is a necessity.

Methodology: Statement-Tuning

The authors employ Statement-Tuning, a method that bypasses task-specific heads by converting every NLU task into a binary classification problem.

Overview of the Statement-Tuning training and inference phases.

The process involves several key steps:

  1. Verbalization: Instead of asking a model to "choose the correct category," the task is turned into a series of natural language statements. For example, a sentiment task becomes: "The text 'I love this' has a positive sentiment."
  2. Binary Classification: The encoder is fine-tuned with a single, universal binary head to predict whether a given statement is True or False.
  3. Multilingual Extension: The authors extend this to 25 languages, experimenting with different tuning mixtures: English-only, a subset of 11 languages, and a full 25-language set.
  4. Prompting Strategy: They test whether machine-translating the prompt templates into the target language helps, or if simple English templates are sufficient for multilingual data.

Datasets and Evaluation

The authors used a diverse mixture of datasets for both training and evaluation:

  • Training Tasks: 9 NLU tasks including Belebele (reading comprehension), xQuAD (QA), WikiLingua (summarization), and FLORES-101 (machine translation).
  • Evaluation Benchmarks: Four "unseen" multilingual benchmarks to test generalization: XCOPA (causal reasoning), XNLI (natural language inference), XStoryCloze (commonsense reasoning), and XWinograd (coreference resolution).
  • Languages: 25 languages covering various families (Indo-European, Afro-Asiatic, Turkic, etc.) and resource levels.

Analysis and Key Insights

A central finding is that the ability to generalize across languages comes primarily from the model's initial multilingual pre-training, rather than the breadth of languages seen during the tuning phase.

Task accuracy comparison across English-only, 11-language, and 25-language training sets.
  • English-only Tuning is Surprisingly Potent: Tuning a model on English-only "statements" allows it to perform zero-shot tasks in other languages with ~95-98% of the accuracy of a model tuned on all 25 languages.
  • MT Data as a Bridge: Including Machine Translation (MT) data in the tuning mix significantly boosts cross-lingual transfer, likely because it helps the model align semantic meanings across different language spaces.
  • English Prompts are Sufficient: Machine-translating the "Is this true?" templates into the target language provides no significant benefit. The models are robust enough to handle foreign-language content paired with English-language "meta-instructions."

Key Results

  • Small but Mighty: XLM-R Large (560M parameters) achieved an average accuracy of 78.8 on XStoryCloze, beating Llama 3.1 70B by 10.5 points, despite being roughly 130 times smaller.
  • Beating the Giants: On the XNLI benchmark, mDeBERTa (276M) outperformed both Qwen2 72B and Llama 3.1 70B by approximately 5.7 and 6.1 points, respectively.
  • Efficiency Gains: In inference simulations, the statement-tuned mDeBERTa model was significantly faster and could handle a batch size of 732 on a single A100 GPU, compared to a batch size of just 36 for Llama 3.1 8B.
  • The XWinograd Exception: All models struggled with XWinograd, often performing near random chance, suggesting that coreference resolution remains a difficult "frontier" for zero-shot generalization.

Limitations and Future Work

Statement-Tuning relies on the training tasks being somewhat related to the target tasks; if the training set lacks diverse reasoning types, generalization suffers. Additionally, the method is inefficient for tasks with a massive number of possible labels, as the model must run an inference pass for every potential "statement." Future work may involve refining encoder architectures for large-scale multilingual multitask learning and optimizing the "verbalization" process to reduce manual prompt engineering.

Summary updated

BibTeX
@inproceedings{elshabrawy2025statement,
  author = {Ahmed Elshabrawy and Thanh-Nhi Nguyen and Yeeun Kang and Lihan Feng and Annant Jain and Faadil Abdullah Shaikh and Jonibek Mansurov and Mohamed Fazli Mohamed Imam and Jesús-Germán Ortiz-Barajas and Rendi Chevi and Alham Fikri Aji},
  title = {{Statement-Tuning Enables Efficient Cross-lingual Generalization in Encoder-only Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure