EV-FlowNet: Self-Supervised Optical Flow Estimation for Event-based Cameras

Alex Zihao Zhu, Liangzhe Yuan, Kenneth Chaney, Kostas Daniilidis

Introduction

Event-based cameras, such as the Dynamic and Active-pixel Vision Sensor (DAVIS), represent a paradigm shift in computer vision. Unlike traditional cameras that capture full frames at fixed intervals, event cameras report pixel-level intensity changes ("events") with microsecond latency. This asynchronous nature makes them ideal for high-speed motion and high-dynamic-range environments where standard sensors suffer from motion blur or saturation.

However, integrating event cameras into modern deep learning pipelines faces two primary challenges. First, their asynchronous, sparse output does not naturally fit the grid-like architectures of standard Convolutional Neural Networks (CNNs). Second, there is a significant "labeling gap"—while millions of labeled images exist for standard vision, ground-truth optical flow for event data is extremely scarce. EV-FlowNet addresses these hurdles with a self-supervised pipeline that learns dense optical flow without manual labels.

Novel Event Representation

To bridge the gap between asynchronous events and standard CNNs, EV-FlowNet converts a window of events into a compact 4-channel image representation. This representation summarizes the event stream while preserving critical spatial and temporal information:

  • Channels 1 & 2: The count of positive and negative events at each pixel.
  • Channels 3 & 4: The timestamp of the most recent positive and negative event at each pixel, normalized to the current time window.
Comparison of a standard grayscale frame (left) and the corresponding sparse event representation (right) used as input for EV-FlowNet.

This approach allows the network to process event data using standard convolutional layers while maintaining a sense of motion velocity through the timestamp channels.

Self-Supervised Learning via Photometric Loss

The core innovation of EV-FlowNet is its self-supervised training regime. Instead of requiring ground-truth flow labels, the system uses synchronized grayscale frames from the DAVIS sensor as a supervisory signal.

During training, the network predicts optical flow based on the event image. This predicted flow is then used to "warp" a grayscale image from time $t+1$ back to time $t$. The network is optimized by minimizing the "photometric loss"—the difference between the warped image and the original image at time $t$. Crucially, these grayscale images are only required during the training phase; at inference, the model operates solely on event data.

Network Architecture

The EV-FlowNet architecture follows an encoder-decoder structure, similar to a U-Net, designed to handle multi-scale flow estimation.

The EV-FlowNet architecture featuring an encoder-decoder structure with residual blocks and multi-scale loss functions.

The network consists of four strided convolution layers in the encoder, followed by two residual blocks. The decoder uses skip connections to preserve high-resolution spatial features, producing flow estimates at four different scales. This multi-scale approach ensures the model can capture both fine-grained local motion and larger global displacements.

Experimental Results

The authors evaluated EV-FlowNet using the Multi-Vehicle Stereo Event Camera (MVSEC) dataset, which includes diverse indoor drone flights and outdoor driving sequences.

  • Competitive Accuracy: EV-FlowNet achieved performance comparable to state-of-the-art self-supervised frame-based methods (like UnFlow), despite the inherent sparsity of event data.
  • Robustness to Large Displacement: In scenarios with high-speed motion (e.g., evaluating every 4 frames), EV-FlowNet significantly outperformed frame-based methods, which often fail when pixel displacements are large.
  • Real-time Efficiency: A lightweight version of the network (EV-FlowNet$_{2R}$) achieves approximately 25 FPS on laptop-grade hardware (GTX 1050), demonstrating its suitability for real-time robotics applications.

Conclusion

EV-FlowNet demonstrates that self-supervised learning is a viable path for unlocking the potential of event-based sensors. By leveraging cross-modal supervision from grayscale frames, the model bypasses the need for expensive manual labeling while maintaining the high-speed advantages of event cameras. Future work aims to further refine these models by incorporating losses derived purely from event data, such as maximizing event sharpness, to eliminate the reliance on grayscale frames entirely.

Summary updated

BibTeX
@inproceedings{zhu2018ev,
  author = {Alex Zihao Zhu and Liangzhe Yuan and Kenneth Chaney and Kostas Daniilidis},
  title = {{EV-FlowNet: Self-Supervised Optical Flow Estimation for Event-based Cameras}},
  booktitle = {Robotics: Science and Systems},
  year = {2018},
  doi = {10.15607/rss.2018.xiv.062},
}
Figure