UPFlow: Upsampling Pyramid for Unsupervised Optical Flow Learning

Kunming Luo, Chuan Wang, Shuaicheng Liu, Haoqiang Fan, Jue Wang, Jian Sun

Abstract

We present an unsupervised learning approach for optical flow estimation by improving the upsampling and learning of pyramid networks. We design a self-guided upsample module to tackle the interpolation blur problem caused by bilinear upsampling between pyramid levels. Moreover, we propose a pyramid distillation loss to add supervision for intermediate levels via distilling the finest flow as pseudo labels. By integrating these two components together, our method achieves the best performance for unsupervised optical flow learning on multiple leading benchmarks, including MPI-SIntel, KITTI 2012 and KITTI 2015. In particular, we achieve EPE=1.4 on KITTI 2012 and F1=9.38% on KITTI 2015, which outperform the previous state-of-the-art methods by 22.2% and 15.7%, respectively.

Introduction

Optical flow—the task of tracking how every pixel moves between two video frames—is a cornerstone of computer vision. While supervised models are powerful, they require massive amounts of human-labeled data, which is expensive and difficult to acquire for real-world scenes. Unsupervised learning avoids this by using "photometric loss," essentially checking if the moved pixels in the second frame look like the original pixels in the first.

However, most unsupervised models use a "coarse-to-fine" pyramid structure that suffers from two major issues:

  1. The Bottom-Up Problem: Standard models use simple bilinear upsampling to move from low-resolution to high-resolution layers. This "blind" math blurs object boundaries, creating artifacts that get worse as they propagate upward.
  2. The Top-Down Problem: Usually, only the final, highest-resolution output is supervised. The intermediate layers have no guidance, meaning errors made at the start of the process (the coarse levels) accumulate and ruin the final prediction.

The UPFlow Architecture

To address these challenges, we propose UPFlow, which features two novel components integrated into a standard pyramid backbone (similar to PWC-Net). The architecture focuses on refining the flow estimation at each level of the decoding process.

The UPFlow architecture integrates Decoder (D) and Upsample (S) modules across a pyramid decoding structure to refine flow estimation.

Self-Guided Upsample (SGU) Module

Instead of just stretching the image using standard bilinear upsampling, the SGU module learns an "interpolation flow" and a "weight map." It essentially predicts how to shift pixels during the upscaling process so they do not cross object edges. This data-driven approach keeps motion boundaries sharp and accurate, preventing the propagation of blurring artifacts.

Pyramid Distillation Loss (PDL)

To solve the lack of intermediate guidance, we employ a "teacher-student" approach within the same network. We take the finest (most accurate) flow from the final output, downsample it, and use it as a "pseudo-label" to supervise the earlier, coarser layers. This ensures every level of the pyramid is learning something useful and remains consistent with the final high-resolution prediction.

Experimental Results

UPFlow was evaluated on industry-standard benchmarks including MPI-Sintel and KITTI 2012/2015. The model set a new bar for unsupervised optical flow at the time of publication:

  • KITTI 2012: Achieved an Average Endpoint Error (EPE) of 1.4, a 22.2% improvement over the previous leader (ARFlow).
  • KITTI 2015: Reduced the outlier rate (F1-score) to 9.38%, a 15.7% improvement over UFlow.
  • Sintel: Outperformed all previous unsupervised methods on both "Clean" and "Final" passes, producing visibly sharper edges in complex scenes.
Visual comparison showing UPFlow (Ours) produces significantly sharper motion boundaries compared to existing unsupervised methods like SelFlow, EpiFlow, and UFlow.

Interestingly, UPFlow (unsupervised) actually outperformed some well-known supervised methods (like PWC-Net) when tested on real-world KITTI data, proving the value of training on the target domain without labels. Despite the added complexity of the SGU module, it only adds about 0.14M parameters, and the entire model runs in just 0.05 seconds per frame.

Conclusion

UPFlow demonstrates that treating upsampling as a learning task rather than a fixed geometric operation significantly improves the quality of unsupervised optical flow. By combining feature-aware upsampling with self-distillation, the model avoids the "halo" effects common in previous methods. While unsupervised methods still face challenges with extreme occlusions, UPFlow represents a major step forward in closing the gap between supervised and unsupervised performance.

Summary updated

BibTeX
@inproceedings{luo2021upflow,
  author = {Kunming Luo and Chuan Wang and Shuaicheng Liu and Haoqiang Fan and Jue Wang and Jian Sun},
  title = {{UPFlow: Upsampling Pyramid for Unsupervised Optical Flow Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=Ib1m8FaSdBX},
}
Figure