Continuous training targets help visual models combine unfamiliar concepts
Image models generalize to unseen combinations of attributes when their training targets preserve continuous mathematical distances instead of sorting visual patches into discrete categories.

A visual generative model can learn to depict a smiling person with dark hair, and it can learn to depict a serious person with light hair. When asked to synthesize a serious person with light hair who also possesses a novel combination of traits, the machine often falters. Rather than recombining familiar visual elements smoothly, the software frequently outputs distorted textures, mangled features, or outright scrambled pixels. The machine can reproduce what it observed during training, but it struggles to treat separate visual attributes as modular building blocks that can be rearranged at will.
This failure to recombine attributes points to a fundamental bottleneck in machine learning known as compositional generalization. When an artificial intelligence system creates an image, it must coordinate multiple underlying properties such as shape, illumination, pose, and color simultaneously. If the system merely memorizes the specific combinations of properties present in its training library, it remains incapable of responding reliably to prompts that depart from familiar arrangements. Human vision navigates novel scenes effortlessly because people recognize individual components, like a red cylinder or a smiling face, and understand how those components behave when assembled into unfamiliar patterns.
A preprint posted to the arXiv server on October 2, 2026, by Karim Farid, Rajat Sahay, Yumna Ali Alnaggar, Simon Schrodi, and Thomas Brox at the University of Freiburg, together with Volker Fischer at the Bosch Center for Artificial Intelligence and Cordelia Schmid at Inria, the École Normale Supérieure, CNRS, and PSL Research University, investigates why some visual architectures master these novel combinations while others break down. The researchers examined how choices in mathematical structure and training goals shape an algorithm's ability to assemble unseen compositions without distorting the final scene.1
Why do generative models struggle to assemble novel visual scenes?
Generative models struggle to assemble novel visual scenes when their training design forces them to make categorical choices over disconnected tokens rather than navigating a smooth mathematical space. To generate an image, an algorithm must first convert a high-dimensional grid of pixels into an internal representation, adjust that representation according to a text prompt or label, and finally decode the result back into visible pixels. In this sequence, the algorithm must track each attribute independently so that altering one detail, such as hair color, does not disrupt an unrelated detail, such as facial expression. When an architecture treats visual building blocks as discrete categories without geometric relationships, small shifts in meaning cannot be represented by small steps in calculation.
Consider what must happen, step by step, for a computer model to generate a picture from descriptive labels. First, the user supplies a set of conditions specifying the desired attributes of the scene. Second, the model maps those conditions into an internal workspace where it predicts the arrangement of visual components across the canvas. Third, the model refines this internal map, ensuring that lines, boundaries, and colors connect consistently across the image. Fourth, a decoding system translates the completed internal map back into red, green, and blue values for every pixel. If the model learns that certain visual attributes always appear together in the training data, its internal workspace can collapse those attributes into a single memorized pattern.
When an unfamiliar prompt separates those attributes, a fragile model cannot locate an appropriate starting point in its workspace. Instead of sliding to a neighboring coordinate that combines the requested features, the algorithm leaps toward an arbitrary prediction, producing corrupted patches across the canvas. Farid and colleagues found that this behavior separates two major families of modern generative systems.1 On one side are continuous diffusion systems, such as diffusion transformers, which guide images through smooth mathematical trajectories.1 On the other side are discrete systems, such as masked generative image transformers, which predict isolated codebook indices drawn from a fixed vocabulary.1

How does the mathematical form of the training objective change generation?
The mathematical form of the training objective changes generation by establishing whether the algorithm learns smooth geometric distances between concepts or treats every visual alternative as an isolated category. Discrete masked architectures, including MaskGIT, train by hiding a subset of visual tokens and attempting to classify the missing entries using categorical negative log-likelihood loss, a formula that assigns a discrete probability to each entry in a predefined vocabulary.1 In this regime, an error between two visually similar states receives the same penalty as an error between two completely unrelated states, because categorical cross-entropy possesses no built-in notion of visual proximity.
By contrast, continuous diffusion models, such as the Diffusion Transformer known as DiT, optimize objectives defined over continuous spaces where distances are measured directly in real numbers. To understand whether this difference explains why diffusion models generalize better, the Freiburg team constructed a series of intermediate models that varied one design parameter at a time.1 The authors evaluated these systems on controlled benchmarks, including Shapes2D, where synthetic images carry three binary factors specifying visual traits. Models were trained on four observed combinations and tested on held-out combinations that varied by one factor, designated as level-1 compositions, or by two factors, designated as level-2 compositions.
Explaining the geometry of this benchmark partition, Thomas said in response to questions from Primary: "The experiment worked with 3 attributes, each with two possible states. This gives 2^3=8 possible combinations, 4 of which were shown during training. For three of them one attribute showed a state not shown in this combination (because there are three attributes), for one of them two attributes showed a state not shown in this combination. You can visualize this by a cube with its 8 corners to understand it more easily."
When the researchers trained a diffusion transformer on the Shapes2D dataset, probe accuracy for held-out level-2 compositions rose from 5% at 1,000 optimization steps to 98% at 60,000 steps when using a continuous variational autoencoder tokenizer, and reached 90% at 100,000 steps when using a discrete vector-quantized autoencoder tokenizer. By comparison, MaskGIT failed to generalize to these novel combinations, outputting severely distorted images. To determine whether the failure stemmed from the masking strategy or the discrete loss, the authors examined hybrid models. One intermediate architecture, the Masked Autoencoder with Autoregressive Diffusion, or MAR, retained a masking schedule but applied a continuous diffusion loss per token, successfully achieving robust compositional generalization.1
The researchers also evaluated Generative Infinite-Vocabulary Transformers, known as GIVT, an architecture introduced by Michael Tschannen, Cian Eastwood, and Fabian Mentzer in a 2023 preprint.13 GIVT retains the masked generation structure of MaskGIT but replaces the discrete categorical prediction head with a continuous Gaussian mixture model that predicts real-valued latent sequences.1 Replacing MaskGIT's categorical loss with GIVT's continuous Gaussian mixture objective produced a substantial jump in compositional generalization, whereas moving from the Gaussian mixture objective to full diffusion yielded comparatively smaller additional gains.
Can discrete architectures recover compositional ability through continuous guidance?
Discrete architectures can partially recover compositional ability when their training loss is augmented with an auxiliary continuous predictive objective.1 Because discrete models suffer primarily from the categorical nature of their training targets, Farid and colleagues tested whether providing continuous feedback during training could restore modular reasoning. The researchers introduced an auxiliary continuous Joint Embedding Predictive Architecture objective, known as JEPA, which trains intermediate layers of the discrete model to predict continuous representations of hidden image regions rather than purely categorical codebook tokens.
Augmenting MaskGIT with this continuous predictive objective yielded clear performance improvements on held-out factor combinations across benchmark evaluations.1 When examining the internal activations of models trained with the auxiliary objective, the authors observed more disentangled internal representations, meaning that distinct visual attributes were tracked along separate mathematical dimensions inside the network.1 Yet the precise mechanistic cause remains unexplained. Asked what computational mechanism causes the continuous auxiliary loss to force distinct attributes into separate mathematical dimensions, Thomas told Primary: "We were not able to find this out yet."

Thomas cautioned against treating auxiliary losses as an ideal remedy for discrete models. "In the end, there is a mix of a discrete and a continuous loss, which is not as good as a continuous loss alone," Thomas told Primary. "Given that there are two other factors that foster or hamper compositional generalization (see below), and which cannot be controlled as easily in practice, it is not advisable to use a discrete loss in the first place."
Thomas highlighted two additional levers that control compositional success alongside the training objective. "Two other factors we identified in the paper besides the continuous objective was (1) the explicit availability of the attribute value (rather than the network be forced to derive the attribute indirectly from more complicated measurements)," Thomas said to Primary. Thomas noted that "especially on our small-scale setup with small training data and a small network, identification of the attribute is a very hard learning problem." The second factor, Thomas explained, involved "showing a continuous attribute during training, i.e., not just red and blue but also colors in between. Of course for naturally discrete attributes (like male and female) this will not work, but in visual space there are hardly such naturally discrete attributes."
The study also revealed that the completeness of conditioning information plays a decisive role across all architectures. When models were trained with partial or quantized factor descriptions, such as specifying that an object was red without providing its exact coordinate or omitting a secondary facial attribute during training, their compositional generalization dropped sharply. Thomas observed that this degradation was consistent with earlier expectations. "I don't remember any unexpected breakdown. We expected all models to suffer from this," Thomas told Primary, adding: "This was also known before (although most papers rather argue with scale or diversity, which enables at some point the identification of the missing attributes from the images)."
Conversely, changing the tokenizer itself, such as switching between a continuous variational autoencoder and a discrete vector-quantized tokenizer, altered training speed and optimization stability but did not prevent continuous generative models from generalizing by the end of training.
What are the boundaries of these findings?
These findings describe the behavior of specific transformer-based generative architectures tested under controlled experimental settings and benchmark datasets. The results do not prove that discrete token modeling is mathematically incapable of compositional generalization under every possible scaling regime or prompt format, but rather demonstrate that continuous training objectives provide an inherent inductive bias that favors modular recombination. The experiments on synthetic datasets like Shapes2D, Shapes3D, and CLEVRER-Kubric, as well as face benchmarks like CelebA, examine scenarios where generating factors are explicitly defined and tracked using linear probes. In unconstrained real-world settings where factors of variation are messy, overlapping, and unannotated, model performance will also depend on data diversity and scale.
The research paper is a preprint that has been posted online and has not yet undergone formal peer review. While the authors evaluated transfer to video generation and complex driving datasets such as CoVLA, the causal mechanisms linking continuous losses to linear probe accuracy remain an active subject of empirical study rather than a settled theoretical proof.
For developers designing future generative systems, the distinction between discrete and continuous training targets carries practical consequences. While discrete tokenization has dominated natural language processing and inspired many image-generation frameworks, visual scenes appear fundamentally suited to continuous mathematical formulations. Systems tasked with generating complex, novel scenes can benefit from shifting toward continuous training objectives or incorporating continuous predictive targets into existing discrete models, ensuring that visual concepts remain pliable building blocks rather than rigid, memorized fragments.
The record
29 sentences trace to 2 sources and 1 contributor.
- 1 What Drives Compositional Generalization in Visual Generative Models? The Importance of Continuous Training Objectives Preprint · may not have been peer reviewed See the source
- 2 Contribution — Thomas Brox 14 statements added to this article
- 3 GIVT: Generative Infinite-Vocabulary Transformers Preprint · may not have been peer reviewed See the source
Other consulted pages1 page
Article history
-
Published 3 Dec 2026, 14:30Assembled by the Primary desk from 2 sources · 1 contributor · 29 cited sentences
-
Thomas Brox
- Go to the sentence: Models were trained on four observed combinations and tested on held-out combinations that varied by one factor, designated as level-1 compositions, or by two factors, designated as level-2 compositions.
- Go to the sentence: Explaining the geometry of this benchmark partition, Thomas said in response to questions from Primary: "The experiment worked with 3 attributes, each with two possible states. This gives 2^3=8 possible combinations, 4 of which were shown during training. For three of them one attribute showed a state not shown in this combination (because there are three attributes), for one of them two attributes showed a state not shown in this combination. You can visualize this by a cube with its 8 corners to understand it more easily."
- Go to the sentence: Discrete architectures can partially recover compositional ability when their training loss is augmented with an auxiliary continuous predictive objective.
- Go to the sentence: Augmenting MaskGIT with this continuous predictive objective yielded clear performance improvements on held-out factor combinations across benchmark evaluations.
- Go to the sentence: Asked what computational mechanism causes the continuous auxiliary loss to force distinct attributes into separate mathematical dimensions, Thomas told Primary: "We were not able to find this out yet."
- Go to the sentence: Thomas cautioned against treating auxiliary losses as an ideal remedy for discrete models.
- Go to the sentence: "In the end, there is a mix of a discrete and a continuous loss, which is not as good as a continuous loss alone," Thomas told Primary.
- Go to the sentence: Thomas highlighted two additional levers that control compositional success alongside the training objective.
- Go to the sentence: "Two other factors we identified in the paper besides the continuous objective was (1) the explicit availability of the attribute value (rather than the network be forced to derive the attribute indirectly from more complicated measurements)," Thomas said to Primary.
- Go to the sentence: Thomas noted that "especially on our small-scale setup with small training data and a small network, identification of the attribute is a very hard learning problem."
- Go to the sentence: The second factor, Thomas explained, involved "showing a continuous attribute during training, i.e., not just red and blue but also colors in between. Of course for naturally discrete attributes (like male and female) this will not work, but in visual space there are hardly such naturally discrete attributes."
- Go to the sentence: The study also revealed that the completeness of conditioning information plays a decisive role across all architectures.
- Go to the sentence: Thomas observed that this degradation was consistent with earlier expectations.
- Go to the sentence: "I don't remember any unexpected breakdown. We expected all models to suffer from this," Thomas told Primary, adding: "This was also known before (although most papers rather argue with scale or diversity, which enables at some point the identification of the missing attributes from the images)."
