arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15028cs.CLcs.AI
收藏

UltraBERT:超越BERT预训练的极限

UltraBERT: Beyond the Limit of BERT Pre-Training

Korea University(高丽大学);AIGEN Sciences(AIGEN科学公司);Amazon(亚马逊公司)

Jungwoo Park, Taewhoo Lee, Jaewoo Kang

AI总结:

本研究重新审视双向编码器预训练的核心设计,提出UltraBERT模型,通过为不同掩码比例分配独立LM头并限制蒸馏目标,使其成为首个在GLUE分类和BEIR检索任务上均达最优性能的编码器。

摘要:

近期,双向编码器已通过因果大语言模型(LLM)的创新实现了现代化,但预训练方案本身仍沿用小规模模型的惯例,导致编码器未得到充分优化,且尚无单一模型能在分类和检索任务上均具备竞争力。本研究通过重新审视训练中的核心设计选择,探究编码器性能可被提升的程度,揭示了三项关键发现:(1)编码器在下游任务上的性能在处理超过数万亿token后趋于饱和,超过该点的额外计算资源投入无济于事;(2)在不同模型规模下,较低的掩码比例有利于分类任务,而较高的掩码比例有利于检索任务,这与此前关于更大模型需采用更大掩码比例的研究结论相矛盾;(3)结合剪枝的知识蒸馏在低掩码比例下可提升分类性能,但在高掩码比例下会降低检索性能。基于这些发现,我们提出了UltraBERT,这是一种单一编码器,它在一个批次内为低、高两种掩码比例分配独立的语言模型头,并将蒸馏目标限制在低掩码比例下。据我们所知,UltraBERT是首个在分类和检索任务上均达到最优性能的编码器,在GLUE基准上取得91.0的成绩,在BEIR基准上取得47.7的成绩。这些结果共同展示了编码器性能可被提升的程度,并为双向模型中的计算资源分配、掩码比例设计及知识迁移提供了有原则的基础。

英文摘要:

Recent bidirectional encoders have been modernized with innovations from causal large language models (LLMs). However, the pretraining recipe itself remains inherited from small-scale conventions, leaving encoders underoptimized, with no single model performing competitively across both classification and retrieval tasks. In this work, we investigate how far encoder performance can be pushed by revisiting core design choices in training, revealing three key findings: (1) Encoders saturate on downstream tasks beyond a few trillion tokens, indicating that additional compute past this point does not help. (2) Across model sizes, lower masking ratios benefit classification while higher ones benefit retrieval, contradicting prior work suggesting larger ratios for larger models. (3) Distillation with pruning improves classification at low masking ratios but degrades retrieval at high ones. Guided by these findings, we present UltraBERT, a single encoder that assigns separate LM heads to low and high masking ratios within a batch and restricts the distillation objective to the low ratio. To our knowledge, UltraBERT is the first encoder to achieve state of the art on both classification and retrieval tasks, reaching 91.0 on GLUE and 47.7 on BEIR. Together, these results show how far encoder performance can be pushed and provide a principled basis for compute allocation, masking ratio design, and knowledge transfer in bidirectional models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑