Adaptive Future Frame Prediction with Ensemble Network

Wonjik Kim, Masayuki Tanaka, Masatoshi Okutomi, Yoko SasakiarXiv 2020

TL;DR

This paper introduces an adaptive online update framework for video future frame prediction that overcomes the common "training-test mismatch" problem. By using an ensemble of a fixed pre-trained network and a continuously updating network, the system learns to adapt to new, unseen environments in real-time by using recently observed frames as self-supervised ground truth.

What Problem Does This Paper Address?

Predicting the next frame in a video is notoriously difficult due to complex object motions, occlusions, and lighting changes. Most current deep learning models are trained "offline" on specific datasets. However, when these models encounter a new environment (e.g., a different city or a unique indoor scene) not represented in their training data, their performance drops significantly.

The authors identify a unique opportunity in video tasks: unlike many other AI problems, "ground truth" for video prediction is essentially free—you just have to wait a few frames to see what actually happened. The challenge is how to use this incoming data to update a model safely and effectively without causing it to become unstable or "forget" its general knowledge.

Methods

The core of the paper is a novel Adaptive Ensemble Network (shown in Figure 2) consisting of three sub-networks:

  1. Pre-trained Prediction Network: A fixed model trained offline on large datasets to provide a stable baseline.
  2. Continuous-updating Prediction Network: A model with the same architecture that is updated online during the test phase to adapt to the current scene.
  3. Weight Estimation Network: An online-trained module that predicts a pixel-wise weight map ($\mathbf{w}$) to blend the outputs of the two prediction networks.
Fig. 2: Our proposed ensemble network for future frame prediction.

For the underlying prediction architecture, the authors developed an Extended Deep Voxel Flow (EDVF) network followed by two refinement stages (shown in Figure 3). Unlike standard Voxel Flow which assumes linear motion, EDVF separately estimates optical flow fields for different time intervals, making it more general and robust.

Fig. 3: Future frame prediction network architecture.

The training uses a sophisticated composite loss function $\mu$ that combines Mean Square Error (MSE) in both pixel and gradient domains, Structural Similarity (SSIM), and perceptual loss based on AlexNet features.

Datasets

The researchers evaluated their approach using several diverse datasets to test generalization:

  • KITTI Flow & KITTI RAW: High-resolution outdoor driving scenes with large movements.
  • Cityscapes: Urban driving video.
  • Miraikan & AIST store: Indoor scenes featuring human movement and different interior layouts.

Key Insights and Ideas

  • Self-Supervised Online Adaptation: The most powerful idea is using the immediate past (frames $t-2k$ and $t-k$) to predict the current frame $t$, then using the actual frame $t$ as the label to update the network before predicting the future frame $t+k$.
  • Stability through Ensembling: A purely online-updating network can be unstable, especially during sudden scene transitions. The ensemble approach uses the weight estimation network to "trust" the stable pre-trained model when the online model is uncertain, and shift trust to the online model as it successfully adapts to a new environment.
  • Beyond Linear Motion: By moving away from the uniform linear motion assumption of original Deep Voxel Flow, the EDVF component better handles the non-linear dynamics common in real-world video.

Key Results

The proposed method achieved state-of-the-art results on the KITTI Flow benchmark, outperforming existing methods like DVF and DPG.

  • Quantitative: On KITTI Flow, the model achieved an SSIM of 0.718 and PSNR of 22.1, surpassing the previous best (DVF at 0.712 SSIM).
  • Online Performance: In the online updating environment, the "Ensemble" approach consistently outperformed both the "Pre-trained only" and "Continuous-updating only" versions. For example, on the combined test suite, the Ensemble reached an SSIM of 0.833, compared to 0.803 for the pre-trained baseline.
  • Qualitative: The refinement networks effectively reduced the "unnatural deformations" and blurriness often seen in voxel-flow-based methods, particularly in complex regions of the frame.

Limitations and Future Work

The primary limitation discussed is computational latency. While the prediction itself is fast (~0.1 seconds on a GTX 1070), the online update process takes about 0.3 seconds. For a 10fps video, this means the network can only afford to update every three frames if running in real-time.

Future work might involve optimizing the update step or exploring more efficient ways to estimate the ensemble weights to allow for frame-by-frame adaptation in high-speed applications.

Summary updated

BibTeX
@misc{kim2020adaptive,
  author = {Wonjik Kim and Masayuki Tanaka and Masatoshi Okutomi and Yoko Sasaki},
  title = {{Adaptive Future Frame Prediction with Ensemble Network}},
  year = {2020},
  eprint = {2011.06788},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.06788},
}
Figure