ModernBERT or DeBERTaV3? Examining Architecture and Data Influence on Transformer Encoder Models Performance
Not on the map. Why?
Abstract (arXiv)
Pretrained transformer-encoder models like DeBERTaV3 and ModernBERT introduce architectural advancements aimed at improving efficiency and performance. Although the authors of ModernBERT report improved performance over DeBERTaV3 on several benchmarks, the lack of disclosed training data and the absence of comparisons using a shared dataset make it difficult to determine whether these gains are due to architectural improvements or differences in training data. In this work, we conduct a controlled study by pretraining ModernBERT on the same dataset as CamemBERTaV2, a DeBERTaV3 French model, isolating the effect of model design. Our results show that the previous model generation remains superior in sample efficiency and overall benchmark performance, with ModernBERT's primary advantage being its support for long context, faster training, and inference speed. However, the new proposed model still provides meaningful architectural improvements compared to earlier models such as BERT and RoBERTa. Additionally, we observe that high-quality pre-training data accelerates convergence but does not significantly improve final performance, suggesting potential benchmark saturation. These findings show the importance of disentangling pretraining data from architectural innovations when evaluating transformer models.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 27 of its 46 references that are in the map. First posted on arXiv 11 Apr 2025.
Builds on
27 of 46 references.
References · 27
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2020GLU Variants Improve Transformercited by 1,804
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
15 more
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
- 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 182
- 2023CulturaX: A Cleaned, Enormous, and Multilingual Dataset for Large Language Models in 167 Languagescited by 174
- 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 160
- 2019FlauBERT: Unsupervised Language Model Pre-training for Frenchcited by 153
- 2022Towards a Cleaner Document-Oriented Multilingual Crawled Corpuscited by 143
- 2023XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Modelscited by 88
- 2020FQuAD: French Question Answering Datasetcited by 58
- 2023MosaicBERT: A Bidirectional Encoder Optimized for Fast Pretrainingcited by 34
- 2024CamemBERT 2.0: A Smarter French Language Model Aged to Perfectioncited by 14
- 2023Data-Efficient French Language Modeling with CamemBERTacited by 8
Built on by
Citing papers per year: 2025: 2; 2026: 10.
12 papers.
- 2025New Encoders for German Trained from Scratch: Comparing ModernGBERT with Converted LLM2Vec Modelscited by 5
- 2025TabiBERT: A Large-Scale ModernBERT Foundation Model and A Unified Benchmark for Turkishcited by 1
- 2026SHIELD: A Diverse Clinical Note Dataset and Distilled Small Language Models for Enterprise-Scale De-identificationcited by 1
- 2026A Causal Language Modeling Detour Improves Encoder Continued Pretrainingcited by 1
- 2026TRACE: Toulmin-based Reasoning Assessment through Constructive Elements for LLM CoT Evaluationcited by 1
- 2026When Do Concepts Become Functionally Sufficient During Language-Model Training?cited by 1
- 2026The GDN-CC Dataset: Automatic Corpus Clarification for AI-enhanced Democratic Citizen Consultationscited by 0
- 2026Where Does the Signal Live? A Web Data Recipe for Medical Encoder Pretrainingcited by 0
- 2026BERTomelo: Your Portuguese Encoder Best Friendcited by 0
- 2026OntoBook: Ontology-Grounded Synthetic Textbooks for Medical Encoder Pretrainingcited by 0
- 2026Do Visual Features Improve Other-Initiated Repair Detection? A Dyadic Multimodal Approachcited by 0
- 2026UltraBERT: Beyond the Limit of BERT Pre-Trainingcited by 0
- 2026UltraBERT: Beyond the Limit of BERT Pre-Training10 Oct 2026
- 2026When Do Concepts Become Functionally Sufficient During Language-Model Training?15 Aug 2026
- 2026Do Visual Features Improve Other-Initiated Repair Detection? A Dyadic Multimodal Approach26 Jul 2026
- 2026OntoBook: Ontology-Grounded Synthetic Textbooks for Medical Encoder Pretraining21 Jul 2026
- 2026BERTomelo: Your Portuguese Encoder Best Friend27 Jun 2026
- 2026Where Does the Signal Live? A Web Data Recipe for Medical Encoder Pretraining20 Jun 2026
- 2026TRACE: Toulmin-based Reasoning Assessment through Constructive Elements for LLM CoT Evaluation28 May 2026
- 2026A Causal Language Modeling Detour Improves Encoder Continued Pretraining12 May 2026
- 2026SHIELD: A Diverse Clinical Note Dataset and Distilled Small Language Models for Enterprise-Scale De-identification5 May 2026
- 2026The GDN-CC Dataset: Automatic Corpus Clarification for AI-enhanced Democratic Citizen Consultations21 Jan 2026
- 2025TabiBERT: A Large-Scale ModernBERT Foundation Model and A Unified Benchmark for Turkish28 Dec 2025
- 2025New Encoders for German Trained from Scratch: Comparing ModernGBERT with Converted LLM2Vec Models19 May 2025