Abstract
While text-to-image (T2I) diffusion models have achieved remarkable success in generating high-quality imagery, they typically operate on a "one-size-fits-all" basis, ignoring the subjective nature of aesthetic preferences. This paper introduces Collaborative Direct Preference Optimization (C-DPO), a novel framework designed for personalized image editing. By modeling users within a dynamic preference graph and leveraging collaborative signals from similar individuals, C-DPO enables models to infer user-specific tastes even with limited historical data. Our results demonstrate that C-DPO significantly outperforms generic and vanilla preference-tuning methods in both automated metrics and human evaluations.
1. Introduction
Current text-to-image editors are largely generic, optimizing for an "average" preference derived from broad training datasets. However, concepts like "stylish" or "artistic" are inherently subjective; a user favoring cyberpunk aesthetics will have vastly different expectations for an edit than one preferring rustic or minimalist styles.
Existing personalization research has primarily focused on generating new images from scratch. Personalized editing—modifying an existing image while maintaining content consistency and adhering to unique user tastes—presents a more complex challenge. Furthermore, most personalization attempts suffer from the "cold start" problem: if a user has provided few examples of their preference, the model lacks sufficient context to tailor its output. C-DPO addresses these challenges by utilizing a collaborative approach to preference learning.
2. The C-DPO Framework
C-DPO employs a two-stage pipeline that decouples instruction generation from image synthesis, ensuring the framework remains model-agnostic.
2.1 Graph-Based User Modeling
To capture the nuances of individual taste, users are represented as nodes in a heterogeneous bipartite graph. Edges connect users to specific preference attributes (e.g., "prefers vibrant colors," "dislikes matte textures"). This structure allows the system to identify clusters of like-minded users.
2.2 Collaborative Embeddings
We utilize a Graph Neural Network (GraphSAGE) to process the preference graph and generate contextualized user embeddings. This enables "collaborative inference": if User A and User B share several preference nodes, the model can leverage User B's detailed history to inform edits for User A, effectively mitigating the cold-start problem.
2.3 The Collaborative DPO Objective
The core of our framework is the C-DPO loss function. While standard Direct Preference Optimization (DPO) aligns a model with a single user's preferred versus rejected choices, C-DPO introduces a regularization term. This term pulls the model's policy toward the preferences of a user’s "neighborhood" in the graph, ensuring that the learned preferences are robust and informed by collective intelligence.
2.4 Implementation Details
The backend architecture consists of a fine-tuned Qwen2.5-7B Large Language Model (LLM) used to generate personalized text instructions. These instructions are then executed by FLUX.1-dev, augmented with ControlNet to ensure structural integrity and pixel-level precision during the transformation.
3. Dataset and Benchmarking
As no existing dataset addressed personalized image editing, we curated a comprehensive new benchmark. This dataset includes 3,000 synthetic user profiles with diverse demographic configurations and 144,000 annotated editing preferences. Each profile is associated with preferred and rejected instructions across six distinct edit types, mapped to images from 80 COCO categories.
4. Experimental Results
We evaluated C-DPO against several baselines, including vanilla DPO and state-of-the-art instruction-based models such as BAGEL and Nexus-Gen.
- Prompt-Level Alignment: In CLIP-text similarity tests, which measure how well a generated instruction matches a user's ground-truth preferences, C-DPO achieved a score of 0.354, significantly higher than Vanilla DPO’s 0.272.
- Image Fidelity: Using DINO and CLIP-I scores, we confirmed that C-DPO successfully infuses personalized aesthetics without sacrificing the identity or quality of the original image.
- User Evaluation: A crowd-sourced study on the Prolific platform revealed a strong preference for C-DPO. Our framework secured a 61.6% win rate for general preference, compared to 21.0% for Vanilla DPO and 17.4% for versions using only private (non-collaborative) user embeddings.
5. Discussion and Limitations
C-DPO demonstrates that user preferences are often clustered and that these clusters can be exploited to improve generative accuracy. However, some limitations remain. The reliance on synthetic data for training may introduce biases that differ from real-world human behavior. Additionally, there is a risk of creating "aesthetic filter bubbles," where users are only exposed to styles they have previously liked. Future work will focus on gathering real-world user data and extending the framework to video editing, where maintaining temporal coherence across personalized frames presents a new set of challenges.
6. Conclusion
Collaborative Direct Preference Optimization represents a significant step toward truly personalized AI creativity. By moving beyond one-size-fits-all models and embracing the social, collaborative nature of human taste, C-DPO provides a scalable and effective solution for tailored image editing.
Summary updated