WorksComputer Science
On Color Alignment in VAE Latent Spaces and Its Applications
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/

Figure 1. A color space hides in plain sight in the latent space of an autoencoder. Train a VAE with three latent channels on natural images, encode an image (left), add a constant offset to one channel, and decode: the image changes color while preserving its content. Sweeping two channels (right; ch2 across columns, ch3 across rows) spans an opponent-color plane and all intermediate mixtures, while the remaining channel (bottom row) controls brightness.
Introduction
Natural images are far from random: they occupy a small, highly structured subset of the space of all possible pixel arrays, with strong spatial and spectral correlations [41]. Efficient coding theory holds that a visual system should exploit this redundancy by mapping its inputs to a compact, decorrelated representation [3, 31]. For color, this principle gives a remarkably consistent answer: decorrelating the cone responses to natural scenes yields one achromatic luminance axis and two chromatic opponent axes, namely red–green and blue–yellow [5, 39]. These axes closely match the cardinal directions of early human color vision [11] and are mirrored in perceptual color spaces such as CIELAB. Luminance and opponent colors are therefore not an arbitrary convention but a property of natural images, one that any efficient encoder should be expected to recover.
In fact, the evidence suggests that artificial systems trained on natural images develop this color representation too. Unsupervised methods related to independent component analysis, applied to color image patches, learn separate achromatic and color-opponent features [21] (Gutmann et al. 2014). Deep networks behave similarly: the first-layer of CNNs trained for classification display achromatic and color-opponent units [24, 15], and CNNs trained for low-level vision tasks show human-like color axes and behavior, including susceptibility to color illusions [16], and distinctive spatial bandwidth for color channels [27]. Finally, vision foundation models, trained on natural images at a far larger scale, may therefore retain this color structure, and recent evidence supports this expectation [1, 43, 17].
Most modern text-to-image models are latent generators: rather than operating on pixels, they generate within the representation learned by a VAE and decode the result back to image space [38]. VAEs are known to organize this representation around the factors of variation in the data: they tend to disentangle generative attributes [19, 6] and to align their latent axes with the principal directions of the data [37, 45]. Yet, although color is one of the most thoroughly studied and highly structured properties of natural images, how it is represented in these latent spaces has only recently begun to be explored [2, 34]. Meanwhile, text-to-image models still fail to bind colors to objects, render named colors faithfully, or follow numerical specifications such as HEX or RGB codes [8]. The color structure may already be present in the latent space; but the generators simply do not use it.
Recent studies have begun to probe color in these latent spaces with uniform images, recovering opponent hue axes in the Stable Diffusion VAE [2] and an HSL-like subspace in the FLUX VAE [34]. Such inputs reveal where colors are mapped, but not how color is encoded alongside the spatial content of real images. We instead analyze the response to natural images and show that the VAEs of modern text-to-image models share a color subspace aligned with brightness and opponent-color directions (Fig. 1). On the encoder side, the singular vectors of a linear approximation of the encoder are achromatic and opponent-color patterns; on the decoder side, traversing individual latent channels shifts the color of the decoded image. We find this structure consistently in the VAEs of SD1.5, SDXL, SD3, FLUX, and FLUX.2, with 4 to 32 latent channels, and show that it is only partially disentangled from image structure. Building on it, we propose ColorTuning, which steers generation to follow numerical color specifications and achieves state-of-the-art accuracy on the CSS3/X11 system of GenColorBench (81.20% vs. 51.96%), and show that the same color basis also enables saturation control and color transfer.
In summary, our contributions are:
We empirically show that the VAEs of modern text-to-image models share a color subspace aligned with brightness and nonlinear opponent-color axes, consistent across model families and latent sizes from 4 to 32 channels, and grounded on natural image statistics.
We characterize this subspace through a linear approximation of the encoder and targeted latent steering, and quantify its partial entanglement with image structure.
We propose a number of applications based on our characterization: ColorTuning achieves state-of-the-art in precise numerical color generation on the fine-grained CSS3/X11 system of
GenColorBench, saturation control adjusts the global chromatic intensity, and color transfer changes the palette to match a reference.
Related Work
What VAEs disentangle. Unsupervised disentanglement is impossible without inductive biases on both model and data ([30]), yet VAEs often disentangle in practice ([19, 6]). Rolinek et al. [37] traced this to the diagonal posterior, which aligns the latent axes with the local principal directions of the data, and Zietlow et al. [45] showed that this yields disentanglement only when the variance structure of the data matches its generative factors. This line of work has been evaluated almost exclusively on synthetic benchmarks. We test it on color, whose natural-image statistics decorrelate into one luminance and two opponent axes ([5, 39]).
Color in vision foundation models. The color representations of deep networks have been compared with human perception, with limited alignment ([43, 12]). For text-to-image VAEs, Arias et al. [2] recovered opponent hue axes in the Stable Diffusion VAE and Pach et al. [34] an HSL-like subspace in the FLUX VAE, both by probing with uniformly colored patches. We instead analyze the response to natural images, across five VAEs with 4 to 32 latent channels.
Precise color control. Existing methods either act on the text conditioning, by learning color tokens ([7]) or grounding HEX codes and RGB values in a CIELAB-aligned ColorBook (NumColor; [9]), or intervene at inference time, either by rewiring cross-attention (ColorWave; [25]) or by optimizing the latents ([40]). Closest to ours, Pach et al. [34] recolor objects through an HSL mapping interpolated from eight anchor colors, but this approch is only specifical for FLUX. ColorTuning instead recovers the color basis of any pretrained VAE and learns the displacement toward the target from measured CIELAB outcomes. An extended discussion is given in Appendix § 6.§ 2.
Background
Variational autoencoders
Variational autoencoders (VAEs) ([23, 36]) learn a probabilistic mapping between images and a lower-dimensional latent representation . An encoder parameterizes an approximate posterior , typically a Gaussian with diagonal covariance, and a decoder parameterizes the likelihood . Both are trained jointly by maximizing the Evidence Lower Bound (ELBO), which in its -weighted form ([19]) is defined by:
where the first term encourages faithful reconstruction and the second regularizes the posterior toward an isotropic Gaussian prior via the Kullback-Leibler divergence (). Setting strengthens this regularization and is known to promote disentangled latent factors ([19, 6]).
The VAEs of modern latent generative models operate in the opposite regime. Following Rombach et al. [38], they are trained with (on the order of ), together with perceptual and adversarial losses ([13]), which prioritizes reconstruction quality and keeps the latent space only mildly regularized. These VAEs are trained once and then kept frozen. The encoder compresses an image of size into a spatial latent of size , where is the spatial downsampling factor and is the number of latent channels, and the generator operates entirely in this latent space.
Latent Diffusion and Flow Matching
Latent generative models learn to transform Gaussian noise into VAE latents through an iterative sampling process. Two formulations dominate current text-to-image models. Diffusion models ([20]) define a forward process that progressively corrupts with Gaussian noise, with , where decreases monotonically from 1 to 0 over time and train a network to predict the added noise. Flow matching models ([28, 29]), adopted by SD3 and FLUX ([14]), instead connect data and noise through the linear path , where controls the noise magnitude, and train a network to regress the velocity along it. Generation then reverses these processes, starting from pure noise and integrating toward a clean latent that is lated decoded by into an image.
In both formulations, the clean latent can be estimated in closed form at any intermediate step from the current network prediction, without completing the sampling trajectory (Song et al. [42]):
Decoding gives a provides an intermediate estimate of the final image, which we use to measure the color of the target object during generation (§ 4.2).
Color in Autoencoder Latent Space
We study how the latent spaces of autoencoders represent color in two steps. We first show empirically that color is directly readable from the raw latent channels: traversing a single channel moves the decoded image along a consistent color direction, within a limited range before its spatial content also changes (§ 3.1). We then explain this behavior from the input side through a linear approximation of the encoder, whose singular vectors are opponent-colored patterns (§ 3.2).
Latent Channels Encode Color
In classical VAEs, individual latent coordinates often capture a single factor of variation of the data: traversing one coordinate while keeping the others fixed changes, for example, only the azimuth of a face ([19, 37]). We apply this same probe, a latent traversal, to the raw latent space of autoencoders, focusing on color.
Since these latents are spatial, we refer to each latent dimension as a channel, and traverse channel by adding a constant offset at every spatial position, , before decoding. As shown in Figure 2, modifying progressively shifts the color of the decoded image along a consistent direction. We observe this across deterministic autoencoders (AEs), VAEs, and VQ-VAEs with 3, 4, 8, and 32 channels trained from scratch, as well as in the pretrained VAEs of SD1.5, SDXL, SD3, FLUX, and FLUX.2 (See the Figure 2 and Appendix § 6.§ 3). Color is therefore directly readable from the raw latent channels, without any learned probe.
Figure 2. Image modifications through traverse channel variations across generative models: (a) Flux, (b) Flux 2, (c) Stable Diffusion 1.5, (d) SDXL, and (e) Stable Diffusion 3.
Color is, however, spatio-chromatically entangled: the same channels that carry color also carry spatial information. For small offsets, traversing the channel modifies only the color of the decoded image; but beyond a certain magnitude, it also begins to alter its spatial content. This behavior is visible in the edges and textures in the outermost columns of Figure 2 (see Appendix § 6.§ 3 for more examples). We quantify this in Figure 3 as a function of . We measure color change with (CIEDE2000) relative to the unperturbed reconstruction, and spatial change with MS-SSIM computed on grayscale images using only its contrast and structure terms, so that the intended color and brightness shifts are not penalized. As increases, grows steadily, while MS-SSIM stays close to 1 for small offsets and then drops. Color can therefore be edited by moving along the latent channels, but only within a limited range before the edit starts to change the spatial content of the image.

Figure 3. Texture-color variations through traverse latent channel modifications in different VAEs.
In general, we find that individual channels do not uniquely map one-to-one onto specific colors: a single channel typically moves the image along a mixture of them, and several channels can move it in similar directions (e.g., two different channels may both turn the image green). A notable exception arises when there are only 3 latent channels. In this case, both the VAE and the AE align closely with the opponent color space: one channel controls brightness, and the other two control the opponent axes (see Appendix § 6.§ 3). For the VAE, this is the behavior predicted by Rolinek et al. [37]. For the AE, it is not: its objective has no mechanism that favors a particular orientation (Rolinek et al. [37]). However, opponent color directions do appear in plain autoencoders (Gomez-Villa et al., [16]; Li et al. [27]), and, as shown below, they consistently emerge in modern autoencoders.
In the general case, where color is spread across correlated channels, the color subspace can still be recovered with a PCA decomposition of the channels’ color responses, which yields one luminance and two opponent-color directions. This is the mechanism we exploit in our applications (Sec. 4).
Linear Approximation of the VAE
The traversals in section 3.1 show that color is readable from the latent channels, but not why. To answer this we turn to the input side and ask which image patterns the encoder is most sensitive to. Because a VAE is trained to reconstruct its input, its response stays close to the identity and is well described to first order, which lets us replace the encoder by a matrix whose singular vectors are precisely those patterns, ordered by how strongly they drive the latent. If the color structure observed above originates in the encoder, it should appear here as achromatic and opponent-color patterns among the leading singular vectors.
Let represent a matrix containing input images. Let represent their corresponding low-dimensional latent representations, obtained via the VAE’s encoder, . Subsequently, let represent the reconstructed output images generated by the VAE’s decoder. The application of the model (encoder + decoder) is denoted here as: .
Following Gomez-Villa et al. [16] and Li et al. [27], we analyze the behavior of the network through the linear approximation of its response. Considering any image as a deviation from the average image (flat gray image, ), the first-order approximation of the autoencoder is:
where the response to the average image is re-calibrated as zero, and is thus the Jacobian of the network response w.r.t. the input at . For VAE architectures, this assumption is justified by the ELBO objective, where the expected log-likelihood reconstruction term, , forces the latent space to preserve sufficient information for data recovery. Furthermore, can be decomposed as the product of the decoder and encoder matrices, such that , where and . We select the simplest method to compute from the three approaches considered in Li et al. [27]. In particular, here , and , where denotes the pseudoinverse.
To analyze the structure of the latent space, we perform Singular Value Decomposition (SVD) on the encoder matrix, .
In Figure 4, we visualize the singular vectors derived via SVD for the VAEs of text-to-image models. In addition, we plot the chromatic coordinates corresponding to the components with the largest singular values and highest chromatic variance on the CIE xy chromaticity diagram. Across all evaluated models, two principal opponent chromatic directions consistently emerge. This demonstrates that the latent spaces of these VAEs align with opponent color channels.

Figure 4. The first singular vectors of the linear approximation of VAEs and their corresponding CIE chromaticity directions across generative models: Flux.dev 2, Flux.dev 1, (c) SD 1.5, (d) SDXL, and SD 3. Each subplot visualizes the singular vectors ordered by their chromatic variance alongside their color content in the CIE chromatic diagram. We used patches from Tiny ImageNet. Appendix § 6.§ 4 shows that this kind of vectors and opponent colors also emerge in other databases.
Faithfulness of the linear approximation. This reading of the encoder is only as informative as the linear approximation behind it. Appendix § 6.§ 5 shows that linear approximations of and are good descriptions of their behavior because (i) they explain a large fraction of the energy of the signal generated by the (nonlinear) autoencoder, and (ii) the errors wrt the original signal are small.
Applications
§ 3 shows that VAE latents carry a color structure inherited from natural image statistics, but spread across correlated channels and only partially disentangled from spatial content. We therefore recover an explicit color basis for each VAE, computed once (§ 4.1), and use it for three applications in T2I generation, handling the residual entanglement at inference time: numerical color precision (§ 4.2), saturation control, and color transfer (§ 4.3).
Characterizing the Color Basis of a VAE
Our goal is to find a small set of disentangled directions in the latent space. Specifically, we seek directions that move the color of an image along the luminance axis or the two opponent color axes independently. We extract these principal color directions through the following steps.
Step 1: Controlled perturbation. We select seven reference objects spanning the primary axes of the CIELAB color space. For each object, we perturb one latent channel at a time. We add a scalar perturbation inside the region of interest for a set of magnitudes . We repeat this process for every channel in the latent space and measure how much the perceived color of the object shifts in the CIELAB space .
Step 2: Measuring sensitivity. For each channel, we compute the slope of color change per unit of perturbation:
We then stack all values for different and as rows to obtain a global sensitivity matrix .
Step 3: Isolating principal color directions. We apply SVD directly to . The resulting three columns of provide a basis that isolates the latent color shifts.
To use the principal color directions discovered for generation, we localize each perturbation to the target object using spatial masks from SAM 3 (Carion et al. [10]). To prevent abrupt deviations from the natural generation path, we inject these perturbations only during the final generation steps, linearly decaying the steering weight to zero.
Numerical Color Precision
Numerical colour precision refers to the ability to generate an object with the exact RGB value or HEX code specified in the text prompt. State-of-the-art T2I models still struggle with this task, exhibiting a range of failure cases (see Figure 15 and Butt et al. [8]). In this subsection, we present ColorTuning, which exploits the discovered directions to steer the generation towards the exact colour specified in the user prompt.

Figure 15. T2I models fail at numerical color precision.
Steering the Generator
Our approach is based on two key properties of the discovered color directions. First, diffusion and flow-matching models resolve low spatial frequencies first Biroli et al. [4]: the coarse color of a region is settled well before sampling ends, so decoding the predicted clean latent (Eq. (2) in Appendix § 2.1) at an intermediate step already reveals the color the object will have in the final image. Second, the characterization of § 4.1 gives the directions along which that color can be moved. Measuring the current color and applying the corresponding displacement over the remaining steps is therefore enough to reach the target (see Figure 16 in Appendix § 6.7).

Figure 16. Overview of our method. Top: characterizing the color basis of a VAE (Sec. 4.1). Each latent channel is perturbed inside the region of a set of reference objects, and the resulting shifts in CIELAB form a sensitivity matrix, whose SVD gives the luminance and opponent-color directions. This is computed once per VAE. Bottom: ColorTuning at inference (Sec. 4.2). The numerical code in the prompt is replaced by the nearest color name. At the gate step, the predicted clean latent is decoded, the object is segmented with SAM 3, and its mean color is measured. The MLP maps this color and the target to a displacement along the color basis, which is added inside the object mask over the remaining steps.
Training. The basis of § 4.1 fixes the directions, but not the magnitude: how far a given displacement moves the object in CIELAB depends on the color it starts from, since the relation is nonlinear. We therefore learn this relation empirically. For a set of prompts containing a color name, we generate one image without intervention and, for each displacement along the basis, a second image with the perturbation applied to the target object. Measuring the color of the object in both images gives a triplet: the color before the perturbation, the color it reached, and the displacement that produced it. On this data we train a small MLP that takes an initial and a target color, and , and predicts the displacement along the basis that carries to (Alg. 1).
Inference. The prompt still has to place the object in the scene, so we never pass the numerical code to the text encoder. We replace it with a proxy color name: the nearest entry in ISCC-NBS Level 2 to the requested value, measured in CIELAB. A prompt such as “a car of color #7B3F00” becomes “a brown car”. The generator renders names far more reliably than codes, so the trajectory starts in the neighborhood of the target color and the steering only has to cover the residual difference. At a gate step , we predict the clean latent (Eq. (2)), decode it, locate the object with SAM 3 and measure its mean color in CIELAB. The MLP maps this color and the target to a displacement along the color basis, which we add to the latent inside the object mask at each remaining step, with a weight that decays linearly to zero so that the final steps re-integrate the perturbation into the image structure (Alg. 2; hyperparameters in Appendix § 6.7).
Results of ColorTuning
Setup. We evaluate ColorTuning on GenColorBench ([8]), a benchmark for precise color generation in which prompts specify object colors as HEX codes and RGB values. We report accuracy on its two color systems, ISCC-L3 and CSS3/X11, under both formats. We apply ColorTuning to six generators covering the three latent sizes analyzed in § 3: SDXL (4 channels), SD3, SD3.5M, FLUX and Z-Image (16), and FLUX.2 (32). We compare against the vanilla models and against two color-control methods, each on the backbones for which it is available: ColorWave on SDXL and NumColor on SD3, SD3.5M and FLUX.
Quantitative results. On the full benchmark (Table 1b), vanilla models stay below 8% on both systems. On CSS3/X11, NumColor reaches 47–52%, while ColorTuning achieves the best accuracy on every backbone, up to 81.20% on FLUX. This is remarkable because, while NumColor remains ahead on ISCC-L3, the CSS3/X11 on which ColorTuning dominates is the one on which every model evaluated in GenColorBench performs worst [8]. On the mini subset (Table 1a), ColorTuning brings FLUX.2 and Z-Image to about 81% on CSS3/X11 and more than doubles ColorWave on SDXL (63.97% vs. 28.05%). A 2AFC user study with 22 observers with normal color vision confirms these gains perceptually: ColorTuning is preferred over both NumColor (FLUX) and ColorWave (SDXL), with z-scores (computed using Thurstone’s model) of and , respectively (95% CI; 0 indicates no preference). Details are in Appendix § 6.9.
| Model | ISCC-L3 | CSS3/X11 | Overall |
| SDXL (4) | 1.84 | 7.37 | 5.53 |
| + ColorWave | 11.15 | 28.05 | 22.42 |
| + ColorTuning | 30.78 | 63.97 | 52.90 |
| Z-Image (16) | 16.92 | 12.45 | 13.94 |
| + ColorTuning | 44.91 | 81.11 | 59.22 |
| FLUX.2 (32) | 39.29 | 42.67 | 41.54 |
| + ColorTuning | 38.91 | 81.90 | 64.57 |
| Model | ISCC-L3 | CSS3/X11 | Overall |
| SD3 (16) | 5.92 | 4.63 | 5.06 |
| + NumColor | 39.46 | 47.17 | 44.32 |
| + ColorTuning | 12.63 | 54.74 | 39.02 |
| SD3.5M (16) | 7.53 | 5.78 | 6.36 |
| + NumColor | 43.35 | 46.87 | 45.57 |
| + ColorTuning | 40.65 | 75.79 | 62.65 |
| FLUX (16) | 7.74 | 5.86 | 6.49 |
| + NumColor | 48.02 | 51.96 | 50.50 |
| + ColorTuning | 43.15 | 81.20 | 64.13 |
Table 1. Numerical color accuracy (%) on GenColorBench, on (a) the mini subset and (b) the full benchmark. The number of latent channels is shown in parentheses. Bold: best result for each backbone.
Qualitative results. Figure 5 presents qualitative results obtained by applying ColorTuning to FLUX.2. The first two rows illustrate the method’s behavior across the full color spectrum, showing that the same concept can be rendered in substantially different hues while preserving its structure and appearance. The third and fourth rows evaluate fine-grained numerical color control, where target colors differ only subtly. The final two rows focus on pastel colors, which combine high luminance with low saturation and are particularly challenging for contemporary generative models. Even in this demanding setting, ColorTuning faithfully reproduces the requested colors.

Figure 5. Qualitative results of ColorTuning. The generated examples demonstrate precise color control across three scenarios: applying distinct hues (top), generating subtle monochromatic variations within the same color family (middle), and pastel tones (bottom).
Further Color Applications During Generation
The same characterization naturally extends to other forms of color control at generation time, without requiring any modification to the procedure introduced in § 4.1. Figure 6 (top) illustrates saturation control: by traversing the corresponding latent directions, our method can continuously modulate the saturation of the generated image (in the figure from 100% to 50% at 10% intervals). Such saturation-aware generation could facilitate the synthesis of images within narrower color gamuts, potentially reducing the need for post-processing gamut mapping techniques [33].

Figure 6. Further color control with the same color basis. Top: saturation reduction. From left to right, we intervene during generation to reduce the saturation of the final image. Bottom: color transfer, three examples. In each pair, the left image is the color reference and the right image is the generated result, whose colors are steered to match it.
Figure 6 (bottom) shows a second application: color transfer during generation. In this setting, the input consists of both a text prompt and a reference image whose color distribution should be reproduced. Our method leverages the discovered latent directions to match the color distribution of the reference image while simultaneously generating the content specified by the prompt. Full details of both applications are given in Appendix § 6.8.
Conclusions
We have shown that color structure is already present in the raw latents of autoencoders trained on natural images: in AEs, VAEs, and VQ-VAEs alike, traversing a single latent channel shifts the color of the decoded image. This observation can be explained by a linear approximation of the encoder, whose leading singular vectors correspond to the achromatic and opponent-color patterns predicted by natural image statistics. Recovering these axes as an explicit basis turns the observation into a tool for color control during generation. Our main use of it is ColorTuning, which achieves state-of-the-art accuracy in numerical color generation on the fine-grained CSS3/X11 system of GenColorBench; saturation control and color transfer further show, qualitatively, that the same basis supports other forms of color control.
Limitations. Existing methods for encouraging precise color synthesis in generative models typically rely on learning new concepts that enforce specific color relationships. In contrast, our approach leverages the inherent color alignment already present in the VAE latent space to dynamically guide the generation process. However, this strategy remains sensitive to large steering magnitudes. As shown in our analysis, the extracted latent color channels are not fully disentangled from spatial and structural features. Consequently, when the MLP predicts a large displacement from the source color toward the target one, the resulting latent perturbation affects not only color but also image content, leading to structural distortions in the final output.
Acknowledgments This work was supported by Grant, PID2024-162555OB-I00 funded by MCIN/AEI/10.13039/501100011033 and by ERDF ”A way of making Europe”, AIA2025-163919-C52 funded by MCIN/AEI/10.13039/501100011033, the grant Catedra ENIA UAB-Cruïlla (TSI-100929-2023-2) from the Ministry of Economic Affairs and Digital Transformation of Spain, the Generalitat de Catalunya CERCA Program, and partially funded by the Spanish Government and the EU under the MCIN/AEI/FEDER/UE Grant PID2023-152133NB-I00, as well as by the BBVA Foundations of Science program in Maths, Stats, Comp. Sci. and AI, grant VIS4NN: Vision Science for Artificial Neural Networks. We acknowledge the EuroHPC Joint Undertaking for awarding us access to Leonardo at CINECA, Italy, under project EHPC-AIF-2026SC01-004. JVC also acknowledges the Generalitat de Catalunya CERCA Program, and the 2025 Leonardo Grant for Scientific Research and Cultural Creation from the BBVA Foundation. The BBVA Foundation accepts no responsibility for the opinions, statements and contents included in the project and/or the results thereof, which are entirely the responsibility of the authors. Kai Wang acknowledges funding No.R002026G0116 and No.R002026B0121 from Guangdong and Hong Kong Universities 1+1+1 Joint Research Collaboration Scheme, No.TIC2026SP005 from Seed Project under City University of Hong Kong (Dongguan) Technology and Innovation Center, NSFC Grant No. 62606428, funding No.2025QN12X071 from Guangdong Pearl River Talent Program and the start-up grant B01040000108 from CityU-DG.
Appendices
LLM usage statement
LLMs were used for grammar correction and to rewrite and refine parts of the manuscript. They also assisted with code development.
Related Work
Representation Learning and Disentanglement in VAEs
Whether a VAE recovers the true factors of variation in its data is a question of identifiability. Locatello et al. [30] showed that unsupervised disentanglement is impossible without inductive biases on both model and data, and identifiability has since been proven only under additional assumptions such as auxiliary variables [22]. Yet VAEs often disentangle in practice [19, 6]. Rolinek et al. [37] traced this to the diagonal posterior, which makes the decoder Jacobian locally orthogonal and aligns the latent axes with the local principal directions of the data. Relatedly, Reizinger et al. [35] connected the ELBO to independent mechanism analysis in the near-deterministic regime. Zietlow et al. [45] further showed that this bias yields disentanglement only when the variance structure of the dataset matches its generative factors. What a VAE disentangles is therefore dictated by the principal directions of its training data.
Color is a natural test of this view: it is one of the most structured properties of natural images, whose statistics decorrelate into one luminance and two opponent-color axes [5, 39]. Yet this line of work has been evaluated almost exclusively on synthetic benchmarks, where color appears at most as a discrete hue label, and has not examined how VAEs trained on natural images represent it. Only recently have studies begun to probe color in the latent spaces of text-to-image VAEs [2, 34], and none relates the structure they find to the statistics of the training data. We instead analyze the encoder’s response to natural images and show that, across model families and latent sizes, these latents share a color subspace aligned with the luminance and opponent axes that natural image statistics would predict.
Color Representations in Vision Foundation Models
Recent work has begun to characterize how color is encoded in the representations of vision foundation models. Wickramanayaka & Oizumi [43] compared the internal color representations of 16 deep networks with human similarity judgments over 93 colors, and found that only CLIP models reached fine-grained structural agreement with human perception. Elab et al. [12] probed more than 50 vision encoders, including the SD3 VAE, and compared their chromatic discrimination thresholds with human discrimination ellipses, finding weak alignment across all model families. For generative models, Arias et al. [2] encoded uniformly colored patches with the Stable Diffusion VAE and applied PCA to their spatially averaged latents, recovering an intensity axis and two opponent hue axes. When probing grayscale synthetic patterns separately, they found that one of these chromatic channels also carries shape information. More recently, Pach et al. [34] identified an HSL-like color subspace in the VAEs of FLUX, also by probing them with uniformly colored images, and used it to steer the color of generated objects. These studies characterize color through flat stimuli, which reveal where colors are mapped but not how color is encoded alongside the spatial content of real images. Moreover, each examines only one or two VAEs, leaving open whether the structure they find is specific to a particular model or shared across text-to-image VAEs with different architectures and latent sizes.
Precise Color Control in Text-based Image Models
Methods for precise color control in text-to-image models intervene at two points of the generative pipeline. A first family acts on the text conditioning. ColorPeel [7] learns color prompt tokens from synthetic stimuli that disentangle color from shape, but covers only a few colors per training session and is only able to interpolate between nearby colors. Targeting numerical specifications, NumColor [9] addresses the fragmentation of hex and RGB codes into meaningless subword tokens by aggregating them into a single unit and grounding it with a ColorBook of learnable embeddings aligned with CIELAB.
A second family intervenes at inference without retraining the backbone, either by rewiring the cross-attention of IP-Adapter to bind a color descriptor to a patch of the target color [25], or by optimizing the latents with attention and color losses [40]. Closest to our work, Pach et al. [34] recolor objects by shifting latents within the color subspace discussed above, through a mapping to HSL interpolated from eight anchor colors. Their interpretation is derived for FLUX alone, from flat color patches. We instead build on a general property: the latents of VAEs trained on natural images align with luminance and opponent-color axes, a structure inherited from natural image statistics (§ 3). This lets us design a characterization procedure that recovers these directions in any pretrained VAE, along which ColorTuning learns the displacement toward the target from measured CIELAB outcomes rather than from a fixed geometric mapping.
Latent Channel Shifts
Custom Baselines
We trained three autoencoder families from scratch on Tiny ImageNet-200 [26] at its native resolution: deterministic autoencoders (AE), continuous variational autoencoders (KL-VAE), and vector-quantized autoencoders (VQ-VAE). All models share a unified convolutional backbone [38] with a spatial downsampling factor of and were evaluated across bottleneck widths . Training was performed for 40 epochs using Adam (, ) with a learning rate of .
To examine how chromatic information is encoded across the latent space, we performed latent shift interventions on encoded grayscale test images. The resulting channel-wise response grids are shown in Figure 9 for the AE, Figure 10 for KL-VAE, and Figure 11 for VQ-VAE.

(a) 3-channel VQ-VAE

(b) 4-channel VQ-VAE

(c) 8-channel VQ-VAE

(d) 16-channel VQ-VAE
Figure 9. Visual impact of individual latent channel shifts () across different VQ-VAE.

Figure 10. Latent channel shifts applied to KL-regularized VAEs with varying downsampling factors (f4, f8, f16).

(a) (a) VQ-f4 (3-channel)

(b) (b) VQ-f4-noattn (3-channel)

(c) (c) VQ-f8 (4-channel)

(d) (d) VQ-f16 (8-channel)
Figure 11. Latent channel shifts across Vector-Quantized (VQ) VAEs.
Latent Diffusion Models
Building upon our local baselines, we extend our latent perturbation analysis to the pretrained autoencoders commonly utilized in LDMs [38]. Specifically, we isolate and shift individual latent channels across both KL-VAE (Figure 10) and VQ-VAE (Figure 11) architectures.
Foundation Models
Finally, we investigate the latent space architectures of foundation models. We apply our latent perturbation analysis to the autoencoders of SD1.5, SDXL, SD3, FLUX, and FLUX2, as illustrated in Figure 12 and Figure 13.

Figure 12. Latent channel shifts in state-of-the-art foundation models. The top row compares the 4-channel autoencoders of SD1.5 and SDXL. The bottom row illustrates the expanded 16-channel latent spaces of SD3 and FLUX.1.

Figure 13. Extended latent channel shifts for the 32-channel FLUX2 autoencoder.
Similar color subspaces emerge in different datasets.
Figure 14 shows the singular vectors and color content of the latent space of obtained from a set of images with substantially different resolutions: images of size . In this case, for a cleaner visualization, a standard variance minimization algorithm [44] has been applied to select the colors shown. Qualitative similarity of those results with those of Figure 4 suggests that color opponent subspaces emerge consistently for different sets of natural images and resolutions.

Figure 14. The first singular vectors of the linear approximation of VAEs and their corresponding CIE chromaticity directions across generative models used with 64 × 64 images: Flux.dev 2, Flux.dev 1, (c) SD 1.5, (d) SDXL, and SD 3. Each subplot visualizes the singular vectors ordered by their chromatic variance alongside their color content in the CIE chromatic diagram.
Faithfulness of the linear approximations.
In this Appendix, we quantify the validity of the linear approximation of VAE’s encoder and decoder according to the methods proposed by Gomez-Villa et al. [16] for regular AEs. In particular, here we compute three metrics for each VAE: Fract. Lin. Resp. is the fraction of the energy of the network response explained by the linear approximation. It is computed from the RMSE between the linear and the actual (nonlinear) responses, given in relative units with regard to the square root of the energy of the actual response.
Error NonLin. and Error Linear are the corresponding reconstruction errors of the VAE and of its linear approximation, each expressed as the fraction of the energy of the original image.
Table 2 shows such metrics and the average across all VAEs. Results show that on average, the linear approximations explain a large fraction (about 65%) of the nonlinear behavior. Moreover, the
| 64 × 64 images | FLUX 2 | FLUX | SD3 | SDXL | SD1.5 | AVERAGE |
| Lin. Enc. + Lin. Dec | ||||||
| Fract. Lin. Resp. | 0.67 | 0.73 | 0.72 | 0.71 | 0.74 | 0.71 ± 0.02 |
| Error No Linear | 0.02 | 0.03 | 0.05 | 0.08 | 0.08 | 0.05 ± 0.02 |
| Error Linear | 0.11 | 0.09 | 0.09 | 0.09 | 0.09 | 0.09 ± 0.01 |
| Lin. Enc. + NonLin. Dec | ||||||
| Fract. Lin. Resp. | 0.67 | 0.74 | 0.58 | 0.61 | 0.69 | 0.66 ± 0.06 |
| Error No Linear | 0.02 | 0.03 | 0.05 | 0.08 | 0.08 | 0.05 ± 0.02 |
| Error Linear | 0.11 | 0.08 | 0.13 | 0.13 | 0.10 | 0.11 ± 0.02 |
| NonLin. Enc. + Lin. Dec | ||||||
| Fract. Lin. Resp. | 0.70 | 0.76 | 0.75 | 0.71 | 0.72 | 0.73 ± 0.02 |
| Error No Linear | 0.02 | 0.03 | 0.05 | 0.08 | 0.08 | 0.05 ± 0.02 |
| Error Linear | 0.10 | 0.08 | 0.08 | 0.09 | 0.09 | 0.09 ± 0.01 |
| 16 × 16 images | FLUX 2 | FLUX | SD3 | SDXL | SD1.5 | AVERAGE |
| Lin. Enc. + Lin. Dec | ||||||
| Fract. Lin. Resp. | 0.83 | 0.80 | 0.69 | 0.55 | 0.73 | 0.72 ± 0.10 |
| Error No Linear | 0.05 | 0.09 | 0.37 | 0.27 | 0.19 | 0.19 ± 0.10 |
| Error Linear | 0.05 | 0.06 | 0.09 | 0.14 | 0.08 | 0.08 ± 0.03 |
| Lin. Enc. + NonLin. Dec | ||||||
| Fract. Lin. Resp. | 0.67 | 0.68 | -0.03 | 0.23 | 0.45 | 0.40 ± 0.30 |
| Error No Linear | 0.05 | 0.09 | 0.37 | 0.27 | 0.19 | 0.19 ± 0.10 |
| Error Linear | 0.09 | 0.10 | 0.31 | 0.23 | 0.17 | 0.18 ± 0.09 |
| NonLin. Enc. + Lin. Dec | ||||||
| Fract. Lin. Resp. | 0.78 | 0.75 | 0.47 | 0.41 | 0.60 | 0.60 ± 0.20 |
| Error No Linear | 0.05 | 0.09 | 0.37 | 0.27 | 0.19 | 0.19 ± 0.10 |
| Error Linear | 0.07 | 0.08 | 0.20 | 0.21 | 0.12 | 0.14 ± 0.04 |
Table 2. Linear approximation metrics across all models, configurations and datasets.

(a) (a) 3-channel AE

(b) (b) 4-channel AE

(c) (c) 8-channel AE

(d) (d) 16-channel AE
Figure 7. Visual impact of individual latent channel shifts () across different AE.
Figure 8. Visual impact of individual latent channel shifts () across different KL-VAE.
magnitudes of the reconstruction error by the VAEs and by their linear approximations are similar (about 12% of the energy of the original signal).
These results imply that the singular vectors shown in this work are a meaningful description of what the VAEs are sensitive to, both in terms of texture and color directions.
T2I models fail at numerical color precision
Pipelines
We evaluate our method across a diverse set of state-of-the-art text-to-image models operating on distinct VAE latent spaces. ColorTuning is implemented on models with 4-channel (SDXL-Base-1.0), 16-channel (SD3-Medium, SD3.5-Medium, Z-Image, FLUX.1-dev), and FLUX.2-dev with 32-channel. To compute the spatial conditioning mask, we use SAM-3 (facebook/sam3) with the target object from the prompt.
Temporal Injection Schedules
Perturbations along the three principal PCA color axes are applied over an active generation window . These perturbations are modulated by the spatial mask and a temporal schedule . The specific gate step and the optimal schedule profile for each model are detailed in Table 3. We employ three distinct temporal profiles:
| Model | Steps | CFG | Gate | Temporal Schedule |
| FLUX.1-dev | 28 | 3.5 | 0.50 | Ascending |
| FLUX.2-dev | 28 | 3.5 | 0.65 | Ascending |
| SD3-Medium | 28 | 7.0 | 0.75 | Triangular |
| SD3.5-Medium | 28 | 4.5 | 0.60 | Ascending |
| SDXL-Base | 30 | 5.0 | 0.40 | Constant |
| Z-Image | 28 | 4.0 | 0.60 | Constant |
Table 3. Pipeline Specifications and Hyperparameters.
Ascending Ramp (): Gradually increases perturbation intensity.
Triangular Profile: Reaches peak intensity at the mid-window to preserve fine structural textures.
Constant Profile (): Applies uniform injection across the active window.
Shift Predictor Network Architecture
To map the desired color shifts to PCA magnitude vectors , we train a Multi-Layer Perceptron with residual connections.
Input Features: The network ingests a 15-dimensional perceptual feature vector combining initial and target CIELAB coordinates, chroma values, and periodic sine/cosine hue representations.
Architecture: An input projection layer (15 to 256 dimensions) is followed by two residual blocks (each containing two 256-dimensional linear layers, LayerNorm, SiLU activation, and a dropout of ). A final bottleneck projects the features down to 3 dimensions to predict the shift.
Training Setup: The network is optimized using AdamW (learning rate , weight decay ) with a Cosine Annealing schedule (minimum learning rate ). We train for 80 epochs using a Smooth L1 loss (), a batch size of 64, and an early stopping patience of 15 epochs.
Saturation Control and Color Transfer
Saturation Control. Saturation control continuously modulates the chroma of the generated scene or specific objects without altering their semantic structure or hue. In this setting, the text prompt requires no proxy injection, allowing the diffusion trajectory to proceed unconstrained
Algorithm 1 ColorTuning: training the displacement predictor
Require: frozen VAE $(E,D)$, generator, color basis $U \in \mathbb{R}^{C \times 3}$, prompt set $\mathcal{P}$, displacement set $\mathcal{M}$
1: $\mathcal{D} \leftarrow \varnothing$
2: for $p \in \mathcal{P}$ do
3: $I_0 \leftarrow \operatorname{GENERATE}(p)$ ▷ no intervention
4: $c_0 \leftarrow \operatorname{MEANLAB}(I_0,\operatorname{SAM3}(I_0,p))$
5: for $m \in \mathcal{M}$ do
6: $I_m \leftarrow \operatorname{GENERATE}(p,\Delta z = Um)$
7: $c_m \leftarrow \operatorname{MEANLAB}(I_m,\operatorname{SAM3}(I_m,p))$
8: $\mathcal{D} \leftarrow \mathcal{D} \cup \{((c_0,c_m),m)\}$
9: end for
10: end for
11: train MLP $f_\psi:(c_i,c_t)\mapsto m$ on $\mathcal{D}$
Ensure: $f_\psi$
until the gate step. At step , we decode and obtain the CIELAB color at each spatial location within the target region (or across the full image). For a desired chroma reduction factor , we preserve the lightness and hue angle while scaling chroma, setting the target color to . The pretrained MLP takes and evaluates across the grid to predict a dense displacement map . Adding this displacement over the remaining steps pulls the generation into the restricted gamut within the latent space (see Figure 17).

Figure 17. Qualitative results for saturation control.
Color Transfer. For color transfer, the target color distribution is specified either by a discrete color palette (e.g., a set of hex values) or by an exemplar reference image. When using an image, we first extract its principal colors via -means clustering in CIELAB, enforcing a minimum perceptual distance in CIEDE2000 to obtain differentiated dominant, focal, and secondary accent tones. To initialize the trajectory in the appropriate chromatic basin, we take the most chromatic color, locate its nearest entry in ISCC-NBS Level 2, and inject this proxy name into the text prompt for the main subject. At gate step , we decode the predicted clean latent and partition the scene into spatial regions: the focal object segmented with SAM 3, secondary entities, and the background (which can be tonally partitioned into highlight and shadow zones). We assign each region to its corresponding reference color. The pretrained MLP then evaluates each pair of measured and target CIELAB colors independently, predicting a displacement for each region along the color basis. See qualitative results in Figure 18.

Figure 18. Color transfer results. The first two columns display the target color palettes and their corresponding generated images. The final two columns present the color reference images alongside the resulting generated outputs.
User Study
We conducted a psychophysical experiment in a controlled laboratory with standardized lighting and color-calibrated sRGB monitors to perceptually evaluate our color accuracy. A total of 22 participants with normal color vision completed a Two-Alternative Forced Choice (2AFC) study consisting of two distinct comparisons based on the underlying diffusion backbone: ColorTuning against Num-Color (both FLUX-based, 50 prompts) and ColorTuning against ColorWave (both SDXL-based, 50 prompts). In each trial, observers viewed a central reference color patch and text prompt positioned between two randomly ordered generated images (ours and the corresponding baseline), and were asked to choose which image better matched the target color. We analyzed the raw preference data
Algorithm 2 ColorTuning : inference
Require: prompt $p$ with target color $c_t$, gate step $s$, total steps $T$, basis $U$, predictor $f_\psi$, proxy table $\mathcal{L}$
1: $p^{\prime} \leftarrow \operatorname{REPLACECODE}(p,\operatorname{NEARESTNAME}(c_t,\mathcal{L}))$
2: $z_T \sim \mathcal{N}(0,I)$
3: for $t=T,\ldots,1$ do
4: if $t=s$ then
5: $\hat{z}_0 \leftarrow \text{Eq. 2};\quad I \leftarrow D(\hat{z}_0)$
6: $M \leftarrow \operatorname{DOWNSAMPLE}(\operatorname{SAM3}(I,p^{\prime}))$
7: $c_i \leftarrow \operatorname{MEANLAB}(I,M);\quad \Delta z \leftarrow U f_\psi(c_i,c_t)$
8: end if
9: $z_{t-1} \leftarrow \operatorname{STEP}(z_t,t)$
10: if $t \leq s$ then
11: $z_{t-1} \leftarrow z_{t-1}+w(t)(M\odot\Delta z)$ ▷ $w$ decays linearly to 0
12: end if
13: end for
Ensure: $D(z_0)$
using the Thurstone Case V Law of Comparative Judgment to compute accuracy z-scores, with 95% confidence intervals calculated following Montag [32]. As illustrated in Figure 19, a z-score greater than zero indicates a preference for our method. ColorTuning demonstrated a statistically significant preference over both competitors, achieving a z-score of against NumColor and against ColorWave.
Figure 19. Thurstone case V results of our user’s study. Values are z-scores. Error bars represent 95% confidence intervals —see Montag [32]. Our method is statistically better than existing methods: ColorWave and NumColor.
References
- [1]Arash Akbarinia. Exploring the categorical nature of colour perception: Insights from artificial networks. Neural Networks, 181:106758, 2025.
- [2]Guillem Arias, Ariadna Solà, Martí Armengod, and Maria Vanrell. Color encoding in latent space of stable diffusion models. In Color and Imaging Conference Final Program, 2025.arxiv.org/abs/2512.09477
- [3]Horace B. Barlow. Possible principles underlying the transformation of sensory messages. In Sensory Communication, pp. 217–234. MIT Press, 1961.
- [4]Giulio Biroli, Tony Bonnaire, Valentin de Bortoli, and Marc Mézard. Dynamical regimes of diffusion models. Nature Communications, 15(1):9957, 2024. doi: 10.1038/s41467-024-54281-3.DOI
- [5]Gershon Buchsbaum and Allan Gottschalk. Trichromacy, opponent colours coding and optimum colour information transmission in the retina. Proceedings of the royal society of London. Series B, Biological sciences, pp. 89–113, 1983.pubmed.ncbi.nlm.nih.gov/6140684
- [6]Christopher P. Burgess, Irina Higgins, Arka Pal, Loic Matthey, Nick Watters, Guillaume Desjardins, and Alexander Lerchner. Understanding disentangling in β-vae. arXiv preprint arXiv:1804.03599, 2018.arxiv.org/abs/1804.03599
- [7]Muhammad Atif Butt, Kai Wang, Javier Vazquez-Corral, and Joost Van de Weijer. Colorpeel: Color prompt learning with diffusion models via color and shape disentanglement. In European Conference on Computer Vision, pp. 456–472. Springer, 2024.
- [8]Muhammad Atif Butt, Alexandra Gomez-Villa, Tao Wu, Javier Vazquez-Corral, Joost Van De Weijer, and Kai Wang. Gencolorbench: A color evaluation benchmark for text-to-image generation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 36638–36648, 2026a.
- [9]Muhammad Atif Butt, Diego Hernández, Alexandra Gomez-Villa, Kai Wang, Javier Vazquez-Corral, and Joost Van De Weijer. Numcolor: Precise numeric color control in text-to-image generation. In European Conference on Computer Vision (ECCV), pp. 149–166, 2026b.
- [10]Nicolas Carion, Laura Gustafson, Yuan-Ting Hu, Shoubhik Debnath, Ronghang Hu, Didac Suris Coll-Vinent, Chaitanya Ryali, Kalyan Vasudev Alwala, Haitham Khedr, Andrew Huang, Jie Lei, Tengyu Ma, Baishan Guo, Arpit Kalla, Markus Marks, Joseph Greer, Meng Wang, Peize Sun, Roman Rädle, Triantafyllos Aouris, Efrosyni Mavroudi, Katherine Xu, Tsung-Han Wu, Yu Zhou, Liliane Momeni, RISHI HAZRA, Shuangrui Ding, Sagar Vaze, Francois Porcher, Feng Li, Siyuan Li, Aishwarya Kamath, Ho Kei Cheng, Piotr Dollar, Nikhila Ravi, Kate Saenko, Pengchuan Zhang, and Christoph Feichtenhofer. Sam 3: Segment anything with concepts. In International Conference on Learning Representations (ICLR), pp. 138846–138923, 2026.arxiv.org/abs/2511.16719
- [11]Andrew M. Derrington, John Krauskopf, and Peter Lennie. Chromatic mechanisms in lateral geniculate nucleus of macaque. The Journal of Physiology, 357(1):241–265, 1984.pubmed.ncbi.nlm.nih.gov/6512691
- [12]Engy Ehab, Pablo Hernández-Cámara, Nahla Belal, Jesús Malo, Javier Vazquez-Corral, and Alexandra Gomez-Villa. Do vision encoders exhibit human-like color thresholds? arXiv preprint arXiv:2607.16540, 2026.
- [13]Patrick Esser, Robin Rombach, and Björn Ommer. Taming transformers for high-resolution image synthesis. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 12873–12883, 2021.arxiv.org/abs/2012.09841
- [14]Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, and Robin Rombach. Scaling rectified flow transformers for high-resolution image synthesis. In International Conference on Machine Learning (ICML), 2024.
- [15]Alban Flachot and Karl R. Gegenfurtner. Processing of chromatic information in a deep convolutional neural network. Journal of the Optical Society of America A, 35(4):B334–B346, 2018.
- [16]Alex Gomez-Villa, Adrian Martín, Javier Vazquez-Corral, Marcelo Bertalmío, and Jesús Malo. Color illusions also deceive cnns for low-level vision tasks: Analysis and implications. Vision Research, 176:156–174, 2020.
- [17]Alexandra Gomez-Villa, Kai Wang, C Alejandro Parraga, Bartłomiej Twardowski, Jesus Malo, Javier Vazquez-Corral, and Joost van den Weijer. The art of deception: Color visual illusions and diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 18642–18652, 2025.
- [19]Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-VAE: Learning basic visual concepts with a constrained variational framework. In International Conference on Learning Representations, 2017.
- [20]Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems (NeurIPS), volume 33, pp. 6840–6851, 2020.arxiv.org/abs/2006.11239
- [21]Patrik O. Hoyer and Aapo Hyvärinen. Independent component analysis applied to feature extraction from colour and stereo images. Network: Computation in Neural Systems, 11(3):191–210, 2000.pubmed.ncbi.nlm.nih.gov/11014668
- [22]Ilyes Khemakhem, Diederik Kingma, Ricardo Monti, and Aapo Hyvärinen. Variational autoencoders and nonlinear ICA: A unifying framework. In International Conference on Artificial Intelligence and Statistics (AISTATS), pp. 2207–2217, 2020.arxiv.org/abs/1907.04809
- [23]Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In International Conference on Learning Representations (ICLR), 2014.arxiv.org/abs/1312.6114
- [24]Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems, pp. 1097–1105, 2012.
- [25]Héctor Laria, Alexandra Gomez-Villa, Jiang Qin, Muhammad Atif Butt, Bogdan Raducanu, Javier Vazquez-Corral, Joost Van De Weijer, and Kai Wang. Leveraging semantic attribute binding for free-lunch color control in diffusion models. In 2026 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 7689–7698, 2026.arxiv.org/abs/2503.09864
- [26]Ya Le and Xuan Yang. Tiny imagenet visual recognition challenge. Technical report, Stanford University, 2015. URL http://stanford.edu. CS231n Project Report.
- [27]Qiang Li, Alex Gomez-Villa, Marcelo Bertalmío, and Jesús Malo. Contrast sensitivity functions in autoencoders. Journal of Vision, 22(6):8–8, 05 2022. doi: 10.1167/jov.22.6.8.DOI
- [28]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.02747
- [29]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2209.03003
- [30]Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Rätsch, Sylvain Gelly, Bernhard Schölkopf, and Olivier Bachem. Challenging common assumptions in the unsupervised learning of disentangled representations. In International Conference on Machine Learning (ICML), pp. 4114–4124, 2019.arxiv.org/abs/1811.12359
- [31]Jesús Malo. Spatio-chromatic information available from different neural layers via gaussianization. J. Math. Neurosci., 10:18, 2020. doi: 10.1186/s13408-020-00095-8.DOI
- [32]Ethan D Montag. Empirical formula for creating error bars for the method of paired comparison. Journal of Electronic Imaging, 15(1):010502–010502, 2006.DOI
- [33]Ján Morović. Color Gamut Mapping. The Wiley-IS&T Series in Imaging Science and Technology. John Wiley & Sons, Chichester, UK, 2008. ISBN 978-0-470-03032-5.DOI
- [34]Mateusz Pach, Jessica Bader, Quentin Bouniot, Serge Belongie, and Zeynep Akata. The latent color subspace: Emergent order in high-dimensional chaos. In International Conference on Machine Learning (ICML), 2026.arxiv.org/abs/2603.12261
- [35]Patrik Reizinger, Luigi Gresele, Jack Brady, Julius Von Kügelgen, Dominik Zietlow, Bernhard Schölkopf, Georg Martius, Wieland Brendel, and Michel Besserve. Embrace the gap: Vaes performance independent mechanism analysis. In Advances in Neural Information Processing Systems (NeurIPS), pp. 12040–12057, 2022.arxiv.org/abs/2206.02416
- [36]Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In International Conference on Machine Learning (ICML), pp. 1278–1286, 2014.
- [37]Michal Rolinek, Dominik Zietlow, and Georg Martius. Variational autoencoders pursue pca directions (by accident). In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 12398–12407, 2019.arxiv.org/abs/1812.06775
- [38]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 10674–10685, 2022.arxiv.org/abs/2112.10752
- [39]Daniel L. Ruderman, Thomas W. Cronin, and Chuan-Chin Chiao. Statistics of cone responses to natural images: implications for visual coding. Journal of the Optical Society of America A, 15 (8):2036–2045, 1998.DOI
- [40]Shay Shomer-Chai, Wenxuan Peng, Bharath Hariharan, and Hadar Averbuch-Elor. Color bind: Exploring color perception in text-to-image models. In 2026 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 1916–1925. IEEE, 2026.
- [41]Eero P. Simoncelli and Bruno A. Olshausen. Natural image statistics and neural representation. Annual Review of Neuroscience, 24:1193–1216, 2001.pubmed.ncbi.nlm.nih.gov/11520932
- [42]Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In International Conference on Learning Representations (ICLR), 2021.arxiv.org/abs/2010.02502
- [43]Nipun Ravindu Wickramanayaka and Masafumi Oizumi. Systematic comparison of color representations between humans and deep neural networks: towards predicting human color perception in a vast color space. bioRxiv, 2025. doi: 10.64898/2025.12.10.693611.DOI
- [44]Xiaolin Wu. Efficient statistical computations for optimal color quantization. In James Arvo (ed.), Graphics Gems II, pp. 126–133. Academic Press, 1991.DOI
- [45]Dominik Zietlow, Michal Rolinek, and Georg Martius. Demystifying inductive biases for (beta)-vae based architectures. In International Conference on Machine Learning (ICML), pp. 12945–12954, 2021.arxiv.org/abs/2102.06822


