2025-02-28 · 专家 · 机器学习 · 自然语言处理

NeoBERT: A Next-Generation BERT

NeoBERT通过整合最新的架构、数据和预训练策略,提出了一种下一代编码器,在保持参数量紧凑的同时,实现了比BERT和RoBERTa等基线模型更优的性能。

更新于 2026-05-19。作者:Lola Le Breton、Quentin Fournier、Mariam El Mezouar、Sarath Chandar。

中文摘要

近年来,在架构、预训练和微调方面的创新,使得像LLaMA和DeepSeek这样的大型自回归语言模型在情境学习和推理能力上取得了显著成果。相比之下,虽然BERT和RoBERTa等编码器是许多下游NLP应用的基础,但它们并未取得同样的进步。为了弥合这一差距,我们推出了NeoBERT,这是一种下一代编码器,通过整合架构、现代数据和优化预训练方法的最新进展,重新定义了双向模型的能力。NeoBERT旨在易于采用:它作为现有基础模型的即插即用替代品,依赖于最佳深度与宽度比,并利用了扩展的4,096个标记的上下文长度。尽管其参数量紧凑,仅有250M,但在庞大的MTEB基准测试中实现了最先进的成果,在相同的微调条件下优于BERT大型、RoBERTa大型、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.

解读

一句话总结

NeoBERT通过整合最新的架构、数据和预训练策略,提出了一种下一代编码器,在保持参数量紧凑的同时,实现了比BERT和RoBERTa等基线模型更优的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt