🤖 AI Summary
Vision Transformer (ViT) models suffer from low efficiency, redundant background noise, and spurious correlations during data-free dense image inversion—particularly for high-resolution inputs. Method: We propose a sparse inversion framework that (i) first identifies and models the “hallucination” phenomenon inherent in inversion processes, (ii) introduces a plug-and-play gradient masking mechanism, and (iii) integrates semantic saliency detection to enable selective foreground reconstruction while actively suppressing background noise and spurious feature correlations. Contribution/Results: Our approach requires no modification to the original loss function, achieves up to 3.79× speedup in inversion latency, and maintains—or even surpasses—the performance of dense inversion on downstream tasks including data-free quantization and knowledge transfer.
📝 Abstract
Model inversion, which aims to reconstruct the original training data from pre-trained discriminative models, is especially useful when the original training data is unavailable due to privacy, usage rights, or size constraints. However, existing dense inversion methods attempt to reconstruct the entire image area, making them extremely inefficient when inverting high-resolution images from large-scale Vision Transformers (ViTs). We further identify two underlying causes of this inefficiency: the redundant inversion of noisy backgrounds and the unintended inversion of spurious correlations--a phenomenon we term "hallucination" in model inversion. To address these limitations, we propose a novel sparse model inversion strategy, as a plug-and-play extension to speed up existing dense inversion methods with no need for modifying their original loss functions. Specifically, we selectively invert semantic foregrounds while stopping the inversion of noisy backgrounds and potential spurious correlations. Through both theoretical and empirical studies, we validate the efficacy of our approach in achieving significant inversion acceleration (up to 3.79 faster) while maintaining comparable or even enhanced downstream performance in data-free model quantization and data-free knowledge transfer. Code is available at https://github.com/Egg-Hu/SMI.