Separating Representation from Reconstruction Enables Scalable Text Encoders

Megi Dervishi, Mathurin Videau, Yann LeCun

While generative decoders like GPT have scaled massively over the last few years, encoder architectures have remained largely stagnant since the introduction of BERT. A major reason for this disparity is a phenomenon known as the "scaling paradox": as standard BERT-style encoders grow larger, their frozen representations actually become less useful for downstream tasks.

In this mini paper, we explore CrossBERT, a novel architecture that identifies and solves this bottleneck by decoupling feature extraction from token reconstruction, resulting in superior scaling, doubled sample efficiency, and significantly higher training throughput.

The Problem: Representation-Reconstruction Misalignment

In a traditional "flat" BERT architecture, the exact same layers are responsible for both building high-level semantic representations and predicting specific missing tokens via Masked Language Modeling (MLM).

The authors identify a critical failure mode in this design: representation-reconstruction misalignment. As these models scale beyond approximately 500 million parameters, they become overly specialized at the local reconstruction task. This over-specialization makes their internal features "unexploitable" for general downstream tasks unless the entire model is heavily fine-tuned. Essentially, the model's capacity is monopolized by acting as a specialized dictionary-filler rather than a general-purpose semantic engine, leading to a "brutal drop" in the performance of its frozen features.

The Solution: CrossBERT's Bipartite Architecture

To cure this misalignment, the authors introduce CrossBERT, drawing inspiration from Masked Autoencoders (MAE) commonly used in computer vision. CrossBERT abandons the flat design in favor of a bipartite structure:

  1. The Encoder: A heavy, deep network that processes only visible (unmasked) tokens to create high-level semantic features. Because it never directly "sees" the reconstruction task, it is forced to focus entirely on abstract semantics.
  2. The Predictor: A lightweight module (roughly one-quarter the depth of the encoder) that uses cross-attention to take the encoder's features and reconstruct the masked tokens.

By isolating the rigid grounding of token reconstruction in the shallow predictor, CrossBERT maintains monotonic scaling—meaning larger models consistently produce better, more generalizable features. The architecture is also modernized with recent improvements like Rotary Positional Embeddings (RoPE) and RMSNorm.

Complementary Masking Strategy (CMS)

Standard BERT masks roughly 15% of tokens, meaning 85% of the computational effort provides no direct gradient signal for the reconstruction task. Furthermore, standard BERT's performance degrades if the masking ratio is pushed too high.

CrossBERT, however, thrives at high masking ratios ($\geq 50$%). This robustness enables a Complementary Masking Strategy (CMS). The model processes two complementary views of the same sequence in parallel (e.g., one view sees the even tokens, the other sees the odd tokens). This allows the model to gather gradient signals from every token in a single pass.

Because the heavy encoder only processes the unmasked tokens (which are now dropped from the sequence rather than just replaced with a [MASK] token), training speed increases dramatically.

Key Results and Performance

CrossBERT was pre-trained on a 50-billion-token subset of the DCLM corpus and evaluated across GLUE, MTEB (Massive Text Embedding Benchmark), and MS-MARCO. The results highlight a massive leap in encoder efficiency and capability:

  • Efficiency Gains: CrossBERT achieves a 1.68x speedup in training throughput (207k vs. 123k tokens/sec) compared to a modern BERT baseline.
  • Sample Efficiency: Thanks to CMS, the model effectively doubles its sample efficiency, reaching baseline performance levels with half the data.
  • Retrieval Superiority: On MTEB retrieval tasks, frozen CrossBERT scores 40.7, more than doubling the standard BERT baseline's score of 19.2.
  • Scaling Laws: Unlike standard BERT, which saturates and declines, CrossBERT demonstrates a clean power-law scaling trend across compute budgets ranging from $2 \times 10^{18}$ to $1 \times 10^{21}$ FLOPs.
  • Frozen vs. Fine-Tuned: At larger scales, CrossBERT’s frozen representations begin to outperform the fully fine-tuned versions of standard baselines, suggesting that a well-designed pre-training stage can eliminate the need for expensive end-to-end downstream adaptation.

Limitations and Future Directions

While the paper provides compelling experimental evidence for the "reconstruction bottleneck," it does not offer a formal theoretical proof explaining exactly why this coupling degrades features at scale. Additionally, the study caps out at a few billion parameters; while the trends are monotonic, behavior at the 100B+ parameter scale (typical of the largest decoders) remains untested.

Looking forward, the bipartite nature of CrossBERT opens the door to objective flexibility. The reconstruction objective (MLM) could potentially be swapped for auto-regressive decoding or T5-style span corruption to see if representation quality can be pushed even further.

Summary updated

BibTeX
@inproceedings{dervishi2026separating,
  author = {Megi Dervishi and Mathurin VIDEAU and Yann LeCun},
  title = {{Separating Representation from Reconstruction Enables Scalable Text Encoders}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=NVMMpdARqa},
}
Figure