Just Leaf It: Accelerating Diffusion Classifiers with Hierarchical Class Pruning

๐Ÿ“… 2024-11-18
๐Ÿ›๏ธ arXiv.org
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– 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.

Technology Category

Application Category

๐Ÿ“ 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.
Problem

Research questions and friction points this paper is trying to address.

Reduces computational cost in diffusion classifiers
Exploits hierarchical label structures for efficiency
Improves speed and accuracy in image classification
Innovation

Methods, ideas, or system contributions that make the work stand out.

Hierarchical label structures for efficient classification
Pruning irrelevant categories to reduce computations
Tunable control mechanism balancing speed and accuracy
๐Ÿ”Ž Similar Papers
No similar papers found.