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.
- 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.
- 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.
- 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.
- 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.
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.
- 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