TABES: Trajectory-Aware Backward-on-Entropy Steering for Masked Diffusion Models
Shreshth Saini, Avinab Saha, Balu Adsumilli, Neil Birkbeck, Yilin Wang, Alan C. Bovik
TL;DR
BoE tackles trajectory lock-in in masked diffusion models by introducing a training-free, gradient-guided one-step lookahead that predicts which tokens to unmask to minimize future entropy. It derives a Token Importance Score from a first-order embedding-space surrogate and employs ActiveQueryAttention to enable a sparse, backward pass, delivering improved accuracy-efficiency tradeoffs for non-autoregressive decoding. Across reasoning, coding, and distribution-level benchmarks, BoE yields a stronger accuracy-compute Pareto frontier and better global coherence compared to strong baselines. This control-theoretic framework provides a reusable approach to principled inference in discrete diffusion models and invites extensions to longer-horizon planning and multimodal diffusion systems.
Abstract
Masked Diffusion Models (MDMs) have emerged as a promising non-autoregressive paradigm for generative tasks, offering parallel decoding and bidirectional context utilization. However, current sampling methods rely on simple confidence-based heuristics that ignore the long-term impact of local decisions, leading to trajectory lock-in where early hallucinations cascade into global incoherence. While search-based methods mitigate this, they incur prohibitive computational costs ($O(K)$ forward passes per step). In this work, we propose Backward-on-Entropy (BoE) Steering, a gradient-guided inference framework that approximates infinite-horizon lookahead via a single backward pass. We formally derive the Token Influence Score (TIS) from a first-order expansion of the trajectory cost functional, proving that the gradient of future entropy with respect to input embeddings serves as an optimal control signal for minimizing uncertainty. To ensure scalability, we introduce \texttt{ActiveQueryAttention}, a sparse adjoint primitive that exploits the structure of the masking objective to reduce backward pass complexity. BoE achieves a superior Pareto frontier for inference-time scaling compared to existing unmasking methods, demonstrating that gradient-guided steering offers a mathematically principled and efficient path to robust non-autoregressive generation. We will release the code.
