2026-02-05 · 进阶 · 自然语言处理 · 机器学习

RexBERT: Context Specialized Bidirectional Encoders for E-commerce

RexBERT提出了一种针对电子商务语义的BERT风格编码器,通过高质量的领域数据和有原则的训练方法,在电子商务应用中提供了比单纯扩展规模更强的基础。

更新于 2026-02-09。作者:Rahul Bajaj、Anuj Garg。

中文摘要

仅编码器的转换器在检索、分类和排名系统中仍然不可或缺,在这些系统中,延迟、稳定性和成本至关重要。然而,大多数通用编码器都是在涵盖有限专业领域的通用语料库上训练的。我们引入了RexBERT,这是一系列专为电子商务语义设计的BERT风格编码器。我们做出了三项贡献。首先,我们发布了Ecom-niverse,这是一个从各种零售和购物来源精心挑选的3500亿个token语料库。我们描述了一个模块化流程,该流程从FineFineWeb和其他公开网络资源中隔离和提取电子商务内容,并描述了由此产生的领域分布。其次,我们提出了一种基于ModernBERT架构进步的可重现预训练配方。该配方包括三个阶段:通用预训练、上下文扩展和退火领域专业化。第三,我们训练了从1700万到4亿参数的RexBERT模型,并使用电子商务数据集在token分类、语义相似性和通用自然语言理解任务上对其进行了评估。尽管参数数量减少了2-3倍,但RexBERT的表现优于更大的通用编码器,并在特定领域的基准测试中与或超过现代长上下文模型。我们的结果表明,高质量的专业领域数据加上原则性的训练方法,比单纯的规模扩展更能为电子商务应用提供坚实的基础。

英文摘要

Encoder-only transformers remain indispensable in retrieval, classification, and ranking systems where latency, stability, and cost are paramount. Most general purpose encoders, however, are trained on generic corpora with limited coverage of specialized domains. We introduce RexBERT, a family of BERT-style encoders designed specifically for e-commerce semantics. We make three contributions. First, we release Ecom-niverse, a 350 billion token corpus curated from diverse retail and shopping sources. We describe a modular pipeline that isolates and extracts e-commerce content from FineFineWeb and other open web resources, and characterize the resulting domain distribution. Second, we present a reproducible pretraining recipe building on ModernBERT's architectural advances. The recipe consists of three phases: general pre-training, context extension, and annealed domain specialization. Third, we train RexBERT models ranging from 17M to 400M parameters and evaluate them on token classification, semantic similarity, and general natural language understanding tasks using e-commerce datasets. Despite having 2-3x fewer parameters, RexBERT outperforms larger general-purpose encoders and matches or surpasses modern long-context models on domain-specific benchmarks. Our results demonstrate that high quality in-domain data combined with a principled training approach provides a stronger foundation for e-commerce applications than indiscriminate scaling alone.

解读

一句话总结

RexBERT提出了一种针对电子商务语义的BERT风格编码器,通过高质量的领域数据和有原则的训练方法,在电子商务应用中提供了比单纯扩展规模更强的基础。

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

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

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

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

来源