CanvasAnneal: Curriculum Reinforcement Learning for Diffusion Language Models
SourceFull paper
Article overview
Verdict
CanvasAnneal is a compelling but non-universal way to accelerate RL training for discrete diffusion language models. It outperforms diffu-GRPO on MATH500, Countdown, and some tool-calling tasks, but loses on GSM8K and part of BFCL; the benefit depends on the task and masking schedule.
Main idea
Temporarily use teacher reasoning as a partially visible initial canvas for early RL rollouts, then stochastically remove that scaffold while retaining a fraction of fully noisy rollouts. Exploration therefore starts from more structured states, while testing remains fully autonomous.
Mechanism
State: a completion canvas containing the prompt and, during training, a teacher rationale; part of the rationale is preserved as a coherent prefix while a contiguous suffix is masked.
Operation: (1) obtain a teacher trace; (2) insert it into the canvas and choose a masking ratio; (3) use the same canvas and ratio for a rollout group; (4) complete masked positions with the diffusion policy; (5) compute task-specific rewards and full-sequence token likelihoods; (6) apply diffu-GRPO with group-relative advantages; (7) shift the curriculum from Beta(1,5) toward Beta(5,1) as training progresses while retaining a fixed fraction of pure-noise groups.
Objective and data: the RL reward combines correctness with format, integer-output, XML/boxed-answer, arithmetic-validity, or JSON/tool-call checks. At test time the teacher is absent: sampling starts from a fully masked canvas with the standard diffusion process. Reproduction requires 8 A100 GPUs, 1,600 PPO updates, and evaluation at 128/256/512 generated tokens with 64/128/256 denoising steps. The records do not specify the exact Beta-schedule formula, pure-noise rollout fraction, or other implementation details.
What this is useful for
The method is most useful for tasks where teacher traces provide structured reasoning and rewards reliably verify mathematical correctness or formatted/tool-mediated answers. It is suited to RL fine-tuning of diffusion LLMs when faster reward progress and teacher-free inference matter.
Risks / not proven
The effect is task-dependent: GSM8K degrades and BFCL results are directionally mixed. Poor masking schedules or too few pure-noise rollouts may reduce autonomy and transferability. The records do not establish sensitivity to teacher quality, exact compute cost, statistical significance, or generalization beyond the listed tasks and settings.
Full abstract
Diffusion Language Models (DLMs) offer promising parallel generation capabilities but lag behind autoregressive models in complex reasoning and tool-use tasks. While Reinforcement Learning (RL) has recently been applied to enhance DLMs, standard RL approaches suffer from an exploration bottleneck. To address this, we inject reasoning priors from a stronger teacher model to guide RL exploration. In this paper, we introduce CanvasAnneal, a curriculum-guided diffusion RL framework. During the initial RL phase, we warm-start exploration by injecting teacher-generated reasoning traces into the initial diffusion canvas. As training progresses, we gradually remove this guidance and require the model to generate more of the reasoning trajectory independently. Across mathematical reasoning and tool-use benchmarks, CanvasAnneal improves over standard diffu-GRPO on MATH500, Countdown, and Tau2 and substantially accelerates reward improvement on several tasks, while gains are task-dependent. Our results suggest that structured training-time guidance can alleviate exploration bottlenecks in diffusion RL and speed up convergence on harder tasks.