EDIT: Early Diffusion Inference Termination for dLLMs Based on Dynamics of Training Gradients

He-Yen Hsieh, Hong Wang, H. T. Kung
11/29/2025
cs.AI

No official code found. Best implementation: louisYen/EDIT (0 stars, last commit 2025-12-02).

Abstract

Diffusion-based large language models (dLLMs) refine token generations through iterative denoising, but answers often stabilize before all steps complete. We propose EDIT (Early Diffusion Inference Termination), an inference-time criterion that adaptively stops denoising once sufficient reasoning stability relative to training-time reasoning is detected. EDIT monitors the alignment between token activations and a reasoning map derived from AdamW-aggregated LoRA updates captured during supervised fine-tuning (SFT). During training, optimization dynamics generate rich metadata about parameter importance that in prior methods is typically discarded upon model release. We preserve this information as a compact representation of learned reasoning pathways. During inference, alignment scores are converted to a distribution over the tokens already unmasked at the current denoising step, and convergence is detected when KL divergence between consecutive steps falls below a threshold on the matched unmasked (visible) tokens. Across reasoning benchmarks, EDIT reduces diffusion steps by 11.8% to 68.3% while preserving or improving accuracy in most settings, with approximately 0.02% storage overhead (about 1.5-2 MB for all QKV modules across 32 blocks in an 8 GB model). By utilizing training-gradient dynamics, our work opens a new research direction for reducing dLLM inference time and cost.

View on arXivView PDF

Code Implementations(1)

louisYen/EDITCommunity72%

Official implementation of "EDIT: Early Diffusion Inference Termination for dLLMs Based on Dynamics of Training Gradients"

00Shell, PythonNov 29, 202510 months ago

Cite this paper

@article{hsieh2025edit,
  title  = {EDIT: Early Diffusion Inference Termination for dLLMs Based on Dynamics of Training Gradients},
  author = {He-Yen Hsieh and Hong Wang and H. T. Kung},
  year   = {2025},
  eprint = {2512.00670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.00670v1}
}

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/2512.00670.svg)](https://codeofpaper.com/paper/2512.00670)

Discussion