mlsanityData to 24 Nov 2026

ModernELECTRA: Replaced-Token Detection with Boundary-Window Reconstruction for Compact Encoders that Classify and Embed

arXiv 2611.31495 ↗Submitted 23 Nov 2026Announced 25 Nov 2026cs.CL cs.IR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

ELECTRA-style replaced-token detection (RTD) is a sample-efficient objective for pre-training text encoders, and RTD-trained models such as DeBERTaV3 are strong on classification benchmarks. The same models, however, are known to be poor backbones for embedding tasks such as retrieval and semantic similarity: the binary "original vs. replaced" signal does not ask the final layer to retain the token identity and contextual content that dense representations rely on. We introduce ModernELECTRA, a pre-training recipe that keeps RTD as the main objective and adds a lightweight auxiliary task, boundary-window reconstruction. For every token, we sample a window of 3-12 tokens that strictly contains it and reconstruct the token's original identity only from the discriminator's hidden states at the two window boundaries. The task costs one small FFN at training time and is discarded afterwards, yet it forces every final-layer state to carry information about its neighbourhood. Combined with a frozen, separately pre-trained generator, a temperature curriculum for hard negatives and a 512-to-8192 length curriculum, we train two compact encoders: EdgeCoder-31M, an 8-layer English model, and EdgeCoder-Multilingual-61M, a 16-layer model covering 46 languages, each on about 1T tokens. They reach 86.0 and 85.1 on GLUE. The English model outperforms Ettin-Enc-32m (83.5) and MiniLM-L12 (84.6) on GLUE while matching them on MTEB English v2 (51.1), and the multilingual model outperforms the 2.3x larger mmBERT-small on GLUE and Multilingual MiniLM and mDistilBERT on XTREME over the languages it covers. We also describe FlashDeBERTa, our open-source fused implementation of DeBERTa's disentangled attention that stores no n × n score matrix: at 4096 tokens it is 10x faster and uses 93% less memory than the reference implementation, and it loads existing DeBERTa checkpoints unchanged.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 44 of its 50 references that are in the map. Submitted 23 Nov 2026, announced 25 Nov 2026.

Builds on

44 of 50 references.

References · 44

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,802
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 8,178
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 5,035
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,481
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,890
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
  11. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,238
  12. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,667
32 more
  1. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,560
  2. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,356
  3. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,333
  4. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,322
  5. 2023StarCoder: may the source be with you!cited by 851
  6. 2021Robust fine-tuning of zero-shot modelscited by 850
  7. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 843
  8. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 788
  9. 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 759
  10. 2022MTEB: Massive Text Embedding Benchmarkcited by 680
  11. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 634
  12. 2017Efficient Natural Language Response Suggestion for Smart Replycited by 239
  13. 2024Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durationscited by 205
  14. 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 183
  15. 2025FineWeb2: One Pipeline to Scale Them All -- Adapting Pre-Training Data Processing to Every Languagecited by 181
  16. 2025EmbeddingGemma: Powerful and Lightweight Text Representationscited by 162
  17. 2021Scaling Deep Contrastive Learning Batch Size under Memory Limited Setupcited by 140
  18. 2025MMTEB: Massive Multilingual Text Embedding Benchmarkcited by 139
  19. 2022Should You Mask 15% in Masked Language Modeling?cited by 122
  20. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 122
  21. 2023GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformercited by 98
  22. 2023Stable and low-precision training for large-scale vision-language modelscited by 83
  23. 2025mmBERT: A Modern Multilingual Encoder with Annealed Language Learningcited by 61
  24. 2025Seq vs Seq: An Open Suite of Paired Encoders and Decoderscited by 46
  25. 2024Autonomous Data Selection with Zero-shot Generative Classifiers for Mathematical Textscited by 30
  26. 2025GLiClass: Generalist Lightweight Model for Sequence Classification Taskscited by 21
  27. 2025NeoBERT: A Next-Generation BERTcited by 18
  28. 2025ModernBERT or DeBERTaV3? Examining Architecture and Data Influence on Transformer Encoder Models Performancecited by 13
  29. 2024GLiNER multi-task: Generalist Lightweight Model for Various Information Extraction Taskscited by 9
  30. 2021Learning to Sample Replacements for ELECTRA Pre-Trainingcited by 8
  31. 2024Are ELECTRA's Sentence Embeddings Beyond Repair? The Case of Semantic Textual Similaritycited by 4
  32. 2023Fast-ELECTRA for Efficient Pre-trainingcited by 2

Built on by

Not cited yet.