PrefGen: Multimodal Preference Learning for Preference-Conditioned Image Generation
Abstract
Text-to-image models often fail to capture the nuanced aesthetic preferences of individual users, leading to a "one-size-fits-all" output distribution. PrefGen addresses this by leveraging Multimodal Large Language Models (MLLMs) to distill user preferences from historical interactions. By employing hierarchical feature extraction and a novel distributional alignment loss (MMD), PrefGen generates personalized images that respect both text prompts and user-specific "vibes" without model collapse.
Introduction
While text-to-image models like Stable Diffusion are highly capable, they typically produce the same distribution of results for any given prompt, regardless of the user's personal aesthetic. Bridging this gap usually requires intensive "prompt engineering," which often fails to capture subtle or abstract preferences. PrefGen aims to extract a rich, multi-layered representation of a user's "taste" and inject it into the generation process, ensuring high prompt fidelity while maintaining the user's unique aesthetic profile.
Methodology
The PrefGen framework utilizes a four-step pipeline to transform user history into personalized visual content.
- Preference-Oriented VQA: The system fine-tunes an MLLM (IDEFICS2) on a visual question-answering task ("Does the user like this image? Why?") to learn the language of aesthetics.
- Hierarchical Feature Extraction: Through layer probing, the authors identified a hierarchy where top layers ($e_{sem}$) capture transient stylistic cues (color, lighting) and middle layers ($e_{core}$) capture stable identity traits.
- Distributional Alignment (MMD Loss): To avoid the restrictive nature of point-wise alignment (MSE), PrefGen uses Maximum Mean Discrepancy (MMD). This aligns the distribution of preference embeddings with the text encoder's space, preserving diversity and preventing model collapse.
- Decoupled Conditioning: Extracted embeddings ($e_{sem}, e_{core}$) and a visual anchor ($e_{img}$) are injected into the diffusion model (SDXL) via a parallel cross-attention branch, allowing the model to balance user preferences and text prompts independently.
Experimental Setup
To evaluate the framework, the authors introduced PREFBENCH, a benchmark for complex, multi-dimensional user preferences. Training was supported by an agent-simulated dataset of 1 million images representing 50,000 distinct aesthetic profiles. Real-world validation was conducted using the Pick-a-Pic dataset and ImageNet/ImageNet-Sketch for out-of-distribution testing.
Results and Discussion
PrefGen achieves state-of-the-art performance, recording the lowest FID (143.79) and highest CLIP Image Score (76.03) on PREFBENCH. In human preference studies, PrefGen achieved a win rate of over 63% against all baselines, including IP-Adapter and InstantStyle.
Key insights from the study include:
- Layer-wise Intelligence: Middle layers are more effective at identifying consistent user identity than final output layers.
- Anti-Collapse Loss: The shift to MMD alignment prevents the model from "averaging out" user taste, maintaining the crispness and variety of generated images.
- Last-Token Summary: For multimodal reasoning, the "last token" of the MLLM sequence acts as a highly effective summary of user history, significantly outperforming mean or max pooling.
Conclusion
PrefGen provides a robust and efficient (2.3s inference) framework for personalized image generation. While currently optimized for SDXL, the architecture is backbone-agnostic and likely to scale with future improvements in MLLM capabilities. Future research will focus on more stable attribute modeling to further disentangle explicit labels from latent embeddings.
Summary updated