Search arXiv⌕ Search

arXiv subjects

Zhiheng Tan

Publications and source records attributed to Zhiheng Tan.

3 recordsLinked to original sources

AdaDual: Adaptive Dual Guidance for Constrained Discrete Diffusion

Constrained discrete diffusion aims to sample from a pretrained model conditioned on a user-specified feasible set while preserving generative quality. Classifier-based guidance (CBG) is computationally lightweight, but its globally fixed guidance strength offers limited control over constraint satisfaction. Constrained Discrete Diffusion (CDD) provides more direct control through costly optimization over token probabilities at every reverse step. We introduce Adaptive Dual Guidance (AdaDual), inspired by a local theoretical analysis showing that the CBG strength best approximating the exact conditional transition can vary across states and diffusion steps. AdaDual formulates guidance as a minimum-KL perturbation of the pretrained transition under an interpretable constraint-cost budget, using scalar dual optimization to adapt the guidance strength. We establish a terminal total-variation guarantee for AdaDual. Our analysis highlights the advantage of AdaDual over standard CBG with a fixed guidance strength and establishes geometric convergence of the inner solver up to a controllable stochastic error floor, supporting AdaDual's computational efficiency. Our experiments demonstrate substantially better constraint satisfaction than standard CBG, often at comparable computational cost, and comparable or better overall performance than CDD with substantially lower computational overhead.

cs.LG↗

Sharp Convergence Rates for Masked Diffusion Models

Discrete diffusion models have achieved strong empirical performance in text and other symbolic domains, with masked (absorbing-rate) variants emerging as competitive alternatives to autoregressive models. Among existing samplers, the Euler method remains the standard choice in many applications, and more recently, the First-Hitting Sampler (FHS) has shown considerable promise for masked diffusion models. Despite their practical success, the theoretical understanding of these samplers remains incomplete. Many existing analyses are conducted in Kullback-Leibler (KL) divergence, which often yields loose parameter dependencies and requires strong assumptions on score estimation. Moreover, these guarantees do not cover recently developed high-performance sampler of FHS. In this work, we first develop a direct total-variation (TV)-based analysis for the Euler method that overcomes these limitations. Our results relax assumptions on score estimation, improve parameter dependencies, and establish convergence guarantees without requiring any surrogate initialization. Also for this setting, we provide the first convergence lower bound for the Euler sampler, establishing tightness with respect to all of the data dimension $d$, the vocabulary size $S$, and the target accuracy $\varepsilon$, up to logarithmic factors. Finally, we analyze the FHS sampler and show that it incurs no sampling error beyond that induced by score estimation, which we show to be tight with a matching lower error bound. Our analysis introduces two techniques that may be of independent interest: a comparison with a reference unmasking schedule for the Euler method and a pathwise argument exploiting the decoupling structure of FHS.

cs.LG↗

Understanding Unified VLMs: From Attention Probing to Guidance Tuning for Multimodal Generation

Unified vision-language models (VLMs) perform both text-to-image (T2I) and image-to-text (I2T) generation with one shared Transformer backbone, yet how the backbone processes the condition in either direction remains poorly understood. We study this question from the perspective of conditional guidance: we probe every attention head to show the activation difference between two branches of classifier-free guidance (CFG) with different conditional guidance. On two unified VLMs of autoregressive and masked-diffusion paradigms, the probing reveals a subset of heads that are more sensitive to the change of condition while others are agnostic to it. This characteristic pattern holds in both T2I and I2T generation and is largely stable across data samples, demonstrating the internal mechanism of unified VLMs. Motivated by this, we propose a new inference-time intervention approach for unified multimodal generation, named \textit{HeadTuned-CFG}, which uses the probed condition-change awareness to select and tune the conditional guidance at the attention-head level. Experiments show consistent benefits in both multimodal generation directions of unified VLMs without additional training, and in particular substantial improvements over strong baselines in T2I generation. These results further support the key finding of our probing analysis: the observed pattern of functional specialization is an intrinsic property of unified VLMs.

cs.AI↗