Learning to Solve Generative ODEs Beyond the Linear Span

Sihyeon Kim, Seunghun Lee, Vikas Singh, Hyunwoo J. Kim

TL;DR

SpanLift is a novel neural solver that breaks the "linear span" bottleneck of existing fast-sampling methods for diffusion and flow models. By augmenting standard solvers with a lightweight spatial residual operator, it achieves state-of-the-art image quality in extreme few-step regimes (3–5 steps) without adding expensive model evaluations.

What Problem Does This Paper Address?

Diffusion and flow-based generative models produce high-quality samples by integrating an Ordinary Differential Equation (ODE). However, this process is notoriously slow, often requiring dozens or hundreds of sequential network evaluations (NFEs).

To speed this up, researchers have developed "learnable solvers" that try to find the best way to combine current and past model outputs to take larger steps. The authors identify a fundamental structural flaw in these methods: they are span-limited. Existing solvers (like DyWeight or iPNDM) calculate the next step by taking a linear combination of buffered velocities. Mathematically, this restricts the update to the linear span of those previous outputs.

The authors demonstrate that the "true" ideal update often has a significant component orthogonal to this span. No matter how much you optimize the scalar weights, you can never reach this "out-of-span" residual, creating a performance floor that prevents high-quality generation in very few steps (e.g., NFE < 5).

Methods

The authors propose SpanLift, which augments a base solver with a learned spatial operator to "lift" the update out of the restricted linear span.

  1. The Architecture: SpanLift uses a shallow, FiLM-conditioned Convolutional Neural Network (CNN). It takes the current state and a buffer of previous velocities as input. Because it uses spatial kernels (like 3x3 convolutions) rather than just scalar weights, it can capture complex, spatially coupled directions that the base model's outputs might have missed.
  2. Base-Solver Agnostic: It acts as a residual correction. You can plug SpanLift on top of any existing solver (Euler, Heun, DyWeight). It learns to provide the specific "missing" directions for that particular solver.
  3. Endpoint Teacher Matching: Instead of training the solver to match every single step of a long trajectory, SpanLift is trained to match only the final output of a high-quality "teacher" sampler. This gives the solver the flexibility to take non-standard paths that lead to the best final result.
  4. Zero Extra NFEs: Crucially, the SpanLift operator is extremely lightweight (adding only ~0.04% parameters to a model like SANA). It processes already-computed velocities, meaning it improves quality without requiring any additional calls to the massive, expensive backbone generative model.
Figure 1: Qualitative results generated with FLUX.1-dev [3] ((a) NFE=5, (b) NFE=9).

Datasets

The researchers evaluated SpanLift across a wide variety of domains and model architectures:

  • Pixel-space Diffusion: CIFAR-10, ImageNet (64x64), FFHQ, and AFHQv2.
  • Latent Flow Matching: SANA-0.6B (512x512) and FLUX.1-dev.
  • Scientific Applications: Precipitation nowcasting using the SEVIR dataset.

Key Insights and Ideas

  • The "Out-of-Span" Reality: Through a controlled 3D ODE analysis (the Halvorsen system), the authors prove that scalar-coefficient learning hits a hard error floor. SpanLift’s ability to move outside this span is the primary reason for its performance gains.
  • Spatial Context Matters: The authors compared pointwise (1x1) operators against spatial (3x3, 5x5) operators. They found that spatial kernels are essential because the errors in generative ODEs have "cross-position" structures—what happens at one pixel affects the required correction for its neighbors.
  • Self-Correction: SpanLift is "aware" of the base solver's weaknesses. When placed on top of a weak solver like RK-Euler, the SpanLift correction is much larger than when it is placed on top of a strong solver like DyWeight.
  • Perceptual Loss for Latents: For high-resolution latent models, the authors found that adding an image-space perceptual loss (using DINOv2) was critical to prevent the high-capacity operator from producing blurry results that might otherwise satisfy a simple MSE loss.

Key Results

SpanLift consistently achieves state-of-the-art results in the "extreme low NFE" regime:

  • CIFAR-10 (3 NFE): Improved FID from 8.16 (previous best) to 5.69.
  • ImageNet (3 NFE): Improved FID from 17.37 to 11.83.
  • Qualitative Improvements: In text-to-image models like SANA and FLUX, SpanLift recovers coherent object structures and legible text where other few-step solvers produce garbled results.
Figure 2: Qualitative comparison on SANA-0.6B at 5 steps. SpanLift recovers recognizable scenes (like the Minotaur barkeeper) while other solvers fail to form coherent layouts.
  • Precipitation Nowcasting: At just 5 steps, SpanLift outperformed a 1000-step DDPM reference on the CSI-16 metric (0.6312 vs 0.6133), demonstrating its utility in scientific forecasting.

Limitations and Future Work

  • Teacher Dependency: Like all distillation-style methods, SpanLift is limited by the quality of the teacher sampler used during training.
  • Training Cost: While inference is fast, training the residual operator requires precomputing teacher trajectories, which can be computationally intensive for very large models.
  • Future Directions: The authors suggest that exploring more complex operator architectures or applying SpanLift to video generation models could be promising next steps. Additionally, investigating if the "out-of-span" residual can be predicted without any buffered history (using only the current state) remains an open question.

Summary updated

Abstract

Diffusion and flow generative models sample by integrating a learned ODE, but high quality still requires many sequential model evaluations. Solver learning reduces this cost by adapting scalar coefficients, timesteps, or both, while keeping the backbone model fixed. In this work, we identify a structural bottleneck in this update family: each step remains span-limited. Since the scalar-coefficient update lies in the span of buffered velocity evaluations, it can fit only the in-span component while leaving any out-of-span residual unreachable by scalar recombination alone. We propose SpanLift, a lightweight neural solver that augments scalar-coefficient updates with a spatial residual operator. SpanLift keeps a fixed base solver as an in-span prior and learns a spatial residual operator over the state and velocity buffer. The operator is trained by endpoint teacher matching, preserves the pretrained backbone, and adds no model NFEs. Empirically, the learned correction transfers across base solvers and is predominantly out-of-span. Across pixel-space diffusion, latent flow matching, and precipitation nowcasting, SpanLift achieves state-of-the-art few-step sampling. With only 3 NFE, it improves CIFAR-10 FID from 8.16 to 5.69 and ImageNet FID from 17.37 to 11.83.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10 · unconditional generation, 32×32SpanLiftFID↓5.69-2.47 vs baselineNFE=3 · generation=unconditional · resolution=32×32
Source quote
L461: 5.69
ImageNet-1K · ImageNet, conditional generation, 64×64SpanLiftFID↓11.83-5.54 vs baselineNFE=3 · generation=conditional · resolution=64×64
Source quote
L487: 11.83
MJHQ-25K text-to-image evaluationSpanLiftFID↓14.40-5.42 vs baselineCFG=4.5 · NFE=3 · params=0.6B · prompts=25K · backbone=SANA-0.6B · resolution=512×512
Source quote
L566: 14.40
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10 · unconditional generation, 32×32DyWeight baselineFID↓8.16NFE=3 · generation=unconditional · resolution=32×32
Source quote
L459: 8.16 │ 3.92 │ 3.02 │ 2.61
ImageNet-1K · ImageNet, conditional generation, 64×64DyWeight baselineFID↓17.37NFE=3 · generation=conditional · resolution=64×64
Source quote
L485: 17.37 │ 9.62 │ 6.30 │ 6.15
MJHQ-25K text-to-image evaluationDyWeight baselineFID↓19.82CFG=4.5 · NFE=3 · params=0.6B · prompts=25K · backbone=SANA-0.6B · resolution=512×512
Source quote
L564: DyWeight~\cite{dyweight} │ 19.82 │ 9.05 │ 7.54
BibTeX
@inproceedings{kim2026learning,
  author = {Sihyeon Kim and Seunghun Lee and Vikas Singh and Hyunwoo J. Kim},
  title = {{Learning to Solve Generative ODEs Beyond the Linear Span}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=4bJGY8qAu3},
}
Figure