English

Exploiting Spatial Sparsity for Event Cameras with Visual Transformers

Computer Vision and Pattern Recognition 2022-02-11 v1

Abstract

Event cameras report local changes of brightness through an asynchronous stream of output events. Events are spatially sparse at pixel locations with little brightness variation. We propose using a visual transformer (ViT) architecture to leverage its ability to process a variable-length input. The input to the ViT consists of events that are accumulated into time bins and spatially separated into non-overlapping sub-regions called patches. Patches are selected when the number of nonzero pixel locations within a sub-region is above a threshold. We show that by fine-tuning a ViT model on the selected active patches, we can reduce the average number of patches fed into the backbone during the inference by at least 50% with only a minor drop (0.34%) of the classification accuracy on the N-Caltech101 dataset. This reduction translates into a decrease of 51% in Multiply-Accumulate (MAC) operations and an increase of 46% in the inference speed using a server CPU.

Keywords

Cite

@article{arxiv.2202.05054,
  title  = {Exploiting Spatial Sparsity for Event Cameras with Visual Transformers},
  author = {Zuowen Wang and Yuhuang Hu and Shih-Chii Liu},
  journal= {arXiv preprint arXiv:2202.05054},
  year   = {2022}
}
R2 v1 2026-06-24T09:30:10.691Z