NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dense Training Objectives for Language Model Pre-training

This direction is split into other directions: sparse training signal. Its last version stays readable and citable here.

Version 1 of 192 papers99 conceptsfrozen 2026-10-04

The dominant paradigm for training language models has long relied on "filling in the blanks." In Masked Language Modeling (MLM), popularized by BERT, a model looks at a sentence with some words hidden and tries to guess what they are. While effective, this approach suffers from a fundamental inefficiency: the "sparse signal" problem.

If you mask 15% of the tokens in a sentence, the model only receives a learning signal (a gradient) from those specific positions. The other 85% of the tokens are processed by the Transformer—consuming significant compute—but do not directly contribute to the loss function. This "masking tax" means that models must see trillions of tokens to reach high performance because they are effectively ignoring the vast majority of the data in every forward pass.

The Shift to Dense Supervision

To overcome this, researchers have moved toward dense supervision, where the goal is to extract a learning signal from every single token in the input sequence.

The most influential realization of this idea is Replaced Token Detection (RTD), introduced by Kevin B. Clark and Kevin Clark in ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators. Instead of masking tokens, ELECTRA uses a small "generator" model to replace some words with plausible alternatives. The main model (the "discriminator") must then decide for every token in the sequence whether it is the original word or a replacement.

By shifting from a generation task (predicting a word from a vocabulary of 30,000+) to a discriminative task (is this word real or fake?), the model can compute a loss for 100% of the input tokens. This increased signal density allows models to achieve the same performance as BERT with significantly less compute—sometimes as little as 1/4th of the training data, as noted by Stéphane Aroca-Ouellette and Frank Rudzicz in On Losses for Modern Language Models.

Expanding the Signal Beyond Binary Choices

While ELECTRA's binary "real vs. fake" task is efficient, it provides less information per token than predicting the actual word identity. Several researchers have sought to combine the density of ELECTRA with the richness of MLM:

  1. Multi-word Selection: Jialu Liu and colleagues introduced TEAMS, which forces the discriminator to select the original word from a set of candidates rather than just flagging it as "replaced." This "multiple-choice" objective provides a steeper learning curve and better semantic representations.
  2. Future N-gram Prediction: Weizhen Qi and the ProphetNet team increased signal density by requiring the model to predict the next n tokens simultaneously at each position. This prevents the model from overfitting on local patterns and encourages long-term planning.
  3. Token Alignment: Zhiyi Fu proposed TACO, which uses a contrastive objective to align semantics across all tokens, achieving up to a 5x speedup over standard BERT training.

Architectural Solutions to the Masking Tax

Beyond changing the loss function, new architectures are emerging that eliminate the need for [MASK] tokens entirely. [MASK] tokens create a "pre-train/fine-tune discrepancy" because the model never sees them during actual use.

Justin Deschenaux and Caglar Gulcehre developed Partition Generative Modeling (PGM). Instead of masking, they split a sequence into disjoint groups (partitions) that predict each other. This allows for parallel, any-order generation while only processing "clean" tokens, leading to a 7.5x throughput increase.

Similarly, Megi Dervishi and Yann LeCun introduced CrossBERT, which decouples the representation (the encoder) from the reconstruction (the decoder). By using a bipartite architecture, they ensure that the encoder doesn't "waste" its capacity on low-level word reconstruction, leading to better scaling and 2x higher sample efficiency.

Why It Works: Reducing Gradient Variance

The intuition behind the success of these methods lies in gradient variance. In a sparse objective like MLM, the gradients produced in each step are noisy because they only represent a tiny fraction of the data's structure. By supervising every token, as in FE-MLM by Mingzhi Zheng and Weizhu Chen, the model receives a more consistent and comprehensive update in every step.

This shift has proven particularly vital for specialized domains. For example, Zewen Chi showed in XLM-E that dense discriminative training can speed up cross-lingual pre-training by 130x. In the biomedical field, Benfeng Xu used multi-level discrimination in eHealth to outperform much larger models by simply "studying harder" on the available data.

The move from sparse to dense supervision represents a fundamental shift in how we view data efficiency: it is not just about how much data a model sees, but how much it learns from every single token it processes.

Papers in this version

Showing 60 of 92 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_dense_training_objectives_for_language_m_76641c7d,
  title = {Dense Training Objectives for Language Model Pre-training},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dense-training-objectives-for-language-model-pre-training/rdr_76641c7dbbac43eaaa4ebc5038c8f9ed},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_dense_training_objectives_for_language_m_76641c7d_v1,
  title = {Dense Training Objectives for Language Model Pre-training},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dense-training-objectives-for-language-model-pre-training/rdr_76641c7dbbac43eaaa4ebc5038c8f9ed/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}