DreamRelation: Bridging Customization and Relation Generation

Qingyu Shi, Lu Qi, Jianzong Wu, Jinbin Bai, Jingbo Wang +2 more
2/9/2026

No official code found. Best implementation: Shi-qingyu/DreamRelation (19 stars, last commit 2025-12-17).

Abstract

Customized image generation is essential for creating personalized content based on user prompts, allowing large-scale text-to-image diffusion models to more effectively meet individual needs. However, existing models often neglect the relationships between customized objects in generated images. In contrast, this work addresses this gap by focusing on relation-aware customized image generation, which seeks to preserve the identities from image prompts while maintaining the relationship specified in text prompts. Specifically, we introduce DreamRelation, a framework that disentangles identity and relation learning using a carefully curated dataset. Our training data consists of relation-specific images, independent object images containing identity information, and text prompts to guide relation generation. Then, we propose two key modules to tackle the two main challenges—generating accurate and natural relationships, especially when significant pose adjustments are required, and avoiding object confusion in cases of overlap. First, we introduce a keypoint matching loss that effectively guides the model in adjusting object poses closely tied to their relationships. Second, we incorporate local features of the image prompts to better distinguish between objects, preventing confusion in overlapping cases. Extensive results on our proposed benchmarks demonstrate the superiority of DreamRelation in generating precise relations while preserving object identities across a diverse set of objects and relationships.

View on arXivView PDF

Code Implementations(1)

[CVPR 2025] DreamRelation: Bridging Customization and Relation Generation

190Shell, PythonMar 24, 202510 months ago

Similar Papers

Cite this paper

@article{shi2026dreamrelation,
  title  = {DreamRelation: Bridging Customization and Relation Generation},
  author = {Qingyu Shi and Lu Qi and Jianzong Wu and Jinbin Bai and Jingbo Wang and Yunhai Tong and Xiangtai Li},
  year   = {2026},
  eprint = {2410.23280},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.23280},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.23280.svg)](https://codeofpaper.com/paper/2410.23280)

Discussion