All Predictions Matter: an Online Video Prediction Approach

Melan Vijayaratnam, Marco Cagnazzo, Giuseppe Valenzise, Enzo TartaglioneEUVIP 2023

Introduction

Video prediction—the computational ability to generate future frames based on historical visual data—is a cornerstone for safety-critical systems like autonomous vehicles and low-latency video streaming. Despite significant progress, current deep learning models face two primary challenges: they are typically static "batch" learners that cannot adapt to new environments post-deployment, and they suffer from error accumulation during long-horizon predictions. As predicted frames are fed back into the model to generate subsequent ones, small inaccuracies compound, leading to blurry or physically nonsensical results.

This paper introduces a novel online learning framework designed to bridge the gap between offline training and real-world deployment. By treating every intermediate step of an iterative prediction as a learning opportunity and shifting evaluation from pixel-level metrics to semantic understanding, the authors demonstrate a significant leap in prediction quality and utility.

Methodology

Online Video Prediction Scheme

Traditional models stop learning once deployed. In contrast, the proposed framework continues to update its weights in real-time. As new ground truth frames arrive in the video stream, the model compares them against its previous predictions.

A key innovation is the "All Predictions Matter" philosophy. In iterative prediction, intermediate frames are often treated merely as stepping stones. The authors argue these are valuable data points. They implement a weighted loss function that accounts for every intermediate prediction made during the "hallucination" process. This provides a richer gradient signal, helping the model understand and minimize how its own errors propagate over time.

The iterative online video prediction scheme showing how predictions are generated and fed back into the model over time.

Semantic Segmentation Metric

Standard metrics like Peak Signal-to-Noise Ratio (PSNR) often reward models for producing blurry, "safe" images that lack structural integrity. For an autonomous car, a blurry car is less useful than a sharp one, even if the pixel-wise error is low.

To address this, the authors propose a semantic segmentation-based evaluation. Using a pre-trained DeepLabv3+ network, they generate "pseudo-labels" for both ground truth and predicted frames. By calculating the Intersection-over-Union (IoU) for specific classes (e.g., "car"), they can measure how well the model preserves the shape and location of critical objects.

The evaluation pipeline using semantic segmentation to compare ground truth (pseudo-labels) and extrapolated predictions.

Experimental Setup and Results

The models (MCNet and SDCNet) were initially trained on the Caltech Pedestrian dataset and evaluated on the Kitti and DriveSeg datasets.

Quantitative Performance

The online adaptation consistently outperformed offline baselines across multiple metrics (PSNR, SSIM, and VMAF). Specifically, the online SDCNet achieved:

  • A 0.89 dB improvement on Kitti for 3-step horizons.
  • A 1.78 dB improvement on DriveSeg for 3-step horizons.
  • A 1.45 dB improvement for longer 5-step horizons.

Object-Level Accuracy

In IoU tests for the "car" class, the online approach maintained significantly higher structural integrity as the prediction horizon increased. This proves that online adaptation helps the model stay "grounded" in the physical reality of the scene, even when hallucinating several frames into the future.

Discussion and Future Work

While the results are promising, the authors acknowledge the computational overhead of performing backpropagation during the inference phase, which may pose challenges for power-constrained edge devices. Additionally, the accuracy of the evaluation is currently tied to the performance of the segmentation network itself, which can occasionally struggle with prediction artifacts.

Future research will explore integrating the semantic segmentation loss directly into the training loop—rather than using it solely for evaluation—to further enforce shape consistency in complex environments. By leveraging the inherently self-supervised nature of video streams, this work paves the way for models that never stop learning from the world around them.

Summary updated

BibTeX
@inproceedings{vijayaratnam2023all,
  author = {Melan Vijayaratnam and Marco Cagnazzo and Giuseppe Valenzise and Enzo Tartaglione},
  title = {{All Predictions Matter: an Online Video Prediction Approach}},
  booktitle = {EUVIP},
  year = {2023},
  doi = {10.1109/euvip58404.2023.10323048},
}
Figure