Personalized Image Generation with Large Multimodal Models

Yiyan Xu, Wenjie Wang, Yang Zhang, Tang Biao, Peng Yan, Fuli Feng, Xiangnan He

Abstract

Traditional recommender systems primarily function as content filters, selecting the best match from a pre-existing library. However, these systems fail when a user's specific needs require content that does not yet exist. This paper introduces Pigeon, a novel framework that leverages Large Multimodal Models (LMMs) to transition from content filtering to personalized content generation. By utilizing a specialized Mask Generation Module and a two-stage preference alignment process, Pigeon generates images tailored to a user's aesthetic history and complex multimodal instructions. Experimental results on sticker and movie poster datasets demonstrate that Pigeon significantly outperforms existing diffusion and language-based models in both personalization and visual quality.

Introduction: From Filtering to Creation

Standard recommendation engines are limited by their inventory. Personalized image generation aims to overcome this by creating new content that aligns with a user's unique "vibe" or historical preferences. This task presents three significant challenges: filtering noise from user history, interpreting complex multimodal instructions (e.g., combining a reference image's emotion with a specific style), and the lack of large-scale supervised datasets pairing user histories with target generated images.

Filtering vs. Generation: Moving from selecting existing content to creating personalized new content based on user history and instructions.

The Pigeon Framework

Pigeon is built upon the LaVIT (Language-Vision Transformer) architecture and comprises three core modules designed to handle the complexities of personalization:

  1. Mask Generation Module: To address the "noisy history" problem, this module employs a Transformer encoder to identify and select the most relevant visual tokens from a user's past interactions, effectively filtering out irrelevant background details or features.
  2. Personalization Module: Serving as the system's cognitive core, it integrates filtered history tokens with high-level semantic encodings of user instructions. It uses captioning models to translate reference images into descriptive text, capturing intent without falling into the "copy-paste" trap of pixel-level duplication.
  3. Image Generation Module: A Diffusion Model (DM) receives the personalized tokens from the LMM to render the final, high-fidelity image.
The Pigeon Architecture: A comprehensive view of the Mask Generation, Personalization, and Image Generation modules working in tandem.

Training via Preference Alignment

To train Pigeon without massive supervised datasets, the authors developed a Two-Stage Preference Alignment scheme:

  • Stage 1: Masked Preference Reconstruction: The model is tasked with reconstructing a "target" image (the last item in a user's history) using only the preceding history and a corrupted version of that target. This forces the model to learn the underlying patterns of user preference.
  • Stage 2: Pairwise Preference Alignment (DPO): Using Direct Preference Optimization, the model is fine-tuned to prefer images that better align with user style. A CLIP-based reward system is used to rank multiple generated candidates, guiding the model toward higher personalization.

Experimental Results

The framework was evaluated on two datasets: SER30K (stickers) and ML-Latest (movie posters). Pigeon demonstrated substantial improvements over baselines such as Textual Inversion (TI) and PMG:

  • Quantitative Performance: Pigeon achieved a 7% to 31% improvement in personalization metrics, effectively matching the specific stylistic nuances of user histories.
  • Human Evaluation: In a study involving Amazon MTurk participants, 71% of users preferred Pigeon-generated images over competitors, citing superior alignment with both their personal style and the provided instructions.
  • Efficiency: The model is relatively lightweight to train, requiring only fine-tuning of a small fraction of parameters via LoRA on a single A100 GPU.

Conclusion

Pigeon represents a significant step toward unified systems that can both filter and create content. By using LMMs as a cognitive bridge between historical behavior and creative generation, the framework successfully captures user intent and style. Future work will focus on managing evolving user preferences over longer timeframes and further integrating filtering and generation into a single, seamless user experience.

Summary updated

BibTeX
@inproceedings{xu2024personalized,
  author = {Yiyan Xu and Wenjie Wang and Yang Zhang and Tang Biao and Peng Yan and Fuli Feng and Xiangnan He},
  title = {{Personalized Image Generation with Large Multimodal Models}},
  booktitle = {The Web Conference},
  year = {2024},
  url = {https://openreview.net/forum?id=WzbU8SFXfJ},
}
Figure