Referring Layer Decomposition
Organizations: Intelligent Editing Team, Intelligent Creation, ByteDance
Abstract
Precise, object-aware control over visual content is essential for advanced image editing and compositional generation. Yet, most existing approaches operate on entire images holistically, limiting the ability to isolate and manipulate individual scene elements. In contrast, layered representations, where scenes are explicitly separated into objects, environmental context, and visual effects, provide a more intuitive and structured framework for interpreting and editing visual content. To bridge this gap and enable both compositional understanding and controllable editing, we introduce the Referring Layer Decomposition (RLD) task, which predicts complete RGBA layers from a single RGB image, conditioned on flexible user prompts, such as spatial inputs (e.g., points, boxes, masks), natural language descriptions, or combinations thereof. At the core is the RefLade, a large-scale dataset comprising 1.11M image-layer-prompt triplets produced by our scalable data engine, along with 100K manually curated, high-fidelity layers. Coupled with a perceptually grounded, human-preference-aligned automatic evaluation protocol, RefLade establishes RLD as a well-defined and benchmarkable research task. Building on this foundation, we present RefLayer, a simple baseline designed for prompt-conditioned layer decomposition, achieving high visual fidelity and semantic alignment. Extensive experiments show our approach enables effective training, reliable evaluation, and high-quality image decomposition, while exhibiting strong zero-shot generalization capabilities.
Figures & tables
| Dataset | Task | # Images | Average Resolutions | # Cls | # Instances | Occlusion Rate | Image Source |
| SAIL-VOS ( Hu et al., 2019 ) | Amodal | 111,654 | 800 1280 | 162 | 1,896,296 | 56.3% | Synthetic |
| OVD ( Yan et al., 2019 ) | Amodal | 34,100 | 500 375 | 196 | - | - | Real |
| WALT ( Reddy et al., 2022 ) | Amodal | 15M | - | 2 | 36M | - | Real |
| AHP ( Zhou et al., 2021 ) | Amodal | 56,599 | - | 1 | 56,599 | - | Real |
| DYCE ( Ehsani et al., 2018 ) | Amodal | 5,500 | 1000 1000 | 79 | 85,975 | 27.7% | Real |
| OMLD ( Dhamo et al., 2019 ) | Amodal | 13,000 | 384 512 | 40 | - | - | Synthetic |
| HPA | + | + | + | ||||
| Pearson correlation | 0.96 | 0.90 | 0.96 | 0.94 | 0.95 | 0.95 | 0.94 |
| Spearman correlation | 1 | 0.60 | 0.98 | 0.67 | 0.92 | 0.97 | 1 |
| Dataset | #layers | Foreground | Background | ||||||
| HPA | FID | LPIPS | DIR | HPA | FID | LPIPS | DIR | ||
| MuLAn | 50K | 0.3852 | 22.68 | 0.1403 | 0.2031 | 0.3459 | 21.84 | 0.1588 | 0.6385 |
| RefLade | 50K | 0.4629 | 10.98 | 0.1411 | 0.2543 | 0.5932 | 16.87 | 0.0520 | 0.7206 |
| RefLade | 100K | 0.4621 | 11.27 | 0.1428 | 0.2589 | 0.5935 | 16.73 | 0.0530 | 0.7213 |
| RefLade | 200K | 0.4631 | 10.99 | 0.1434 | 0.2547 | 0.5461 | 19.84 | 0.0552 | 0.6950 |
| RefLade | 400K | 0.4678 | 10.66 | 0.1404 | 0.2575 | 0.5792 | 18.36 | 0.0493 | 0.7129 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Methods | HPA | Zero-Shot | mIoU full | mIoU occ |
| PCNet ( Zhan et al., 2020 ) | - | ✗ | 76.91 | 20.34 |
| VRSP ( Xiao et al., 2021 ) | - | ✗ | 78.98 | 22.92 |
| AISformer ( Tran et al., 2022 ) | - | ✗ | 72.69 | 13.75 |
| C2F-Seg ( Gao et al., 2023 ) | - | ✗ | 80.28 | 27.71 |
| Pix2Gestalt ∗ ( Ozguroglu et al., 2024 ) | 0.3397 | ✓ | 70.02 | 26.79 |
| RefLayer- | 0.4833 | ✓ | 73.28 | 32.31 |
| Method | HPA occ | Foreground | |||
| HPA | FID | LPIPS | DIR | ||
| Pix2Gestalt ( Ozguroglu et al., 2024 ) | 0.2687 | 0.3397 | 18.23 | 0.1671 | 0.1198 |
| MuLAn ( Tudosiu et al., 2024 ) | 0.3041 | 0.3852 | 22.68 | 0.1403 | 0.2031 |
| RefLayer- | 0.4403 | 0.4833 | 10.43 | 0.1298 | 0.2586 |
Compositional Representation Learning
Compositional representation learning studies how models encode reusable parts and relations to understand combinations they have not seen.
See all 79 papers