AEGNN: Asynchronous Event-based Graph Neural Networks

Simon Schaefer, Daniel Gehrig, Davide Scaramuzza

TL;DR

AEGNN (Asynchronous Event-based Graph Neural Networks) introduces a paradigm shift in processing event camera data by treating events as an evolving spatio-temporal graph. By implementing efficient local update rules that only recompute network activations affected by new events, the authors achieve up to an 11-fold reduction in computational complexity and an 8-fold reduction in latency while maintaining state-of-the-art accuracy.

What Problem Does This Paper Address?

Event cameras are a radical departure from standard frame-based cameras. Instead of capturing full images at fixed intervals, they report per-pixel intensity changes (events) asynchronously with microsecond-level precision. This makes them ideal for high-speed robotics and low-power applications.

However, most deep learning models struggle to handle this data. The common "fix" is to group events into dense, image-like frames and process them with standard CNNs. This approach is fundamentally wasteful: it discards the high temporal resolution of the sensor and forces computation on empty regions of the scene where nothing is happening. While recent Graph Neural Networks (GNNs) have attempted to process events more naturally as sparse graphs, they still typically process events in static batches, recomputing the entire network state every time a new event arrives.

Methods

The authors propose AEGNN, which models the event stream as a dynamically evolving graph.

  1. Graph Construction: Events are represented as nodes in a spatio-temporal space $(x, y, t)$. Edges are formed between nodes within a specific spatio-temporal radius $R$.
  2. Asynchronous Processing: This is the core innovation. Instead of re-running the whole network for each new event, AEGNN uses a recursive formulation. When a new event (node) is added, it only affects its immediate neighbors in the first layer. This change then propagates to a slightly larger "k-hop" neighborhood in subsequent layers.
  3. Spline Convolutions: The architecture utilizes Spline Convolutions, which are particularly effective because they maintain spatial information by using continuous B-spline kernels, unlike standard GNNs that might ignore relative spatial arrangements.
  4. Hierarchical Learning: The model includes graph pooling layers to aggregate information, allowing it to learn complex, high-level features necessary for tasks like object detection.
Figure 2. Overview of the processing steps in our method. The event stream (a) is first subsampled using uniform sampling (b). The subsampled events are used to generate a sparse spatio-temporal graph (c), which is processed by a graph neural network (GNN)(d), which generates a bounding-box prediction (d). Although our method works for any task, here we illustrate our method for the task of object detection. In the figure below, we show an overview of the used network architecture. It combines Graph Convolutions (here Spline Convolutions) with pooling layers, followed by a prediction head. Each graph convolution block consists of several graph convolutions followed by ELU and Batch Normalization.

Datasets

The model was evaluated on three major event-based benchmarks:

  • N-Caltech101: An event-based version of the classic Caltech101 dataset, used here for both object recognition and detection.
  • N-Cars: A large-scale dataset for car vs. background classification.
  • Gen1: A challenging automotive dataset containing over 250,000 bounding boxes for pedestrians and cars in real-world urban environments.

Key Insights and Ideas

  • Local Updates = Global Efficiency: The "aha moment" is the realization that a full graph update is mathematically equivalent to updating only the local subgraph affected by a new node. This allows for "event-by-event" processing without the massive overhead of full recomputation.
  • Training vs. Inference Duality: AEGNNs can be trained on synchronous batches using standard backpropagation (which is efficient on GPUs) and then seamlessly converted into an asynchronous mode for low-latency deployment.
  • Preserving Temporal Resolution: Unlike methods that bin events into histograms, AEGNN keeps the microsecond-level timestamps, which the authors show is critical for maintaining performance in dynamic robotic tasks.
Visualization of how a new event (red) propagates its influence only to its k-hop neighborhood.

Key Results

AEGNN sets a new bar for the efficiency-accuracy trade-off in event-based vision:

  • Computational Savings: On the N-Cars dataset, AEGNN achieved the best accuracy while being 20 times more efficient than the next best asynchronous method.
  • Latency Reduction: The sparse update rules resulted in an 8-fold reduction in computational latency compared to dense GNN implementations.
  • Object Detection: On the Gen1 dataset, AEGNN outperformed existing asynchronous methods by 3.4% mAP while using significantly fewer MFLOPs per event.
  • Early Prediction: The model is remarkably robust; it can achieve over 90% accuracy on N-Cars using only the first 2,500 events of a sequence, even though it was trained on 10,000.
Figure 1. Our method processes events (a) as spatio-temporal graphs (b), using a graph neural network (c). For each new event we only limit computation to a local subgraph of (b), corresponding to the receptive field of the network, thus significantly reducing per-event computation. Our method has a 11 times lower computational complexity than state-of-the-art asynchronous method [32], while achieving state-of-the-art results on object recognition and object detection (d).

Limitations and Future Work

While AEGNN shows massive theoretical gains in FLOPs, the current implementation in Python/CUDA doesn't yet realize the full potential of these savings because standard GPUs are optimized for dense, synchronous operations. The authors note that the true power of AEGNN will likely be unlocked on specialized hardware like FPGAs or IPUs designed for sparse, asynchronous workloads.

Future research directions include exploring more sophisticated event sampling methods and investigating different graph clustering techniques to further optimize the hierarchical pooling layers.

Summary updated

BibTeX
@inproceedings{schaefer2022aegnn,
  author = {Simon Schaefer and Daniel Gehrig and Davide Scaramuzza},
  title = {{AEGNN: Asynchronous Event-based Graph Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.01205},
}
Figure