Enabling Natural Zero-Shot Prompting on Encoder Models via Statement-Tuning

Ahmed Elshabrawy, Yongxin Huang, Iryna Gurevych, Alham Fikri Aji

Abstract

Statement-Tuning is a novel technique that enables small encoder-only models (like RoBERTa) to perform natural zero-shot prompting, a capability typically reserved for massive decoder-only Large Language Models (LLMs). By reframing diverse Natural Language Understanding (NLU) tasks as binary "truth" statements, a 355M-parameter model can match or even outperform 70B-parameter giants on several reasoning and classification benchmarks while being orders of magnitude more efficient.

Introduction

In the current AI landscape, a significant trade-off exists between flexibility and efficiency. Large Language Models (LLMs) like Llama-3 offer impressive zero-shot capabilities but are computationally expensive. Conversely, smaller encoder models like BERT or RoBERTa are efficient but "stiff," traditionally requiring task-specific heads and extensive fine-tuning for every new dataset. Previous attempts to bridge this gap, such as NLI-based zero-shot learning, often relied on rigid "premise-hypothesis" formats that failed to capture true semantic understanding.

Methodology

The authors introduce Statement-Tuning, which transforms NLU tasks into a universal format: natural language statements that are either True or False.

  1. Task Verbalization: Tasks are rewritten as natural statements. For example, sentiment analysis becomes: "The sentiment in 'This movie was great!' is positive."
  2. Multitask Training: A RoBERTa model is trained on a massive collection of these statements derived from 16 diverse NLP datasets. The model learns a single, universal task: discriminating whether a statement is true or false.
  3. Zero-Shot Inference: For new tasks, the model generates a statement for every possible answer and selects the one with the highest probability of being "True."
Overview of the Statement-Tuning framework, showing the transition from multi-task finetuning to zero-shot generalization.

Experimental Setup

The model was "Statement-Tuned" on 16 training datasets, including QQP (paraphrase), SQuAD (QA), MNLI/SNLI (inference), and WikiLingua (summarization). To test true zero-shot capability, evaluation was conducted on 7 unseen datasets: BCOPA (causal reasoning), FigQA (figurative language), StoryCloze (narrative completion), Amazon Polarity (sentiment), Yahoo Topic (classification), and Emotion (fine-grained sentiment).

Results

The results demonstrate that NLU logic does not necessarily require billions of parameters. RoBERTa-large (355M) achieved an average score of 75.3 across seven unseen tasks, outperforming Llama-3-70B-Instruct (70.5) and Qwen1.5-7B-Chat (70.9).

Performance comparison of Statement-Tuned RoBERTa models against various LLMs across seven zero-shot tasks.

Notably, on FigQA (figurative language), the Statement-Tuned model scored 74.2, nearly doubling the performance of Llama-3-70B (42.0). In terms of efficiency, the RoBERTa-base version processed roughly 350x more examples per second than Llama-3-70B on the same hardware.

Discussion

  • Robustness over Shortcuts: By testing with shuffled input words, the authors found that Statement-Tuning relies more on actual linguistic structure than previous NLI-based methods, which often exploited simple word overlaps.
  • Drivers of Generalization: Template and task diversity are the primary drivers of zero-shot generalization.
  • Data Efficiency: Performance plateaus around 4,000 to 10,000 statements per training task, making this an accessible training method.

Limitations and Future Work

While powerful, Statement-Tuning faces challenges in "extreme classification" tasks with hundreds of labels due to the need for multiple forward passes. Additionally, the current study is English-centric, and the model remains strictly discriminative, unable to perform generative tasks like essay writing. Future work will explore cross-lingual transfer and further optimization for label scaling.

Summary updated

BibTeX
@inproceedings{elshabrawy2025enabling,
  author = {Ahmed Elshabrawy and Yongxin Huang and Iryna Gurevych and Alham Fikri Aji},
  title = {{Enabling Natural Zero-Shot Prompting on Encoder Models via Statement-Tuning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.465},
}
Figure