Saber: An Efficient Sampling with Adaptive Acceleration and Backtracking Enhanced Remasking for Diffusion Language Model
On the map: Diffusion models → Discrete and text diffusion
Abstract (arXiv)
Diffusion language models (DLMs) are emerging as a compelling alternative to the dominant autoregressive paradigm, offering inherent advantages in parallel generation and bidirectional context modeling. However, for the tasks with strict structural constraints such as code generation, DLMs face a critical trade-off between inference speed and output quality, where accelerating generation by reducing sampling steps often leads to catastrophic performance collapse. We find that the fundamental reasons are: 1) the generation difficulty is non-uniform in the structured sequence decoding steps, making DLM's static acceleration strategy suboptimal; 2) the context of tokens generated by DLM evolves continuously, causing early high-confidence predictions to turn into irreversible errors. In this paper, we introduce efficient Sampling with Adaptive acceleration and Backtracking Enhanced Remasking (i.e., Saber), a novel training-free sampling algorithm for DLMs that first achieves both better inference speed and output quality in code generation. Saber dynamically adjusts the number of tokens unmasked per step based on the model's evolving confidence, and utilizes a backtracking mechanism to revert tokens whose confidence drops as new context emerges, with its effectiveness supported by theoretical analysis. Extensive experiments on multiple mainstream code generation benchmarks show that Saber boosts Pass@1 accuracy by an average of 1.9% over mainstream DLM sampling methods, while achieving an average 251.4% inference speedup. By leveraging the inherent advantages of DLMs, our work significantly narrows the performance gap with autoregressive models in code generation.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 43 of its 55 references that are in the map. First posted on arXiv 20 Oct 2025.
Builds on
43 of 55 references.
Closest ancestors · 14
Same direction, newest first
- 2025Dream-Coder 7B: An Open Diffusion Language Model for Code1 Sep
- 2025Dream 7B: Diffusion Large Language Models21 Aug
- 2025A Survey on Diffusion Language Models14 Aug
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models12 Aug
- 2025DiffuCoder: Understanding and Improving Masked Diffusion Models for Code Generation25 Jun
- 2025Plan for Speed: Dilated Scheduling for Masked Diffusion Language Models23 Jun
- 2025Accelerated Sampling from Masked Diffusion Models via Entropy Bounded Unmasking30 May
- 2025Dimple: Discrete Diffusion Multimodal Large Language Model with Parallel Decoding22 May
- 2025Remasking Discrete Diffusion Models with Inference-Time Scaling1 Mar
- 2025Large Language Diffusion Models14 Feb
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Models23 Oct
- 2024Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning18 Oct
2 more
Other references · 29
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
17 more
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2023StarCoder: may the source be with you!cited by 799
- 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 420
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
- 2023Self-collaboration Code Generation via ChatGPTcited by 258
- 2025Mercury: Ultra-Fast Language Models Based on Diffusioncited by 235
- 2023Self-planning Code Generation with Large Language Modelscited by 124
- 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
- 2025A Survey on Code Generation with LLM-based Agentscited by 106
- 2016Latent Predictor Networks for Code Generationcited by 73
- 2023CodeScore: Evaluating Code Generation by Learning Code Executioncited by 67
- 2025Wide-In, Narrow-Out: Revokable Decoding for Efficient and Effective DLLMscited by 46
- 2025RL-PLUS: Countering Capability Boundary Collapse of LLMs in Reinforcement Learning with Hybrid-policy Optimizationcited by 35
- 2024ROCODE: Integrating Backtracking Mechanism and Program Analysis in Large Language Models for Code Generationcited by 13
- 2025Rethinking Repetition Problems of LLMs in Code Generationcited by 6
Built on by
Citing papers per year: 2025: 3; 2026: 10.
13 papers.
Sort:
By area:
- 2025Learning Unmasking Policies for Diffusion Language Modelscited by 30
- 2026Stop the Flip-Flop: Context-Preserving Verification for Fast Revocable Diffusion Decodingcited by 6
- 2026Breaking Block Boundaries: Anchor-based History-stable Decoding for Diffusion Large Language Modelscited by 4
- 2026Adaptive Test-Time Compute Allocation for Block Diffusion Language Models in Complex Reasoningcited by 2
- 2026Tuning the Implicit Regularizer of Masked Diffusion Language Models: Enhancing Generalization via Insights from k-Paritycited by 1
- 2026Reversible Diffusion Decoding for Diffusion Language Modelscited by 1
- 2026The Path Matters: Learning a Token-Commitment Policy for Diffusion Language Modelscited by 1
- 2026Re-evaluating Confidence Remasking in Masked Diffusion Language Modelscited by 1
- 2026Follow the Latent Roadmap: Navigating Revocable Decoding for Diffusion LLMs with Anchor Tokenscited by 1
- 2026Beyond Block Boundaries: Multi-Block Editing for Diffusion Large Language Modelscited by 1
- 2025Context-Aware Initialization for Reducing Generative Path Length in Diffusion Language Modelscited by 0
- 2025STaRR: Spatial-Temporal Token-Dynamics-Aware Responsive Remasking for Diffusion Language Modelscited by 0
- 2026Dependency-Aware Revocable Decoding for Efficient Diffusion Large Language Model Inference27 Aug 2026
- 2026Beyond Block Boundaries: Multi-Block Editing for Diffusion Large Language Models29 Jun 2026
- 2026Follow the Latent Roadmap: Navigating Revocable Decoding for Diffusion LLMs with Anchor Tokens15 Jun 2026
- 2026Re-evaluating Confidence Remasking in Masked Diffusion Language Models10 Jun 2026
- 2026The Path Matters: Learning a Token-Commitment Policy for Diffusion Language Models23 May 2026
- 2026Breaking Block Boundaries: Anchor-based History-stable Decoding for Diffusion Large Language Models10 Apr 2026
- 2026Adaptive Test-Time Compute Allocation for Block Diffusion Language Models in Complex Reasoning10 Feb 2026
- 2026Stop the Flip-Flop: Context-Preserving Verification for Fast Revocable Diffusion Decoding5 Feb 2026
- 2026Tuning the Implicit Regularizer of Masked Diffusion Language Models: Enhancing Generalization via Insights from k-Parity30 Jan 2026
- 2026Reversible Diffusion Decoding for Diffusion Language Models29 Jan 2026
- 2025Context-Aware Initialization for Reducing Generative Path Length in Diffusion Language Models22 Dec 2025
- 2025Learning Unmasking Policies for Diffusion Language Models9 Dec 2025
- 2025Learning Unmasking Policies for Diffusion Language Modelscited by 30
- 2026Stop the Flip-Flop: Context-Preserving Verification for Fast Revocable Diffusion Decodingcited by 6
- 2026Tuning the Implicit Regularizer of Masked Diffusion Language Models: Enhancing Generalization via Insights from k-Paritycited by 1
- 2026Reversible Diffusion Decoding for Diffusion Language Modelscited by 1
- 2026The Path Matters: Learning a Token-Commitment Policy for Diffusion Language Modelscited by 1
- 2026Re-evaluating Confidence Remasking in Masked Diffusion Language Modelscited by 1
- 2026Beyond Block Boundaries: Multi-Block Editing for Diffusion Large Language Modelscited by 1
- 2025Context-Aware Initialization for Reducing Generative Path Length in Diffusion Language Modelscited by 0
- 2025STaRR: Spatial-Temporal Token-Dynamics-Aware Responsive Remasking for Diffusion Language Modelscited by 0
- 2026Beyond Block Boundaries: Multi-Block Editing for Diffusion Large Language Models29 Jun 2026
- 2026Re-evaluating Confidence Remasking in Masked Diffusion Language Models10 Jun 2026
- 2026The Path Matters: Learning a Token-Commitment Policy for Diffusion Language Models23 May 2026
- 2026Stop the Flip-Flop: Context-Preserving Verification for Fast Revocable Diffusion Decoding5 Feb 2026
- 2026Tuning the Implicit Regularizer of Masked Diffusion Language Models: Enhancing Generalization via Insights from k-Parity30 Jan 2026
- 2026Reversible Diffusion Decoding for Diffusion Language Models29 Jan 2026
- 2025Context-Aware Initialization for Reducing Generative Path Length in Diffusion Language Models22 Dec 2025
- 2025Learning Unmasking Policies for Diffusion Language Models9 Dec 2025
- 2025STaRR: Spatial-Temporal Token-Dynamics-Aware Responsive Remasking for Diffusion Language Models7 Dec 2025
- 2026Breaking Block Boundaries: Anchor-based History-stable Decoding for Diffusion Large Language Modelscited by 4
- 2026Follow the Latent Roadmap: Navigating Revocable Decoding for Diffusion LLMs with Anchor Tokenscited by 1
- 2026Dependency-Aware Revocable Decoding for Efficient Diffusion Large Language Model Inferencecited by 0
- 2026Dependency-Aware Revocable Decoding for Efficient Diffusion Large Language Model Inference27 Aug 2026
- 2026Follow the Latent Roadmap: Navigating Revocable Decoding for Diffusion LLMs with Anchor Tokens15 Jun 2026
- 2026Breaking Block Boundaries: Anchor-based History-stable Decoding for Diffusion Large Language Models10 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025Beyond Confidence: Adaptive and Coherent Decoding for Diffusion Language Models
- 2026From Position Risks to Block Survival: Faster Generation for Diffusion Language Models
- 2025Diffusion Language Models are Provably Optimal Parallel Samplers
- 2026Rethinking the Generation Order of Block Diffusion Language Models
- 2026CoDR: Training-Free Confidence-Drift Remasking for Diffusion Language Models
- 2026A Tale of Two Temperatures: Simple, Efficient, and Diverse Sampling from Diffusion Language Models
- 2026Accelerating Masked Diffusion Large Language Models: A Survey of Efficient Inference Techniques
- 2026CORE: Context-Robust Remasking for Diffusion Language Models