ViPer: Visual Personalization of Generative Models via Individual Preference Learning

Sogand Salehi, Mahdi Shafiei, Teresa Yeo, Roman Bachmann, Amir Zamir

Abstract

ViPer (Visual Personalization) is a novel framework designed to align text-to-image generative models with individual aesthetic preferences. Unlike traditional methods that rely on tedious prompt engineering or sparse binary feedback, ViPer utilizes a one-time natural language "interview" to capture rich, structured visual preferences. By extracting these preferences through a fine-tuned vision-language model and using them to steer the diffusion process at inference time, ViPer achieves high-quality personalization without the need for model fine-tuning.

Introduction

Current text-to-image (T2I) models, such as Stable Diffusion, are typically optimized for a broad, average audience. However, visual preference is inherently subjective. A style one user finds "vibrant" might be perceived as "garish" by another. Existing personalization techniques often fall short: manual prompt engineering requires technical expertise and constant iteration, while sparse feedback (e.g., "likes") fails to convey the specific reasons behind a user's preference. ViPer overcomes these limitations by using natural language comments to capture the "why" behind visual tastes, enabling a more nuanced and efficient personalization process.

Methodology

The ViPer framework operates in two distinct stages: Preference Extraction and Personalized Generation.

Visual Preference Extractor (VPE)

The process begins with a short "interview" where users provide free-form comments on a small set of 8–20 images. These comments are processed by the Visual Preference Extractor (VPE), a fine-tuned IDEFICS2-8b vision-language model. The VPE maps natural language feedback onto a structured library of approximately 500 visual attributes, categorizing them into "liked" ($VP_+$) and "disliked" ($VP_-$) features (e.g., "gloomy," "pastel colors," "rough brushstrokes").

Personalized Diffusion Guidance

Personalization is achieved at inference time by modifying the diffusion model's generation process without altering its weights:

  1. Embedding Steering: A preference vector is calculated by subtracting the embeddings of disliked attributes from liked ones. This vector is then added to the original prompt embedding.
  2. Modified Classifier-Free Guidance (CFG): The denoising process is adjusted to steer the predicted noise toward the user's preferred visual space and away from their disliked space.
  3. Personalization Strength ($\beta$): A user-adjustable parameter, $\beta$, controls the trade-off between the original prompt's content and the personalized style.
The ViPer pipeline: Preference extraction via VPE followed by conditioned generation using positive and negative guidance.

Experimental Setup and Datasets

To train the VPE, the authors developed a Synthetic Agent Dataset consisting of 5,000 simulated agents with randomized preferences. GPT-4 was employed to generate realistic human-like comments for these agents. Additionally, the Pick-a-Pic dataset was used to train a proxy evaluation model. The system's efficacy was further validated through a user study involving 20 participants.

Results and Discussion

ViPer demonstrates a significant improvement in aligning generated images with individual tastes. In blind tests, users preferred ViPer’s personalized outputs over standard T2I results 86.1% of the time. Furthermore, users identified their own personalized results over those of others in 65.4% of cases, highlighting the model's ability to capture unique individual nuances.

Qualitative results across different users and prompts, demonstrating how ViPer adapts the same prompt to distinct individual aesthetic preferences.

Key insights from the study include:

  • High-Bandwidth Feedback: Natural language provides a much richer signal than binary feedback, allowing for precise control over visual attributes.
  • Zero-Shot Scalability: By avoiding model fine-tuning, ViPer remains highly scalable and efficient for large-scale deployment.
  • Importance of Negative Constraints: Explicitly modeling disliked attributes significantly improves the avoidance of undesirable styles, a feature often missing in other personalization methods.

Limitations and Future Work

While effective, ViPer is currently limited by the 77-token constraint of CLIP-based text encoders, which may truncate extensive preference lists. Additionally, the model's output is bounded by the inherent knowledge of the underlying T2I model; it cannot generate styles the base model has never encountered. Future research may explore more interactive methods for preference elicitation, such as adaptive probing images or direct physiological signals.

Summary updated

BibTeX
@inproceedings{salehi2024viper,
  author = {Sogand Salehi and Mahdi Shafiei and Teresa Yeo and Roman Bachmann and Amir Zamir},
  title = {{ViPer: Visual Personalization of Generative Models via Individual Preference Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72904-1\_23},
}
Figure