Hidden GemsLanguage & reasoning

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

Mykhailo Shtopko, Ihor Stepanov, Dmytro Vodianytskyi et al. · 2026 · arXiv:2611.31495

Why it's a gem

  • Code is public (github.com/Knowledgator/FlashDeBERTa, 100 stars)
  • Releases weights, data or a benchmark
  • Concrete results in the abstract (2.3x, 10x, 93%)
  • Clear method and findings
  • Useful to people building AI products (Language & reasoning)
  • From a small lab or startup (Knowledgator Engineering, Kyiv)
  • Only 4 upvotes on Hugging Face Papers

Abstract

From the arXiv abstract, may be trimmed

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.

Ask the paper

Answers come from the paper summary and abstract.

Ask anything about “ModernELECTRA: Replaced-Token Detection with Boundary-Window Reconstruction for Compact Encoders that Classify and Embed”, or start with one of these:

Closest matches across the feed and every collection, by shared words in titles, topics and abstracts.