Contrastive Gradient Guidance for Test-Time Multi-Preference Alignment of Diffusion Models
Po-Yi Lu, Jui-Chao Lu, Paul Kuo-Ming Huang, Shih-Hsin Wang, Chun-Liang Li, Hsuan-Tien Lin
Abstract
Aligning pre-trained diffusion models with multiple context-dependent preferences requires adapting generation at test time rather than relying on offline fine-tuning, which requires hyperparameter tuning and a new training run for each preference trade-off. Existing approaches compress diverse preferences into a single scalar reward objective for fine-tuning or test-time guidance rather than directly reusing existing generative experts released for different purposes and obtained through different fine-tuning methods. In this work, we propose Contrastive Gradient Guidance (CGG), a test-time compositional generative framework that reformulates multi-preference alignment as a composition of distributions. CGG represents each preference as a contrastive preference pair of favored experts and unfavored anti-experts, whose score difference forms a contrastive gradient guidance signal that combines denoising directions (gradients) from off-the-shelf diffusion models during sampling. Experiments show that CGG reuses pre-trained and fine-tuned models as favored experts or anti-experts to control output style and safety, and that it can be combined with existing sampling-based reward guidance. With a single fixed scale per pair, CGG composes five preferences at once and gives a more balanced trade-off across text-image preference, concept control, photographic fidelity, and safety than offline fine-tuning, weight-space merging, and reward steering.
Create a lesson
Related papers
CAMA: Calibrated Anti-Collapse Marginal Alignment for Test-Time Adaptation of Vision-Language Models
Shared title terminology · Jinho Kang, Yunhui Guo
Recurrent Point Transformer via Test-Time Training
Shared title terminology · Wentao Zhou, Xuweiyi Chen, Charles Saunders et al.
Beyond Full-Context Accuracy: Context-Marginalized Evaluation of Test-Time Structure-Aware Inference in EEG-to-Image Retrieval
Shared title terminology · Ke Xiao, Banghua Yang, Yingjie Li et al.
Supply the Global, Supervise the Local: Combining Representation Conditioning and Alignment in Diffusion Transformers
Shared title terminology · Chaojie Ji, Sergio Quiroga-Sandoval, Ruxin Wang et al.
Frozen by the Mean: Early Temporal Guidance Unfreezes Motion in Video Diffusion Models
Shared title terminology · Xuanhua Yin, Boyu Wei, Chengkun Yue et al.
Ego-HMB: Human Motion Bridging from Egocentric Images via A Motion Bridge Diffusion Model
Shared title terminology · Gaoge Han, Yongkang Cheng, Shaoli Huang et al.