Editing Images into Reusable Layers via Compositional Edit-Prior Distillation
Abstract
LayerEditor unifies instruction-guided image editing with reusable RGBA layer generation via joint token modeling and edit-prior distillation, enabling precise local manipulation and layer reuse.
High-quality image editing requires precise modification of target regions while preserving the content of unrelated regions. Existing editing models produce flattened outputs that limit precise local manipulation and layer reuse, while decomposition methods typically optimize layer recovery separately from instruction-driven editing. To this end, we introduce LayerEditor, a unified framework that couples instruction-guided image editing with controllable generation of reusable RGBA layers. At its core, In-Context RGB-Alpha Token Modeling jointly represents the edited canvas and an ordered sequence of RGB-Alpha layers within a single token sequence, enabling semantic edits and explicit control over individual layer content. To retain the pretrained model's editing capability during adaptation to layered outputs, we propose Compositional Edit-Prior Distillation, which transfers its editing prior to both the edited canvas and the image composed from the predicted layers. To support training and evaluation, we construct LayerEditor-100K, a large-scale paired image-editing dataset with ordered RGBA layer annotations, and introduce dedicated benchmarks for layered editing. Extensive experiments demonstrate that LayerEditor maintains strong editing fidelity while generating accurate RGBA layers, supporting both flexible layer-level manipulation and multi-layer decomposition.
Community
We introduce LayerEditor, a unified framework that couples instruction-guided image editing with controllable generation of reusable RGBA layers. Given a source image, an editing instruction, and a requested layer count, LayerEditor jointly generates an edited canvas and an ordered RGBA layer stack, enabling explicit control over individual layer content.
In-Context RGB-Alpha Token Modeling. LayerEditor jointly represents the edited canvas and ordered RGB-Alpha layers within a single token sequence, with appearance and opacity modeled as distinct, interacting fields. Shared attention captures dependencies between the canvas and layer stack, while layer-aware rotary coordinates encode field identity and stacking order while preserving spatial correspondence. This formulation supports variable layer counts within a shared architecture.
Compositional Edit-Prior Distillation (C-EPD). To preserve the pretrained model’s editing capability during adaptation to layered outputs, C-EPD queries a frozen editing teacher at intermediate states along the student’s own denoising trajectory. It combines direct-output velocity matching with pixel-space supervision of the image composed from the predicted RGBA layers. Gradients propagate through decoding and alpha compositing, transferring the pretrained editing prior to both the edited canvas and the layered output.
LayerEditor-100K and dedicated benchmarks. We construct LayerEditor-100K, a large-scale paired image-editing dataset containing 100K examples, each with a source image, an editing instruction, an edited target, and an ordered RGBA stack of 2–10 layers. We further introduce Crello-Testset and ScaleEdit-Testset to evaluate editing fidelity, layer quality, and controllability over layer count and user-specified layer content.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- VibeEdit: Image Editing with Canvas Instructions (2026)
- Efficient Scene-Text Refinement via Pixel-Space Grouped Image Generation (2026)
- Refinement Is Inherently Editable: Training-Free Prompt-to-Prompt Image Editing with Generative Refinement Network (2026)
- Scaling Versatile 3D Assets Editing with a Million-Scale Dataset (2026)
- ACEdit: Stable Multi-Turn Image Editing via Asymmetric Conditioning (2026)
- On-Policy Self-Distillation for Multi-Turn Image Editing (2026)
- Scalable Minimal-Change Learning for Controllable Image Editing (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2610.24738 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper