Event Transformer. A sparse-aware solution for efficient event data processing

Alberto Sabater, Luis Montesano, Ana C. MurilloWorkshops @ CVPR 2022 · DOI

Abstract

Event cameras offer high temporal resolution and low power consumption by asynchronously reporting pixel-level intensity changes. However, standard deep learning architectures often struggle to efficiently process this sparse data without converting it into dense frames, which negates the sensor's inherent advantages. This paper introduces the Event Transformer (EvT), a framework that leverages a sparse patch-based representation and a compact, Perceiver-inspired Transformer architecture. By focusing only on "activated" patches and utilizing a latent memory bottleneck, EvT achieves state-of-the-art accuracy on gesture recognition tasks while reducing computational requirements by up to 24x compared to traditional frame-based methods.

Introduction

Event cameras, or neuromorphic sensors, represent a paradigm shift in computer vision. Unlike conventional cameras that capture full frames at fixed intervals, event cameras only report changes in pixel intensity. This asynchronous operation enables high dynamic range and extremely low latency, making them ideal for edge applications such as AR/VR and autonomous systems.

Despite these benefits, integrating event data with modern neural networks remains challenging. Existing methods typically either squash events into dense frames—wasting computation on empty regions—or treat events as point clouds, which can struggle with complex pattern recognition. The Event Transformer (EvT) addresses this by introducing a sparse-aware processing pipeline that maintains the efficiency of event-level data while leveraging the representational power of Transformers.

Methodology

The EvT framework is built upon two core innovations: a sparse patch-based representation and a compact Transformer backbone.

Overview of the EvT pipeline, showing the transition from raw event streams to activated patches and latent memory updates.

Sparse Patch-Based Representation

Rather than processing a full event frame, EvT partitions the scene into a grid of non-overlapping patches. The system identifies "activated" patches—those containing a significant amount of event data—and discards the rest. This filtering process effectively removes ambient noise and focuses the model's attention solely on regions with motion, significantly reducing the input dimensionality for the subsequent network.

Compact Transformer Backbone

To handle the computational complexity of standard Transformers, EvT employs a latent memory approach inspired by the Perceiver architecture.

Detailed architecture of the EvT backbone, including patch preprocessing, cross-attention with latent vectors, and the memory update mechanism.
  1. Cross-Attention: A fixed set of learned latent memory vectors attends to the incoming activated patches. This bounds the computational complexity to $O(T \times M)$, where $T$ is the number of patches and $M$ is a small, fixed number of memory vectors.
  2. Incremental Updates: The latent memory is updated as new event windows arrive, allowing for online inference. The model maintains a temporal summary of the motion without needing to re-process the entire history.

Experiments and Results

The authors evaluated EvT across several real-world event datasets, including DVS128 Gesture, SL-Animals-DVS, ASL-DVS, and N-Caltech-101.

  • Performance: On the DVS128 Gesture dataset, EvT achieved a peak accuracy of 98.46%, outperforming both CNN and Spiking Neural Network (SNN) baselines. It also established a new state-of-the-art on the challenging SL-Animals dataset.
  • Efficiency: Comparative analysis on N-Caltech-101 revealed that EvT requires only 0.20 GFLOPs, a massive reduction compared to the 4.82 GFLOPs required by the M-LSTM model.
  • Latency: The model demonstrates real-time capability, with processing times of 2-4ms on GPUs and 4-16ms on standard CPUs, facilitating deployment on hardware without specialized AI accelerators.

Discussion and Conclusion

A key insight from this work is that sparsity is a feature rather than a limitation. By discarding patches with low activity (e.g., below a 7.5% threshold), the model implicitly performs denoising, which actually improves classification accuracy. Furthermore, the latent bottleneck forces the network to learn highly compressed and meaningful spatio-temporal representations.

The Event Transformer provides a scalable and efficient solution for event-based vision. While currently optimized for classification tasks like gesture recognition, its performance is sensitive to hyperparameters such as patch size and activation thresholds. Future research will explore extending this sparse-patch Transformer architecture to dense tasks such as object detection and optical flow, where the benefits of event-based sparsity could be even more impactful.

Summary updated

BibTeX
@inproceedings{sabater2022event,
  author = {Alberto Sabater and Luis Montesano and Ana C. Murillo},
  title = {{Event Transformer. A sparse-aware solution for efficient event data processing}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
  doi = {10.1109/cvprw56347.2022.00301},
}
Figure