[Paper Review] FastFlowNet: A Lightweight Network for Fast Optical Flow Estimation
FastFlowNet proposes a lightweight, real-time optical flow network using a coarse-to-fine framework with three key innovations: a Head-Enhanced Pooling Pyramid (HEPP) for efficient feature extraction, a Center Dense Dilated Correlation (CDDC) layer for compact cost volume construction, and a Shuffle Block Decoder (SBD) for fast flow estimation. It achieves state-of-the-art accuracy with only 1.37M parameters and 12.2 GFLOPs, running at 90 FPS on a GTX 1080Ti and 5.7 FPS on an embedded Jetson TX2, using just 1/10 the computation of comparable models.
Dense optical flow estimation plays a key role in many robotic vision tasks. In the past few years, with the advent of deep learning, we have witnessed great progress in optical flow estimation. However, current networks often consist of a large number of parameters and require heavy computation costs, largely hindering its application on low power-consumption devices such as mobile phones. In this paper, we tackle this challenge and design a lightweight model for fast and accurate optical flow prediction. Our proposed FastFlowNet follows the widely-used coarse-to-fine paradigm with following innovations. First, a new head enhanced pooling pyramid (HEPP) feature extractor is employed to intensify high-resolution pyramid features while reducing parameters. Second, we introduce a new center dense dilated correlation (CDDC) layer for constructing compact cost volume that can keep large search radius with reduced computation burden. Third, an efficient shuffle block decoder (SBD) is implanted into each pyramid level to accelerate flow estimation with marginal drops in accuracy. Experiments on both synthetic Sintel data and real-world KITTI datasets demonstrate the effectiveness of the proposed approach, which needs only 1/10 computation of comparable networks to achieve on par accuracy. In particular, FastFlowNet only contains 1.37M parameters; and can execute at 90 FPS (with a single GTX 1080Ti) or 5.7 FPS (embedded Jetson TX2 GPU) on a pair of Sintel images of resolution 1024x436.
Motivation & Objective
- To address the high computational cost and large model size of existing deep learning-based optical flow networks, which hinder deployment on mobile and embedded devices.
- To enable real-time, accurate optical flow estimation on low-power platforms such as mobile phones and UAVs.
- To redesign the entire optical flow pipeline—feature extraction, cost volume construction, and flow decoding—for efficiency without sacrificing accuracy.
- To achieve a significant reduction in FLOPs and model size while maintaining or improving performance on standard benchmarks.
Proposed method
- Introduces a Head-Enhanced Pooling Pyramid (HEPP) that combines convolutional layers at high levels with parameter-free pooling at lower levels to reduce parameters and computation while preserving high-resolution features.
- Proposes a Center Dense Dilated Correlation (CDDC) layer that constructs a compact cost volume with a large effective receptive field by sampling features in a dilated, center-focused pattern, reducing computation while maintaining large search radius.
- Employs a Shuffle Block Decoder (SBD) with grouped depthwise separable convolutions to compress the flow decoder, reducing parameters and FLOPs with minimal accuracy drop.
- Uses a coarse-to-fine residual learning framework where each pyramid level estimates residual flow, enabling accurate estimation of large displacements with reduced complexity.
- Applies a robust loss with adaptive weighting (q = 0.4 for Sintel, q = 0.2 for KITTI) and a learning rate schedule over 600k iterations for fine-tuning on synthetic and real-world datasets.
- Evaluates the model on both Sintel (synthetic) and KITTI (real-world) benchmarks, measuring accuracy, FLOPs, and inference time on both desktop and embedded GPUs.
Experimental results
Research questions
- RQ1Can a lightweight optical flow network achieve competitive accuracy while drastically reducing FLOPs and model size compared to existing methods?
- RQ2How effective is the proposed CDDC layer in maintaining large effective receptive field while minimizing computation cost in cost volume construction?
- RQ3To what extent does the HEPP feature extractor improve feature representation with fewer parameters compared to standard feature pyramids?
- RQ4Can the SBD module achieve significant speedup with minimal accuracy degradation in flow decoding across multiple pyramid levels?
- RQ5Does the full FastFlowNet architecture maintain strong generalization on real-world driving scenes (KITTI) while being efficient on embedded platforms?
Key findings
- FastFlowNet achieves 90.0% accuracy on the Sintel Final test set, outperforming FlowNetC and SPyNet, and matching 90% of LiteFlowNet's performance with 13.4× less computation (12.2 GFLOPs).
- On the KITTI 2015 benchmark, FastFlowNet achieves competitive results comparable to PWC-Net and LiteFlowNetX, with 7.5× less multiply-add computation cost.
- The model runs at 90 FPS on a GTX 1080Ti and 5.7 FPS on an embedded Jetson TX2 GPU for 1024×436 resolution Sintel images, demonstrating real-time inference on edge devices.
- FastFlowNet uses only 1.37 million parameters, making it 120× smaller than FlowNet2 and significantly more efficient than other state-of-the-art models.
- The ablation study confirms that each component—HEPP, CDDC, and SBD—contributes to the efficiency-accuracy trade-off, with SBD showing diminishing returns beyond g=3 groups.
- On the KITTI 2015 validation set, the CDDC layer improves performance over standard correlation layers, especially in large displacement scenarios, despite not improving on Sintel.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.