UltraBERT Rethinks BERT Pretraining, First Encoder to Hit SOTA on Both Classification and Retrieval

Jungwoo Park · hf · 2026-10-14

The UltraBERT paper systematically re-examines the pretraining recipe for bidirectional encoders, yielding three counterintuitive findings:

Accordingly, UltraBERT assigns separate LM heads to high and low masking ratios within the same batch and restricts the distillation objective to the low ratio. It is the first encoder to achieve SOTA on both classification and retrieval: GLUE 91.0, BEIR 47.7. The model comes in 150M/380M sizes with 32K context, providing a systematic basis for compute allocation, masking design, and knowledge transfer in bidirectional models.

Original post →

More from Research

Research channel →