Controllable Layer Decomposition for Reversible Multi-Layer Image Generation
Zihao Liu, Zunnan Xu, Shi Shu, Jun Zhou, Ruicheng Zhang, Zhenchao Tang, Xiu Li
TL;DR
This work tackles the irreversibility of conventional raster compositing by introducing Controllable Layer Decomposition (CLD), which yields fine-grained, user-guided separation of an image into multiple RGBA layers. The approach combines LayerDecompose-DiT (LD-DiT) with a Multi-Layer Conditional Adapter (MLCA) and a dual-condition classifier-free guidance (CFG) strategy, all trained within a Flow Matching diffusion framework and enhanced by Layer-Aware Rotary Position Embedding (LA-RoPE). A new PrismLayersPro-based benchmark and tailored metrics evaluate layer quality, transparency accuracy, and reconstruction fidelity, demonstrating superior controllability and visual coherence over baselines like LayerD. The generated layers are directly usable for downstream editing in design tools (e.g., PowerPoint), enabling reversible and flexible multi-layer workflows with practical real-world impact. CLD thus advances controllable multi-layer image generation and offers tangible benefits for graphic design pipelines through precise, box-guided layer decomposition and coherent cross-layer generation.
Abstract
This work presents Controllable Layer Decomposition (CLD), a method for achieving fine-grained and controllable multi-layer separation of raster images. In practical workflows, designers typically generate and edit each RGBA layer independently before compositing them into a final raster image. However, this process is irreversible: once composited, layer-level editing is no longer possible. Existing methods commonly rely on image matting and inpainting, but remain limited in controllability and segmentation precision. To address these challenges, we propose two key modules: LayerDecompose-DiT (LD-DiT), which decouples image elements into distinct layers and enables fine-grained control; and Multi-Layer Conditional Adapter (MLCA), which injects target image information into multi-layer tokens to achieve precise conditional generation. To enable a comprehensive evaluation, we build a new benchmark and introduce tailored evaluation metrics. Experimental results show that CLD consistently outperforms existing methods in both decomposition quality and controllability. Furthermore, the separated layers produced by CLD can be directly manipulated in commonly used design tools such as PowerPoint, highlighting its practical value and applicability in real-world creative workflows. Our project is available at https://monkek123king.github.io/CLD_page/.
