On Color Alignment in VAE Latent Spaces and Its Applications
Julian D. Santamaria, Kai Wang, Jes\'us Malo, Javier Vazquez-Corral, Alexandra G\'omez-Villa
Key points
From the paper's conclusion- Building on this characterization, we propose three applications: ColorTuning, which achieves state-of-the-art in precise numerical color generation on the fine-grained CSS3/X11 system of GenColorBench, saturation control, to adjust the global chromatic intensity, and color transfer, to change the palette to match a reference.
Abstract
Variational autoencoders (VAEs) are a key part of modern text-to-image models, which generate images within their latent space. VAEs are known to disentangle the main factors of variation in the data, and color is known to be one of the most structured of these in natural images: decorrelating it yields one luminance axis and two opponent-color axes. Color should therefore be expected to emerge as a distinct factor in the VAE latent space. Yet how these latent spaces represent color remains largely unexplored. In this work, we show that the VAEs of text-to-image models share a color subspace aligned with brightness and opponent-colors. Through a linear approximation of the encoder and targeted latent steering, we find this subspace consistently across a broad range of VAEs, from SD1.5 to FLUX.2 and Z-Image. Building on this characterization, we propose three applications: ColorTuning, which achieves state-of-the-art in precise numerical color generation on the fine-grained CSS3/X11 system of GenColorBench, saturation control, to adjust the global chromatic intensity, and color transfer, to change the palette to match a reference. The code and models are publicly available at https://julian075.github.io/Color_Subspace/
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Systematic comparison of color representations between humans and deep neural networks: towards predicting human color perception in a vast color spacebioRxiv · 2026
- AlphaAnything: Extending Pretrained RGB Generators to RGBAarXiv · 2026
- ACVA-Bench: Beyond Prompt Following in Abstract Concept Visualization Ability for Text-to-Image ModelsarXiv · 2026
- Sample-Aligned Decoders for Latent Generative ModelsarXiv · 2026
- Feature Competition and Its Representational Origins in Vision Language Models: Evidence from the Stroop ParadigmarXiv · 2026
- Why Flat Drafts Stay Flat: Region-Mean Latents Govern Texture in Flow-Based Image GenerationarXiv · 2026