Editing Images into Reusable Layers via Compositional Edit-Prior Distillation
Wen XueYong LiuXueheng LiSi WuYong XuYipeng SunYan LiSimiu Gu
Wen Xue
Yong Liu
Xueheng Li
Si Wu
Yong Xu
Yipeng Sun
Yan Li
Simiu Gu
+8
LayerEditor is a unified framework coupling instruction-guided image editing with controllable generation of reusable RGBA layers. Its core, In-Context RGB-Alpha Token Modeling, represents the edited canvas and an ordered sequence of RGB-Alpha layers in a single token sequence, enabling semantic edits and explicit layer control. To retain pretrained editing capability, Compositional Edit-Prior Distillation transfers the editing prior to both the edited canvas and the image composed from predicted layers. Supported by the LayerEditor-100K dataset and benchmarks, experiments show strong editing fidelity alongside accurate layer generation.

arXiv ·
· October 17, 2026