From Inpainting to Layer Decomposition: Repurposing Generative Inpainting Models for Image Layer Decomposition

Jing-Xi Chen, Yixiao Zhang, Xiaoye Qian, Zong-Xia Li, Cornelia Fermüller +2 more
11/1/2025

No confident code implementation found for this paper.

Abstract

Images can be viewed as layered compositions, foreground objects over background, with potential occlusions. This layered representation enables independent editing of elements, offering greater flexibility for content creation.

Show full abstract

Despite the progress in large generative models, decomposing a single image into layers remains challenging due to limited methods and data. We observe a strong connection between layer decomposition and in/outpainting tasks, and propose adapting a diffusion-based inpainting model for layer decomposition using lightweight finetuning. To further preserve detail in the latent space, we introduce a novel multi-modal context fusion module with linear attention complexity. Our model is trained purely on a synthetic dataset constructed from open-source assets and achieves superior performance in object removal and occlusion recovery, unlocking new possibilities in downstream editing and creative applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2025from,
  title  = {From Inpainting to Layer Decomposition: Repurposing Generative Inpainting Models for Image Layer Decomposition},
  author = {Jing-Xi Chen and Yixiao Zhang and Xiaoye Qian and Zong-Xia Li and Cornelia Fermüller and Caren Chen and Y. Aloimonos},
  year   = {2025},
  eprint = {2511.20996},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2511.20996},
  url    = {https://doi.org/10.48550/arXiv.2511.20996},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.20996.svg)](https://codeofpaper.com/paper/2511.20996)

Discussion