TL;DR
This paper tackles the problem of optical flow estimation by moving beyond traditional hand-crafted assumptions. Instead, they propose a fully learned probabilistic model that learns both the spatial smoothness of motion and how brightness can change between frames, leading to significantly improved accuracy, especially near motion boundaries.
What Problem Does This Paper Address?
Optical flow estimation, the process of determining the motion of pixels between consecutive images, has a long history. Most existing methods rely on two core assumptions: brightness constancy (pixel intensities remain the same) and spatial smoothness (neighboring pixels move similarly). While these assumptions are useful, they are often violated in real-world scenarios (e.g., due to illumination changes, reflections, or occlusions), leading to inaccuracies, particularly at motion boundaries. Previous attempts to address these limitations often involved hand-tuning parameters or using simplified models. This paper aims to overcome these limitations by learning these models directly from data, creating a more robust and accurate optical flow estimation system.
Methods
The authors formulate optical flow estimation as a probabilistic inference problem. Their core contribution is a fully learned probabilistic model that decomposes the posterior probability of the flow field into two main components:
- Spatial Term: They generalize previous high-order smoothness constraints by introducing a Steerable Random Field (SRF). This model uses local image orientation to "steer" the spatial derivatives of the flow field, allowing for more flexible regularization that aligns with image structures. This is a significant departure from standard methods that use axis-aligned derivatives.
- Data Term: They move beyond simple brightness constancy by modeling brightness inconstancy. This is achieved by generalizing the concept of constancy to include the constancy of responses to various linear filters. This generalized filter response constancy model allows the system to learn how image features change under illumination variations, reflections, etc. They also propose learning the filters themselves, not just the parameters of their distributions.
Both the spatial and data terms are modeled using Gaussian Scale Mixtures (GSMs), which are flexible distributions capable of modeling heavy-tailed statistics observed in real-world flow data. The parameters of these models, including the filters for the data term, are learned from training data using contrastive divergence (CD) and expectation-maximization (EM).
Datasets
- Training: The paper utilizes a set of 45 ground truth optical flow fields for training. This includes sequences from the Middlebury "other" dataset, the "Yosemite" sequence, and their own synthetic sequences. They also generated additional training data by flipping sequences horizontally and vertically.
- Evaluation: The proposed models are evaluated on the test portion of the Middlebury optical flow benchmark.
Key Insights and Ideas
- Brightness Inconstancy is Key: The assumption of perfect brightness constancy is too strong for real-world scenes. Learning how brightness deviates from constancy is crucial for accurate flow estimation.
- Image Structure Guides Smoothness: Optical flow doesn't need to be smooth everywhere. By using image intensity structure to "steer" the smoothness constraints, the model can better preserve motion boundaries.
- Learned Filters Outperform Standard Ones: The paper demonstrates that learning the filters for the data term (rather than using fixed, standard filters like Gaussians or derivatives) leads to better performance, especially on challenging, realistic sequences.
- Heavy-Tailed Distributions are Necessary: The statistical analysis of flow derivatives and brightness constancy errors reveals heavy-tailed distributions, which are better modeled by GSMs than simple Gaussians.
Key Results
- The proposed Steerable Random Field (SRF) spatial term significantly outperforms standard pairwise spatial terms, especially near motion discontinuities.
- The generalized filter response constancy data term (both fixed and learned filters) substantially outperforms the classical brightness constancy model.
- The learned filters (LFC) model slightly outperforms the model with fixed filters (FFC), particularly in regions with strong brightness changes.
- The best performing model, SRF-LFC, achieved an average angular error (AAE) of 7.56 on the Middlebury benchmark, outperforming standard methods like Horn & Schunck (9.16) and Black & Anandan (9.51).
- Performance is particularly strong near motion boundaries, where the SRF model excels.
Limitations and Future Work
- Limited Training Data: The authors acknowledge that the availability of ground truth training sequences is currently limited, which might affect the generalization performance of the learned models. They suggest that a more general training set would be beneficial.
- Optimization Challenges: The learned models are non-convex, making optimization difficult. While they use a multi-stage convexification approach, further improvements in optimization strategies are suggested.
- Future Directions:
- Developing a more general training set.
- Exploring better optimization methods.
- Modulating the steerable flow model by image gradient strength.
- Learning models that incorporate spatial integration of filter responses.
- Extending the learned filter model beyond two frames.
- Automatically adapting the model to individual sequences.
- Learning explicit models for occlusions and disocclusions.
Summary updated