BTZSC: A Benchmark for Zero-Shot Text Classification Across Cross-Encoders, Embedding Models, Rerankers and LLMs
Organizations: European Central Bank, Frankfurt am Main, Germany
Abstract
Zero-shot text classification (ZSC) offers the promise of eliminating costly task-specific annotation by matching texts directly to human-readable label descriptions. While early approaches have predominantly relied on cross-encoder models fine-tuned for natural language inference (NLI), recent advances in text-embedding models, rerankers, and instruction-tuned large language models (LLMs) have challenged the dominance of NLI-based architectures. Yet, systematically comparing these diverse approaches remains difficult. Existing evaluations, such as MTEB, often incorporate labeled examples through supervised probes or fine-tuning, leaving genuine zero-shot capabilities underexplored. To address this, we introduce BTZSC, a comprehensive benchmark of 22 public datasets spanning sentiment, topic, intent, and emotion classification, capturing diverse domains, class cardinalities, and document lengths. Leveraging BTZSC, we conduct a systematic comparison across four major model families, NLI cross-encoders, embedding models, rerankers and instruction-tuned LLMs, encompassing 38 public and custom checkpoints. Our results show that: (i) modern rerankers, exemplified by Qwen3-Reranker-8B, set a new state-of-the-art with macro F1 = 0.72; (ii) strong embedding models such as GTE-large-en-v1.5 substantially close the accuracy gap while offering the best trade-off between accuracy and latency; (iii) instruction-tuned LLMs at 4--12B parameters achieve competitive performance (macro F1 up to 0.67), excelling particularly on topic classification but trailing specialized rerankers; (iv) NLI cross-encoders plateau even as backbone size increases; and (v) scaling primarily benefits rerankers and LLMs over embedding models. BTZSC and accompanying evaluation code are publicly released to support fair and reproducible progress in zero-shot text understanding.
Figures & tables
| Domain | Dataset | Num Classes | Avg Token Count |
|---|---|---|---|
| Emotion | |||
| dialogue | empathetic | 32 | 132 |
| social-media | dair_ai_emotion | 6 | 20 |
| Intent | |||
| banking | banking77 | 77 | 13 |
| social-media | biasframes_intent | 2 | 27 |
| Model | Topic | Sentiment | Intent | Emotion | Avg F1 | Avg Acc |
|---|---|---|---|---|---|---|
| Base encoders | ||||||
| bert-large-uncased | 0.34 (0.22) | 0.38 (0.06) | 0.15 (0.24) | 0.08 (0.11) | 0.30 (0.20) | 0.40 (0.26) |
| deberta-v3-large | 0.30 (0.23) | 0.34 (0.03) | 0.16 (0.26) | 0.05 (0.07) | 0.27 (0.20) | 0.36 (0.25) |
| ModernBERT-large | 0.30 (0.24) | 0.37 (0.06) | 0.14 (0.21) | 0.03 (0.04) | 0.27 (0.21) | 0.35 (0.24) |
| NLI cross-encoders | ||||||
| bart-large-mnli | 0.37 (0.23) | 0.84 (0.19) | 0.43 (0.16) | 0.41 (0.04) | 0.51 (0.28) | 0.53 (0.28) |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Dataset | Source | License |
|---|---|---|---|
| Emotion | |||
| dialogue | empathetic_dialogues | ( Rashkin et al., 2019 ) | CC BY-NC 4.0 |
| social-media | dair_ai_emotion | ( Saravia et al., 2018 ) | Research/education only |
| Intent | |||
| banking | banking77 | ( Casanueva et al., 2020 ) | CC BY 4.0 |
| social-media | biasframes_intent | ( Sap et al., 2020 ) | CC BY 4.0 |
| Model | Yr | Arch. | Backbone | FT / train data | # P | Pool / dim |
| Base encoders | ||||||
| bert-large-uncased | 2018 | enc. | BERT | NA | 340M | - |
| deberta-v3-large | 2021 | enc. | DeBERTa v3 | NA | 304M | - |
| ModernBERT-large | 2024 | enc. | ModernBERT | NA | 395M | - |
| NLI cross-encoders | ||||||
| bart-large-mnli | 2020 | enc-dec. | BART | SNLI, MNLI | 406M | - |
| Task | Topic | Sentiment | Intent | Emotion | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | AGN | BF-Off | BF-Sex | CAPS | MAN | TT | WT-Ins | WT-Obs | WT-Thr | WT-Agg | YT | AmzPol | AppR | FPB | IMDB | RT | Yelp | B77 | BF-Int | MASS | EmoD | Emp | Avg F1 |
| Base encoders | |||||||||||||||||||||||
| bert-large-uncased | 0.17 | 0.48 | 0.48 | 0.03 | 0.01 | 0.33 | 0.51 | 0.58 | 0.49 | 0.53 | 0.08 | 0.42 | 0.36 | 0.28 | 0.38 | 0.47 | 0.36 | 0.02 | 0.42 | 0.00 | 0.16 | 0.00 | 0.30 |
| deberta-v3-large | 0.18 | 0.49 | 0.12 | 0.01 | 0.01 | 0.34 | 0.55 | 0.56 | 0.51 | 0.53 | 0.03 | 0.33 | 0.37 | 0.30 | 0.33 | 0.35 | 0.37 | 0.01 | 0.45 | 0.00 | 0.10 | 0.00 | 0.27 |
| ModernBERT-large | 0.10 | 0.53 | 0.46 | 0.01 | 0.01 | 0.36 | 0.46 | 0.58 | 0.13 | 0.60 | 0.08 | 0.33 | 0.44 | 0.30 | 0.34 | 0.36 | 0.43 | 0.02 | 0.38 | 0.02 | 0.06 | 0.01 | 0.27 |
| NLI cross-encoders | |||||||||||||||||||||||
| Task | Topic / toxicity | Sentiment | Intent | Emotion | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | AGN | BF-Off | BF-Sex | CAPS | MAN | TT | WT-Ins | WT-Obs | WT-Thr | WT-Agg | YT | AmzPol | AppR | FPB | IMDB | RT | Yelp | B77 | BF-Int | MASS | EmoD | Emp | Avg Acc |
| Base encoders | |||||||||||||||||||||||
| bert-large-uncased | 0.26 | 0.57 | 0.91 | 0.09 | 0.02 | 0.49 | 0.58 | 0.58 | 0.78 | 0.55 | 0.13 | 0.48 | 0.51 | 0.56 | 0.52 | 0.52 | 0.52 | 0.03 | 0.44 | 0.01 | 0.20 | 0.03 | 0.40 |
| deberta-v3-large | 0.28 | 0.58 | 0.12 | 0.01 | 0.04 | 0.51 | 0.65 | 0.64 | 0.86 | 0.58 | 0.11 | 0.49 | 0.51 | 0.40 | 0.49 | 0.50 | 0.52 | 0.03 | 0.47 | 0.00 | 0.20 | 0.03 | 0.36 |
| ModernBERT-large | 0.24 | 0.53 | 0.72 | 0.03 | 0.01 | 0.51 | 0.46 | 0.59 | 0.14 | 0.60 | 0.15 | 0.49 | 0.50 | 0.57 | 0.51 | 0.50 | 0.51 | 0.03 | 0.48 | 0.02 | 0.14 | 0.02 | 0.35 |
| NLI cross-encoders | |||||||||||||||||||||||
| Task | Topic / toxicity | Sentiment | Intent | Emotion | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | AGN | BF-Off | BF-Sex | CAPS | MAN | TT | WT-Ins | WT-Obs | WT-Thr | WT-Agg | YT | AmzPol | AppR | FPB | IMDB | RT | Yelp | B77 | BF-Int | MASS | EmoD | Emp | Avg R |
| Base encoders | |||||||||||||||||||||||
| bert-large-uncased | 0.26 | 0.53 | 0.49 | 0.10 | 0.02 | 0.50 | 0.52 | 0.58 | 0.55 | 0.55 | 0.12 | 0.47 | 0.51 | 0.33 | 0.51 | 0.52 | 0.51 | 0.03 | 0.46 | 0.03 | 0.18 | 0.03 | 0.35 |
| deberta-v3-large | 0.27 | 0.53 | 0.50 | 0.04 | 0.02 | 0.50 | 0.58 | 0.58 | 0.52 | 0.57 | 0.09 | 0.50 | 0.51 | 0.39 | 0.50 | 0.50 | 0.51 | 0.03 | 0.49 | 0.00 | 0.18 | 0.03 | 0.36 |
| ModernBERT-large | 0.25 | 0.55 | 0.50 | 0.07 | 0.01 | 0.50 | 0.47 | 0.59 | 0.49 | 0.61 | 0.14 | 0.50 | 0.50 | 0.33 | 0.50 | 0.50 | 0.52 | 0.04 | 0.52 | 0.03 | 0.18 | 0.02 | 0.36 |
| NLI cross-encoders | |||||||||||||||||||||||
| Task | Topic / toxicity | Sentiment | Intent | Emotion | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | AGN | BF-Off | BF-Sex | CAPS | MAN | TT | WT-Ins | WT-Obs | WT-Thr | WT-Agg | YT | AmzPol | AppR | FPB | IMDB | RT | Yelp | B77 | BF-Int | MASS | EmoD | Emp | Avg P |
| Base encoders | |||||||||||||||||||||||
| bert-large-uncased | 0.18 | 0.55 | 0.47 | 0.04 | 0.03 | 0.25 | 0.53 | 0.58 | 0.51 | 0.56 | 0.11 | 0.45 | 0.67 | 0.38 | 0.55 | 0.53 | 0.58 | 0.02 | 0.45 | 0.00 | 0.19 | 0.02 | 0.35 |
| deberta-v3-large | 0.38 | 0.56 | 0.50 | 0.01 | 0.02 | 0.25 | 0.66 | 0.66 | 0.51 | 0.62 | 0.04 | 0.24 | 0.58 | 0.32 | 0.24 | 0.53 | 0.58 | 0.02 | 0.49 | 0.00 | 0.10 | 0.00 | 0.33 |
| ModernBERT-large | 0.06 | 0.55 | 0.50 | 0.02 | 0.02 | 0.53 | 0.47 | 0.58 | 0.50 | 0.61 | 0.07 | 0.24 | 0.49 | 0.29 | 0.26 | 0.50 | 0.56 | 0.05 | 0.59 | 0.04 | 0.07 | 0.01 | 0.32 |
| NLI cross-encoders | |||||||||||||||||||||||
| Model | AmzCf | MASS-S | MTOP-D | ToxicConv | IMDB | TweetSentExt | B77 | MASS-I | Avg F1 |
|---|---|---|---|---|---|---|---|---|---|
| Base encoders | |||||||||
| bert-large-uncased | 0.25 | 0.03 | 0.08 | 0.44 | 0.38 | 0.41 | 0.02 | 0.00 | 0.20 |
| deberta-v3-large | 0.51 | 0.02 | 0.07 | 0.49 | 0.33 | 0.31 | 0.01 | 0.00 | 0.22 |
| ModernBERT-large | 0.45 | 0.07 | 0.11 | 0.43 | 0.34 | 0.16 | 0.02 | 0.02 | 0.20 |
| NLI cross-encoders | |||||||||
| bart-large-mnli | 0.15 | 0.54 | 0.84 | 0.50 | 0.93 | 0.54 | 0.28 | 0.41 | 0.52 |
| Model | AmzCf | MASS-S | MTOP-D | ToxicConv | IMDB | TweetSE | B77 | MASS-I | Avg Acc |
|---|---|---|---|---|---|---|---|---|---|
| Base encoders | |||||||||
| bert-large-uncased | 0.25 | 0.05 | 0.15 | 0.53 | 0.52 | 0.41 | 0.03 | 0.01 | 0.25 |
| deberta-v3-large | 0.66 | 0.03 | 0.09 | 0.50 | 0.49 | 0.32 | 0.03 | 0.00 | 0.27 |
| ModernBERT-large | 0.83 | 0.09 | 0.13 | 0.50 | 0.51 | 0.33 | 0.03 | 0.02 | 0.30 |
| NLI cross-encoders | |||||||||
| bart-large-mnli | 0.18 | 0.52 | 0.84 | 0.57 | 0.93 | 0.62 | 0.29 | 0.43 | 0.55 |
| Model | AmzCf | MASS-S | MTOP-D | ToxicConv | IMDB | TweetSE | B77 | MASS-I | Avg Acc |
|---|---|---|---|---|---|---|---|---|---|
| Base encoders | |||||||||
| bert-large-uncased | 0.49 | 0.06 | 0.11 | 0.53 | 0.51 | 0.42 | 0.03 | 0.03 | 0.27 |
| deberta-v3-large | 0.52 | 0.05 | 0.08 | 0.50 | 0.50 | 0.32 | 0.03 | 0.00 | 0.25 |
| ModernBERT-large | 0.50 | 0.10 | 0.15 | 0.50 | 0.50 | 0.33 | 0.04 | 0.03 | 0.27 |
| NLI cross-encoders | |||||||||
| bart-large-mnli | 0.50 | 0.55 | 0.84 | 0.57 | 0.93 | 0.62 | 0.30 | 0.43 | 0.59 |
| Model | Amazon C. | Massive S. | MTOP | Toxic | IMDB | Tweet S. | Banking77 | Massive I. | Avg Prec |
|---|---|---|---|---|---|---|---|---|---|
| Base encoders | |||||||||
| bert-large-uncased | 0.49 | 0.04 | 0.11 | 0.60 | 0.55 | 0.46 | 0.02 | 0.00 | 0.28 |
| deberta-v3-large | 0.51 | 0.08 | 0.07 | 0.51 | 0.24 | 0.32 | 0.02 | 0.00 | 0.22 |
| ModernBERT-large | 0.41 | 0.08 | 0.22 | 0.49 | 0.26 | 0.11 | 0.05 | 0.04 | 0.21 |
| NLI cross-encoders | |||||||||
| bart-large-mnli | 0.59 | 0.67 | 0.84 | 0.68 | 0.93 | 0.64 | 0.47 | 0.56 | 0.67 |
Zero-Shot Text Classification
Zero-shot text classification assigns texts to categories without task-specific labeled training data, using language models, embeddings, or label descriptions.
See all 34 papers