PICS: Pairwise Image Compositing with Spatial Interactions
Organizations: University of Alberta · Concordia University
Abstract
Despite strong single-turn performance, diffusion-based image compositing often struggles to preserve coherent spatial relations in pairwise or sequential edits, where subsequent insertions may overwrite previously generated content and disrupt physical consistency. We introduce PICS, a self-supervised composition-by-decomposition paradigm that composes objects in parallel while explicitly modeling the compositional interactions among (fully-/partially-)visible objects and background. At its core, an Interaction Transformer employs mask-guided Mixture-of-Experts to route background, exclusive, and overlap regions to dedicated experts, with an adaptive α-blending strategy that infers a compatibility-aware fusion of overlapping objects while preserving boundary fidelity. To further enhance robustness to geometric variations, we incorporate geometry-aware augmentations covering both out-of-plane and in-plane pose changes of objects. Our method delivers superior pairwise compositing quality and substantially improved stability, with extensive evaluations across virtual try-on, indoor, and street scene settings showing consistent gains over state-of-the-art baselines. Code and data are available at https://github.com/RyanHangZhou/PICS
Figures & tables
| Method | mPSNR | mSSIM | mLPIPS | PSNR | FID | LPIPS | CLIP-score | DINOV2-score | DreamSim |
| PbE (CVPR’23) | |||||||||
| ControlCom (arXiv’23) | |||||||||
| ObjectStitch (CVPR’23) | |||||||||
| AnyDoor (CVPR’24) | |||||||||
| OmniPaint (ICCV’25) | |||||||||
| PICS (ours) |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Datasets | Training | Type |
| LVIS ( Gupta et al., 2019 ) | 34,160 | General |
| VITON-HD ( Choi et al., 2021 ) | 11,647 | Try-on |
| Objects365 ( Shao et al., 2019 ) | 940,764 | General |
| Cityscapes ( Cordts et al., 2016 ) | 536 | Street |
| Mapillary Vistas ( Neuhold et al., 2017 ) | 603 | Street |
| BDD100K ( Yu et al., 2020 ) | 1,012 | Street |
| Methods | Params | Time (min) | GFLOPs | GPU Memory |
| PbE ( Yang et al., 2023 ) | 1.31 G | 0.722 | 1048 | 8.70 G |
| ControlCom ( Zhang et al., 2023 ) | 1.37 G | 0.684 | 1123 | 21.5 G |
| ObjectStitch ( Song et al., 2023 ) | 1.31 G | 0.241 | 852 | 7.04 G |
| AnyDoor ( Chen et al., 2024b ) | 2.45 G | 0.342 | 2450 | 15.8 G |
| FreeCompose ( Chen et al., 2024c ) | 1.07 G | 1.912 | 678 | 5.79 G |
| OmniPaint ( Yu et al., 2025 ) | 12.1 G | 1.516 | 33035 | 23.1 G |
| Sample | Paint-by-Example | ControlCom | ObjectStitch | AnyDoor |
| 1 | Seat surface missing | Seat distorted, fused with backpack | No physical placement supported | Seat surface disappeared |
| 2 | Holder shortened, pen style changed | Pen attached on side of holder | Pen attached on side of holder | Pen attached on side of holder |
| 3 | Artifacts between backpacks | Back one occludes front one | Right backpack shows left backpack’s color | Back one occludes front one |
| 4 | Toy style changed, backpack deformed | Contact region distorted | Toy style changed, contact region unrealistic | Toy not physically touching blanket |
| 5 | Vase shape altered | Vase not placed upright | Vase not placed upright | Vase and flowers both tilted |
| 6 | Banana turned into apple, no basket shadow | Banana fused with basket front | Banana placement caused basket gap | Banana partly fused with basket |
Image Editing
Image editing changes selected visual content while preserving the parts of an image that should remain unchanged.
See all 313 papers