AlphaAnything: Extending Pretrained RGB Generators to RGBA
Abstract
AlphaAnything enables direct RGBA generation by adapting pretrained RGB generators in their original latent space with LoRA modules and an alpha branch supervised by an endpoint-aware loss, avoiding RGBA reconstruction pretraining while preserving RGB decoding.
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.
Get this paper in your agent:
hf papers read 2610.32413 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 1
WLuLi/AlphaAnything_Data
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper