SpecLoR: Improving Video Generation with Inference-Time Spectral Lookahead Rectification

Xu Zhang, Yu Lu, Ruijie Quan, Zhaozheng Chen, Bohan Wang, Yi YangNeurIPS 2026

TL;DR

AI video generators often hallucinate extra limbs or melting objects because small math errors accumulate during generation, steering the video off track. SpecLoR fixes this on the fly by peeking ahead at what the clean video would look like early in the process, tuning its frequency "energy" to match the physics of real-world videos, and placing it back on the right path. Best of all, it requires zero retraining of the base model and adds only about 10% to the compute budget.

What Problem Does This Paper Address?

Modern text-to-video giants (like Sora, Kling, and Wan) rely on Flow Matching—a paradigm that turns random noise into crisp video by following a smooth velocity field over discrete steps (solving an Ordinary Differential Equation, or ODE).

The catch? Predicting that exact velocity field in high-dimensional video space is brutally hard, especially early on when the canvas is mostly noise. Tiny approximation and stepping errors snowball. The generation "drifts" off the natural video manifold, manifesting as duplicated limbs, floating objects, or skaters morphing into one another.

Fixing this mid-flight is tricky. In the noisy intermediate states, structural cues are buried under static. And if you try to directly edit pixels or spatial features, global motion and fine textures are so entangled that you end up blurring details or burning massive compute on trial-and-error path searches.

Methods

Instead of wrestling with noisy pixels in space, Spectral Lookahead Rectification (SpecLoR) steps out of the noise and into the frequency domain during a brief, early "Lookahead Window" (specifically steps 2 to 5 out of a 40-step schedule):

  1. Lookahead Projection: From the current noisy state, SpecLoR takes a single Euler jump to estimate what the final, noise-free video latent ($z_{t,0}$) currently looks like.
  2. Frequency Decoupling: It applies a 3D Fast Fourier Transform (FFT) across time, height, and width to split the clean estimate into Amplitude (global energy distribution) and Phase (delicate geometric boundaries and motion alignment). Phase is strictly locked to protect sharp details.
  3. Amplitude Rectification: Real-world videos naturally follow a $1/f^\alpha$ power-law decay in their frequency amplitude—a signature that drifted AI trajectories violate. SpecLoR nudges the amplitude back in line using one of two flavours:
  4. SpecLoR-Zero (Training-Free): Clips and blends the amplitude into a pre-computed statistical envelope of real videos.
  5. SpecLoR-Adapter: Uses lightweight, pre-trained Diffusion Transformer blocks to predict a prompt-aware amplitude adjustment while keeping the massive base video model completely frozen.
  6. Re-Noising & Continuation: An inverse 3D FFT reconstructs the corrected video latent, which is re-noised back to the current timestep (reusing initial noise or injecting fresh Gaussian noise) so the ODE solver can carry on.
Stages 3 and 4 of SpecLoR: Amplitude Rectification (Zero vs. Adapter) and Re-Noising back into the ODE schedule.

Datasets

No new benchmarks were introduced. The authors precomputed natural-video spectral statistics (and trained the optional Adapter) using roughly 2,000 randomly sampled real videos. For evaluation, they tested on two existing benchmarks built to stress-test video physics:

  • Dynamic-Bench: Focuses on structural stability during multi-object interactions and complex human motion.
  • VideoJAM-Bench: Evaluates joint appearance-motion coherence.

Key Insights and Ideas

  • Don't touch the phase: When the authors tried "fixing" the phase spectrum instead of amplitude, fast actions like a running cheetah broke down into disjointed, bizarre slow-motion. Because phase encodes exact spatiotemporal displacement, preserving it while only fixing amplitude corrects macroscopic energy without ruining local geometry.
  • Fixing amplitude implicitly accelerates phase: Even though phase isn't touched directly, anchoring the amplitude early causes the phase spectrum to converge toward a stable, coherent structure much faster than the baseline.
Figure 2: Trajectory drift and spectral rectification. (a) Visualizing intermediate lookahead predictions. Baseline (top): early structural ambiguity at Step 5 degrades into severe physical artifacts by Step 39 (red circles). SpecLoR (bottom) explicitly rectifies amplitude during early stages to establish a coherent global structure. (b) Quantitative tracking of frequency dynamics, measured by correlating intermediate steps against each method’s final latent. Amplitude rectification accelerates earlier phase convergence, fundamentally shifting the trajectory toward a more valid endpoint.
  • Timing is everything: Applying SpecLoR in steps 2–5 yields peak consistency and smoothness. Waiting until steps 6–17 degrades performance—once global motion hallucinations crystallize, the trajectory is already too far gone.

Key Results

Built on top of the open-source Wan2.2-A14B model (40 default steps), SpecLoR adds just 4 extra Number of Function Evaluations (44 NFEs total, a 1.1× runtime cost), outperforming heavier test-time methods like SRVS (1.5× time) and FlowMo (1.7× time):

  • Physical Consistency: On Dynamic-Bench, Physical Consistency jumps from 2.687 (baseline) to 2.993 (SpecLoR-Zero) and 3.058 (SpecLoR-Adapter). On VideoJAM-Bench, it climbs from 3.237 to 3.448.
  • Human Preference: In a blind user study of 128 video pairs, human evaluators preferred SpecLoR over the baseline by wide margins in Video Quality (43.0% vs. 17.9% win rate) and Motion Coherence (39.8% vs. 16.4%), with ties making up the remainder.
  • Qualitatively, bent nails, figure skaters doing triple axels, and pole vaulters retain solid, plausible anatomy rather than sprouting phantom limbs.

Limitations and Future Work

Locking the phase spectrum is a double-edged sword: if the model's initial phase guess in the earliest steps is catastrophically wrong, locking it can trap extreme non-rigid motions in unnatural states. Additionally, computing a global 3D FFT adds memory overhead that scales with video length and resolution, and the pre-computed statistical prior for SpecLoR-Zero is tied to a fixed tensor shape—meaning if you change the output resolution, you have to re-extract the reference statistics. Finally, the authors note that making AI physics more realistic amplifies deepfake risks, calling for parallel work in latent watermarking and forgery detection.

Summary updated

Abstract

Flow Matching has enabled high-fidelity text-to-video generation via latent ODE sampling. However, velocity approximation and numerical discretization errors inevitably accumulate during inference, causing sampling trajectories to drift from the intended generative path. Consequently, generated videos often suffer from severe spatiotemporal inconsistencies. A natural idea is to correct this drift during sampling, but direct intervention in the noisy latent space is challenging: (i) timestep-dependent noise obscures reliable structural cues; (ii) spatial interventions risk disrupting intricate local geometry while incurring heavy computational costs. To address these challenges, we propose Spectral Lookahead Rectification (**SpecLoR**), an inference-time method that bypasses noise via lookahead prediction, and circumvents spatiotemporal entanglement by shifting corrections to the frequency domain. First, during early sampling stages, SpecLoR estimates the clean latent $z_{t,0}$ from the current noisy state and computes its 3D spatiotemporal spectrum. Next, SpecLoR rectifies the amplitude spectrum to align with natural-video spectral statistics. Finally, the corrected state is re-noised back to the current timestep to resume ODE integration. Experiments on Wan2.2 show that SpecLoR reduces physical artifacts and enhances motion coherence across multiple benchmarks with minimal computational overhead (4 additional NFEs).
BibTeX
@inproceedings{zhang2026speclor,
  author = {Xu Zhang and Yu Lu and Ruijie Quan and Zhaozheng Chen and Bohan Wang and Yi Yang},
  title = {{SpecLoR: Improving Video Generation with Inference-Time Spectral Lookahead Rectification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=PoLjtyYc3T},
}
Figure