OMG: Occlusion-friendly Personalized Multi-concept Generation in Diffusion Models

Zhe Kong, Yong Zhang, Tianyu Yang, Tao Wang, Kaihao Zhang, Bizhu Wu, Guanying Chen, Wei Liu, Wenhan Luo · DOI

Abstract

OMG (Occlusion-friendly Multi-concept Generation) is a novel two-stage framework that allows diffusion models to generate images containing multiple personalized subjects (such as specific people or objects) without the need for expensive model merging or additional training. By using a "Concept Noise Blending" strategy, it successfully handles complex occlusions and maintains high identity fidelity, acting as a plug-and-play solution for popular tools like LoRA and InstantID.

Introduction

Personalizing text-to-image models—teaching a model what a specific pet or celebrity looks like—is a solved problem for single subjects using techniques like DreamBooth or LoRA. However, generating multiple distinct "concepts" in a single frame remains a significant challenge for current state-of-the-art methods. These methods typically face three major hurdles: identity degradation, where features of different subjects bleed together; occlusion failures, where overlapping subjects produce artifacts; and computational overhead, requiring slow fine-tuning of merged models for every new combination.

Methodology: A Two-Stage Pipeline

OMG proposes a two-stage sampling pipeline that separates spatial layout from identity-specific details, ensuring that the model knows where things are before determining who they are.

Stage 1: Visual Comprehension Information Preparation

The model first generates a "layout" image using a generic prompt (e.g., "a man and a woman"). During this process, the system saves the cross-attention maps and generates concept masks. This provides a spatial blueprint of where each subject sits and how they overlap.

Stage 2: Multi-concept Personalized Denoising

In this stage, OMG utilizes multiple single-concept models (like different LoRAs) simultaneously.

  • Concept Noise Blending (CNB): At each denoising step, the system calculates the predicted noise for each specific subject in their respective regions (defined by the masks from Stage 1) and blends them into a single global noise map.
  • Occlusion Layout Preservation: To ensure the final image matches the blueprint from Stage 1, the authors overwrite the cross-attention maps in Stage 2 with the stored maps from Stage 1. This "locks" the geometry and handles occlusions naturally.
A high-fidelity generation of two personalized subjects in a city setting, demonstrating harmonious lighting and clear identity separation.

Key Insights and Innovations

  • The Timestep "Sweet Spot": The authors discovered that the initiation timestep for noise blending is critical. They found that starting noise blending around step 35 (out of 50) provides the best balance between harmonious lighting and strong identity preservation. Starting too early destabilizes the layout, while starting too late fails to capture the identity.
  • Plug-and-Play Flexibility: Unlike methods that require merging weights, OMG works at the sampling level. This means you can take any LoRA from community sites like Civitai and use it immediately with OMG to create multi-subject scenes.
  • Attention as the Anchor: By reusing attention maps from a non-personalized first stage, the model bypasses the "identity bleed" problem. The spatial structure is decided before the specific facial features are ever introduced.

Experimental Results

OMG was validated using a dataset of 15 distinct concepts, including real-world characters, anime characters, and objects. The model was evaluated using a suite of 20 text prompts per concept, ranging from simple portraits to complex interactions.

Quantitative and Qualitative Performance

In head-to-head comparisons using Image Alignment (CLIP similarity) and Identity Alignment (ArcFace scores), OMG consistently outperformed DreamBooth, Textual Inversion, and Mix-of-show. For multi-character generation, OMG achieved an Identity Alignment score of 0.510, significantly higher than Mix-of-show's 0.436.

Multi-concept generation examples showing consistent identities across various complex scenes and occlusions, including boat trips, outdoor dining, and scooter rides.

Visually, OMG produces images with more "harmonious illumination." While other methods often result in subjects looking like they were "stickered" onto a background, OMG’s two-stage approach allows the foreground and background lighting to stay consistent. Furthermore, when combined with InstantID, OMG can generate images of multiple specific people using only a single reference photo for each, without any training.

Conclusion and Future Work

OMG represents a significant step forward in zero-shot multi-concept generation. While highly effective, the authors note that the method can struggle with small face resolution due to VAE limitations and has higher computational intensity during inference. Future research will focus on accelerating the sampling process and investigating ways to enhance high-fidelity sampling for small-scale regions.

Summary updated

BibTeX
@inproceedings{kong2024omg,
  author = {Zhe Kong and Yong Zhang and Tianyu Yang and Tao Wang and Kaihao Zhang and Bizhu Wu and Guanying Chen and Wei Liu and Wenhan Luo},
  title = {{OMG: Occlusion-friendly Personalized Multi-concept Generation in Diffusion Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72751-1\_15},
}
Figure