[Paper Review] ObjectStitch: Generative Object Compositing
This paper proposes ObjectStitch, a self-supervised diffusion model for generative object compositing that unifies geometry correction, color harmonization, shadow synthesis, and view synthesis in a single framework. By introducing a content adaptor for image-guided generation and leveraging data augmentation, it achieves state-of-the-art realism and appearance fidelity without any manual annotations, outperforming baselines in user studies on real-world images.
Object compositing based on 2D images is a challenging problem since it typically involves multiple processing stages such as color harmonization, geometry correction and shadow generation to generate realistic results. Furthermore, annotating training data pairs for compositing requires substantial manual effort from professionals, and is hardly scalable. Thus, with the recent advances in generative models, in this work, we propose a self-supervised framework for object compositing by leveraging the power of conditional diffusion models. Our framework can hollistically address the object compositing task in a unified model, transforming the viewpoint, geometry, color and shadow of the generated object while requiring no manual labeling. To preserve the input object's characteristics, we introduce a content adaptor that helps to maintain categorical semantics and object appearance. A data augmentation method is further adopted to improve the fidelity of the generator. Our method outperforms relevant baselines in both realism and faithfulness of the synthesized result images in a user study on various real-world images.
Motivation & Objective
- To address the limitations of traditional compositing pipelines that require multiple disjoint stages and manual tuning for color, lighting, and shadow.
- To eliminate the need for expensive, task-specific annotations in training data by enabling fully self-supervised learning.
- To unify multiple compositing aspects—viewpoint transformation, geometry correction, color harmonization, and shadow generation—into a single generative model.
- To preserve the identity and appearance of input objects during compositing using image-guided diffusion rather than text prompts.
- To improve generation fidelity through a novel content adaptor and data augmentation techniques in a self-supervised setting.
Proposed method
- The framework uses a conditional diffusion model guided by an input object image, target background, and a bounding box specifying insertion location.
- A content adaptor module extracts multi-modal embeddings from the input object, encoding both high-level semantics and low-level details like color and shape for image guidance.
- The generator module synthesizes composite images while preserving background context and improving realism through iterative denoising.
- The model is trained in a fully self-supervised manner using synthetic data generation and data augmentation, including cropping and shift augmentations.
- The content adaptor is trained in two stages: first to learn a non-adaptive embedding, then to refine it with instance-level features to improve appearance preservation.
- A modified CLIP score is used for evaluation, with separate metrics for text-guided (CLIP text score) and image-guided (CLIP image score) semantic matching.
Experimental results
Research questions
- RQ1Can a single diffusion model effectively unify multiple compositing tasks—geometry correction, color harmonization, shadow synthesis, and view synthesis—without task-specific supervision?
- RQ2How can image-guided diffusion models preserve object identity and appearance better than text-guided alternatives in compositing?
- RQ3To what extent does a content adaptor module improve fidelity and appearance preservation in image generation for compositing?
- RQ4How effective are data augmentation techniques in enhancing realism and detail in self-supervised compositing models?
- RQ5What is the impact of self-supervised pretraining and multi-stage adaptation on the performance of generative compositing models?
Key findings
- ObjectStitch outperforms text-guided baselines like BLIP and SDEdit in appearance preservation and realism, as shown in user studies on real-world images.
- The content adaptor significantly improves generation fidelity and semantic consistency, with ablation showing a notable drop in CLIP image score when replaced with BLIP.
- Removing the content adaptor or skipping its second training stage leads to degraded performance, confirming its role in learning instance-level features.
- Data augmentation, particularly cropping and shift augmentations, improves mask area coverage and enhances detail fidelity, with a measurable drop in realism when omitted.
- The model achieves state-of-the-art results in both FID and CLIP image score, demonstrating superior realism and semantic alignment with the input object.
- The framework successfully synthesizes shadows and geometry corrections within the masked object region, though global effects like full shadow propagation remain limited due to masking constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.