Qwen-Image-Layered: Towards Inherent Editability via Layer Decomposition
Qwen-Image-Layered提出了一种端到端的扩散模型,通过将图像分解为多个语义上分离的RGBA层,实现了内在的可编辑性,允许独立地操纵每层而不影响其他内容。
更新于 2025-12-18。作者:Shengming Yin、Zekai Zhang、Zecheng Tang、Kaiyuan Gao、Xiao Xu、Kun Yan、Jiahao Li、Yilei Chen、Yuxiang Chen、Heung-Yeung Shum、Lionel M. Ni、Jingren Zhou、Junyang Lin、Chenfei Wu。
中文摘要
近期,视觉生成模型在图像编辑中往往难以保持一致性,这是因为位图图像的本质是交织的,其中所有视觉内容都融合到一个单独的画布上。相比之下,专业设计工具采用分层表示,允许进行隔离编辑,同时保持一致性。受此启发,我们提出了Qwen-Image-Layered,这是一种端到端的扩散模型,它将单个RGB图像分解为多个语义上解耦的RGBA层,从而实现了内在的可编辑性,其中每个RGBA层都可以独立操作,而不会影响其他内容。为了支持可变长度的分解,我们引入了三个关键组件:(1)一个RGBA-VAE,用于统一RGB和RGBA图像的潜在表示;(2)一个VLD-MMDiT(可变层分解MMDiT)架构,能够分解可变数量的图像层;(3)一个多阶段训练策略,以将预训练的图像生成模型适应为多层图像分解器。此外,为了解决高质量多层训练图像的稀缺问题,我们构建了一个流程,从Photoshop文档(PSD)中提取和标注多层图像。实验表明,我们的方法在分解质量上显著优于现有方法,并为一致性的图像编辑建立了一个新的范例。我们的代码和模型已发布在https://github.com/QwenLM/Qwen-Image-Layered。
英文摘要
Recent visual generative models often struggle with consistency during image editing due to the entangled nature of raster images, where all visual content is fused into a single canvas. In contrast, professional design tools employ layered representations, allowing isolated edits while preserving consistency. Motivated by this, we propose Qwen-Image-Layered, an end-to-end diffusion model that decomposes a single RGB image into multiple semantically disentangled RGBA layers, enabling inherent editability, where each RGBA layer can be independently manipulated without affecting other content. To support variable-length decomposition, we introduce three key components: (1) an RGBA-VAE to unify the latent representations of RGB and RGBA images; (2) a VLD-MMDiT (Variable Layers Decomposition MMDiT) architecture capable of decomposing a variable number of image layers; and (3) a Multi-stage Training strategy to adapt a pretrained image generation model into a multilayer image decomposer. Furthermore, to address the scarcity of high-quality multilayer training images, we build a pipeline to extract and annotate multilayer images from Photoshop documents (PSD). Experiments demonstrate that our method significantly surpasses existing approaches in decomposition quality and establishes a new paradigm for consistent image editing. Our code and models are released on https://github.com/QwenLM/Qwen-Image-Layered{https://github.com/QwenLM/Qwen-Image-Layered}
解读
一句话总结
Qwen-Image-Layered提出了一种端到端的扩散模型,通过将图像分解为多个语义上分离的RGBA层,实现了内在的可编辑性,允许独立地操纵每层而不影响其他内容。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:传统图像编辑模型在编辑过程中由于图像的融合性质而难以保持一致性。
- 现有方案不足:全局编辑方法和基于掩膜的局部编辑方法都存在局限性,无法根本解决一致性问题和复杂场景中的编辑区域模糊性问题。
- 研究目标:提出一种端到端的扩散模型,将图像分解为多个语义上分离的RGBA层,实现内在的可编辑性和一致性编辑。
问题2:论文的核心创新点是什么?
- 技术创新:提出RGBA-VAE以统一RGB和RGBA图像的潜在表示,VLD-MMDiT架构以分解可变数量的图像层,以及多阶段训练策略以适应预训练的图像生成模型。
- 方法改进:通过以上技术创新,实现了图像的层分解,并支持了高保真的基础操作。
- 优势:与现有方法相比,该方法在分解质量和一致性编辑方面具有显著优势。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在Crello数据集和AIM-500数据集上进行了图像分解、编辑和RGBA图像重建的实验。
- 性能提升:在Crello数据集上,Qwen-Image-Layered在RGB L1和Alpha soft IoU指标上均取得了最佳性能。
- 对比结果:与LayerD和ART等方法相比,Qwen-Image-Layered在图像分解和编辑方面表现出更优越的性能。
问题4:这个研究的实际应用价值是什么?
- 应用场景:图像编辑、图像合成和视觉效果制作等。
- 实施建议:结合实际应用需求,选择合适的模型和参数进行训练和应用。
- 局限与展望:目前模型主要针对静态图像,未来可进一步研究动态图像和视频的层分解和编辑技术。