Instant Video Models: Universal Adapters for Stabilizing Image-Based Networks

Matthew Dutson, Nathan Labiosa, Yin Li, Mohit Gupta

Most state-of-the-art computer vision models are designed for single images. When applied sequentially to video, this frame-by-frame processing leads to distracting "flicker" and instability. This paper introduces stability adapters: lightweight, plug-and-play modules that can be inserted into almost any frozen image-based network to ensure temporal consistency and robustness against corruptions (like rain or noise) without the need for expensive full-model retraining.

The Challenge of Frame-Based Video Processing

Processing video frame-by-frame using image-based models is a double-edged sword. It is computationally efficient and leverages massive image datasets, but it fundamentally lacks temporal consistency. Because each frame is processed in a vacuum, small changes in the input or minor sensor noise cause the output to jitter or flicker. This phenomenon is visually jarring and highly problematic for downstream systems, such as autonomous vehicle collision avoidance, which rely on stable predictions.

Furthermore, real-world video is often "corrupted" by transient effects: raindrops, snowflakes, or sensor artifacts. While a single frame might be too degraded to interpret correctly, the surrounding frames often contain the missing information. The authors argue that temporal stability and corruption robustness are two sides of the same coin: both require using recent context to "smooth out" errors and maintain a coherent prediction over time.

Methodology: "Video-izing" Existing Networks

The authors propose a modular framework to adapt existing frame-based networks for video inference efficiently.

Architecture for injecting stability adapters into a frozen base network and the associated training loss.
  1. Stability Adapters: These are small, lightweight modules inserted directly into the layers of a frozen "base" network. They utilize an Exponential Moving Average (EMA) mechanism to blend current feature representations with previous ones.
  2. Stabilization Controllers: Instead of relying on a fixed blending rate, a small "controller" network analyzes the current and previous frames to predict a dynamic decay rate ($\beta$). This allows the model to remain "stiff" (highly stable) when the scene is static and "flexible" when there is rapid motion or scene changes.
  3. Spatial Fusion: To handle moving objects effectively, the controller can predict a spatial kernel rather than a single scalar. This enables the model to "track" features as they move across the frame, preventing the ghosting or blurring artifacts common in simpler temporal smoothing methods.
  4. Unified Loss Function: The training process is guided by an "accuracy-stability-robustness" loss. Crucially, the authors provide a theoretical analysis of this loss, identifying an Oracle Bound ($\lambda < 0.5$). If the weight of the stability penalty remains below this bound, a perfectly accurate model has no mathematical incentive to "over-smooth" reality, ensuring that stability does not come at the cost of responsiveness.

Key Insights

  • Stability as Robustness: The core conceptual breakthrough is treating temporal inconsistency as a vulnerability to transient noise. By forcing the model to be temporally stable, it naturally becomes more robust to single-frame anomalies like a passing raindrop.
  • Feature-Space Stabilization: For high-level tasks like semantic segmentation, stabilizing the final output pixels is insufficient. The adapters must operate inside the network's "brain" (the intermediate feature maps) to ensure the underlying logic remains consistent across frames.
  • Plug-and-Play Efficiency: Because the base model (e.g., a massive depth estimator) remains entirely frozen, training these adapters is incredibly resource-efficient. It often takes only a day or two on a single GPU to adapt a heavy model for video.

Experimental Results

The researchers validated their approach across diverse tasks using several key datasets (NFS, VisionSim, VIPER, RobustSpring, and DAVIS). The method was tested on four major architectures: NAFNet (denoising), HDRNet (enhancement), Depth Anything v2 (monocular depth), and DeepLabv3+ (semantic segmentation).

Qualitative results showing robustness against various corruptions like snow, rain, and noise.
  • Image Enhancement: The adapters reduced frame-to-frame variation by ~35% while actually improving image quality (PSNR) by about 2dB in high-intensity scenarios.
  • Weather Robustness: In simulated rainy conditions, the stabilized NAFNet achieved a PSNR of 28.63 compared to the base model's 21.43—a massive jump in visual clarity and reliability.
  • Depth Estimation: The approach successfully eliminated "flashing" artifacts caused by dropped patches or sensor noise, which are common failure points for single-frame depth models.
  • Segmentation: The method improved the mean Intersection-over-Union (mIoU) and significantly reduced "categorical instability" (pixels rapidly flickering between different class labels).

Limitations and Future Work

While highly effective, the approach has a few limitations. The current loss function relies on a simple Euclidean distance metric. The authors suggest that more sophisticated metrics, like a Wasserstein/Transport metric, might better capture spatial structures, though they are currently too computationally expensive for training. Additionally, while the models performed excellently on simulated corruptions, generalizing to the subtle, complex corruptions found in real-world raw video (e.g., specific optical phenomena) remains challenging.

Finally, the current model is strictly causal—it only looks at past frames. While ideal for real-time streaming, future work could explore "look-ahead" buffers to improve stability even further for non-real-time applications like video post-processing.

Summary updated

BibTeX
@inproceedings{dutson2025instant,
  author = {Matthew Dutson and Nathan Labiosa and Yin Li and Mohit Gupta},
  title = {{Instant Video Models: Universal Adapters for Stabilizing Image-Based Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=IDHbeHDBiS},
}
Figure