Manuscript Offprint
arXiv:2610.32413AlphaAnything: Extending Pretrained RGB Generators to RGBA
Abstract
Existing RGBA generation methods commonly learn a transparency-specific representation through reconstruction, introducing an additional training stage and potentially altering the RGB decoding function inherited from pretrained models. We present ALPHAANYTHING, a lightweight framework that extends pretrained RGB generators to RGBA directly in their original latent space, without RGBA reconstruction pretraining. ALPHAANYTHING inserts LoRA modules into the generative transformer and attaches an alpha branch to the frozen RGB VAE decoder. Unidirectional RGB-to-alpha feature sharing allows opacity supervision to shape the generative latent while guaranteeing that, for any fixed latent, RGB decoding remains identical to that of the pretrained decoder. We further introduce Endpoint-Aware Alpha Loss (EA Loss), which derives opacity supervision from the complementary foreground–background weights used in compositing. It supports exact opacity endpoints and continuous partial transparency while emphasizing localized alpha errors. Experiments on text-to-RGBA and image-to-RGBA tasks across multiple pretrained RGB backbones demonstrate competitive generation quality, and controlled ablations validate the shared-latent training design and EA Loss.
1 INTRODUCTION
Pretrained image generators can synthesize high-quality visual content from text or image conditions (Rombach et al., 2022; Wu et al., 2025; 2026). Many downstream applications, however, require assets that can be directly layered and composited into new scenes, rather than RGB images tied to a fixed background (Fontanella et al., 2024; Yin et al., 2026). RGBA images support this use case by representing appearance and opacity separately: the RGB channels describe foreground color, while the alpha channel controls how the foreground is blended with its background (Xu et al., 2017; Zhang & Agrawala, 2024). A practical RGBA extension should therefore add transparency generation while reusing the conditioning and appearance priors of a pretrained RGB model.
Existing RGBA generation methods commonly introduce a transparency-specific representation through reconstruction training. LayerDiffuse learns a transparency encoder and decoder with reconstruction supervision (Zhang & Agrawala, 2024), while AlphaVAE and Qwen-Image-Layered train dedicated four-channel autoencoders (Wang et al., 2025b; Yin et al., 2026). Although effective, this strategy adds a separate representation-learning stage and couples subsequent generative training to the reconstructed RGBA latent space. Updating an RGB autoencoder for RGBA reconstruction can also change its pretrained RGB decoding function, with potential losses in color or high-frequency detail. Zippo (Xie et al., 2024) shows that a dedicated RGBA VAE is not strictly necessary by encoding replicated alpha with a pretrained RGB VAE, but it still models appearance and opacity with separate latent states. These observations motivate a simpler question: can a pretrained RGB generator learn opacity directly in its existing latent space, using generative supervision alone?
We answer this question with ALPHAANYTHING, a lightweight framework that augments a pretrained RGB generator with a shared-latent alpha pathway. We insert LoRA modules (Hu et al., 2022) into the generative transformer and attach a trainable alpha branch to the frozen RGB VAE decoder. During training, flow-matching supervision updates the transformer LoRA, while opacity supervision passes through the frozen decoder features to shape the same predicted
Equal contribution. Emails: qijiewang02@gmail.com, xuzhixin.66@bytedance.com.
Work done during an internship at ByteDance.
Text to RGBA

山海之间
山海之间
Avenorig
Avenorig
Avenorig
CELESTIAL
OBSERVATORY
Image to RGBA
CELESTIAL
OBSERVATORY
CELESTIAL
OBSERVATORY
COCKTAIL
MENU COCKTAIL
COCKTAIL
Spring
SALE
UP TO 35% OFF
Spring
Spring
Figure 1: Representative text- and image-to-RGBA results. Each prompt specifies an asset to generate or extract. For text-to-RGBA, independently generated layers are manually arranged into the displayed compositions.
latent. Within the decoder, information flows only from the RGB pathway to the alpha branch; the alpha state is never fed back into the RGB pathway. Consequently, for any fixed latent, the augmented decoder produces exactly the same RGB output as the original pretrained decoder, while predicting alpha from the RGB feature hierarchy. RGB and alpha are thus obtained from one latent and one augmented decoder traversal, without an RGBA autoencoder or a separate alpha latent.
Learning opacity also requires an objective that reflects its role in compositing. Alpha is not merely a bounded image channel: a = 0 and a = 1 denote exact transparency and opacity, intermediate values encode partial visibility, and gives the complementary background–foreground mixing weights. We therefore introduce Endpoint-Aware Alpha Loss (EA Loss). EA Loss represents this compositing pair on the Bernoulli simplex and uses its Fisher–Rao coordinate (Miyamoto et al., 2024) to parameterize the full opacity range. An endpoint-compatible Fenchel–Young formulation represents exact endpoints with finite scores and retains corrective gradients when a prediction saturates at the wrong endpoint. The same complementary weights further separate background- and foreground-associated errors before root aggregation, increasing the relative contribution of localized defects such as thin structures, small holes, and background leakage. We characterize these properties theoretically and evaluate the complete objective against standard alpha supervision.
The paper makes three contributions. (1) Shared-latent RGBA extension. We show that pretrained RGB generators can acquire text- and image-conditioned RGBA generation without RGBA reconstruction pretraining. A unidirectional RGB-to-alpha decoder branch lets opacity supervision shape the generative latent while preserving the pretrained RGB decoding function for every fixed latent. (2) Endpoint-aware opacity supervision. We derive EA Loss from the complementary compositing weights of alpha. The objective accommodates exact endpoints and continuous partial transparency while emphasizing spatially localized alpha errors, and we establish its key optimization and error-control properties. (3) Evaluation across tasks and backbones. We instantiate ALPHAANYTHING on multiple pretrained RGB generators and evaluate it in both text-to-RGBA and image-to-RGBA settings, where it achieves competitive generation quality without an RGBA autoencoder or a separate alpha latent.
RGBA generation and representations. Image matting estimates opacity for content already observed in an RGB image, classically with auxiliary spatial guidance such as a trimap or mask (Xu et al., 2017). It therefore differs from RGBA generation: matting operates on visible image evidence rather than semantic generation instructions, does not jointly synthesize appearance and opacity, and typically recovers the visible matte rather than completing object layers behind occlusions. Existing native RGBA methods adopt different transparency representations. LayerDiffuse learns a latent transparency representation and decoder through reconstruction training (Zhang & Agrawala, 2024), while AlphaVAE and Qwen-Image-Layered train dedicated four-channel autoencoders (Wang et al., 2025b; Yin et al., 2026). These approaches introduce an additional reconstruction-trained representation to support transparency generation. Zippo takes a different route by reusing a pretrained RGB VAE and representing alpha through replicated RGB channels (Xie et al., 2024); however, color and matte are still modeled with separate latent states. These works show that transparency can be incorporated through substantially different representation choices. ALPHAANYTHING instead learns RGBA generation in the original RGB latent space while retaining the pretrained RGB autoencoder.
3 ALPHAANYTHING
Our central insight is that RGBA generation can be learned in the original RGB latent space. ALPHAANYTHING realizes this with DiT LoRA modules and a lightweight alpha branch embedded in the frozen RGB VAE decoder. Within the alpha branch, features are shared unidirectionally from RGB to alpha, preserving the original RGB decoding process for any fixed latent, while gradients from the alpha loss propagate through the decoder to update the DiT LoRA parameters. Our Endpoint-Aware Alpha Loss (EA Loss) further provides supervision for both exact endpoints and continuous opacity. Figure 2 summarizes the framework.

Figure 2: Overview of ALPHAANYTHING. Transformer LoRA and a VAE-embedded alpha branch learn RGBA generation through generative training. Unidirectional feature sharing keeps RGB decoding for any fixed latent.
3.1 PRELIMINARIES
RGBA image. A transparent image is represented as an RGBA layer , where is the straight foreground color and is opacity, with . Given a background , compositing in a common linear color space is
where is the premultiplied foreground and opacity is broadcast over color channels. The endpoints and 1 represent complete transparency and opacity; intermediate values represent partial transparency. For brevity, we denote by a below.
RGB training targets. As implied by the compositing equation in (1), a composite does not uniquely determine its foreground color–opacity pair. In particular, when opacity vanishes, the stored RGB values are physically undefined and do not affect the composite (Zhang & Agrawala, 2024). However, generative training in the pretrained RGB latent space requires a well-defined RGB target over the entire image, including transparent regions; leaving these values unconstrained would make the training target underdetermined. We therefore use the multiscale color-padding convention of LayerDiffuse to define a dense RGB target:
The padding propagates foreground color from coarse to fine into transparent regions, providing a structured RGB target from which the frozen RGB encoder E defines the target latent .
3.2 EXTENDING RGB GENERATION WITH OPACITY
Our goal is to endow a pretrained RGB generator with opacity generation without introducing a separate transparency latent or altering its pretrained RGB decoding function. Our key insight is that opacity can be learned directly in the original RGB latent space: alpha supervision is propagated back to the generator, so the sampled latent is jointly shaped by appearance and opacity. Opacity is therefore learned as part of generation rather than estimated post hoc from a completed RGB image.
Let denote the pretrained generator parameters, its trainable LoRA parameters, and D the frozen RGB decoder. The extended model produces
where is sampling noise and is the trainable alpha branch producing opacity scores . RGB and opacity thus originate from the same sampled latent , with no separately encoded or sampled alpha latent. Because
Baselines
Prompt
LayerDiffuse
AlphaVAE
OmniAlpha
Qwen Image 2.1
Padded fabric
SMALL JOYS
letters
hanging from
wooden pegs
AlphaAnything
FLUX.1
FLUX.2
Qwen Image
LongCat
Crowned crane with a gold feather crown and a lifted gray wing

Bursting
molten-glass
bubble with
amber threads
and clear
fragments
Clear coffee
siphon chamber
with an opaque
black handle
Figure 3: Qualitative text-to-RGBA comparison. ALPHAANYTHING generates detailed lettering and feathers while capturing glass transparency.
gradients from the alpha objective pass through the frozen decoder to , opacity supervision also shapes the latent produced by the generator.
The alpha branch runs alongside the spatial hierarchy of and reuses the RGB features produced during the same decoder traversal. Let denote the RGB feature at spatial stage , and let denote the spatially aligned alpha state. At the decoder bottleneck, we initialize and refine it with cross-attention using alpha queries and RGB keys and values. At each subsequent stage,
where reduces the RGB channels to a low-rank bottleneck of width , and spatially projects the compressed feature into the alpha state. The learned gate controls the contribution of the RGB feature at each stage, while contains the alpha-only residual refinement, channel transition, and learned upsampling that advance the alpha state to the next spatial scale. A final spatial head maps the last alpha state to ; Section 3.3 defines the corresponding opacity mapping. This reuse keeps the extension lightweight: only the alpha stream and low-rank RGB-to-alpha projections are added, with no additional RGB-decoder forward.
Crucially, all cross-branch dependencies are directed from RGB to alpha. The RGB hierarchy remains
where is the original frozen RGB operation and has no dependence on or .
Proposition 1 (Fixed-latent RGB preservation). For every fixed latent z and alpha parameter setting , the augmented decoder's RGB output satisfies
This follows directly from (5): RGB decoding is independent of the alpha state, so for any fixed latent its output is identical to that of the pretrained decoder. Meanwhile, D remains differentiable, allowing gradients from the alpha loss to propagate through it and supervise the generator.
3.3 ENDPOINT-AWARE ALPHA LOSS
Alpha determines foreground–background mixing through the complementary weights . Our central idea is to construct both the pixelwise discrepancy and its spatial aggregation from this compositing pair. We use the Fisher–Rao geometry of the pair to define an opacity coordinate, and reuse its two components to weight the pixelwise gaps before separate root reductions.
Compositing-pair geometry. Equation (1) associates each opacity value with the background–foreground weight pair . This pair lies on the Bernoulli simplex, with and at its two vertices and partial opacity in its interior. Its Fisher information is for . The corresponding normalized Fisher–Rao arc-length coordinate (Miyamoto et al., 2024) and inverse are
Both extend continuously to the two simplex vertices. This geometry is non-uniform in physical alpha: near transparency, as , with symmetric behavior near opacity, while it remains locally smooth in the interior. Consequently, small residual foreground mass near transparency and residual background mass near opacity receive greater separation in the supervision space, while genuine partial opacity remains represented continuously.
Score supervision in the pair coordinate. To predict this coordinate while covering both the interior and the vertices of the simplex, the alpha branch outputs an unconstrained score . We map it to the Fisher–Rao coordinate by and predict . Finite scores and therefore represent the two compositing vertices exactly. Direct regression through this clipped mapping, however, would have zero gradient when a prediction saturates at the wrong vertex. We instead supervise with a Fenchel–Young loss (Blondel et al., 2020) for the target coordinate :
Within the active interval , is exactly the squared coordinate error, while its gradient satisfies everywhere. Thus an incorrectly transparent prediction receives gradient , and an incorrectly opaque prediction receives , allowing either to leave the saturated region. Correct endpoint predictions remain exactly representable, and every partial-opacity target has the finite exact solution .
Pair-weighted aggregation. Let denote the per-pixel gap over pixels. We use the target compositing weights to separate foreground- and background-associated contributions of the same pixelwise gap. Applying a square-root reduction to each contribution gives:
The two weights assign each error according to its target background and foreground mass: transparent pixels contribute to , opaque pixels to , and partial-opacity pixels continuously to both. For a binary target, suppose nonzero gaps are confined to a fraction of pixels in one endpoint group, with mean gap over that region. The corresponding root contribution is , whereas direct averaging gives . Thus, for a fixed mean gap, the root contribution decreases with the square root of the region's area fraction. We select a zero generalized gradient for an exactly zero root. Since and each gap vanishes exactly at its target, if and only if .
3.4 JOINT GENERATIVE TRAINING AND INFERENCE
We jointly optimize the transformer LoRA and alpha branch , while keeping the pretrained transformer parameters and the RGB VAE encoder and decoder frozen. We follow the backbone's standard flow-matching objective. Given the clean target latent in (2), noise , and noise level , the noisy latent and target velocity are
The model predicts
where is the corresponding one-step clean-latent estimate. The alpha branch is applied to and supervised against the target opacity .
The complete objective is
Table 1: Quantitative results of text-to-RGBA generation on RGBA-Text.
| Method / backbone | CLIPScore ↑ | Aesthetic ↑ | ImageReward ↑ | |
|---|---|---|---|---|
| LayerDiffuse | 0.8542 | 5.4505 | 0.5921 | |
| AlphaVAE | 0.8306 | 5.2679 | 0.5159 | |
| OmniAlpha | 0.8508 | 5.2850 | 0.7535 | |
| Qwen-Image-2.1 | 0.8465 | 5.3011 | 0.6189 | |
| ALPHAANYTHING | FLUX.1 | 0.8353 | 5.5256 | 0.7588 |
| FLUX.2 | 0.8656 | 5.5125 | 0.9752 | |
| Qwen Image | 0.8684 | 5.5240 | 0.9477 | |
| LongCat | 0.8657 | 5.5295 | 1.0013 |
The bounded weight reduces alpha supervision at high noise levels, where the one-step clean-latent estimate is less reliable.
At inference, the backbone produces the final clean latent , which is passed directly to the augmented VAE decoder:
4 EXPERIMENTS
We evaluate whether pretrained RGB generators can acquire RGBA capability through generative training alone. All ALPHAANYTHING models keep the RGB VAE encoder and decoder frozen and jointly train the transformer LoRA and alpha head with flow matching and EA Loss, without any RGBA reconstruction training. For text-to-RGBA, we construct and curate 8,963 RGBA training samples using an image generation model and evaluate ALPHAANYTHING on FLUX.1-dev (Black Forest Labs, 2024), FLUX.2 Klein Base 9B (Black Forest Labs, 2025), Qwen-Image (Wu et al., 2025), and LongCat-Image (Meituan LongCat Team et al., 2025). For image-to-RGBA, we use PrismLayersPro (Chen et al., 2025) with corrected prompt annotations, and evaluate on FLUX.2 Klein Base 9B (Black Forest Labs, 2025) and Qwen-Image-Edit (Wu et al., 2025).
All ALPHAANYTHING variants are trained for 20K optimizer updates with an effective global batch size of 16, a learning rate of for both the DiT LoRA and alpha branch, and DiT LoRA rank 64. Trainable parameter counts for each backbone are reported in Appendix B.6; detailed training configurations, evaluation protocols, and metric definitions are provided in Appendix B.
4.1 MAIN RESULTS
We compare ALPHAANYTHING with existing text-to-RGBA and image-to-RGBA methods. We evaluate on two test sets constructed for this study: RGBA-Text, containing 294 text prompts, and RGBA-Image, containing 735 image-conditioned examples. We also evaluate text-to-RGBA generation on the 402 prompts in AlphaTest (Wang et al., 2025b). Bold and underlined table entries mark the best and second-best values.
Text-to-RGBA generation. We evaluate text-to-RGBA generation on RGBA-Text and AlphaTest using CLIPScore (Hessel et al., 2021), Aesthetic Score (Schuhmann et al., 2022), and ImageReward (Xu et al., 2023), averaging results on black and white composites. On AlphaTest, we additionally report FID (Heusel et al., 2017) against the reference images. We compare four ALPHAANYTHING backbones with AlphaVAE (based on FLUX.1-dev), LayerDiffuse, OmniAlpha (based on Qwen-Image-Edit), and Qwen-Image-2.1 (Qwen Team, 2026).
As shown in Tables 1 and 2, ALPHAANYTHING achieves improvements in visual quality and text–image alignment metrics. Additional results on AIM-500 (Li et al., 2021) are reported in Appendix C.1. For qualitative comparisons in Figure 3, ALPHAANYTHING shows higher visual quality. Further matched examples are provided in Appendix D.
Image-to-RGBA generation. Table 3 compares the two ALPHAANYTHING backbones with OmniAlpha (Yu et al., 2026) and Qwen-Image-2.1 on RGBA-Image, using RGB L1, Soft IoU, SAD, LPIPS (Zhang et al., 2018), Alpha Grad, and Alpha Conn (Rhemann et al., 2009). Figure 4 compares the predicted RGBA outputs and enlarged alpha details.
Table 2: Quantitative results of text-to-RGBA generation on AlphaTest.
| Method / backbone | FID ↓ | CLIPScore ↑ | Aesthetic ↑ | ImageReward ↑ | |
|---|---|---|---|---|---|
| LayerDiffuse | 81.2141 | 0.8487 | 5.5169 | 1.1365 | |
| AlphaVAE | 74.3047 | 0.8214 | 5.5919 | 1.1098 | |
| OmniAlpha | 72.7426 | 0.8384 | 5.3542 | 1.2072 | |
| Qwen-Image-2.1 | 72.2720 | 0.8285 | 5.4672 | 1.1578 | |
| ALPHAANYTHING | FLUX.1 | 77.3089 | 0.8096 | 5.7105 | 1.2880 |
| FLUX.2 | 75.1796 | 0.8442 | 5.6352 | 1.4464 | |
| Qwen Image | 75.8076 | 0.8342 | 5.6799 | 1.3758 | |
| LongCat | 74.9846 | 0.8413 | 5.7171 | 1.5050 | |

Figure 4: Image-to-RGBA comparison. ALPHAANYTHING produces cleaner alpha boundaries.
4.2 PRESERVING RGB DETAILS
On the 295 source images in RGBA-Image, we find that RGBA-trained VAEs exhibit lower RGB reconstruction fidelity than their corresponding pretrained backbone VAEs. Compared with the original Qwen-Image-Edit RGB VAE, OmniAlpha's RGBA VAE exhibits visible deviations in fine details, as illustrated in Figure 5. Quantitatively, LPIPS increases from 0.03807 to 0.05197 and from 1.917 to 2.078. Figure 7 further shows that ALPHAANYTHING better preserves RGB details during RGBA generation.
Figure 6 complements these decoder comparisons with a qualitative generation example using FLUX.1-dev. The original RGB model and ALPHAANYTHING both render a volumetric nut with clear fabric texture and metallic highlights, while AlphaVAE produces a flatter shape. This example illustrates that ALPHAANYTHING can retain fine material and structural details exhibited by the original RGB backbone during RGBA generation.
Table 3: Quantitative results of image-to-RGBA evaluation on RGBA-Image.
| Method / backbone | RGB L1 ↓ | Soft IoU ↑ | SAD ↓ | LPIPS ↓ | Alpha Grad ↓ | Alpha Conn ↓ | |
|---|---|---|---|---|---|---|---|
| OmniAlpha | 0.1052 | 0.6881 | 178.4325 | 0.0911 | 70.8791 | 176.9433 | |
| Qwen-Image-2.1 | 0.0868 | 0.6932 | 181.5245 | 0.0830 | 81.6191 | 166.0596 | |
| ALPHAANYTHING | FLUX.2 | 0.1155 | 0.8296 | 46.3572 | 0.0207 | 69.5947 | 46.0840 |
| Qwen Image Edit | 0.0746 | 0.9223 | 30.3820 | 0.0136 | 27.5221 | 30.0584 | |
Qwen-Image-Edit VAE
FLUX.1-dev VAE
Original RGB VAE
OmniAlpha RGBA VAE
Original RGB VAE
AlphaVAE RGBA VAE

Our experienced instr
operate nationwide. We
Our experienced instr
operate nationwide. We
Our experienced instr
operate nationwide. We
Our experienced instr
operate nationwide. We

Newlyweds Magazine
for brides. Discover idea
that will help you create
Newlyweds Magazine
for brides. Discover idea
that will help you create
Newlyweds Magazine
for brides. Discover idea
that will help you create
Newlyweds Magazine
for brides. Discover idea
that will help you create
Figure 5: RGB reconstruction with pretrained RGB VAEs and their RGBA counterparts. Original RGB VAEs preserve small lettering and colors more faithfully.
We further ablate cross-branch feature sharing using a coupled decoder with additional alpha-to-RGB feedback while freezing all pretrained RGB parameters. As shown in Table 4, foreground RGB L1 increases from 0.1155 to 0.1349 on FLUX.2 and from 0.0746 to 0.2435 on Qwen-Image-Edit. These results show that alpha-to-RGB feedback could degrade foreground RGB fidelity, even when the pretrained RGB parameters remain frozen. Our unidirectional RGB-to-alpha design preserves the RGB decoding result for any fixed latent (Proposition 1).
FLUX.1 RGB
AlphaVAE
ALPHAANYTHING

Figure 6: RGB and RGBA generation with FLUX.1.
4.3 EFFECT OF PROPAGATING ALPHA SUPERVISION TO THE DiT
We ablate gradient propagation from the alpha loss to the DiT by detaching before alpha decoding while keeping all other training settings fixed. As shown in Table 5, allowing alpha-loss gradients to update the DiT leads to more accurate opacity prediction, better alpha boundary and connectivity structure, and improved composite fidelity on both backbones, reflected by higher Soft IoU and lower SAD, LPIPS, Alpha Grad, and Alpha Conn. These results support our central design that opacity supervision should train the generator, rather than being confined to the decoder-side alpha branch.

HAPPY
INDEPENDENCE
DAY
Always have it in mind that no nation is perfect, and it can only be made perfect by me and you. Happy Independence Day.
Qwen-Image-Edit
OmniAlpha
Always have it in mind that no nation is perfect, and it can only be made perfect by me and you. Happy Independence Day.
AlphaAnything
Always have it in mind that no nation is perfect, and it can only be made perfect by me and you. Happy Independence Day.
FLUX.2
Coupled decoder
Always have it in mind that no nation is perfect, and it can only be made perfect by me and you. Happy Independence Day.
AlphaAnything
Always have it in mind that no nation is perfect, and it can only be made perfect by me and you. Happy Independence Day.
Figure 7: RGB detail preservation. ALPHAANYTHING retains clearer letter shapes than OmniAlpha and the coupled decoder.
Table 4: Coupled-decoder ablation on RGBA-Image.
| Decoder | RGB L1 ↓ | Alpha Grad ↓ | Alpha Conn ↓ |
|---|---|---|---|
| ALPHAANYTHING FLUX.2 | |||
| w/ Coupled VAE | |||
| ALPHAANYTHING Qwen | |||
| w/ Coupled VAE |
Table 5: Ablation on alpha supervision of DiT.
| Soft IoU ↑ | SAD ↓ | LPIPS ↓ | Alpha Grad ↓ | Alpha Conn ↓ | |
|---|---|---|---|---|---|
| ALPHAANYTHING Flux.2 | |||||
| Stop-grad | |||||
| ALPHAANYTHING Qwen | |||||
| Stop-grad |
4.4 EFFECTIVENESS OF THE ENDPOINT-AWARE ALPHA LOSS
On FLUX.2 and Qwen-Image-Edit, we compare the complete EA Loss with direct alpha regression, retaining the same alpha-head architecture and the remaining optimization settings. As shown in Table 6, EA Loss consistently achieves higher Soft IoU and lower SAD, LPIPS, Alpha Grad, and Alpha Conn on both backbones, with larger gains on Qwen-Image-Edit, demonstrating more effective alpha supervision.
Table 6: Ablation on EA loss and Alpha L1 loss.
| Soft IoU ↑ | SAD ↓ | LPIPS ↓ | Alpha Grad ↓ | Alpha Conn ↓ | |
|---|---|---|---|---|---|
| ALPHAANYTHING Flux.2 (EA) | |||||
| ALPHAANYTHING Flux () | |||||
| ALPHAANYTHING Qwen (EA) | |||||
| ALPHAANYTHING Qwen () |
5 CONCLUSIONS, LIMITATIONS AND FUTURE WORK
ALPHAANYTHING extends pretrained RGB generators to RGBA through generative training alone, without RGBA reconstruction pretraining or a separate alpha latent. Alpha supervision guides RGBA generation in the original RGB latent space, while unidirectional RGB-to-alpha feature sharing preserves the original RGB decoding process for any fixed latent. EA Loss jointly handles exact opacity endpoints, soft transparency, and localized errors within a single objective, outperforming standard alpha loss in our experiments. Experiments across text-to-RGBA and image-to-RGBA tasks and multiple pretrained backbones show competitive RGBA performance, with improvements in aesthetic quality and text-image alignment.
High-quality RGBA data, widely accepted evaluation benchmarks and metrics are still scarce, which limits how broadly we can evaluate the method. Broader datasets and more comprehensive metrics that jointly assess appearance, opacity, and compositing quality are needed to further characterize data efficiency, generation quality, and generalization across RGBA generation tasks.
REFERENCES
Black Forest Labs. Flux. https://github.com/black-forest-labs/flux, 2024.
Black Forest Labs. FLUX.2: Frontier Visual Intelligence. https://bfl.ai/blog/flux-2, 2025.
Mathieu Blondel, André F.T. Martins, and Vlad Niculae. Learning with fenchel-young losses. Journal of Machine Learning Research, 21(35):1–69, 2020. URL http://jmlr.org/papers/v21/19-021.html.
Junwen Chen, Heyang Jiang, Yanbin Wang, Keming Wu, Ji Li, Chao Zhang, Keiji Yanai, Dong Chen, and Yuhui Yuan. Prismlayers: Open data for high-quality multi-layer transparent image generative models, 2025. URL https://arxiv.org/abs/2505.22523.
Alessandro Fontanella, Petru-Daniel Tudosiu, Yongxin Yang, Shifeng Zhang, and Sarah Parisot. Generating compositional scenes via text-to-image rgba instance generation. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (eds.), Advances in Neural Information Processing Systems, volume 37, pp. 43864–43893. Curran Associates, Inc., 2024. doi: 10.52202/079017-1392. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/4d90363e96781894b1327b87d1ade17e-Paper-Conference.pdf.
Jack Hessel, Ari Holtzman, Maxwell Forbes, Ronan Le Bras, and Yejin Choi. CLIPScore: A reference-free evaluation metric for image captioning. In Marie-Francine Moens, Xuanjing Huang, Lucia Specia, and Scott Wen-tau Yih (eds.), Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 7514–7528, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. doi:10.18653/v1/2021.emnlp-main.595. URL https://aclanthology.org/2021.emnlp-main.595/.
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper_files/paper/2017/file/8a1d694707eb0fefe65871369074926d-Paper.pdf.
Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.
Junjie Ke, Qifei Wang, Yilin Wang, Peyman Milanfar, and Feng Yang. Musiq: Multi-scale image quality transformer. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 5148–5157, October 2021.
Jizhizi Li, Jing Zhang, and Dacheng Tao. Deep automatic natural image matting. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence (IJCAI-21), pp. 800–806, 2021. URL https://www.ijcai.org/proceedings/2021/111.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019. URL https://openreview.net/forum?id=Bkg6RiCqY7.
Meituan LongCat Team, Hanghang Ma, Haoxian Tan, Jiale Huang, Junqiang Wu, Jun-Yan He, Lishuai Gao, Songlin Xiao, Xiaoming Wei, Xiaoqi Ma, Xunliang Cai, Yayong Guan, and Jie Hu. Longcat-image technical report, 2025. URL https://arxiv.org/abs/2512.07584.
Henrique K. Miyamoto, Fábio C. C. Meneghetti, Julianna Pinele, and Sueli I. R. Costa. On closed-form expressions for the fisher–rao distance. Information Geometry, 7(2):311–354, Nov 2024. ISSN 2511-249X. doi: 10.1007/s41884-024-00143-2. URL https://doi.org/10.1007/s41884-024-00143-2.
William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 4195–4205, October 2023.
Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. SDXL: Improving latent diffusion models for high-resolution image synthesis. In International Conference on Learning Representations (ICLR), 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/081b08068e4733ae3e7ad019fe8d172f-Abstract-Conference.html.
Qwen Team. Qwen-Image-2.1, 2026. URL https://github.com/QwenLM/Qwen-Image-2.1. Released September 20, 2026.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 8748–8763. PMLR, 2021. URL https://proceedings.mlr.press/v139/radford21a.html.
Christoph Rhemann, Carsten Rother, Jue Wang, Margrit Gelautz, Pushmeet Kohli, and Pamela Rott. A perceptually motivated online benchmark for image matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1826–1833, 2009. doi: 10.1109/CVPR.2009.5206503. URL https://alphamatting.com/.
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 10684–10695, June 2022.
Christoph Schuhmann, Romain Beaumont, Richard Vencu, Cade Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarush Katta, Clayton Mullis, Mitchell Wortsman, Patrick Schramowski, Srivatsa Kundurthy, Katherine Crowson, Ludwig Schmidt, Robert Kaczmarczyk, and Jenia Jitsev. Laion-5b: An open large-scale dataset for training next generation image-text models. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (eds.), Advances in Neural Information Processing Systems, volume 35, pp. 25278–25294. Curran Associates, Inc., 2022. doi: 10.52202/068431-1833. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/a1859debfb3b59d094f3504d5ebb6c25-Paper-Datasets_and_Benchmarks.pdf.
Gaurav Sharma, Wencheng Wu, and Edul N. Dalal. The CIEDE2000 color-difference formula: Implementation notes, supplementary test data, and mathematical observations. Color Research and Application, 30(1):21–30, 2005. doi: 10.1002/col.20070. URL https://hajim.rochester.edu/ece/sites/gsharma/ciede2000/ciede2000noteCRNA.pdf.
Haoran Wang, Bo Zhao, Jinghui Wang, Hanzhang Wang, Huan Yang, Wei Ji, Hao Liu, and Xinyan Xiao. Sega: A stepwise evolution paradigm for content-aware layout generation with design prior. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 19321–19330, October 2025a.
Zile Wang, Hao Yu, Jiabo Zhan, and Chun Yuan. Alphavae: Unified end-to-end rgba image reconstruction and generation with alpha-aware representation learning, 2025b. URL https://arxiv.org/abs/2507.09308.
Chenfei Wu, Jiahao Li, Jingren Zhou, Junyang Lin, Kaiyuan Gao, Kun Yan, Sheng ming Yin, Shuai Bai, Xiao Xu, Yilei Chen, Yuxiang Chen, Zecheng Tang, Zekai Zhang, Zhengyi Wang, An Yang, Bowen Yu, Chen Cheng, Dayiheng Liu, Deqing Li, Hang Zhang, Hao Meng, Hu Wei, Jingyuan Ni, Kai Chen, Kuan Cao, Liang Peng, Lin Qu, Minggang Wu, Peng Wang, Shuting Yu, Tingkun Wen, Wensen Feng, Xiaoxiao Xu, Yi Wang, Yichang Zhang, Yongqiang Zhu, Yujia Wu, Yuxuan Cai, and Zenan Liu. Qwen-image technical report, 2025. URL https://arxiv.org/abs/2508.02324.
Keming Wu, Zuhao Yang, Kaichen Zhang, Shizun Wang, Haowei Zhu, Sicong Leng, Zhongyu Yang, Qijie Wang, Sudong Wang, Ziting Wang, Zili Wang, Hui Zhang, Haonan Wang, Hang Zhou, Yifan Pu, Xingxuan Li, Fangneng Zhan, Bo Li, Lidong Bing, Yuxin Song, Ziwei Liu, Wenhu Chen, Jingdong Wang, Xinchao Wang, Xiaojuan Qi, Shijian Lu, and Bin Wang. Visual generation in the new era: An evolution from atomic mapping to agentic world modeling, 2026. URL https://arxiv.org/abs/2604.28185.
Kangyang Xie, Binbin Yang, Hao Chen, Meng Wang, Cheng Zou, Hui Xue, Ming Yang, and Chunhua Shen. Zippo: Zipping color and transparency distributions into a single diffusion model, 2024. URL https://arxiv.org/abs/2403.11077.
Jiazheng Xu, Xiao Liu, Yuchen Wu, Yuxuan Tong, Qinkai Li, Ming Ding, Jie Tang, and Yuxiao Dong. Imagereward: Learning and evaluating human preferences for text-to-image generation. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (eds.), Advances in Neural Information Processing Systems, volume 36, pp. 15903–15935. Curran Associates, Inc., 2023. doi: 10.52202/075280-0700. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/33646ef0ed554145eab65f6250fab0c9-Paper-Conference.pdf.
Ning Xu, Brian Price, Scott Cohen, and Thomas Huang. Deep image matting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017.
Shengming Yin, Zekai Zhang, Zecheng Tang, Kaiyuan Gao, Xiao Xu, Kun Yan, Jiahao Li, Yilei Chen, Yuxiang Chen, Heung-Yeung Shum, Lionel M. Ni, Junyang Lin, and Chenfei Wu. Qwen-image-layered: Towards inherent editability via layer decomposition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 16196–16205, June 2026.
Hao Yu, Jinglin Wang, Jiabo Zhan, Rui Chen, Zile Wang, Huaisong Zhang, Hongyu Li, Xinrui Chen, Yongxian Wei, and Chun Yuan. Omnialpha: Aligning transparency-aware generation via multi-task unified reinforcement learning, 2026. URL https://arxiv.org/abs/2511.20211.
Lvmin Zhang and Maneesh Agrawala. Transparent image layer diffusion using latent transparency. ACM Transactions on Graphics, 43(4):1–15, July 2024. ISSN 1557-7368. doi: 10.1145/3658150. URL http://dx.doi.org/10.1145/3658150.
Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018. URL https://arxiv.org/abs/1801.03924.
A THEORETICAL ANALYSIS
This appendix establishes the RGB preservation, gradient transmission, and opacity-supervision properties of the method in Section 3. We use , and . All square roots denote their nonnegative real values.
A.1 RGB PRESERVATION AND GRADIENT FLOW
Proof of Proposition 1. For a fixed latent z, the augmented and original RGB decoders start from the same feature . If their RGB states agree at stage , both apply the same frozen function in (5), without reading the alpha state or its parameters . Induction gives identical RGB outputs at every stage. The final RGB output is therefore for every , and its derivative with respect to is zero wherever the derivative exists.
The joint feature update has the block lower-triangular Jacobian
Products of these Jacobians retain the zero upper-right block. The lower-left blocks allow opacity supervision to reach the shared decoder input while preserving the RGB feature updates.
For the actual training path in (11), the one-step estimate is , followed by . Let be the diagonal clipping Jacobian and . Holding , , and conditioning fixed, the chain rule gives
Unclipped latent coordinates have unit derivative through K, while clipped coordinates have zero derivative away from the clipping boundaries. The frozen decoder retains its derivatives with respect to its input, so the gradient in (15) propagates through the predicted velocity to the transformer LoRA parameters. This is the gradient path retained by the full model and removed by the stop-gradient ablation.
The sampled latent can change as LoRA is trained; Proposition 1 preserves the original RGB decoding function at each fixed latent.
A.2 FISHER–RAO GEOMETRY OF OPACITY
For , the Bernoulli pair has log-likelihood score . Its second moment, using , gives
Integrating this line element and normalizing by the total arc length gives the coordinate used in (7):
For any differentiable interior path, its length is . A monotone path attains the minimum, so
Endpoint limits extend this distance continuously to , with . The inverse is a continuous bijection on .
For an interior target, . At zero, expanding gives
(19)
The identity gives the corresponding expansion near opacity one. Thus the squared coordinate distance has first-order cost for small deviations from either opacity endpoint and remains locally quadratic at interior targets, as used in the endpoint-sensitive supervision of Section 3.3.
A.3 EXACT ENDPOINTS AND CORRECTIVE GRADIENTS
For , the convex conjugate is
The unconstrained maximizer is ; restricting it to gives the map defined in Section 3.3. The conjugate values and first derivatives agree at both joins, and . Substitution into the Fenchel–Young gap
recovers exactly the three branches used in (8).
Proposition 2 (Endpoint-compatible coordinate supervision). For and finite s,
and
Proof. For , the gap is exactly . Outside this interval,
which is nonnegative. Differentiating the three branches gives , and ; these derivatives agree at the joins and equal . The lower bound makes necessary for zero gap, and substitution into the corresponding branch proves sufficiency.
A transparent target has zero gap at every , and an opaque target has zero gap at every . Every soft target has an exact fit at . At an incorrect transparent prediction the score derivative is , and at an incorrect opaque prediction it is . The loss therefore supports finite-score exact endpoints while retaining a corrective derivative under incorrect saturation.
The implementation evaluates the nonnegative branches in (8) directly and computes targets and reductions in FP32. The equivalent expression evaluates the target coordinate at both endpoints.
A.4 ROOT AGGREGATION AND ERROR BOUNDS
Proposition 3 (Root aggregation and corrective gradients). For the actual roots in (9), let . Then
Where both roots are positive,
Selecting the zero generalized gradient for an exactly zero root gives
Proof. The identity gives . A zero sum of the roots implies every gap is zero, since their per-pixel weights sum to one. Proposition 2 and the bijection then give ; the converse follows by substitution.
Write and . For , differentiation gives
Summing the two root derivatives proves (25). The weights are nonnegative, so multiplication by establishes (26).
At a zero root, all positively weighted gaps and residuals vanish. Its local expression is a norm of affine or one-sided endpoint residuals, or is identically zero. It is locally Lipschitz, and zero is an admissible generalized gradient at its minimum. The selected zero contribution preserves the corrective sign without evaluating 0/0.
Contribution of localized errors. For a binary target, suppose all nonzero gaps lie in a set within one endpoint group , so for . Let , , and . Then
For fixed , the root contribution therefore decreases as , while direct averaging of the gaps decreases as . This identity applies to both saturated and unsaturated scores and establishes the area dependence described in Section 3.3.
Opacity and compositing error. The inverse coordinate satisfies , giving . Consequently,
Let and assume in the common linear color space of (1). The exact decomposition
and channelwise imply
This bound separates foreground RGB error from the opacity contribution controlled by EA Loss and holds for every background in the stated range.
B EXPERIMENTAL PROTOCOL
This appendix specifies the implementation, training, evaluation, and ablation settings used in Section 4. All variants use the objective in (12), with the stated substitution for the alpha- ablation. Additional numerical results and visual comparisons are reported in Appendices C and D.
B.1 IMPLEMENTATION DETAILS
RGB targets and native backbone interfaces. The color-padding operation in Section 3.1 follows the multiscale convention of LayerDiffuse (Zhang & Agrawala, 2024). We form a pyramid of premultiplied color and alpha, initialize the coarsest color from an alpha-weighted mean, and propagate color from coarse to fine. Each scale adds its premultiplied color to the upsampled coarse color multiplied by remaining transparency. The procedure supplies a dense three-channel training target without relying on arbitrary stored RGB values in fully transparent regions. The frozen encoder uses its posterior mode for FLUX and Qwen, while LongCat follows its native training convention of posterior sampling. Each backbone retains its native convolution dimensionality, feature widths, latent scaling, and token packing. Conditioning tokens remain clean when required by its image-conditioning interface.
Spatial feature injections. At decoder stage with RGB feature injections, feature updates the aligned alpha state by
The learned projection reduces RGB channels to rank , and performs spatial mixing into the alpha width. The factor is the low-rank projection scaling; normalizes the accumulated input by injection count; and the learned stage gate controls its contribution. Channel transitions, residual blocks, and learned upsampling align the alpha state with each RGB stage.
Alpha-branch configuration. The five alpha stages use widths (256, 256, 192, 128, 96) from the bottleneck toward the RGB output, with two residual blocks per stage. All RGB-to-alpha projections use rank and scaling parameter . The learned stage gates are initialized to , and injection-count normalization is enabled. Bottleneck cross-attention uses eight heads, each with 32 channels. The final spatial score head has 128 hidden channels. Dropout is zero throughout the alpha branch.
Initialization. Alpha residual outputs and the bottleneck cross-attention output projection are zero initialized. Spatial injection output projections and the final score convolution use random initialization with standard deviation . This starts residual refinement from the identity while providing trainable feature and score paths.
B.2 TRAINING AND INFERENCE SETTINGS
Text-to-RGBA evaluation uses RGBA-Text, AIM-500 (Li et al., 2021), and AlphaTest from AlphaVAE (Wang et al., 2025b). For AIM-500, we use the text prompts released with AlphaVAE. Image-to-RGBA evaluation uses RGBA-Image. Prompt lists, source groups, aspect-ratio policy, conditioning protocol, and filtering rules are fixed within each backbone.
The text-to-RGBA comparison uses FLUX.1-dev, FLUX.2 Klein Base 9B, Qwen-Image-2512, and LongCat-Image; the image-to-RGBA comparison uses FLUX.2 Klein Base 9B and Qwen-Image-Edit-2511. Each backbone keeps its native conditioning interface, latent layout, encoding, scaling, token packing, and sampler.
Training data and preprocessing. Text-to-RGBA training uses 8,963 curated RGBA assets generated using an image generation model. Image-to-RGBA training uses 180K source-image-target-layer pairs from PrismLayersPro (Chen et al., 2025), with corrected English extraction instructions. Images are processed at a nominal resolution of 1024 using aspect-ratio buckets; the training examples in these runs occupy the bucket. Center cropping and random horizontal flipping are disabled. Image-conditioned source and target pairs receive aligned spatial preprocessing. The RGB target uses color padding, while the original target alpha supplies opacity supervision.
Optimization. All models are trained for 20,000 optimizer updates with a per-device batch size of one and one gradient-accumulation step. The main experiments use 16 GPUs, giving an effective global batch size of 16. We use AdamW (Loshchilov & Hutter, 2019) with learning rate for both the transformer LoRA and alpha branch, , weight decay 0.01, and . The learning rate follows cosine decay after 100 warmup updates, and the global gradient norm is clipped at 1.0. Training uses bfloat16 mixed precision and transformer activation checkpointing. The original transformer, RGB VAE, and text-encoder parameters remain frozen. The flow and alpha terms both have coefficient 1. Alpha supervision uses the time weight in (12), with reference noise level 0.5 and denominator stabilizer ; the one-step clean-latent estimate is clipped to before decoding.
Transformer LoRA modules. All transformer LoRA modules use rank 64, scaling parameter 128, Gaussian initialization, and zero dropout. Qwen and LongCat apply LoRA to the attention query, key, value, and output projections. FLUX.1 additionally applies LoRA to the context-stream attention projections and the input and output feed-forward projections in both image and context streams. FLUX.2 applies LoRA to the attention projections together with the fused query/key/value–MLP input projection and output projection of its single-stream blocks.
Conditioning and noise sampling. For text-to-RGBA, explicit and implicit caption variants are selected with equal probability; within either form, the short caption is selected with probability 0.2. Qwen, FLUX.2, and LongCat drop text conditioning with probability 0.1; image-conditioned training retains the reference image when its text is dropped. FLUX.1 uses its native guidance embedding with training guidance 1.0. Qwen and FLUX.2 uniformly sample valid entries of a 1,000-step flow schedule with shift 3, restricting scheduler timesteps to [1, 999]. FLUX.1 samples from its native shifted schedule over the same timestep range. LongCat samples with and then applies the backbone's resolution-dependent time shift. All backbones use the linear flow path and velocity target in (10). Controlled comparisons keep the sampler, guidance settings, inference seed, conditioning inputs, and sampling-step count fixed.
Inference settings. The text-to-RGBA comparisons use the corresponding 20,000-step ALPHAANYTHING checkpoints. FLUX.1 uses 28 sampling steps and guidance 3.5; FLUX.2, Qwen, and LongCat use 50 steps and guidance 4. The baselines use their recorded inference settings: 25 steps and guidance 7 for LayerDiffuse with SDXL (Podell et al., 2024), 28 steps and guidance 3.5 for AlphaVAE, 50 steps and guidance 4 for OmniAlpha, and 40 steps and guidance 1.0 for Qwen-Image-2.1. For Qwen-Image-2.1 only, we additionally wrap the shared content prompt in its official RGBA transparency template; using the content prompt alone produced largely opaque outputs ( ). The main comparisons use inference base seed 42; Appendix C.4 additionally evaluates the fixed checkpoints with base seeds 43 and 44.
B.3 CONSTRUCTION OF RGBA-TEXT AND RGBA-IMAGE
We construct RGBA-Text and RGBA-Image for evaluation only. Neither set is used to train the ALPHAANYTHING models.
RGBA-Text. RGBA-Text contains 294 English prompts covering nine categories, with the distribution in Table 7. We follow the training set's category taxonomy while composing new combinations of subjects, materials, colors, poses, and visual styles. The set spans lettering and graphic assets, natural subjects with detailed boundaries, visual effects, and transparent or translucent materials. Prompts are selected for content coverage, clarity, and distinctiveness, without imposing equal category sizes or fixed description lengths. They range from 10 to 95 words, with a median of 53 words; prompts involving visible lettering use English text.
We check both the main prompts and their short summaries against all nonempty training caption variants. The curation combines normalized exact-text matching, shared 12-word sequence checks, and manual review of TF-IDF nearest neighbors. Descriptions that too closely resemble training captions are revised. The final set contains no normalized exact duplicates within the test prompts or against the training text, and no shared contiguous 12-word sequences with training captions. RGBA-Text contains prompts without paired reference images, so we report reference-free scores on this set.
Table 7: Category distribution of RGBA-Text.
| Category | Content | Prompts |
|---|---|---|
| Advertising assets | Lettering, titles, labels, buttons, and promotional decorations | 33 |
| Animals | Animal subjects | 33 |
| Visual effects | Light, electricity, smoke, particles, and liquids | 32 |
| Graphics | Decorative shapes, print motifs, and craft textures | 27 |
| Objects | Utensils, tools, and crafted objects | 27 |
| People | People, actions, and interactions | 40 |
| Plants | Flowers, foliage, fruit, and seeds | 29 |
| Products | Product and device presentations | 32 |
| Translucent materials | Transparent or translucent materials, including combinations with opaque parts | 41 |
| Total | 294 |
RGBA-Image source images. RGBA-Image contains 735 image-conditioned examples from 295 source images. Each example includes a source image, a target RGBA layer, an English layer description, and an extraction instruction. The source images come from two pools: selected GenPoster100K posters and images synthesized using an image generation and editing model. Table 8 reports the final distribution by source and input-image category; multiple target layers can share one source image.
For the GenPoster100K pool (Wang et al., 2025a), we first filter the released metadata for adequate resolution, valid layouts, and usable text. Candidates must have a short side of at least 600 pixels, at least 0.7 megapixels, an aspect ratio between 0.45 and 2.20, and 2–24 annotated layout elements. We reject candidates with malformed layouts, CJK text, or template placeholders, and retain at most one candidate per original design file. Remaining candidates are ranked using layout metadata, CLIP-based scores (Radford et al., 2021), LAION aesthetic scores, MUSIQ (Ke et al., 2021), and image-quality statistics, followed by visual near-duplicate filtering and OCR screening. Full-resolution OCR removes remaining CJK text and placeholder copy, leaving 143 posters for layer extraction.
For the synthetic-image pool, we generate 200 source images with the image generation and editing model: 100 stylized design scenes and 100 photorealistic scenes. Scene prompts vary subject combinations, human presence, spatial layout, camera viewpoint, palette, lighting, and rendering style. The final retained inputs comprise 99 stylized scenes and 86 photorealistic scenes, contributing 261 and 217 target layers, respectively.
Layer construction, annotation, and manual review. We use the same image generation and editing model to construct RGBA reference layers for both source pools. Posters are decomposed into at most six layers. For the generated scenes, a vision-language model first identifies one to three visually unambiguous semantic targets per image, and the image model extracts these targets jointly as separate layers. Reference layers are placed on the source image's canvas, preserving its dimensions and the targets' spatial alignment. These are generated reference layers that undergo manual filtering.
We use the vision-language model to annotate or re-annotate English descriptions and extraction instructions, followed by manual review against the source images and target RGBA layers. Descriptions capture the target's visible appearance and spatial relationships; instructions identify the same target and its intended semantic grouping. Wording and length vary with target complexity. Review corrects ambiguous targets, mismatched descriptions, and incomplete grouping instructions, including text panels, frames, and attached objects when they belong to the accepted layer. Each candidate layer is inspected alongside its source image and alpha matte for alpha accuracy, alignment with the description and extraction instruction, and color fidelity. Layers with inaccurate opacity, prompt mismatches, or visible color deviations are rejected. The final evaluation set contains 257 poster layers from 110 posters and 478 generated-scene layers from 185 images, for a total of 735 layers from 295 source images. We use these manually screened reference layers for evaluation, although generative extraction does not guarantee exact pixelwise reconstruction of the source content.
Table 8: Sources and input categories of RGBA-Image.
| Source | Input category | Images | Examples |
|---|---|---|---|
| GenPoster100K | Graphic-design posters | 110 | 257 |
| Synthetic images | Stylized design scenes | 99 | 261 |
| Synthetic images | Photorealistic scenes | 86 | 217 |
| Total | 295 | 735 |
B.4 EVALUATION PROTOCOLS AND METRICS
B.4.1 TEXT-TO-RGBA EVALUATION
We compare against AlphaVAE (Wang et al., 2025b), LayerDiffuse (Zhang & Agrawala, 2024), OmniAlpha (Yu et al., 2026), and Qwen-Image-2.1. For AIM-500 (Li et al., 2021) and AlphaTest, we use the benchmark prompts provided by AlphaVAE. Evaluation uses FID (Heusel et al., 2017), CLIPScore (Hessel et al., 2021), Aesthetic Score (Schuhmann et al., 2022), and ImageReward (Xu et al., 2023). The main-text results are in Tables 1 and 2; the additional AIM500 comparison is in Appendix C.1.
The four appearance metrics are computed separately on lossless black-background and white-background composites, then averaged across the two backgrounds. CLIPScore uses CLIP ViT-B/32 (Radford et al., 2021) with the caption prefix “A photo depicts” and a weight of 2.5 on the nonnegative text–image cosine similarity. Aesthetic Score uses the LAION improved aesthetic predictor with CLIP ViT-L/14 and the released sac+logos+aval-114-linearMSE weights, and ImageReward uses the original prompt. Each benchmark is evaluated separately: sample-level scores are averaged uniformly, and FID is computed for each dataset and background before averaging the two values. Table 1 evaluates all 294 RGBA-Text prompts using CLIPScore, Aesthetic Score, and ImageReward. This set has no reference images for FID.
B.4.2 IMAGE-TO-RGBA EVALUATION
Table 3 evaluates RGBA-Image, whose 735 examples each pair a source image and target description with a target RGBA layer. The RGBA-Image comparison includes OmniAlpha, Qwen-Image-2.1, and the two ALPHAANYTHING backbones. Within each inference run, each method contributes one prediction per example, and all six metrics are averaged uniformly over the 735 examples.
For a fair comparison, ALPHAANYTHING uses exactly the same prompts as OmniAlpha. Each prompt consists of the prefix “Extract the object described by the text, preserving fine details and transparency:” followed by the target description. We use these prompts for Qwen-Image-2.1 as well. Figure 10 displays each target description, with the shared prefix stated in the caption.
For the six reference-based metrics, predictions are resized to the GT resolution with RGBA LANCZOS resampling, using the paired target RGBA layers in RGBA-Image. RGB L1 is the mean RGB-channel error at pixels with nonzero GT alpha. Soft IoU and SAD use normalized alpha values in [0, 1] over the whole image. Soft IoU is , with a value of zero for an empty union; SAD is .
Alpha Grad and Alpha Conn follow the matting benchmark of Rhemann et al. (2009), using implementations equivalent to MMEval 0.2.1. Alpha Grad measures squared differences between gradient magnitudes after independently min–max normalizing each alpha map. We use Gaussian-derivative gradients with and divide the summed squared error by 1,000. Alpha Conn measures connectivity disagreement using opacity thresholds in steps of 0.1, the largest four-connected component of each prediction–reference intersection, and a 0.15 opacity-difference cutoff in the connectivity
https://github.com/christophschuhmann/improved-aesthetic-predictor
https://github.com/open-mmlab/mmeval/tree/v0.2.1 map. The summed absolute difference between the connectivity maps is divided by 1,000. Both metrics use float64 arithmetic over the whole image at GT resolution.
LPIPS is computed separately on black and white composites using the stored RGB values, without intermediate image quantization, and then averaged across backgrounds. It uses the official AlexNet network with version 0.1 and bilinear antialiased resizing to a maximum image side of 512 pixels, without upscaling. Higher Soft IoU and lower RGB L1, SAD, LPIPS, Alpha Grad, and Alpha Conn indicate better agreement with the reference.
B.4.3 RGB RECONSTRUCTION EVALUATION
We compare the RGBA VAEs of OmniAlpha and AlphaVAE with their original Qwen-Image-Edit-2509 and FLUX.1-dev RGB VAEs, respectively. The evaluation uses all 295 distinct source images in RGBA-Image, counting each input once regardless of how many target layers it has. Inputs are resized with LANCZOS to a maximum side length of 1024 pixels while preserving aspect ratios, without upscaling. All models receive the same inputs, edge-padded to multiples of 64; the padding is removed before scoring. We use deterministic float32 encode-decode with the posterior mode and supply fully opaque alpha to the RGBA encoders. Decoded RGB values are clipped to and evaluated directly, discarding the reconstructed alpha without compositing.
We evaluate RGB reconstruction using LPIPS (Zhang et al., 2018) and CIEDE2000 color difference, (Sharma et al., 2005). LPIPS uses AlexNet v0.1 on floating-point reconstructions before PNG quantization, at the full evaluation resolution. Both metrics are computed over complete images and averaged equally across inputs. The enlarged regions in Figure 5 illustrate local details within these full-image reconstructions. Results are reported in Appendix C.2.
Computation of . We read the saved 8-bit reference and reconstruction PNGs, retain their RGB channels, and divide by 255 to obtain sRGB values in [0, 1]. The images retain the evaluation resolution above; no additional resizing, region selection, or alpha weighting is applied. We convert each pixel to CIELAB using skimage.color.rgb2lab with the D65 illuminant and the standard observer, then apply deltaE_ciede2000 in float64 with . The pixelwise color difference follows the standard CIEDE2000 definition of Sharma et al. (2005); smaller values indicate closer reconstructed colors.
For image , let be its unpadded pixel domain, and let and be the reference and reconstructed CIELAB colors at pixel . The reported dataset score is
Thus we first average pixelwise color differences within each image, then average the image scores with equal weight. Unlike LPIPS in this experiment, is computed from the saved 8-bit RGB images.
B.4.4 RGB AND RGBA GENERATION EXAMPLE
Figure 6 compares the original FLUX.1-dev RGB model, AlphaVAE, and ALPHAANYTHING with FLUX.1 using the following shared prompt:
A matte blue hexagonal nut has a cream fabric bandage crossing one cracked corner. A copper wrench curves around its lower edge, and two olive check marks float above the open center. Woven threads, brushed metal, and rounded painted forms create a friendly text-free repair-service emblem.
All three outputs use seed 69, 28 sampling steps, guidance scale 3.5, and resolution. The original RGB image retains its generated background; RGBA outputs are displayed on white. Each complete output canvas is shown without cropping.
B.5 ABLATION SETTINGS
Shared settings on RGBA-Image. Table 4 and Table 5 compare the full FLUX.2 Klein Base 9B and Qwen-Image-Edit-2511 models with their corresponding coupled-decoder and stop-gradient variants. Table 6 compares EA Loss and alpha on both backbones using their corresponding full-model controls. Each setting is evaluated on the same 735 target layers after 20K optimizer updates. Inference uses the same input images and target descriptions, base seed 42, 50 sampling steps, guidance 4, and aspect-ratio-preserving resizing to approximately pixels without cropping.
Unidirectional feature sharing. The coupled RGBA decoder adds zero-initialized alpha-to-RGB feedback at the bottleneck and upsampling stages while keeping the pretrained RGB parameters frozen. We report RGB L1 over pixels with nonzero target alpha to measure the effect on foreground color fidelity, together with Alpha Grad and Alpha Conn for opacity structure.
Alpha supervision of the DiT latent state. The stop-gradient setting detaches the predicted clean latent before alpha decoding; flow matching still trains the transformer LoRA, and the alpha head continues to train. Soft IoU and SAD measure how preventing alpha supervision from reaching the DiT affects generated opacity; black/white-averaged composite LPIPS measures the corresponding perceptual fidelity. Alpha Grad and Alpha Conn measure gradient and connectivity errors.
Standard alpha loss. The alpha- setting replaces the complete EA Loss with the mean absolute error on directly regressed physical opacity:
Here is the linear output of the alpha head, with its final bias initialized to 0.5. Training uses this output directly, without the Fisher-coordinate mapping, Fenchel–Young gap, endpoint-group weighting, root aggregation, sigmoid, or output clipping. Predicted alpha is clipped to only when exporting images. The head's convolutional structure, flow-matching objective, time weight , alpha-loss coefficient, and alpha-to-DiT gradient path are retained. We report Soft IoU and SAD for opacity accuracy, Alpha Grad and Alpha Conn for gradient and connectivity errors, and black/white-averaged composite LPIPS for perceptual fidelity under the two objectives.
B.6 EFFICIENCY ACCOUNTING
Table 9 reports the trainable DiT LoRA and alpha-branch parameters for each backbone.
Table 9: Trainable parameters of ALPHAANYTHING, in millions. Counts include only the DiT LoRA modules and alpha branch.
| Backbone | Task | DiT LoRA | Alpha branch |
|---|---|---|---|
| FLUX.1-dev | T2RGBA | 179.306 | 12.436 |
| FLUX.2 Klein Base 9B | T2RGBA, I2RGBA | 111.149 | 12.436 |
| Qwen-Image-2512 | T2RGBA | 94.372 | 12.253 |
| LongCat-Image | T2RGBA | 39.322 | 12.436 |
| Qwen-Image-Edit-2511 | I2RGBA | 94.372 | 12.253 |
The trainable parameter count is
where the two terms count the transformer LoRA and alpha-branch parameters. Inference adds only the alpha branch and its RGB-to-alpha feature injections to the backbone's denoising trajectory and decoder traversal, as specified in Appendix B.1.
C ADDITIONAL QUANTITATIVE RESULTS
The metric definitions and evaluation settings for these additional results are given in Appendix B.
C.1 TEXT-TO-RGBA RESULTS ON AIM500
Table 10 evaluates the eight text-to-RGBA methods on the 500 AIM500 prompts released with AlphaVAE (Wang et al., 2025b). All four ALPHAANYTHING backbones obtain higher Aesthetic Score and ImageReward than the compared baselines. FLUX.1 achieves the highest Aesthetic Score, and FLUX.2 achieves the highest ImageReward. FID and CLIPScore are reported under the same black/white-composite protocol as the AlphaTest comparison.
Table 10: Text-to-RGBA generation on AIM500.
| Method / backbone | FID ↓ | CLIPScore ↑ | Aesthetic ↑ | ImageReward ↑ | |
|---|---|---|---|---|---|
| LayerDiffuse | 76.8254 | 5.5621 | 1.0830 | ||
| AlphaVAE | 74.7061 | 0.8334 | 5.5631 | 0.9565 | |
| OmniAlpha | 0.8426 | 5.3879 | 1.0430 | ||
| Qwen-Image-2.1 | 0.8409 | 5.4272 | 1.0541 | ||
| ALPHAANYTHING | FLUX.1 | 80.3795 | 0.8189 | 1.2475 | |
| FLUX.2 | 75.9445 | 5.6102 | |||
| Qwen Image | 77.8268 | 0.8337 | 5.6646 | 1.2680 | |
| LongCat | 77.4516 | 0.8428 |
C.2 RGB RECONSTRUCTION FIDELITY
Table 11 reports reconstruction errors on the distinct source images in RGBA-Image, under the protocol in Appendix B.4.3. Both RGBA VAEs have higher LPIPS and CIEDE2000 errors than their corresponding original RGB VAEs. For the Qwen-Image-Edit backbone, LPIPS increases from 0.03807 to 0.05197 and from 1.917 to 2.078; for FLUX.1-dev, the corresponding values increase from 0.01216 to 0.04762 and from 2.109 to 3.240. These measurements complement the reconstruction examples in Figure 5.
Table 11: RGB reconstruction fidelity on RGBA-Image.
| RGB backbone | VAE | LPIPS ↓ | |
|---|---|---|---|
| Qwen-Image-Edit | Original RGB | ||
| OmniAlpha RGBA | |||
| FLUX.1-dev | Original RGB | ||
| AlphaVAE RGBA |
C.3 ROBUSTNESS TO PROMPT TEMPLATES
We evaluate how instruction wording affects image-to-RGBA extraction with the FLUX.2 Klein Base 9B and Qwen-Image-Edit-2511 variants of ALPHAANYTHING on all 735 target layers in RGBA-Image. Each target description is kept verbatim, while the surrounding instruction follows one of the four templates in Table 12: the standard OmniAlpha extraction template, a minimal request, a background-removal instruction, or explicit RGBA output requirements. Within each backbone, we fix the 20,000-step checkpoint, source images, resizing policy, 50 sampling steps, and guidance scale 4. Each target retains its seed from the corresponding backbone's standard run with base seed 42; standard predictions are reused from the main comparison.
Table 12 reports the mean metrics for each template. For FLUX.2, Soft IoU ranges from 0.8276 to 0.8296 and LPIPS from 0.0206 to 0.0214; for Qwen Image Edit, the corresponding ranges are 0.9223–0.9299 and 0.0126–0.0138. All three alternative templates improve Qwen Image Edit's RGB L1 and Soft IoU over the standard template, with the background-removal instruction achieving the best RGB L1, Soft IoU, SAD, and LPIPS among the four templates. SAD shows greater variation, spanning 46.3572–52.8804 for FLUX.2 and 27.8815–33.1917 for Qwen Image Edit. These results support robustness of overlap and perceptual fidelity to the tested instruction changes on both backbones, with greater sensitivity in absolute alpha error.
The table uses the same six metrics as the main image-to-RGBA evaluation: RGB L1, Soft IoU, SAD, LPIPS, Alpha Grad, and Alpha Conn, defined in Appendix B.4.2. Alpha Grad and Alpha Conn for the standard template are taken from the corresponding main-comparison runs.
Table 12: Prompt-template robustness of ALPHAANYTHING with FLUX.2 Klein Base 9B and Qwen-Image-Edit-2511 on RGBA-Image. Each reported metric is averaged over 735 target layers. The placeholder {description} contains the same target description in every template.
| Template | Complete instruction |
|---|---|
| Standard (OmniAlpha) | Extract the object described by the text, preserving fine details and transparency: {description} |
| Minimal | Extract the object described below: {description} |
| Remove background | Remove the background and all other objects, keeping only the target described below: {description} |
| RGBA output | Target layer: {description}Output requirements: RGBA format; transparent background; original position and scale. |
| Template | RGB L1 ↓ | Soft IoU ↑ | SAD ↓ | LPIPS ↓ | Alpha Grad ↓ | Alpha Conn ↓ |
|---|---|---|---|---|---|---|
| FLUX.2 Klein Base 9B | ||||||
| Standard | 0.1155 | 0.8296 | 46.3572 | 0.0207 | 69.5947 | 46.0840 |
| Minimal | 0.1154 | 0.8276 | 52.8804 | 0.0214 | 69.6647 | 52.6148 |
| Remove background | 0.1163 | 0.8289 | 48.5944 | 0.0206 | 69.9193 | 48.3572 |
| RGBA output | 0.1160 | 0.8285 | 52.3816 | 0.0213 | 69.8098 | 52.1291 |
| Qwen Image Edit | ||||||
| Standard | 0.0746 | 0.9223 | 30.3820 | 0.0136 | 27.5221 | 30.0584 |
| Minimal | 0.0710 | 0.9262 | 33.1917 | 0.0138 | 27.0243 | 32.8460 |
| Remove background | 0.0691 | 0.9299 | 27.8815 | 0.0126 | 26.0230 | 27.5284 |
| RGBA output | 0.0731 | 0.9250 | 31.6661 | 0.0134 | 26.8173 | 31.3408 |
C.4 ROBUSTNESS ACROSS INFERENCE SEEDS
We evaluate inference base seeds 42, 43, and 44 using the trained checkpoints and evaluation settings of the main comparisons. Table 13 reports the mean and sample standard deviation across the three runs on RGBA-Text, AlphaTest, and RGBA-Image. Seed 42 is the main-table run. FID is computed separately within each run and background before averaging over backgrounds and summarizing across seeds.
All four ALPHAANYTHING text-to-RGBA backbones outperform the compared baselines in ImageReward for every evaluated seed on both text benchmarks. LongCat obtains ImageReward scores of on RGBA-Text and on AlphaTest. On RGBA-Image, Qwen Image Edit ranks first on all six metrics in each run, with mean Soft IoU and LPIPS . The per-seed comparisons therefore retain these main observations across the three inference runs.
Table 13: Inference-seed robustness. Entries give the mean and sample standard deviation.
| RGBA-Text | ||||
|---|---|---|---|---|
| Method / backbone | CLIPScore | Aesthetic | ImageReward | |
| LayerDiffuse | ||||
| AlphaVAE | ||||
| OmniAlpha | ||||
| Qwen-Image-2.1 | ||||
| ALPHAANYTHING | FLUX.1 | |||
| FLUX.2 | ||||
| Qwen Image | ||||
| LongCat | ||||
AlphaTest
| Method / backbone | FID | CLIPScore | Aesthetic | ImageReward | |
|---|---|---|---|---|---|
| LayerDiffuse | |||||
| AlphaVAE | |||||
| OmniAlpha | |||||
| Qwen-Image-2.1 | |||||
| ALPHAANYTHING | FLUX.1 | ||||
| FLUX.2 | |||||
| Qwen Image | |||||
| LongCat | |||||
RGBA-Image
| Method / backbone | RGB L1 | Soft IoU | SAD | |
|---|---|---|---|---|
| OmniAlpha | ||||
| Qwen-Image-2.1 | ||||
| ALPHAANYTHING | FLUX.2 | |||
| Qwen Image Edit | ||||
| Method / backbone | LPIPS | Alpha Grad | Alpha Conn | |
| OmniAlpha | ||||
| Qwen-Image-2.1 | ||||
| ALPHAANYTHING | FLUX.2 | |||
| Qwen Image Edit | ||||
C.5 BOOTSTRAP CONFIDENCE INTERVALS
We estimate input-sampling uncertainty with 10,000 paired bootstrap resamples and 95% bias-corrected and accelerated (BCa) intervals computed with SciPy. Scores are first averaged over the three inference runs and, where applicable, the black/white backgrounds. We resample prompts for RGBA-Text and AlphaTest, and source-image clusters for RGBA-Image, retaining all associated layers and the layer-weighted mean. Every method uses the same resamples and bootstrap seed 42. Table 14 reports the resulting intervals.
Paired differences compare each ALPHAANYTHING variant with the baseline having the best observed mean for that metric. LongCat's ImageReward gains over OmniAlpha are 0.2771 with interval [0.2282, 0.3296] on RGBA-Text and 0.3060 with interval [0.2715, 0.3435] on AlphaTest. All six Qwen Image Edit differences on RGBA-Image favor ALPHAANYTHING; its Soft IoU gain over OmniAlpha is 0.2350 with interval [0.2115, 0.2605]. These pointwise 95% intervals quantify input-sampling uncertainty for the mean across the saved runs.
Table 14: Bootstrap results. Entries give the mean and 95% BCa interval.
| RGBA-Text | ||||
|---|---|---|---|---|
| Method / backbone | CLIPScore ↑ | Aesthetic ↑ | ImageReward ↑ | |
| LayerDiffuse | 0.8505 [0.8427, 0.8585] | 5.4525 [5.4035, 5.4958] | 0.5684 [0.4780, 0.6580] | |
| AlphaVAE | 0.8314 [0.8226, 0.8399] | 5.2758 [5.2279, 5.3239] | 0.5305 [0.4351, 0.6247] | |
| OmniAlpha | 0.8515 [0.8428, 0.8599] | 5.2981 [5.2519, 5.3415] | 0.7268 [0.6385, 0.8117] | |
| Qwen-Image-2.1 | 0.8492 [0.8409, 0.8578] | 5.3023 [5.2570, 5.3482] | 0.6287 [0.5379, 0.7144] | |
| ALPHAANYTHING | FLUX.1 | 0.8354 [0.8270, 0.8436] | 5.5108 [5.4614, 5.5584] | 0.7667 [0.6735, 0.8559] |
| FLUX.2 | 0.8667 [0.8582, 0.8755] | 5.5136 [5.4640, 5.5614] | 0.9741 [0.8911, 1.0532] | |
| Qwen Image | 0.8681 [0.8603, 0.8763] | 5.5287 [5.4800, 5.5751] | 0.9738 [0.8920, 1.0515] | |
| LongCat | 0.8658 [0.8574, 0.8745] | 5.5284 [5.4784, 5.5768] | 1.0040 [0.9244, 1.0803] | |
| AlphaTest | ||||
|---|---|---|---|---|
| Method / backbone | CLIPScore ↑ | Aesthetic ↑ | ImageReward ↑ | |
| LayerDiffuse | 0.8494 [0.8436, 0.8554] | 5.5161 [5.4870, 5.5436] | 1.1457 [1.0848, 1.2025] | |
| AlphaVAE | 0.8227 [0.8168, 0.8290] | 5.5810 [5.5473, 5.6127] | 1.1074 [1.0348, 1.1781] | |
| OmniAlpha | 0.8364 [0.8304, 0.8426] | 5.3523 [5.3219, 5.3818] | 1.2086 [1.1426, 1.2676] | |
| Qwen-Image-2.1 | 0.8313 [0.8251, 0.8375] | 5.4760 [5.4434, 5.5089] | 1.1776 [1.1140, 1.2379] | |
| ALPHAANYTHING | FLUX.1 | 0.8097 [0.8032, 0.8165] | 5.7074 [5.6745, 5.7396] | 1.2975 [1.2368, 1.3543] |
| FLUX.2 | 0.8439 [0.8374, 0.8506] | 5.6347 [5.6016, 5.6672] | 1.4422 [1.3865, 1.4915] | |
| Qwen Image | 0.8340 [0.8276, 0.8404] | 5.6853 [5.6529, 5.7176] | 1.3707 [1.3137, 1.4208] | |
| LongCat | 0.8425 [0.8363, 0.8491] | 5.7198 [5.6893, 5.7497] | 1.5146 [1.4670, 1.5559] | |
Table 14: Bootstrap results (continued). Entries give the mean and 95% BCa interval for RGBA-Image.
| RGBA-Image | |||
|---|---|---|---|
| Method / backbone | RGB L1 ↓ | Soft IoU ↑ | SAD ↓ |
| OmniAlpha | 0.1032[0.0942, 0.1159] | 0.6886[0.6608, 0.7145] | 175.7390[145.8230, 220.1509] |
| Qwen-Image-2.1 | 0.0909[0.0855, 0.0974] | 0.6853[0.6638, 0.7056] | 185.0934[153.2073, 224.3758] |
| ALPHAANYTHING | FLUX.2[0.1070, 0.1260] | 0.8270[0.8050, 0.8457] | 52.6253[41.4052, 79.6911] |
| Qwen Image Edit[0.0698, 0.0796] | 0.9236[0.9109, 0.9325] | 29.3979[19.0433, 60.7663] | |
| Method / backbone | LPIPS ↓ | Alpha Grad ↓ | Alpha Conn ↓ |
| OmniAlpha | 0.0902[0.0801, 0.1025] | 70.8178[62.3785, 82.2091] | 174.2699[144.4615, 218.6509] |
| Qwen-Image-2.1 | 0.0855[0.0741, 0.0985] | 81.3381[70.3746, 95.0267] | 169.7300[138.1622, 208.3698] |
| ALPHAANYTHING | FLUX.2[0.0189, 0.0265] | 70.0745[60.2413, 81.8434] | 52.3602[41.1351, 79.3873] |
| Qwen Image Edit[0.0109, 0.0183] | 27.5225[24.0329, 33.1854] | 29.0806[18.7263, 60.4309] | |
C.6 HUMAN EVALUATION
We conducted a blinded pairwise human evaluation of I2RGBA outputs on RGBA-Image with three experienced annotators. Each annotator evaluated randomly assigned comparisons, viewing the input image, extraction instruction, and two anonymized predictions with randomized left–right positions. Annotators selected the preferred output or a tie based on instruction consistency, visual quality, and the naturalness of transparency and object boundaries. Each ALPHAANYTHING backbone was compared against Qwen-Image-2.1 and OmniAlpha, without comparisons between our backbone variants.
For each backbone–baseline pair, let , , and denote wins, ties, and losses for ALPHAANYTHING, respectively. We report two complementary metrics: the win rate excluding ties,
and the tie-adjusted win rate,
The results are reported in Table 15.
Table 15: Pairwise human evaluation of ALPHAANYTHING on RGBA-Image for I2RGBA. Both win rates are reported as percentages.
| ALPHAANYTHING backbone | Baseline | Win rate (%) | |
|---|---|---|---|
| Excluding ties | Tie-adjusted | ||
| FLUX.2 Klein Base 9B | Qwen-Image-2.1 | 90.48 | 72.37 |
| FLUX.2 Klein Base 9B | OmniAlpha | 77.78 | 63.51 |
| Qwen-Image-Edit-2511 | Qwen-Image-2.1 | 96.00 | 79.49 |
| Qwen-Image-Edit-2511 | OmniAlpha | 100.00 | 80.56 |
C.7 INFERENCE OVERHEAD
Since the DiT LoRA weights can be merged into the pretrained weights at inference, the additional computation of ALPHAANYTHING comes only from the alpha branch, including its RGB-to-alpha feature injections. We profile four backbones using a single NVIDIA GPU per run, with the same GPU model across all measurements. All runs use resolution, batch size 1, BF16 precision, and 50 sampling steps. The RGB control uses the same decoder traversal and input latents as ours, with unnecessary block-input retention and Qwen's temporal feature cache removed. Table 16 reports VAE decoding time, peak allocated GPU memory, and end-to-end generation time.
VAE timings are medians of 30 measurements after 10 warmup iterations; generation timings are medians of three measurements after a three-step warmup. End-to-end generation time includes text encoding, sampling, and decoding, excluding model loading and image saving. We compute the end-to-end overhead by dividing the additional VAE decoding time by the matched control's end-to-end generation time.
Table 16: Inference overhead of ALPHAANYTHING across 4 backbones. Peak memory is measured for the VAE in isolation. End-to-end generation time is measured for the matched control, and end-to-end overhead is computed from unrounded timings.
| Backbone | VAE decode time (s) | Peak memory (GiB) | End-to-end generation (s) | End-to-end overhead (%) | ||
|---|---|---|---|---|---|---|
| RGB VAE | Ours VAE | RGB VAE | Ours VAE | |||
| FLUX.1-dev | 0.149 | 0.247 | 2.297 | 2.389 | 22.103 | 0.445 |
| FLUX.2 Klein Base 9B | 0.148 | 0.249 | 2.299 | 2.386 | 41.212 | 0.244 |
| Qwen-Image-2512 | 0.138 | 0.239 | 2.118 | 2.331 | 44.206 | 0.228 |
| LongCat-Image | 0.148 | 0.247 | 2.297 | 2.389 | 23.154 | 0.427 |
Across all four evaluated backbones, ALPHAANYTHING adds less than 0.5% runtime overhead to end-to-end generation.
D ADDITIONAL QUALITATIVE RESULTS
This appendix extends the main-text showcases with additional matched comparisons from RGBA-Text and RGBA-Image, qualitative component ablations, and an exploratory study of RGBA input for editing. The generation, extraction, and ablation comparisons follow the evaluation settings in Appendix B.
D.1 TEXT-TO-RGBA GENERATION
Figures 8 and 9 compare all eight text-to-RGBA methods on eleven additional RGBA-Text prompts. Each case displays the shared content prompt above two rows: four baselines followed by all four ALPHAANYTHING settings. Method-specific prompt wrappers follow Appendix B.2. All RGBA outputs retain their complete canvases and are displayed on the same checkerboard.
An open knot of white soap lather with thin iridescent bubble films.
LayerDiffuse
AlphaVAE

OmniAlpha
Qwen-Image-2.1
Ours (FLUX.1)
Ours (FLUX.2)
Ours (Qwen-2512)
Ours (LongCat)

Ours (LongCat)
Charcoal paper ash spirals around a narrow pale smoke core. Larger flakes retain bent rectangular shapes with ragged burned edges and tiny orange pinholes. Fine black dust hangs between them, while translucent gray wisps drift through the open spiral and soften toward its upper end.
LayerDiffuse
AlphaVAE

Ours (FLUX.1)
OmniAlpha
Qwen-Image-2.1
Ours (FLUX.2)
Ours (Qwen-2512)
Ours (LongCat)

Figure 8: Additional qualitative text-to-RGBA comparisons on 6 RGBA-Text prompts (set 1 of 2). Each case shows four baselines in the upper row and all four ALPHAANYTHING settings in the lower row. Complete RGBA canvases are retained.
An echinacea stem supports a raised orange-brown spiny cone surrounded by long drooping rose-pink petals. A small unopened flower head branches below, beside two rough narrow leaves. Fine bristles along the green stem, irregular petal tips, and tightly packed central points give the sprig a convincing natural-history macro appearance.
LayerDiffuse

AlphaVAE
Ours (FLUX.1)
OmniAlpha
Ours (FLUX.2)
Qwen-Image-2.1
Ours (Qwen-2512)
Ours (LongCat)

A compact cream projector with a copper lens ring, perforated side vents, and a folded leather carrying strap, realistically rendered.
LayerDiffuse
AlphaVAE

Ours (FLUX.1)
OmniAlpha
Qwen-Image-2.1
Ours (FLUX.2)
Ours (Qwen-2512)
Ours (LongCat)

Figure 8: Additional text-to-RGBA comparisons, set 1 of 2 (continued, cases 3–4 of 6).
A matte blue hexagonal nut has a cream fabric bandage crossing one cracked corner. A copper wrench curves around its lower edge, and two olive check marks float above the open center. Woven threads, brushed metal, and rounded painted forms create a friendly text-free repair-service emblem.
LayerDiffuse
AlphaVAE

Ours (FLUX.1)
OmniAlpha
Ours (FLUX.2)
Ours (Qwen-2512)
Qwen-Image-2.1
Ours (LongCat)

“PAUSE AND PLAY” in loose black brush lettering, with a small coral pause symbol between the words and dry bristle gaps in the broad strokes.
LayerDiffuse
AlphaVAE

Ours (FLUX.1)
OmniAlpha
Qwen-Image-2.1
PAUSE
AND
PLAY
PAUSE
AND
PLAY
Ours (FLUX.2)
PAUSE
AND
PLAY
Ours (Qwen-2512)
PAUSE
AND
PLAY
PAUSE
AND
PLAY
Ours (LongCat)
PAUSE
AND
PLAY
Figure 8: Additional text-to-RGBA comparisons, set 1 of 2 (continued, cases 5–6 of 6).
A geologist in a mustard field jacket holds two halves of a small geode, revealing pale purple crystals within rough gray stone. A folded fabric sample pouch hangs from the belt, and dark curls escape beneath a wool cap. Fine mineral points, dusty knuckles, and weathered jacket seams give the standing figure a detailed documentary appearance.
LayerDiffuse

AlphaVAE
Ours (FLUX.1)
OmniAlpha
Ours (FLUX.2)
Qwen-Image-2.1
Ours (Qwen-2512)
Ours (LongCat)

A child with short coily hair holds a large red-and-cream paper pinwheel against a green sweatshirt. One folded blade partly overlaps the cheek, and a thin wooden stick extends between small fingers. Bright, loosely painted gouache with broken brush edges and a few fine curls outside the main hair shape.
LayerDiffuse

AlphaVAE
Ours (FLUX.1)
OmniAlpha
Ours (FLUX.2)
Qwen-Image-2.1
Ours (Qwen-2512)
Ours (LongCat)

Figure 9: Additional qualitative text-to-RGBA comparisons on 5 RGBA-Text prompts (set 2 of 2). Each case shows four baselines in the upper row and all four ALPHAANYTHING settings in the lower row. Complete RGBA canvases are retained.
A clear curved face shield hangs below an opaque blue headband. A thin black foam pad lines the inside of the band, and two small white rivets hold the transparent panel at the sides. Tiny mist droplets cling unevenly to the shield, with clear areas between them and a brighter curved reflection near the lower edge.
LayerDiffuse
AlphaVAE

Ours (FLUX.1)
OmniAlpha
Ours (FLUX.2)
Qwen-Image-2.1
Ours (Qwen-2512)
Ours (LongCat)

Ours (LongCat)
A burst of popcorn kernels with irregular ivory lobes, broken golden hulls, and a few unpopped reddish kernels, frozen in a loose upward fan.
LayerDiffuse
AlphaVAE

Ours (FLUX.1)
OmniAlpha
Ours (FLUX.2)
Qwen-Image-2.1
Ours (Qwen-2512)
Ours (LongCat)

Figure 9: Additional text-to-RGBA comparisons, set 2 of 2 (continued, cases 3–4 of 5).
A stream of roasted coffee granules sweeps through a broad hook shape, with coarse dark fragments concentrated along the outer curve and fine cinnamon-brown powder drifting inward. Individual porous crumbs cast tiny local shadows, while isolated grains taper toward the ends. The suspended arrangement has the crisp tactile detail of high-speed ingredient photography.
LayerDiffuse

AlphaVAE
Ours (FLUX.1)
OmniAlpha
Ours (FLUX.2)
Qwen-Image-2.1
Ours (Qwen-2512)

Ours (LongCat)
Figure 9: Additional text-to-RGBA comparisons, set 2 of 2 (continued, case 5 of 5).
D.2 IMAGE-TO-RGBA EXTRACTION
Figures 10 and 11 compare the four image-to-RGBA methods on fourteen additional RGBA-Image examples. Each target description appears above the complete input, target RGBA layer, and prediction canvases; the shared extraction prefix is stated in the figure caption. Where informative, one additional row examines either RGBA details or alpha boundaries using the same crop coordinates for every method. These visual comparisons complement the full-dataset scores in Table 3.
A white bell with fine horizontal bands and a blue top loop sits at the lower right.
Input RGB
GT
Qwen-Image-2.1
OmniAlpha
Ours (FLUX.2)
Ours (Qwen Image Edit)

Alpha detail
A dark anchor with a circular eye, a crossbar and two curved pointed flukes in the lower right.

Alpha detail
A smaller red beetle with a dark thorax and thin antennae in the lower-left foreground.

Alpha detail
A dark box-bodied walking robot with jointed legs, blue joints, and orange accents carries a long mechanical arm pointing right.

Alpha detail
Figure 10: Additional qualitative image-to-RGBA comparisons on seven RGBA-Image examples (set 1 of 2). Inputs, target layers, and all four methods retain their complete canvases. Informative alpha or RGBA details appear below the corresponding full views. Each displayed target description follows the shared prefix “Extract the object described by the text, preserving fine details and transparency:”.
Tall blue uppercase lettering reads “THE KITCHEN,” with thin offset outline accents. A smaller white brush-script line underneath reads “Burgers & More.”
Input RGB
GT
Qwen-Image-2.1
OmniAlpha
Ours (FLUX.2)
Ours (Qwen Image Edit)

RGBA detail
THE KITCHEN
THE KITCHEN
THE KITCHEN
THE KITCHEN
THE KITCHEN
THE KITCHEN
THE KITCHEN
Two centered lines of warm ochre-brown bold serif text read “25th Avenue” and “- Newcastle -” with generous letter spacing.

RGBA detail
25th Avenue
- Newcastle -
25th Avenue
Newcastle
25th Avenue
- Newcastle -
25th Avenue
- Newcastle -
25th Avenue
- Newcastle -
Thin, tall green lettering reads “FRESH & ORGANIC” beneath a symmetrical green ornament. The ornament combines three solid teardrop forms, two slender outlined drops, and long curling flourishes extending to both sides.

RGBA detail
FRESH & ORGANIC
FRESH & ORGANIC
Healthy Food
Healthy Food
FRESH & ORGANIC
FRESH & ORGANIC
FRESH & ORGANIC
FRESH & ORGANIC
FRESH & ORGANIC
Figure 10: Additional image-to-RGBA comparisons, set 1 of 2 (continued, cases 5–7 of 7).
A circular badge has a broad outer ring and an inner disc shaded with blue, turquoise, green, and muted purple gradients. White “Club” lettering sits above a much larger bold “X9” at the center.
Input RGB
GT
Qwen-Image-2.1
OmniAlpha
Ours (FLUX.2)
Ours (Qwen Image Edit)

An open cream-colored laptop is drawn in simple black outlines, with a lightly textured lid leaning back above a thin horizontal base.

A dark wooden cabinet on the right has decorative trim and open compartments filled with colorful stones.

Figure 11: Additional qualitative image-to-RGBA comparisons on seven RGBA-Image examples (set 2 of 2). Inputs, target layers, and all four methods retain their complete canvases. Informative alpha or RGBA details appear below the corresponding full views. Target descriptions use the shared extraction prefix in Figure 10.
A halved blood orange is seen at an angle with its cut face upward. Its glossy orange-red segments radiate from a pale center, enclosed by a thin cream pith ring and dark reddish-orange rind.
Input RGB
GT
Qwen-Image-2.1
OmniAlpha
Ours (FLUX.2)
Ours (Qwen Image Edit)

Kombucha
Fermented, Probiotic
& Non-alcoholic
RERESH YOUR LIFE
RGBA detail
Large dark blue script spells ‘Summer Drink’ on two lines. Beneath it, bold white capitals read ‘PURE NATURAL REFRESHMENT’ across two shorter lines.

Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Summer Drink
Large rounded uppercase lettering reads “NEW” and “CLASS” in dark charcoal, with “3D ART” in blue between them. Below the three-line title is a smaller dark date reading “28TH June 2021,” with “TH” raised beside the number.

NEW
3D ART
CLASS
28" June 2021
WORKSHOP STARTS
AT 5 PM EVERYDAY
FREE FOR STUDENTS
NEW
3D ART
CLASS
28" June 2021
NEW
3D ART
CLASS
28" June 2021
NEW
3D ART
CLASS
28" June 2021
NEW
3D ART
CLASS
28" June 2021
A pale wooden rolling pin runs diagonally from lower left to upper right. Its broad cylindrical barrel narrows into rounded handles at both ends, with fine tan wood grain visible across the surface.

the bakery
FRESH BREAD
HIGH AVERAGE
RESEARCH
Figure 11: Additional image-to-RGBA comparisons, set 2 of 2 (continued, cases 4–7 of 7).
D.3 UNIDIRECTIONAL FEATURE SHARING
Figure 12 compares ALPHAANYTHING with the coupled-decoder variant on RGBA-Image. Alpha-to-RGB feedback introduces visible foreground color shifts in these examples. The comparisons use the matched checkpoints and inference settings in Appendix B.5.
A seated dark-skinned man in a chunky black turtleneck sweater and light beige trousers turns his face right with his eyes closed. He wears cream-colored over-ear headphones, holding them with both hands, with one bent knee visible at the lower right.
Input RGB

GT
Ours (FLUX.2)
Coupled VAE
A burgundy suitcase with rounded corners, a top handle and small metal fittings stands upright.
Input RGB
GT

Ours (Qwen)
Coupled VAE
A broad round woven bamboo tray filled with green tea leaves dominates the foreground.

A photograph shows the back of a person's head and shoulders, with short textured hair, pale-framed sunglasses worn across the back of the head, and a dark knitted turtleneck. Purple and cool blue tones wash over the portrait.

Figure 12: Qualitative coupled-decoder ablation on FLUX.2 and Qwen-Image-Edit. ALPHAANYTHING preserves foreground colors more faithfully than the coupled decoder. Target descriptions use the shared extraction prefix in Figure 10.
D.4 PROPAGATING ALPHA SUPERVISION TO THE DiT
Figure 13 compares ALPHAANYTHING with Stop-grad on Qwen-Image-Edit. The Stop-grad variant produces opacity artifacts around the price badge and wine bottle, omits the second line of lettering, and fills gaps between wheel spokes. The full model retains more accurate opacity structure in these cases.
A black circular price badge with a wavy scalloped edge carries cream lettering reading “$5” above “LT ONLY.”
Input RGB
GT
RGBA
Alpha
Ours (Qwen)
RGBA
Alpha
Stop-grad
RGBA
Alpha

A glossy nearly black wine bottle has rounded shoulders and a long neck wrapped in metallic gray foil. A broad label shows swirling blue, purple, and dark burgundy marbling around a gold line-art lion's head.

Bold cream text reads “Relax with” above “your plants!” A muted light green rectangle highlights “plants!” on the second line.

Relax with your plants!
Relax with your

Relax with your

Relax with
A detached bicycle wheel with a black tire, thin spokes and a central hub lies flat in the center foreground.

Figure 13: Qualitative ablation of alpha supervision to the DiT on Qwen-Image-Edit. ALPHAANYTHING better preserves lettering and wheel spokes, with less stray opacity than Stop-grad. Target descriptions use the shared extraction prefix in Figure 10.
D.5 ENDPOINT-AWARE ALPHA LOSS
Figure 14 compares EA Loss with standard alpha on Qwen-Image-Edit. The alpha- variant produces spurious opacity around the chocolate mold and craftsperson, and transparent holes inside the two opaque text panels. ALPHAANYTHING preserves the target opacity more closely in these examples.
A flexible dark brown chocolate mold with a grid of rectangular cavities, bent into a curve on the left.
Input RGB
GT
RGBA
Alpha
Ours (Qwen)
Alpha
Alpha L1
RGBA
Alpha
Alpha

Alpha
A craftsperson in a blue shirt and red apron kneels at the lower right with both hands reaching forward.

A white circular speech bubble with a short tail pointing down-left contains centered dark purple bold text reading “NOVEMBER” over “25TH.”

A solid black oval tilts upward to the right. Centered white lettering reads ‘SIGN UP FOR’ in a slender sans-serif line above a much heavier decorative serif ‘FREE!’.

Figure 14: Qualitative comparison of EA Loss and alpha on Qwen-Image-Edit. EA Loss reduces stray background opacity and transparent holes in opaque text regions. Target descriptions use the shared extraction prefix in Figure 10.
D.6 EXPLORING RGBA UNDERSTANDING THROUGH EDITING
We view native RGBA image understanding as a potential advantage of jointly representing color and transparency in an RGBA VAE, while regarding high-quality RGBA generation as the more important capability. To explore this potential advantage, we conduct a qualitative editing experiment with Qwen-Image-2.1 (Qwen Team, 2026). For each image layer, we compare the original RGBA input with the same layer composited over white and supplied with an all-one alpha channel. Under matched editing instructions and sampling settings, the paired outputs appear largely similar in overall appearance and opacity structure (Figure 15). Future work could explore the distinctive value of RGBA understanding and the tasks in which it may offer practical benefits.
The six cases cover color modification, rotation, object removal, object addition, material modification, and style transfer. Each pair uses seed 42, 40 inference steps, a guidance scale of 1.0, and a output canvas. We display the saved RGBA inputs and outputs on a common checkerboard.
Cyan-blue jellyfish to orange and gold; preserve translucency and fine tentacles.
RGB input

Edit from RGBA


Edit from RGB
Rotate the white steam plume 90 degrees clockwise; retain wispy curls and soft opacity.

Remove the hat and reveal natural dark wavy hair; preserve identity, pose and clothing.

Add half a soft-boiled egg beside the green onions; preserve noodles, chopsticks and bowl.

Figure 15: Paired editing with Qwen-Image-2.1. The first two columns show the original RGBA input and its white-background composite with alpha set to one. The last two columns show the corresponding edited RGBA outputs. Each row uses the same prompt and sampling settings; the instruction is summarized on the left. RGBA images are displayed on a checkerboard. The two input conditions yield visually similar results in these examples.
Turn felt into translucent colored glass; preserve rocket shape, colors and flame.
RGBA input

RGB input
Edit from RGBA

Edit from RGB
Paper-cut whale to watercolor; preserve silhouette and blue/cream palette, with soft paint edges.
Figure 15: Paired editing with Qwen-Image-2.1 (continued, cases 5–6 of 6).