What kills $v$-prediction? A Patch-wise PCA Perspective on Pixel-Space Flow Matching

Tianze Luo, Haofeng Huang, Yuan Yao

TL;DR

When training generative image models directly on raw pixels instead of compressed latents, predicting the flow’s velocity ($v$-prediction) famously crashes and burns—a failure usually blamed on the weird geometry of noisy data. This paper reveals the real culprit is actually a bandwidth traffic jam: predicting velocity forces the neural network to memorize high-dimensional raw noise all the way through its deepest layers, starving it of capacity to learn actual image features. By simply giving the raw noisy input a "bypass lane" straight to the end of the network, $v$-prediction comes roaring back to life and beats clean-image prediction ($x$-prediction) baselines.

What Problem Does This Paper Address?

Most modern image generators—like Stable Diffusion—are Latent Diffusion Models. They use a pre-trained autoencoder (VAE) to squish images into a compact latent space before doing any generative modeling. It’s efficient, but two-stage pipelines are clunky, and your final image is forever bottlenecked by how well that frozen VAE can reconstruct details.

Naturally, researchers want to return to end-to-end pixel-space generation using Flow Matching (a cousin of diffusion that moves pure noise $x_1$ to clean data $x_0$ along straight lines). To keep compute reasonable on big images, Vision Transformers chop images into large patches—say, $16 \times 16$ pixels, which equals 768 raw RGB values per token.

Here lies the mystery: Flow Matching’s native objective is $v$-prediction (predicting the velocity vector $x_1 - x_0$). On large pixel patches, standard $v$-prediction fails catastrophically. Recent work (like JiT) switched to $x$-prediction (predicting the clean image $x_0$ directly, then algebraically solving for velocity via $v = (x_t - \hat{x}_0)/t$), which works great. Why? Conventional wisdom says $x_0$ lies on a nice, low-dimensional "natural image manifold," whereas $v$ points off-manifold. The authors noticed a flaw in that logic: an MSE-trained $x$-predictor outputs a conditional average of possible images, which is blurry and doesn't actually live on the sharp image manifold either! So what is really killing $v$-prediction?

Methods

To play detective, the authors use patch-wise Principal Component Analysis (PCA) to decompose $16 \times 16$ image patches into dominant directions (broad colors/shapes) and minor components (tiny, near-zero-variance details), alongside linear probing to measure how much of the raw noisy input $x_t$ is memorized inside the Transformer's hidden layers.

Armed with their diagnosis, they build the Raw-injected Transformer (RiT)—an architecture that keeps a standard Vision Transformer backbone (operating on $16 \times 16$ patches with a compact 128-dim input bottleneck) and adds two lightweight features at the very end to revive $v$-prediction:

  1. A Raw-Conditioned Subpatch Decoder: A tiny 2-block Transformer that splits tokens into finer $8 \times 8$ patches and receives a fresh injection of the raw noisy image $x_t$, giving it enough post-injection width ("bandwidth") to model fine details.
  2. A Shared-Output Transport Shortcut: Inspired by optimal affine math, an explicit skip connection routes $x_t$ directly to the output layer, modulated by learned time-dependent fractions, freeing the nonlinear network from doing simple noise-forwarding math.
Figure 2: Overview of RiT and the bandwidth bottleneck. Standard v-prediction must retain noisy input while learning semantic features, creating competing demands on backbone bandwidth. Enlarging the backbone can alleviate this conflict without extra raw injection, but incurs substantial computational overhead. RiT instead uses a lightweight raw-conditioned nonlinear decoder with sufficient post-injection capacity and an output-side shortcut. Details of the final layers are given in Section 4.5. In contrast, x-prediction provides an inherent raw-input bypass and can learn compact representations concentrated on principal directions. Under low-rank conditions, its induced flow reconstructs discarded components as conditional means without additional decoder layers.

Datasets

All experiments—both diagnostic ablations and large-scale generative benchmarks—are conducted on class-conditional ImageNet at $256 \times 256$ resolution. No new datasets are introduced.

Key Insights and Ideas

  • The Anisotropic Noise Trap: Natural image patches are wildly lopsided—their PCA eigenvalues span six orders of magnitude! In the hundreds of "minor" directions, clean image variance is basically zero, meaning the noisy state $x_t$ is almost pure Gaussian noise. Yet to predict velocity ($x_1 - x_0$) there, the network must know $x_t$ (since $v \approx x_t / t$).
  • The Bandwidth Bottleneck: Linear probes show that a standard $v$-prediction Transformer with a 768-wide hidden state retains ~95% of the 768-dimensional noisy input $x_t$ across every single layer! Memorizing 768 numbers of mostly static leaves no room in the hidden state to compute high-level semantics. When the authors restricted data and noise to just the top 128 PCA components, vanilla $v$-prediction suddenly worked—and beat $x$-prediction!
Linear reconstruction fidelity of noisy input across layers
  • $x$-Prediction’s Secret Superpowers: Why did $x$-prediction survive? First, the formula $v = (x_t - \hat{x}_0)/t$ acts as a built-in raw-input bypass—the network just outputs a constant mean $\mu$ for minor components, and the external formula supplies $x_t$ for free! Second, the authors prove that even when a bottleneck throws away 640 dimensions at the input, $x$-prediction's flow dynamics act as an implicit conditional-mean decoder, reconstructing missing details from the principal components. In fact, $x$-prediction's input layer spontaneously lowers its own effective rank during training to focus only on top PCA directions.

Key Results

By separating semantic thinking (in the deep backbone) from raw-noise routing (at the tail), RiT makes pixel-space $v$-prediction shine without any perceptual, adversarial, or frequency-domain losses:

  • Fixing the Failure: On B-scale models (200 epochs, no guidance), vanilla $v$-prediction completely fails with an FID of 149.07 (lower is better). Adding RiT’s raw-conditioned decoder and output shortcut drops FID all the way to 27.97—beating the same architecture trained with $x$-prediction (28.49).
  • Scaling Up: Across B, L, and H scales on ImageNet $256 \times 256$ (with Classifier-Free Guidance), RiT consistently outperforms the $x$-prediction JiT baselines:
  • RiT-B/16: 3.01 FID vs. JiT-B/16's 3.66 (600 epochs).
  • RiT-L/16: 2.06 FID vs. JiT-L/16's 2.36 (600 epochs).
  • RiT-H/16: 1.79 FID in just 480 epochs vs. JiT-H/16's 1.86 at 600 epochs.
Figure 1: Qualitative results and quantitative comparison. The visual examples illustrate the generation quality of our model, while the table compares FID-50K across different model scales on ImageNet 256 × 256. RiT-B and RiT-L are trained for 600 epochs, whereas RiT-H is trained for 480 epochs. All JiT [30] baselines are trained for 600 epochs. Our models consistently achieve lower FID-50K scores, even with fewer training epochs at the H scale.

Limitations and Future Work

The authors emphasize that their goal is explanatory rather than crowning one ultimate architecture. Consequently, RiT intentionally skips popular bells and whistles—like representation alignment (REPA) or frequency-aware losses (DeCo)—which currently hold slightly lower absolute FIDs (e.g., 1.69 for DeCo-XL/16, or 1.13 for latent models like RAE). Future work can combine RiT’s bandwidth-friendly design principles with more expressive raw-conditioned decoders (like convolutional heads) and modern representation-alignment training tricks, or extend the framework beyond $256 \times 256$ images.

Summary updated

Abstract

Latent Diffusion Models dominate generative modeling but face two-stage training complexity and the inherent reconstruction limits of pre-trained autoencoders. Pixel-space Flow Matching offers a simplified end-to-end alternative yet often encounters training difficulties when using the standard $v$-prediction objective. Recent research attributes this difficulty to the off-manifold nature of noised targets, motivating a shift toward $x$-prediction. In this paper, we investigate this explanation through patch-wise Principal Component Analysis (PCA) and identify a bandwidth bottleneck. The velocity in minor components is largely determined by the raw noisy input, requiring deep backbones to preserve information that competes with principal-component modeling. Through controlled experiments and representation analysis, we further examine why $x$-prediction remains effective: its parameterization provides a raw-input bypass, while its learned input representation can spontaneously concentrate on principal directions. Under low-rank observations, our analysis of the induced flow characterizes $x$-prediction as an implicit conditional-mean decoder, reconstructing discarded components from the retained information. These observations motivate the Raw-injected Transformer (RiT), which combines a lightweight raw-conditioned decoder with an output-side shortcut to separate semantic modeling from raw-state propagation. Our method restores effective $v$-prediction and achieves competitive performance on ImageNet $256\times256$, providing a perspective on the interaction between prediction objectives and architectural bandwidth. Our code is available at https://github.com/THUMAI-Lab/RiT.
BibTeX
@inproceedings{luo2026what,
  author = {Tianze Luo and Haofeng Huang and Yuan Yao},
  title = {{What kills $v$-prediction? A Patch-wise PCA Perspective on Pixel-Space Flow Matching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=FwWaPhPb2O},
}
Figure