arXiv:2602.04605cs.CLcs.AI2026-02

专为电商设计的轻量级大模型,性能超越更大通用模型。

RexBERT: Context Specialized Bidirectional Encoders for E-commerce

  • 用3500亿电商文本训练,针对性优化语义理解
  • 1700万到4亿参数模型,任务表现超更大通用模型
  • 适合电商搜索、推荐等低延迟场景使用

编码器类Transformer在检索、分类和排序系统中仍不可或缺,尤其在对延迟、稳定性和成本敏感的场景。然而,大多数通用编码器基于通用语料训练,对电商领域覆盖不足。本文提出RexBERT,一系列专为电商语义设计的BERT风格编码器。首先,发布Ecom-niverse——一个由多样零售和购物来源构建的3500亿词元语料库,并通过模块化流程从FineFineWeb等开源网络资源中提取电商内容,分析其领域分布。其次,提出可复现的预训练方案,包含三个阶段:通用预训练、上下文扩展和渐进式领域专业化。最后,训练了参数量从1700万到4亿不等的RexBERT模型,在电商数据集上评估其在词元分类、语义相似度及通用自然语言理解任务的表现。尽管参数量仅为通用模型的2-3倍,RexBERT在特定任务上超越更大通用模型,并达到或超过现代长上下文模型的水平。结果表明,高质量领域内数据结合系统化训练策略,比盲目扩大规模更能奠定电商应用的基础。

原文摘要 · Abstract (English)

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.

电商AI大模型语义理解BERT

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。