# Multi-CLS BERT: An Efficient Alternative to Traditional Ensembling

Source: [Multi-CLS BERT: An Efficient Alternative to Traditional Ensembling](<https://www.sota2.com/research/paper/68fa6f721e209131cea45a34>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-01-04T05:22:49.298Z

Authors: Haw-Shiuan Chang, Ruei-Yao Sun, Kathryn Ricci, Andrew McCallum

Published: 2022-10-10T23:15:17.000Z

## Abstract

Ensembling BERT models often significantly improves accuracy, but at the cost of significantly more computation and memory footprint. In this work, we propose Multi-CLS BERT, a novel ensembling method for CLS-based prediction tasks that is almost as efficient as a single BERT model. Multi-CLS BERT uses multiple CLS tokens with a parameterization and objective that encourages their diversity. Thus instead of fine-tuning each BERT model in an ensemble (and running them all at test time), we need only fine-tune our single Multi-CLS BERT model (and run the one model at test time, ensembling just the multiple final CLS embeddings). To test its effectiveness, we build Multi-CLS BERT on top of a state-of-the-art pretraining method for BERT (Aroca-Ouellette and Rudzicz, 2020). In experiments on GLUE and SuperGLUE we show that our Multi-CLS BERT reliably improves both overall accuracy and confidence estimation. When only 100 training samples are available in GLUE, the Multi-CLS BERT\_Base model can even outperform the corresponding BERT\_Large model. We analyze the behavior of our Multi-CLS BERT, showing that it has many of the same characteristics and behavior as a typical BERT 5-way ensemble, but with nearly 4-times less computation and memory.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Natural Language Processing on GLUE (100 samples subset, dev)](<https://www.sota2.com/research/sota/natural-language-processing-on-glue-100-samples-subset-dev.md>): Natural Language Processing; GLUE 100 samples (dev); Macro Avg Score: 64.24.

- [Natural Language Processing on GLUE 1k samples (dev)](<https://www.sota2.com/research/sota/natural-language-processing-on-glue-1k-samples-dev.md>): Natural Language Processing; GLUE 1k samples (dev); Macro Avg Score: 76.27.

- [Natural Language Processing on SuperGLUE 100 samples, excl. ReCoRD (dev)](<https://www.sota2.com/research/sota/natural-language-processing-on-superglue-100-samples-excl-record-dev.md>): Natural Language Processing; SuperGLUE 100 samples, excl. ReCoRD (dev); Macro Avg Score: 59.88.

- [Natural Language Processing on SuperGLUE 1k samples, excl. ReCoRD (dev)](<https://www.sota2.com/research/sota/natural-language-processing-on-superglue-1k-samples-excl-record-dev.md>): Natural Language Processing; SuperGLUE 1k samples, excl. ReCoRD (dev); Macro Avg Score: 65.84.

- [Natural Language Processing on SuperGLUE Full, excl. ReCoRD (dev)](<https://www.sota2.com/research/sota/natural-language-processing-on-superglue-full-excl-record-dev.md>): Natural Language Processing; SuperGLUE Full, excl. ReCoRD (dev); Macro Avg Score: 70.03.

- [Natural Language Understanding on GLUE (dev)](<https://www.sota2.com/research/sota/natural-language-understanding-on-glue-dev.md>): Natural Language Understanding; GLUE (dev); SST-2 (Acc): not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2210.05043>)

[PDF](<https://arxiv.org/pdf/2210.05043.pdf>)

[Implementation](<https://github.com/iesl/multicls/>)
