mlsanityData to 7 Oct 2026

Chinese ModernBERT with Whole-Word Masking

arXiv 2510.12285 ↗First posted 14 Oct 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Encoder-only Transformers have advanced along three axes -- architecture, data, and systems -- yielding Pareto gains in accuracy, speed, and memory efficiency. Yet these improvements have not fully transferred to Chinese, where tokenization and morphology differ markedly from English. We introduce Chinese ModernBERT, a from-scratch Chinese encoder that couples: (i) a hardware-aware 32k BPE vocabulary tailored to frequent Chinese affixes/compounds, lowering the embedding budget; (ii) whole-word masking (WWM) with a dynamic masking curriculum (30% -> 15%) to align task difficulty with training progress; (iii) a two-stage pre-training pipeline that extends the native context from 1,024 to 8,192 tokens using RoPE and alternating local/global attention; and (iv) a damped-cosine learning-rate schedule for stable long-horizon optimization. We pre-train on ~1.2T Chinese tokens from CCI3-HQ, CCI4 (Chinese), and Cosmopedia-Chinese. On CLUE, Chinese ModernBERT is competitive with strong Chinese encoders under a unified fine-tuning protocol. Under bf16 it achieves high long-sequence throughput while maintaining strong short-sequence speed, reflecting benefits from budget allocation and attention design. To probe retrieval-oriented quality, we add a small amount of open contrastive data: fine-tuning on SimCLUE (~3M pairs) improves further when adding T2Ranking (~2M), reaching 0.505 (Pearson) / 0.537 (Spearman) on the SimCLUE test set. Under this open-data setting, Chinese ModernBERT surpasses Qwen-0.6B-embedding on SimCLUE, suggesting a clear scaling path for STS with additional curated pairs. We will release tokenizer and weights to facilitate reproducible research.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 27 of its 32 references that are in the map. First posted on arXiv 14 Oct 2025.

Builds on

27 of 32 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  8. 2019Root Mean Square Layer Normalizationcited by 1,425
  9. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  10. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  11. 2020On Layer Normalization in the Transformer Architecturecited by 906
  12. 2015Cyclical Learning Rates for Training Neural Networkscited by 627
15 more
  1. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  2. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  3. 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 277
  4. 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 233
  5. 2018A disciplined approach to neural network hyper-parameters: Part 1 -- learning rate, batch size, momentum, and weight decaycited by 223
  6. 2022Should You Mask 15% in Masked Language Modeling?cited by 117
  7. 2023Stable and low-precision training for large-scale vision-language modelscited by 74
  8. 2024Multi-Task Contrastive Learning for 8192-Token Bilingual Text Embeddingscited by 20
  9. 2025OpenCSG Chinese Corpus: A Series of High-quality Chinese Datasets for LLM Trainingcited by 20
  10. 2022Learning Better Masking for Better Language Model Pre-trainingcited by 14
  11. 2025NeoBERT: A Next-Generation BERTcited by 14
  12. 2023Dynamic Masking Rate Schedules for MLM Pretrainingcited by 11
  13. 2024The Case for Co-Designing Model Architectures with Hardwarecited by 11
  14. 2025CCI4.0: A Bilingual Pretraining Dataset for Enhancing Reasoning in Large Language Modelscited by 4
  15. 2025Task-Informed Anti-Curriculum by Masking Improves Downstream Performance on Textcited by 3

Built on by

Not cited yet.