InstanceDiffusion: Instance-Level Control for Image Generation

Xudong Wang, Trevor Darrell, Sai Saketh Rambhatla, Rohit Girdhar, Ishan Misra

arXiv:2402.03290 · 2026-07-27 공개 · arXiv · PDF

diffusion-models text-to-image image-generation instance-segmentation coco-dataset instance-diffusion instance-level-control unifusion-block

Abstract

Text-to-image diffusion models produce high quality images but do not offer control over individual instances in the image. We introduce InstanceDiffusion that adds precise instance-level control to text-to-image diffusion models. InstanceDiffusion supports free-form language conditions per instance and allows flexible ways to specify instance locations such as simple single points, scribbles, bounding boxes or intricate instance segmentation masks, and combinations thereof We propose three major changes to text-to-image models that enable precise instance-level control. Our UniFusion block enables instance-level conditions for text-to-image models, the ScaleU block improves image fidelity, and our Multi-instance Sampler improves generations for multiple instances. InstanceDiffusion significantly surpasses specialized state-of-the-art models for each location condition. Notably, on the COCO dataset, we out-perform previous state-of-the-art by 20.4% $AP_{50}^{box}$ for box inputs, and 25.4% IoU for mask inputs.

한국어 요약

한 줄 요약

InstanceDiffusion은 인스턴스 수준의 위치와 속성 제어를 가능하게 하는 텍스트-이미지 생성 모델로, COCO 데이터셋에서 기존 모델 대비 20.4% AP<sub>50</sub><sup>box</sup> 및 25.4% IoU 개선을 달성했다.

핵심 기여도

핵심 아이디어

기존 텍스트-이미지 생성 모델은 전체 이미지에 대한 조건만 제공할 수 있었으나, InstanceDiffusion은 각 인스턴스의 위치와 속성을 개별적으로 지정할 수 있도록 확장했다. 이는 UniFusion, ScaleU, Multi-instance Sampler 세 가지 주요 모듈을 통해 실현된다. UniFusion은 다양한 인스턴스 조건(예: 바운딩 박스, 마스크)을 동일한 특징 공간으로 투영하고, 텍스트 기술과 결합하여 시각 토큰에 주입한다. ScaleU는 UNet의 스킵 연결과 백본 특징을 재조정하여 인스턴스 조건을 정밀하게 반영하도록 한다. Multi-instance Sampler는 여러 인스턴스 간의 조건 혼동을 줄이며, 생성 품질을 향상시킨다. 이 접근법은 기존 연구에서 단일 조건 형식만 다루는 것과 달리, 다양한 인스턴스 조건을 유연하게 처리할 수 있다는 점에서 차별화된다.

기술적 접근법

주요 결과

의의 및 한계

InstanceDiffusion은 텍스트-이미지 생성 모델에서 인스턴스 수준의 정밀 제어를 가능하게 하여, 디자인, 데이터 증강 등 다양한 분야에서 활용 가능성을 열었다. 특히, 다양한 인스턴스 조건 형식을 통합적으로 처리하는 모델 구조는 기존 연구와 비교해 더 유연하고 효율적인 접근법을 제시한다. 그러나, 대규모 인스턴스-이미지 쌍 데이터셋이 필요하며, 현재는 자동 생성된 데이터셋에 의존하고 있어, 실제 인스턴스 데이터에 대한 일반화 능력은 추가 연구가 필요하다. 또한, 포인트나 스케치 조건에 대한 평가 지표는 본 연구에서 처음 도입된 것으로, 더 많은 연구가 필요하다.

실용적 활용

InstanceDiffusion은 디자인 도구, 게임 콘텐츠 생성, 데이터 증강 등에서 유용하게 활용될 수 있다. 예를 들어, 사용자가 이미지에 특정 객체를 정밀하게 삽입하거나, 기존 객체를 유지하면서 새로운 객체를 추가하는 작업이 가능하다. 이는 디지털 콘텐츠 제작 과정에서의 효율성과 창의성을 동시에 향상시킬 수 있다.