Abstract
Recent learning-based methods for event-based optical flow estimation utilize cost volumes for pixel matching but suffer from redundant computations and limited scalability to higher resolutions for flow refinement. In this work, we take advantage of the complementarity between temporally dense feature differences of adjacent event frames and cost volume and present a lightweight event-based optical flow network (EDCFlow) to achieve high-quality flow estimation at a higher resolution. Specifically, an attention-based multi-scale temporal feature difference layer is developed to capture diverse motion patterns at high resolution in a computation-efficient manner. An adaptive fusion of high-resolution difference motion features and low-resolution correlation motion features is performed to enhance motion representation and model generalization. Notably, EDCFlow can serve as a plug-and-play refinement module for RAFT-like event-based methods to enhance flow details. Extensive experiments demonstrate that EDCFlow achieves better performance with lower complexity compared to existing methods, offering superior generalization.
Introduction
Event cameras are revolutionary for computer vision because they capture per-pixel brightness changes with microsecond latency, offering high dynamic range and zero motion blur. However, estimating optical flow—the motion of pixels between frames—from these sparse, high-frequency streams is difficult.
Current top-performing methods often use "cost volumes" (inspired by the RAFT architecture), which compare every pixel in one frame to a search window in the next. While accurate, these cost volumes are computationally expensive and redundant for event data, where displacements are usually very small. Consequently, most models are forced to operate at low resolutions (typically 1/8th of the original image size). Scaling these models to higher resolutions (like 1/4 scale) usually leads to a massive explosion in memory and processing requirements, making them impractical for real-time use.
Methodology
EDCFlow sidesteps the high-resolution cost volume problem using a hybrid approach that combines global robustness with local precision. The architecture is built on three core pillars:
- Dual-Resolution Encoding: The model builds a standard but low-resolution (1/8) cost volume to capture global, robust motion correspondences. Simultaneously, it extracts high-resolution (1/4) features to preserve fine details.
- Multi-scale Temporal Difference Layer: Instead of a high-res cost volume, the model calculates "difference maps" between consecutive feature frames. By warping target features back to a reference frame using the current flow estimate and then subtracting them, the model captures fine-grained local motion details. To handle both fast and slow movements, this layer uses varying temporal strides (sampling every 1, 2, or 5 frames).
- Attention-based Fusion: An attention mechanism adaptively blends the global "correlation" features with the local "difference" features. This allows the model to rely on correlations when noise is high and on differences when fine detail is needed.
To maintain efficiency, the temporal differences are processed using Depth-Wise Separable 3D Convolutions (DW-3DConvs), which capture spatio-temporal cues without the heavy overhead of standard 3D kernels.
Key Results and Discussion
The model was evaluated on high-resolution benchmarks like DSEC (640x480) and older datasets like MVSEC. The results highlight a significant leap in efficiency without sacrificing accuracy:
- State-of-the-Art Accuracy: On the DSEC benchmark, EDCFlow achieved an End-Point Error (EPE) of 0.72, matching the best existing models.
- Efficiency Gains: Compared to IDNet-4 (the previous high-res leader), EDCFlow uses only 20% of the computation (247G vs 1200G MACs) and runs 3x faster (39ms vs 120ms per prediction).
- Superior Generalization: When trained on simulated data (Blinkflow) and tested on real-world DSEC data, EDCFlow showed a lower performance drop than its competitors, suggesting it learns fundamental motion patterns rather than over-fitting to dataset-specific noise.
Complementarity and Modularity
A key insight of this work is that cost volumes and difference maps have opposite strengths. Cost volumes are robust to noise but lose edge detail; difference maps capture sharp boundaries but are sensitive to noise. Fusing them provides the best of both worlds. Furthermore, EDCFlow is modular and can be used as a plug-and-play refinement stage for existing RAFT-like models to improve detail recovery with minimal extra parameters.
Conclusion
EDCFlow demonstrates that high-resolution optical flow estimation for event cameras does not require a massive computational tax. By leveraging temporally dense difference maps to complement low-resolution cost volumes, the network achieves state-of-the-art performance with significantly reduced complexity. While difference maps remain sensitive to extreme sensor noise, the hybrid attention-based approach offers a robust and efficient path forward for real-time event-based vision.
Summary updated