Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

ModernBERT or DeBERTaV3? Examining Architecture and Data Influence on Transformer Encoder Models Performance

About

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.

Wissam Antoun, Beno\^it Sagot, Djam\'e Seddah• 2025

Related benchmarks

TaskDatasetResultRank
Multilabel ClassificationFrACCO-30
Macro F170.1
8
Multilabel ClassificationFrACCO-100
Macro F155.3
8
Multilabel ClassificationCANTEMIST
F1 Score (macro)63.3
8
ClassificationMedDialog
Macro F160.6
8
ClassificationDiaMED
Macro F156.4
8
Multilabel ClassificationDISTEMIST
Macro F120.2
8
Named Entity RecognitionEMEA
Macro F168
8
Named Entity RecognitionMEDLINE
Macro F159.7
8
Showing 8 of 8 rows

Other info

Follow for update