๐ค AI Summary
Diffusion classifiers require exhaustive evaluation across all classes for each input, incurring prohibitive inference overhead and hindering practical deployment. To address this, we propose the first hierarchical semantic structure-integrated diffusion classification framework, introducing a label-tree-based adaptive pruning method. Our approach performs coarse-grained filtering at high-level categories, focuses subsequent computation on promising subtrees, and employs confidence-driven hierarchical backtrackingโall without retraining and enabling plug-and-play integration. It supports flexible speed-accuracy trade-offs and substantially reduces the number of candidate classes evaluated per inference. Experiments on multiple benchmark datasets demonstrate up to 60% inference speedup while maintaining or even improving classification accuracy. The core contribution lies in the principled unification of Bayesian diffusion classification with hierarchical label modeling, establishing a novel paradigm for efficient diffusion-based classification in large-scale scenarios.
๐ Abstract
Diffusion models, celebrated for their generative capabilities, have recently demonstrated surprising effectiveness in image classification tasks by using Bayes' theorem. Yet, current diffusion classifiers must evaluate every label candidate for each input, creating high computational costs that impede their use in large-scale applications. To address this limitation, we propose a Hierarchical Diffusion Classifier (HDC) that exploits hierarchical label structures or well-defined parent-child relationships in the dataset. By pruning irrelevant high-level categories and refining predictions only within relevant subcategories (leaf nodes and sub-trees), HDC reduces the total number of class evaluations. As a result, HDC can speed up inference by as much as 60% while preserving and sometimes even improving classification accuracy. In summary, our work provides a tunable control mechanism between speed and precision, making diffusion-based classification more feasible for large-scale applications.