Match the Canvas, Not Just the Answer: Predictability-Aware SFT for Diffusion Language Models

Miao Li, Hanyang Jiang, Hengyu Fu, Baihe Huang, Yating Liu +6 more
10/13/2026
cs.LGcs.AIcs.CL
diffusion-flow

No confident code implementation found for this paper.

Abstract

Diffusion language models (DLMs) enable flexible parallel generation by resolving tokens according to the model's evolving predictability rather than a fixed left-to-right order. This flexibility, however, introduces training choices absent from standard autoregressive teacher forcing: which reference tokens are visible when a target is supervised and how much generation space is allocated.

Show full abstract

Standard supervised fine-tuning (SFT) typically makes these choices through random masking, independently of inference. Our analysis shows how this training-inference mismatch can misdirect supervision. Random masking can conceal prediction errors or penalize uncertainty that decoding would otherwise resolve, while the attention-visible input length can change which response formulations the model favors, even when the underlying solution is unchanged. Motivated by these findings, we propose Predictability-Aware Canvas Selection and Supervision (PACS), an SFT method. PACS uses the model's own predictability to select each example's attention-visible input length and supervises reference tokens immediately before their confidence-guided revelation. Across reasoning and code-generation benchmarks, PACS consistently achieves the highest mean accuracy among the compared SFT methods, with gains of up to 12.84 percentage points over vanilla SFT on individual benchmarks. Code will be released upon publication.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026match,
  title  = {Match the Canvas, Not Just the Answer: Predictability-Aware SFT for Diffusion Language Models},
  author = {Miao Li and Hanyang Jiang and Hengyu Fu and Baihe Huang and Yating Liu and Yuhang Cai and Changkun Guan and Zhongzhu Chen and Jiecheng Lu and Michael A. Boateng and Pascal Van Hentenryck},
  year   = {2026},
  eprint = {2610.18001},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.18001v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.18001.svg)](https://codeofpaper.com/paper/2610.18001)

Discussion