Optical flow estimation—the art of tracking how pixels move between video frames—is a cornerstone of computer vision, essential for everything from autonomous driving to movie visual effects. However, standard algorithms often "go blind" when things get too fast (motion blur) or too dark (sensor noise). A new paper from researchers at Huazhong University of Science and Technology and the National University of Singapore proposes a clever solution: Diff-ABFlow. By combining standard video frames with "event cameras" inside a diffusion model, they’ve created a system that remains remarkably sharp even in the most challenging conditions.
TL;DR
Diff-ABFlow is a novel optical flow framework that fuses standard video frames with event camera data using a diffusion-based denoising process. By leveraging the complementary strengths of both sensors—frames for texture and events for sharp boundaries—it achieves state-of-the-art accuracy and robustness in high-speed and low-light scenes where traditional methods fail.
What Problem Does This Paper Address?
Most optical flow methods rely on the "photometric consistency" assumption: the idea that a pixel’s brightness doesn't change much as it moves. In the real world, this assumption breaks down constantly.
- High-speed motion causes motion blur, smearing textures and making it impossible to match features.
- Low-light conditions introduce massive amounts of noise and reduce contrast.
Standard frame-based cameras have high "appearance saturation" (lots of color and texture) but poor "boundary completeness" in these degraded scenes. Conversely, event cameras—neuromorphic sensors that only record changes in brightness—have incredible dynamic range and microsecond-level temporal resolution. They provide "dense boundary completeness" (sharp edges) even in the dark or at high speeds, but they lack "appearance saturation" (they don't see static textures or colors).
Existing methods that try to fuse these two often struggle because their underlying architectures (discriminative or generative models) are still sensitive to the degraded quality of the input frames.
Methods
The researchers introduce Diff-ABFlow, which shifts the paradigm from direct mapping to a diffusion-based denoising process. Instead of trying to predict flow directly from messy images, the model learns to transform a field of random noise into a clean optical flow map, using the visual data as a "condition" to guide the process.
Key Components:
- Attention-ABF (Appearance-Boundary Fusion): This module uses cross-attention to specifically pull "appearance" features from the frames and "boundary" features from the event stream. It ensures the final feature map has both rich texture and sharp edges.
- MC-IDD (Multi-Condition Iterative Denoising Decoder): This is the heart of the diffusion process. It consists of:
- TVM-MCA: A module that integrates three distinct types of information: the fused visual features, motion features (cost volumes), and temporal embeddings.
- MGDD (Memory-GRU Denoising Decoder): An iterative refiner that uses Gated Recurrent Units (GRUs) with a memory slot. This allows the model to retain fine-grained details across multiple denoising steps, making the process more efficient than standard diffusion.
Datasets
The team evaluated their model on a mix of synthetic and real-world data:
- Synthetic: HS-KITTI and LL-KITTI (modified versions of the standard KITTI dataset with simulated blur and low light).
- Real-World: HS-DSEC and LL-DSEC (derived from the DSEC dataset).
- New Benchmarks: The authors introduced two new datasets collected with a custom-built dual-modal rig: HS-FEFD (High-Speed Frame-Event Flow Dataset) and LL-FEFD (Low-Light Frame-Event Flow Dataset). These are intended to test how well models generalize to totally unseen, real-world environments.
Key Insights and Ideas
- The "Aha" Moment for Diffusion: The authors used t-SNE (a visualization technique) to show that while discriminative and generative models get "confused" by degraded features (leading to misclassification and sampling errors), diffusion models are inherently robust. Because they treat the task as denoising, they are less likely to be derailed by noisy or blurry input signals.
- Complementarity is King: The paper quantifies the "Appearance vs. Boundary" trade-off. Frames provide the "what" (dense texture), while events provide the "where" (precise edges). Fusing them via attention allows the model to ignore the blur in a frame and focus on the sharp edge provided by the event camera.
- Efficiency via Iteration: By combining the DDIM (Denoising Diffusion Implicit Models) paradigm with GRUs, they managed to get high-quality results in just a few iterations (K=4), avoiding the massive computational cost usually associated with diffusion models.
Key Results
Diff-ABFlow significantly outperformed existing state-of-the-art methods like GMA and FlowFormer++, especially in degraded scenes:
- Accuracy: On the HS-KITTI benchmark, Diff-ABFlow achieved an End-Point Error (EPE) of 0.46, compared to 1.71 for the frame-based GMA.
- Robustness: In low-light (LL-KITTI), it maintained an EPE of 0.59, while other methods saw their error rates spike.
- Generalization: On the new, unseen HS-FEFD dataset, Diff-ABFlow achieved an EPE of 4.69, whereas the next best frame-event method (BFlow) lagged behind at 6.18.
Limitations and Future Work
The authors identify one major "blind spot": textureless planes. If a camera moves toward a perfectly flat, featureless white wall, there are no brightness changes for the event camera to trigger on, and no textures for the frame camera to track. In these cases, the model fails to estimate flow accurately.
Future Work: The team plans to incorporate a third sensor—LiDAR—to provide depth information, which could help resolve motion even in featureless areas by perceiving the physical distance to the surface.
Summary updated