TL;DR
QuantaFlow is the first method designed to estimate dense optical flow directly from the sparse, binary photon streams captured by Single-Photon Avalanche Diode (SPAD) cameras. By coupling SPAD representation construction and optical flow estimation into an iterative refinement loop, it successfully breaks the chicken-and-egg dilemma of temporal photon aggregation. This approach enables accurate motion tracking in challenging high-speed and extreme low-light environments where traditional cameras fail.
What Problem Does This Paper Address?
Estimating optical flow—the apparent motion of pixels between video frames—is notoriously difficult in low-light or high-speed scenarios. Conventional RGB cameras suffer from motion blur and underexposure due to fixed frame rates and limited sensitivity. While neuromorphic sensors like event and spike cameras offer alternatives, they have their own drawbacks: event cameras struggle in low-contrast or static regions, and spike cameras experience long latency under low illumination.
SPAD cameras present an exciting alternative, offering single-photon sensitivity and sub-nanosecond temporal resolution. Instead of traditional frames, they output a high-rate stream of binary slices (1 for a photon detection, 0 for none). However, individual slices are incredibly sparse and lack continuous texture, making direct frame-to-frame matching impossible.
To extract spatial structures, one must aggregate photons over time. But here lies the catch-22: summing photons at fixed pixel coordinates blurs moving objects, while aligning the photons to prevent blur requires knowing the exact motion (optical flow) you are trying to estimate in the first place.
Methods
The authors introduce QuantaFlow, which resolves this interdependence through an Iterative Representation Update (IRU) framework. Instead of treating input preprocessing and flow estimation as sequential steps, QuantaFlow refines them jointly across $K$ iterations.
The pipeline consists of three core components at each iteration:
- Motion-Guided Alignment (MGA): Uses the current flow estimate to warp and align sparse binary photon slices within a temporal window along the estimated motion trajectory, significantly reducing aggregation blur.
- Photon-Flux Transformation (PFT): Converts the aligned slices into intensity representations across multiple temporal scales. It mathematically inverts the non-linear, saturating response of the SPAD sensor ($H = -\log(1-p)$) to estimate the latent photon flux, using a shared lightweight residual network to extract clean spatial structures.
- Adaptive Multi-Scale Fusion (AMF): Dynamically computes pixel-wise weights to fuse the multi-scale representations. It automatically favors short temporal scales at sharp motion boundaries (to preserve detail) and long temporal scales in dark or smooth regions (to combat photon noise).
The fused representation is then passed to a feature-warping flow update module (inspired by the WAFT architecture) to output a refined flow field, which is fed right back into the MGA for the next iteration.
Datasets
Because no standard benchmarks exist for SPAD-based dense optical flow, the authors built their own evaluation pipeline:
- Synthetic SPAD Dataset: Generated by re-rendering 50 indoor scenes from the VisionSIM simulator at 2kHz. It includes ground-truth optical flow and simulates three distinct illumination levels ($\alpha = 0.8, 0.5, 0.1$) to test low-light robustness. The dataset is split into 40 training and 10 testing scenes.
- Real-World SPAD Data: Captured using a SPADAlpha camera at 20kHz and downsampled to 2kHz to match the synthetic setup. This data features real-world challenges like hand movements and moving objects, used for qualitative evaluation.
Key Insights and Ideas
- Breaking the Chicken-and-Egg Dilemma: The core conceptual leap is embedding the sensor's representation learning inside the optimization loop of the downstream task (optical flow). Better flow leads to sharper images; sharper images yield better flow.
- Physically Grounded Inversion: Rather than relying purely on deep learning to clean up the binary stream, the PFT module uses the physics of the SPAD imaging model (Bernoulli/Binomial distributions) to linearize the photon counts before feature extraction.
- Dynamic Scale Selection: The AMF module demonstrates that a single temporal window cannot fit an entire scene. The optimal integration time varies per pixel based on local velocity and photon abundance.
Key Results
QuantaFlow was evaluated against frame-based methods (like RAFT and WAFT operating on accumulated photon frames) and state-of-the-art spike/event-based networks (such as E-RAFT and Spike2Flow++).
Quantitative Performance
As shown in the paper's main benchmark (summarized in the table below), QuantaFlow consistently achieves the lowest Endpoint Error (EPE) and Angular Error (AE) across all settings. For instance, at $\Delta t = 10$, QuantaFlow reduces the EPE by 17.3% compared to the strongest competitor, QBP-WAFT.
Qualitative Performance
On both synthetic and real-world data, QuantaFlow preserves remarkably sharp object boundaries and handles fine structures (like spaces between fingers) where other methods produce severe motion blur or fragmented artifacts.
Limitations and Future Work
The primary limitation of QuantaFlow stems from its local motion assumption: it assumes that pixel displacement is stable and uniform within the short temporal window used for aggregation. While this holds true for rapid rigid translations, the model struggles with:
- High-speed rotations (e.g., fast-spinning fan blades).
- Frequent and sudden occlusions.
- Chaotic, non-rigid elastic deformations.
The authors note that extending the intra-window motion model to accommodate non-uniform and non-rigid motion trajectories is a key direction for future research.
Summary updated