Masked Diffusion Language Models with Frequency-Informed Training

Despoina Kosmopoulou, Efthymios Georgiou, Vaggelis Dorovatas, Georgios Paraskevopoulos, Alexandros PotamianosarXiv 2025 · DOI

Abstract

Masked Diffusion Language Models (MDLMs) offer a promising middle ground between autoregressive and masked language models, yet they often struggle with data efficiency in low-resource settings. This paper presents a novel frequency-informed masking strategy tailored for the BabyLM challenge, which restricts training to a human-scale 100 million word corpus. By prioritizing rare, high-information tokens and exploring advanced noise schedules, the proposed MDLM achieves performance competitive with state-of-the-art hybrid models. Our results demonstrate that frequency-informed training significantly enhances the model's ability to learn from limited data, particularly in tasks requiring bidirectional context and world knowledge.

Introduction

Modern Large Language Models (LLMs) are notoriously data-intensive, often requiring trillions of tokens to reach peak performance. In contrast, a 12-year-old human has typically been exposed to fewer than 100 million words. The BabyLM Challenge aims to bridge this "efficiency gap" by encouraging the development of models that learn like humans—from limited, developmentally plausible data.

Standard approaches usually fall into two categories: Autoregressive (AR) models, which excel at generation but lack bidirectional context, and Masked Language Models (MLM), which utilize full context but are less efficient at learning. This research explores Masked Diffusion Language Models (MDLMs) as a solution. MDLMs treat text generation as a denoising process; however, in data-sparse environments, the complex multi-step training of diffusion can lead to severe overfitting. This work addresses these challenges through architectural refinements and a novel masking curriculum.

Methodology

The core framework is based on the LTG-BERT architecture, enhanced with attention-gating and time-conditioning via Adaptive Layer Normalization. These modifications help the model distinguish between different stages of the diffusion process.

Frequency-Informed Masking

The primary innovation is a frequency-informed masking strategy. Rather than masking tokens at random, the model prioritizes rare tokens. Rare words (e.g., "platypus") typically carry more semantic weight than common function words (e.g., "the"). The authors implement a two-step process to rank tokens by global frequency and scale their masking probability accordingly, effectively creating an importance sampling mechanism.

Impact of frequency-informed masking on zero-shot performance across EWoK and BLiMP benchmarks.

Noise Scheduling and Optimization

Diffusion models rely on a "noise schedule" to dictate the level of corruption during training. This study explored linear, cosine, and bimodal Gaussian schedules. The bimodal schedules act as a curriculum, focusing on different levels of corruption at different training stages. Additionally, the model was optimized using a simplified version of the Negative Evidence Lower Bound (NELBO), investigating how different weighting schemes for the noise derivative affect learning stability.

Evaluation and Results

The model was trained on the BabyLM 100M-word corpus and evaluated against the BabyLM benchmark suite, including BLiMP (linguistics), EWoK (world knowledge), and GLUE (Natural Language Understanding).

Key Findings

  • Linguistic Competence: The frequency-informed model showed significant gains in human-likeness tasks. In the Adjective Nominalization test, it improved performance by 7.5 absolute percentage points over the baseline.
  • World Knowledge and Bidirectionality: The MDLM outperformed top baselines in Entity Tracking (40.8% vs 39.9%) and Reading tasks (7.4% vs 6.3%). The bidirectional view inherent in MDLMs proved particularly advantageous for tracking entities through text.
  • NLU Robustness: On GLUE tasks requiring fine-tuning, the model was highly competitive, outperforming baselines on MRPC (88.7% vs 85.8%) and RTE (64.7% vs 59.0%).
Comparison of the proposed MDLM submission against top baselines in linguistics and world understanding tasks.

Discussion and Future Work

While the frequency-informed MDLM shows great promise for data-efficient learning, several challenges remain. Estimating sentence likelihood (perplexity) in an MDLM is currently computationally expensive compared to standard models. Furthermore, the success of bimodal Gaussian schedules appears highly sensitive to the scaling of mathematical derivatives in the ELBO objective, suggesting a need for more robust optimization setups.

Future research will focus on refining the bimodal curriculum and developing more efficient likelihood estimators to further push the boundaries of what can be learned from human-scale datasets.

Summary updated

Abstract

We present a masked diffusion language modeling framework for data-efficient training for the BabyLM 2025 Challenge. Our approach applies diffusion training objectives to language modeling under strict data constraints, incorporating frequency-informed masking that prioritizes learning from rare tokens while maintaining theoretical validity. We explore multiple noise scheduling strategies, including two-mode approaches, and investigate different noise weighting schemes within the NELBO objective. We evaluate our method on the BabyLM benchmark suite, measuring linguistic competence, world knowledge, and human-likeness. Results show performance competitive to hybrid autoregressive-masked baselines, demonstrating that diffusion-based training offers a viable alternative for data-restricted language learning.
BibTeX
@misc{kosmopoulou2025masked,
  author = {Despoina Kosmopoulou and Efthymios Georgiou and Vaggelis Dorovatas and Georgios Paraskevopoulos and Alexandros Potamianos},
  title = {{Masked Diffusion Language Models with Frequency-Informed Training}},
  year = {2025},
  eprint = {2509.05056},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.05056},
}
Figure