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

NeoBERT:下一代 BERT

NeoBERT: A Next-Generation BERT

Chandar Research Lab(昌达研究实验室);Mila – Quebec AI Institute(魁北克人工智能研究院);Polytechnique Montréal(蒙特利尔理工学院);Cornell University(康奈尔大学);Royal Military College of Canada(加拿大皇家军事学院);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)

Lola Le Breton, Quentin Fournier, Mariam El Mezouar, John X. Morris, Sarath Chandar

AI总结:

针对双向编码器发展滞后的问题,本文提出融合现代架构、数据与预训练优化的 250M 参数 NeoBERT,支持 4,096 token 上下文并在 MTEB 上达到最先进性能。

摘要:

近期,架构、预训练和微调方面的创新使 LLaMA 和 DeepSeek 等大型自回归语言模型具备了出色的上下文学习与推理能力。相比之下,尽管 BERT 和 RoBERTa 等编码器是许多下游 NLP 应用的基础,却未取得同等程度的进展。为弥合这一差距,我们提出 NeoBERT,这是一款下一代编码器,通过融合架构、现代数据和优化预训练方法方面的前沿进展,重新定义双向模型的能力。NeoBERT 旨在实现无缝采用:它可作为现有基础模型的即插即用替代品,采用最优深宽比,并利用扩展至 4,096 个 token 的上下文长度。尽管其参数量仅为紧凑的 250M,它却在大规模 MTEB 基准上取得最先进结果,并在相同微调条件下优于 BERT large、RoBERTa large、NomicBERT 和 ModernBERT。此外,我们在 GLUE 上严格评估每项修改的影响,并为 MTEB 设计统一的微调与评估框架。我们发布所有代码、数据、检查点和训练脚本,以加速研究与实际应用。

英文摘要:

Recent innovations in architecture, pre-training, and fine-tuning have led to the remarkable in-context learning and reasoning abilities of large auto-regressive language models such as LLaMA and DeepSeek. In contrast, encoders like BERT and RoBERTa have not seen the same level of progress despite being foundational for many downstream NLP applications. To bridge this gap, we introduce NeoBERT, a next-generation encoder that redefines the capabilities of bidirectional models by integrating state-of-the-art advancements in architecture, modern data, and optimized pre-training methodologies. NeoBERT is designed for seamless adoption: it serves as a plug-and-play replacement for existing base models, relies on an optimal depth-to-width ratio, and leverages an extended context length of 4,096 tokens. Despite its compact 250M parameter footprint, it achieves state-of-the-art results on the massive MTEB benchmark, outperforming BERT large, RoBERTa large, NomicBERT, and ModernBERT under identical fine-tuning conditions. In addition, we rigorously evaluate the impact of each modification on GLUE and design a uniform fine-tuning and evaluation framework for MTEB. We release all code, data, checkpoints, and training scripts to accelerate research and real-world adoption.

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

↑