Manuscript Offprint

arXiv:2610.13369

Opening the Black Box of Classifier-Free Guidance via Information Bottleneck

Jiayang Gao, Tianyi Zheng, Jiayang Zou, Fengxiang Yang, Luyao Fan, Lv Tang, Bo Li, Jia Wang

Abstract

Classifier-free guidance (CFG) is a standard technique for improving conditional generation in diffusion models, yet its activation schedule is usually selected heuristically. In practice, most existing CFG-based methods rely on a pre-defined activation policy throughout inference, while recent dynamic variants often depend on hand-designed schedules without a principled theoretical explanation of when conditional information is most useful. In order to understand how the informational relevance between conditioning inputs and the score function evolves over the course of generation, we explore when guidance should be activated from an information-theoretic perspective. In this work, we formulate the diffusion trajectory as a time-dependent information bottleneck and show that the effectiveness of conditional information is not uniform throughout sampling, but becomes significantly stronger after a critical stage characterized by a Fisher-information balance condition. Motivated by this insight, we propose a training-free dynamic CFG strategy for inference. Rather than prescribing a fixed schedule in advance, our method constructs a stochastic process from conditional and unconditional score statistics and activates guidance when the estimated guidance gain crosses a prescribed threshold. This yields an adaptive activation rule that aligns condition injection with the underlying generation dynamics, while also recovering interval-based guidance as a limiting special case. Extensive experiments across diverse architectures and tasks, demonstrate that our method is effective, robust, and broadly applicable. Beyond empirical improvements, our framework provides an interpretation of dynamic guidance methods and a principled foundation for inference-time control in conditional diffusion models.

1 Introduction

Diffusion models [1, 2, 3, 4] have become a major paradigm for high-quality image generation [5], text-to-image synthesis [6] and 3D generation [7]. With the development of conditional diffusion models, the generation process can be effectively controlled by class labels [8, 5], textual descriptions [9, 10], or other forms of prior information. Among existing conditioning methods, Classifier-Free Guidance (CFG) [8] has become one of the most widely used mechanisms for conditional generation. Most existing CFG-based methods are applied with a fixed guidance strategy throughout inference, implicitly assuming that conditional information is equally important across all denoising stages. However, this assumption may be overly simplistic, as the relevance of conditional information is

  • These authors contributed equally to this work.

† Corresponding authors.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

likely to evolve over time, which is a phenomenon that remains insufficiently understood. Although several recent methods have attempted to improve this design through dynamic guidance strategies, such as time-dependent reweighting [11, 12, 13, 14], fixed interval activation [15], or modified guidance dynamics [16, 17], these approaches still rely largely on heuristic schedules. In particular, it remains unclear how the informational relevance between conditioning inputs and the score function evolves during generation, and hence when conditional guidance should be activated most effectively.

Diffusion models generate samples by learning a reverse denoising process that progressively reconstructs the target data distribution. For conditional generation, the key question is how to inject conditioning information into this process effectively. Early approaches such as classifier guidance [5], as well as more recent TFG-style methods [18, 19], use external classifiers to provide conditional gradients, but they often struggle to remain stable under heavy noise. By contrast, CFG [8] incorporates conditional information directly into training by jointly learning conditional and unconditional branches, making it more robust and practically appealing. Based on CFG, a series of variant methods replaces the unconditional output with alternative degraded references, such as the prediction of an under-trained conditional network [20] or that of a conditional network with perturbed conditioning inputs [21]. These approaches preserve the general guidance form of comparing a target conditional prediction against a weaker reference, while modifying how the reference branch is constructed.

Taken together, these conditioning and guidance strategies highlight that the effectiveness of guidance depends not only on how conditional information is injected, but also on when it becomes most relevant to the denoising dynamics. This raises a more fundamental question: what are the benefits of properly scheduling the injection of conditional information, and how can this be understood from a theoretical perspective? To answer this, we investigate how conditional information propagates through a conditional diffusion model, and identify when it becomes most influential. We approach this problem through the lens of the information bottleneck, enabling a principled analysis of how conditioning signals are preserved and utilized across the denoising trajectory. In particular, we study the relationship between conditioning inputs and the score function, and establish a connection between mutual information and score-related statistics. Our theoretical analysis reveals that the effectiveness of conditional information is not uniform throughout inference; instead, it becomes significantly stronger only after a critical stage. Correspondingly, the discrepancy between conditional and unconditional predictions, together with changes in score norms, provides observable signatures of this phenomenon. These theoretical findings are consistent with empirical observations, suggesting that uniformly applying a fixed CFG strategy across the entire inference process is suboptimal.

Building on these insights, we propose a dynamic CFG switching strategy for inference. Our key idea is to activate conditional guidance only when the generation process reaches the information bottleneck, so that the timing of condition injection is explicitly aligned with the theoretical analysis. The method is training-free and can be readily applied to a broad range of diffusion models and generation tasks, establishing a principled design criterion for CFG-based generation highlighting the differences and connections between various dynamic guidance strategies. In particular, it clarifies Interval Guidance [15] can be viewed through the same theoretical lens, offering insights into how we choose time to activate CFG. Extensive experiments on SiT [22, 23], DiT [24], FLUX [25], and Stable Diffusion [6, 26] show that our approach is both effective and broadly applicable. Our contributions are summarized as follows:

• Information-Theoretic Perspective: We introduce a time-dependent information-bottleneck framework to investigate the role of conditional information throughout the diffusion trajectory. By connecting mutual information evolution with Fisher information, we derive a balance condition that characterizes an information-theoretically motivated transition region for CFG activation.

• Principled Activation Criterion: Building on the theoretical analysis, we derive an observable guidance-gain statistic from the difference between conditional and unconditional score norms. We further develop a rescaled threshold criterion that improves numerical conditioning and provides an interpretable, model-dependent mechanism for identifying effective guidance activation regions.

• Adaptive Guidance Strategy: We propose a training-free and plug-and-play dynamic CFG strategy that determines the activation time online through a threshold-crossing rule. Our framework accommodates both batch-level and single-sample inference, while recovering fixed-interval guidance in the large-batch concentration regime, thereby establishing a connection between adaptive and predetermined guidance schedules.

• Extensive Empirical Validation: We conduct comprehensive experiments across diverse diffusion and flow-based architectures, including SiT, DiT, SD3, and FLUX. The results demonstrate improvements in generation quality under various evaluation settings, supported by multi-seed stability analyses, alternative activation criteria, and high-resolution single-sample inference experiments.

References (46)