NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Less is More: Consistent Video Depth Estimation with Masked Frames Modeling

Yiran Wang, Zhiyu Pan, Xingyi Li, Zhiguo Cao, Ke Xian, Jianming Zhang · DOI

Introduction

Monocular depth estimation has achieved significant progress in predicting 3D depth from single images. However, extending these models to video sequences often results in temporal instability, commonly observed as "flickering." This occurs because independent per-frame processing fails to capture the inherent temporal correlations of a scene.

Existing approaches typically mitigate this by incorporating "extra knowledge," such as optical flow or camera pose estimation. While effective, these methods introduce significant computational overhead and are susceptible to failure in challenging visual conditions like motion blur or low light. The Frame Masking Network (FMNet) proposes a shift in paradigm: achieving superior temporal consistency by leveraging the inherent redundancy of video through Masked Frame Modeling.

Comparison of FMNet's masked modeling approach against traditional frame-by-frame methods.

Methodology

The FMNet architecture is designed to learn intrinsic temporal logic without external cues. It consists of three primary stages:

  1. Spatial Structure Feature Extractor: A CNN backbone (e.g., ResNext-101) extracts high-level spatial features from each video frame independently.
  2. Temporal Structure Feature Extractor (ConvTransformer): To handle the memory demands of high-resolution video, FMNet utilizes a "ConvTransformer." This module replaces standard self-attention with convolutional sub-networks, allowing the model to process sequences in parallel while preserving spatial structure.
  3. Masked Frame Modeling: This is the core training strategy. During training, a large portion of frames in a sequence (up to 83%) are randomly masked. The network is tasked with reconstructing the depth maps of these missing frames using only the remaining unmasked neighbors.
The FMNet pipeline, illustrating spatial feature extraction, the random masking process, and temporal feature completion.

By forcing the model to "hallucinate" missing depth information, it learns to internalize the temporal evolution of the scene, leading to naturally consistent predictions during inference.

Key Insights

  • Redundancy as Supervision: Video redundancy is treated as a supervisory signal. Masking frames serves as a temporal data augmentation that compels the model to learn global scene correlations.
  • Parallel Processing: Unlike serial models (LSTMs/GRUs) that are prone to temporal drift, FMNet's transformer-based architecture processes entire clips simultaneously, ensuring global consistency.
  • Optimal Masking Ratios: Empirical results show that high masking ratios (e.g., retaining only 2 out of 12 frames) yield the best performance, as they provide a sufficiently challenging task for the model to learn deep temporal structures.

Experimental Results

FMNet was evaluated on the NYU Depth V2 (indoor) and KITTI (outdoor) datasets, demonstrating significant advantages in both quality and efficiency:

  • Temporal Consistency: On NYU Depth V2, FMNet achieved a temporal consistency score (OPW) of 6.425, a significant improvement over the previous state-of-the-art ST-CLSTM (12.159).
  • Inference Efficiency: By eliminating the need for optical flow or pose estimation, FMNet offers a massive speedup. For an 8-frame sequence, FMNet (ResNet18) requires 1.32 seconds, compared to 376.32 seconds for flow-based methods like CVD.
  • Spatial Accuracy: The focus on consistency does not come at the cost of accuracy; FMNet maintains or exceeds the spatial performance (RMSE, Rel) of contemporary video depth models.

Conclusion and Future Work

FMNet demonstrates that "less is more" in video depth estimation. By relying on masked modeling rather than external geometric cues, it achieves state-of-the-art consistency and efficiency. Future research may explore integrating explicit geometric constraints, such as surface normals, to further enhance the physical correctness of the predicted depth maps, particularly in scenes with extreme or erratic motion.

Summary updated

BibTeX
@inproceedings{wang2022less,
  author = {Yiran Wang and Zhiyu Pan and Xingyi Li and Zhiguo Cao and Ke Xian and Jianming Zhang},
  title = {{Less is More: Consistent Video Depth Estimation with Masked Frames Modeling}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3547978},
}
Figure