GradCFG: Gradient Inversion of Classifier-Free Guidance Diffusion Models
Qihuang Xiao, Hanling Tian, Zhehao Huang, Xiaolin Huang
ICLR 2026 submission
Abstract. Gradient inversion attacks, as a means of privacy theft, have been extensively studied and applied in classifier models, yet research on gradient inversion for diffusion models, particularly classifier-free guidance (CFG) diffusion models, remains relatively underdeveloped. CFG models such as Stable Diffusion present significant challenges for such attacks due to their complex training mechanisms, including the high-dimensional search space caused by multimodal variables, the non-uniqueness of the noise solution space, and the difficulty in optimizing discrete time steps . To address these challenges, this paper proposes a novel joint inversion framework featuring two core algorithmic innovations: the GradCFG algorithm, which integrates a four-variable co-optimization mechanism for simultaneous reconstruction of image latent variables , text embeddings , noise , and reparameterized continuous time steps , alongside a periodic restart strategy for to enhance solution stability and generalization; and the Inv-Sam algorithm, a model-difference-based generation optimization method that leverages the generative capability disparities between pre-fine-tuning and post-fine-tuning models to restore high-resolution details through a reverse-forward diffusion editing process. Systematic experiments in CFG model fine-tuning scenarios demonstrate that the proposed method effectively achieves high-quality image-text joint reconstruction for various textual conditions ranging from concise descriptions to complex semantic combinations.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…