mlsanityData to 14 Oct 2026

CARVE: Verified Expansion for Variable-Length Generation in Diffusion Language Models

arXiv 2608.30922 ↗First posted 31 Aug 2026cs.AIcited by 0

On the map: Diffusion models → Discrete and text diffusion

Abstract (arXiv)

Masked diffusion language models predict tokens from a partially observed response canvas, enabling bidirectional conditioning and parallel token refinement. Yet standard masked-diffusion decoders use a rigid inference interface: the number of masked positions allocated to the answer is fixed before generation begins. Choosing this length is difficult. A short canvas can truncate reasoning or code, while a long canvas wastes computation and can perturb denoising. We introduce CARVE (Counterfactual-Aware Reveal with Verified Expansion), a training-free variable-length algorithm for masked diffusion LMs. Starting from a shorter canvas, CARVE can grow the response during decoding by inserting additional [MASK] positions. Rather than keeping every insertion, CARVE tests a candidate expanded canvas and asks a counterfactual question: would the model make similar predictions for the unresolved positions in the original canvas if the extra masked space were present? The inserted masks are kept only when they induce low Jensen-Shannon (JS) divergence on aligned unresolved positions. This makes length growth a verified stability decision rather than a pure confidence heuristic. CARVE applies without retraining to both full-canvas and blockwise diffusion decoders. Across code generation and mathematical reasoning benchmarks, CARVE consistently improves average performance over fixed-length baselines across all evaluated model families. Crucially, CARVE achieves these accuracy gains while reducing inference cost, reaching half the FLOPs of fixed-length decoding in some settings.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 15 of its 20 references that are in the map. First posted on arXiv 31 Aug 2026.

Builds on

15 of 20 references.

Closest ancestors · 8

Same direction, newest first

  1. 2026Diffusion Language Models Are Natively Length-Aware6 Mar
  2. 2026Improving Variable-Length Generation in Diffusion Language Models via Length Regularization7 Feb
  3. 2026ρ-textttEOS: Training-free Bidirectional Variable-Length Control for Masked Diffusion LLMs30 Jan
  4. 2025Fast-Decoding Diffusion Language Models via Progress-Aware Confidence Schedules2 Dec
  5. 2025Any-Order Flexible Length Masked Diffusion31 Aug
  6. 2025Dream 7B: Diffusion Large Language Models21 Aug
  7. 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun
  8. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution25 Oct

Other references · 7

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2023Let's Verify Step by Stepcited by 3,789
  4. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
  5. 2022A Continuous Time Framework for Discrete Denoising Modelscited by 451
  6. 2025Edit Flows: Flow Matching with Edit Operationscited by 55
  7. 2025Beyond Fixed: Training-Free Variable-Length Denoising for Diffusion Large Language Modelscited by 34

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Remask, Don't Replace: Token-to-Mask Refinement in Diffusion Language Models
  2. 2026CoDR: Training-Free Confidence-Drift Remasking for Diffusion Language Models
  3. 2025Activation Steering for Masked Diffusion Language Models
  4. 2026Who Should Lead Decoding Now? Tracking Reliable Trajectories for Ensembling Masked Diffusion Language Models
  5. 2026Survival-Guided Length Control for Efficient Diffusion Language Models
  6. 2026The Confidence Shortcut: A Reasoning Failure Mode of Masked Diffusion Models
  7. 2026Pivot-SD: Efficient Self-Distillation for Masked Diffusion Language Models
  8. 2026Window-Diffusion: Accelerating Diffusion Language Model Inference with Windowed Token Pruning and Caching