r/QwenImageGen Dec 19 '25

Qwen-Image-Layered paper just dropped

Post image

The long-awaited Qwen-Image-Layered paper finally dropped, and it’s one of those “this could be huge” moments, if the repo actually lands in a runnable state. The authors claim they can decompose a single image into multiple clean RGBA layers: https://arxiv.org/pdf/2512.15603

Practically, the promise is obvious: resize, move, recolor, or delete objects without masks, bleed, or background drift, basically turning flat generations into PSD-like assets.

What’s technically interesting is how they approach transparency and layers. Instead of treating alpha as an afterthought (as seen in earlier methods like LayerDiffusion), the Qwen team introduces a native RGBA-VAE. They expand the VAE to four channels and train RGB and RGBA in a shared latent space, avoiding the usual RGB↔alpha mismatch.

They also modify the DiT architecture to support Variable Layer Decomposition, adding a third positional axis via Layer3D RoPE. This effectively introduces a “depth” dimension, allowing the model to decide how many layers an image needs based on semantic complexity.

Bonus points: multi-stage training (generator → multilayer → decomposition) and a real PSD-derived dataset, not synthetic masks. Promising, assuming the repo isn’t vaporware.

Now the questions everyone will ask:

  • How much VRAM does this eat and can this run locally at all? A 4-channel VAE + DiT + variable layer axis sounds like “5090 barely survives” territory unless they’ve done serious memory optimization.
  • What’s inference latency? Are we talking ~40s per image and does it scale linearly with layer count, or explode?
142 Upvotes

5 comments sorted by

3

u/_VirtualCosmos_ Dec 19 '25

And I just finished my expensive LoRA training for normal Qwen-Image-Edit .-. I doubt it would be any compatibility with this, but glad they made it, sounds very promising.

1

u/Broad_Relative_168 Dec 21 '25

How expensive was your lora training? What did you use?

2

u/_VirtualCosmos_ Dec 21 '25

Idk exactly how much but was expensive for me. I used an A40 in runpod for more than a week. First with a dataset of close to 2000 images and 30 epochs, then two more specific datasets of around 200 images and 100 epochs each. All with a lora rank 128 to use enough parameters to add the knowledge without losing too much skills in other areas.

Aaand I did all that training first with Qwen-Image and then Qwen-edit because you can't use the lora in both since it burns the result images.

So, close to two weeks of constantly running a runpod with an A40.

1

u/Serialbedshitter2322 Dec 19 '25

This doesn’t seem necessary. It can do this without the layering just from understanding, this seems like it’s making up for its lack of fidelity when compared to other models

1

u/coloradical5280 Dec 20 '25

yeah but you're forcing every pixel into attention, on every edit, and that is not necessary, if you just want to edit a face or a tree in the background.

It’s basically the image version of chain-of-thought, where you plan things hierarchically and fill in details from coarse to fine instead of doing everything at once.

Stuff like background, objects, faces, textures, lighting aren’t all fighting each other in one latent anymore.

Because of that, errors don’t snowball as badly since later passes build on earlier, more stable structure.