GazeFusion: Saliency-Guided Image Generation
Yunxiang Zhang, Nan Wu, Connor Z. Lin, Gordon Wetzstein, Qi Sun
TL;DR
GazeFusion tackles the challenge of guiding viewer attention in diffusion-based image generation by conditioning the denoising process on user-specified saliency maps. The method finetunes a ControlNet-enabled SD2.1 model on MSCOCO using saliency-image pairs and optimizes the denoiser with a loss $\mathcal{L}=\mathbb{E}_{z,t,c_t,c_s,\epsilon \sim \mathcal{N}(0,1)} \|\epsilon_{\theta}(z_t,t,c_t,c_s)-\epsilon\|_2^2$. It extends to videos by using a saliency predictor for temporal saliency ($\mathbf{V}$) and a zero-shot video pipeline, enabling temporally consistent saliency-guided generation. Empirical results from eye-tracking and model-based saliency metrics demonstrate that generated content aligns with specified attention, and the approach supports interactive design, attention suppression, and display-adaptive generation, marking a step toward perception-aware generative models.
Abstract
Diffusion models offer unprecedented image generation power given just a text prompt. While emerging approaches for controlling diffusion models have enabled users to specify the desired spatial layouts of the generated content, they cannot predict or control where viewers will pay more attention due to the complexity of human vision. Recognizing the significance of attention-controllable image generation in practical applications, we present a saliency-guided framework to incorporate the data priors of human visual attention mechanisms into the generation process. Given a user-specified viewer attention distribution, our control module conditions a diffusion model to generate images that attract viewers' attention toward the desired regions. To assess the efficacy of our approach, we performed an eye-tracked user study and a large-scale model-based saliency analysis. The results evidence that both the cross-user eye gaze distributions and the saliency models' predictions align with the desired attention distributions. Lastly, we outline several applications, including interactive design of saliency guidance, attention suppression in unwanted regions, and adaptive generation for varied display/viewing conditions.
