Source note2 min read

Mask-Aware Policy Gradients for Diffusion Language Models

Source

arXiv

arxiv.org/abs/2607.15200v1

Read the source

Source

Plain-Language Brief

The paper presents a method for improving the performance of large language models in tasks like mathematical reasoning and coding by using reinforcement learning. This method addresses the challenge of extending reinforcement learning to Masked Diffusion Language Models (MDLMs) by considering both the token predictions and the order in which positions are unmasked during generation.

What the Document Says

  • The authors use reinforcement learning to improve reasoning in large language models.
  • They focus on Masked Diffusion Language Models (MDLMs).
  • Existing methods for approximating log-likelihood in MDLMs only model token predictions and ignore the order of position unmasking during generation.
  • The authors propose a two-stage action Markov Decision Process (MDP) to address this.
  • They show that the policy gradient decomposes into a token term and a masking term.
  • Optimizing both terms leads to improved performance on mathematical reasoning and coding benchmarks.

Key Concepts Mentioned

  • Reinforcement learning
  • Masked Diffusion Language Models (MDLMs)
  • Markov Decision Process (MDP)
  • Policy gradient
  • Token predictions
  • Position unmasking

Claims Made by the Document

  • Existing methods for log-likelihood approximation in MDLMs are incomplete.
  • The proposed method leads to improved performance on mathematical reasoning and coding benchmarks.

Evidence Used

  • Existing approaches approximate this log-likelihood by modeling only the token predictions...
  • Combining optimization of both terms leads to state-of-the-art outcomes on mathematical reasoning and coding benchmarks...

Methods / Approach

UNKNOWN

Limitations Stated by the Authors

UNKNOWN

Limitations Noted by the Agent

Agent interpretation — not from the source.

UNKNOWN

Open Questions

UNKNOWN

Notes for Future Q&A

May include interpretation. Labeled where it does.

UNKNOWN

Raw Abstract / Excerpt

Reinforcement learning has proven effective for improving reasoning in large language models, but extending it to Masked Diffusion Language Models (MDLMs) remains challenging due to the intractability of the log-likelihood estimation. Existing approaches approximate this log-likelihood by modeling only the token predictions, ignoring the order in which positions are unmasked during generation. We observe that MDLM generation involves two decisions at each step: what tokens to place at each masked position and which positions to remask. We formalize this as a two-stage action MDP, showing that the policy gradient naturally decomposes into a token term and a masking term. Combining optimization of both terms leads to state-of-the-art outcomes on mathematical reasoning and coding benchmarks, with scores of 87.1% on GSM8K and 53.4% on MBPP.