arXiv:2610.09841cs.CVOct 2026

Manuscript Offprint

arXiv:2610.09841

ORCA: Hunting Compositional Failures in Text-to-Image Diffusion

Arshia Hemmat, Amirhossein Vahidi, Amitis Shidani, Mohammad Vali Sanian, Hesam Asadollahzadeh, Aryan Yazdan Parast, Mohammad Lotfollahi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Text-to-image diffusion models fail predictably on compositional prompts: attributes bind to the wrong objects, spatial relations invert, and multi-object scenes lose count. Recent architectures already augment CLIP with a T5 encoder precisely because CLIP's contrastive embedding loses compositional structure, yet these failures persist. We argue the binding problem is therefore not one of missing information but of misaligned information: a text encoder preserves compositional structure, but in a representation space shaped by language modelling rather than vision, and the denoising objective does not directly reward aligning the two. We show this correspondence can be supplied as an explicit training signal, that the relevant cross-modal information is concentrated in a low-rank subspace of self-supervised visual features, and that supplying it can be folded into diffusion training as a single auxiliary loss. Our method, ORCA (Orthogonal Residual Compositional Alignment), aligns the latent of a diffusion transformer with a low-rank target derived from a frozen visual encoder, through a predictor whose orthogonal basis is parameterised by a learned residual between T5 and CLIP embeddings, which provides a prompt-dependent signal for selecting the visual readout subspace. We prove that the cross-modal information recoverable at a given rank is bounded by the spectral mass of the visual encoder's covariance in the top components. Across three diffusion-transformer backbones (DiT-B/2, DiT-L/2, U-ViT-L), ORCA improves FID and GenEval over both vanilla and REPA baselines at zero inference-time cost; on DiT-L/2 it reaches FID 16.65 and GenEval 0.291 at 200K steps, exceeding the strongest 400K baseline at half the training cost, with the largest gains concentrated on attribute binding, spatial relations, and multi-object prompts.

1 Introduction

Text-to-image diffusion models generate photorealistic images at scale, yet they fail predictably on prompts that require compositional reasoning. The fox is green when it should be red; the cat is on the mat instead of beside it; one of three apples is missing. These are not rendering failures, since the individual objects are crisp and well-formed, but conditioning failures, and they persist across model generations, architectures, and training scales [1, 2, 3].

Preprint.

Figure

Figure 1: ORCA aligns the diffusion latent with a low-rank visual target via a text-conditioned projector K(Δy)K(\Delta y) built from the T5–CLIP residual. On DiT-L/2, ORCA reaches the vanilla 400K FID and GenEval in 4.8×4.8\times and 3.6×3.6\times fewer steps, with zero inference overhead.

A growing body of work has localised the source in the text encoder. CLIP’s text encoder [4], the dominant conditioning signal in modern text-to-image models, behaves cross-modally as a bag-of-words: it captures which concepts appear in a caption but loses how those concepts are bound to one another [5]. Recent analyses trace this not to CLIP’s training data but to the contrastive objective itself, which rewards alignment of shared content between modalities and provides no pressure to encode the syntactic structure that compositional generation requires [6, 7]. State-of-the-art models including Stable Diffusion 3 [8] and FLUX [9] respond by augmenting CLIP with a T5 encoder [10], precisely because T5’s language-modeling objective preserves the compositional structure CLIP discards.

A separate line of work suggests where such grounding could come from. Diffusion transformers improve substantially when their internal representations are aligned with self-supervised visual encoders. REPA [11] regularises diffusion hidden states toward DINOv2 [12] features and reports more than 17×17 \times faster convergence on class-conditional ImageNet; REG [13] extends this to high-level class tokens; subsequent analysis identifies the spatial structure of self-supervised features as the source of the gain [14]. These methods supply the visual grounding signal the diffusion objective lacks, but they have been developed for class-conditional generation, where the conditioning is a single label and the binding problem does not arise. Whether the same mechanism addresses text-image binding, where the conditioning is a structured sequence whose compositional content must be respected, remains open.

We propose ORCA, which closes this gap through three coupled observations. (1) The textual signal that should drive the alignment is not T5 itself but the residual between T5 and CLIP, the component of T5 not linearly expressible in CLIP's embedding space, which concentrates the compositional structure the contrastive encoder discards. (2) The visual signal the diffusion model should ground against is concentrated in a low-rank subspace of self-supervised feature spaces. (3) The alignment should be supplied at an intermediate diffusion state and used purely as a training signal, so the inference pipeline is unchanged.

The mechanism is a small predictor whose orthogonal basis is parameterized by the residual textual signal and which projects the diffusion latent into a low-rank subspace of self-supervised visual features for supervision. We prove that the cross-modal information recoverable through this mechanism at a given rank is bounded by the spectral mass of the visual encoder's covariance in the top components, and observe empirically that downstream performance saturates at the spectral elbow, a falsifiable prediction the theory makes and the experiments confirm.

Contributions. We make the following contributions.

• We formalize the diagnosis of compositional failure as a problem of misalignment rather than missing information: modern T2I systems already condition on T5, but the diffusion objective does not provide a training signal that grounds T5's compositional structure in visual composition.

• We propose ORCA, a training-time auxiliary loss that supplies this grounding signal by aligning the diffusion model's intermediate latent with a low-rank target derived from self-supervised visual features, with the readout subspace parameterized by the T5–CLIP residual.

• We prove a spectral upper bound on the cross-modal information ORCA can recover at a given rank, and show this bound is tight in expectation under the power-law spectra that self-supervised visual features empirically exhibit.

• We evaluate ORCA against MMDiT, REPA, and REG baselines primarily on FID and GenEval [1], and report PickScore [15], and CLIPScore [16] in auxiliary analyses with the largest gains on attribute binding, spatial relations, and multi-object prompts.

References (26)