Skip to content
haohq19Public

About

[ICLR 2026] Maximizing Asynchronicity in Event-based Neural Networks

Resources

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

Code for ICLR 2026 paper "Maximizing Asynchronicity in Event-based Neural Networks"

framework

Paper available at: arXiv. Contact: [email protected]

TLDR

A new Asynchronous-to-Synchronous (A2S) framework inspired by NLP for learning and generating expressive and generalizable event representations asynchronously.

Abstract

Event cameras deliver visual data with high temporal resolution, low latency, and minimal redundancy, yet their asynchronous, sparse sequential nature challenges standard tensor-based machine learning (ML). While the recent Asynchronous-to-Synchronous (A2S) paradigm aims to bridge this gap by asynchronously encoding events into learned features for ML pipelines, existing A2S approaches often sacrifice expressivity and generalizability compared to dense, synchronous methods. This paper introduces EVA (EVent Asynchronous feature learning), a novel A2S framework to generate highly expressive and generalizable event-by-event features. Inspired by the analogy between events and language, EVA uniquely adapts advances from language modeling in linear attention and self-supervised learning for its construction. In demonstration, EVA outperforms prior A2S methods on recognition tasks (DVS128-Gesture and N-Cars), and represents the first A2S framework to successfully master demanding detection tasks, achieving a 0.477 mAP on the Gen1 dataset. These results underscore EVA's potential for advancing real-time event-based vision applications.

Installation

The code is tested on Ubuntu 20.04 with RTX 3090 GPU. Setup the environment with the following command:

>>> conda create -n <env_name> python=3.12
>>> conda activate <env_name>
>>> conda install pytorch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 pytorch-cuda=12.4 -c pytorch -c nvidia
>>> conda install ninja=1.12.1
>>> conda install tensorboard
>>> conda install tqdm
>>> conda install "mkl<2025.0.0"

Datasets

DVS128Gesture

Download dataset from https://ibm.ent.box.com/s/3hiq58ww1pbbjrinh367ykfdf60xsfm8/folder/50167556794. Put the downloaded file in <data_dir>/download. Preprocess the dataset with the following bash command:

>>> pip install spikingjelly
>>> cd preprocess_data
>>> python preprocess_dvs128gesture.py --root <dataset_dir>

Spikingjelly will automatically extract the downloaded files, and save the samples to <data_dir>/events_np. Then, preprocessed data will be saved to <data_dir>/raw.

Training

Run training with the following bash command:

>>> python run_training.py

The configs can be modified in the config file configs/train.yaml. Change root in config file to your actual <data_dir>. Change output_dir in config file to the actual path to save the checkpoints and logs.

Generate representations

Generate representations with the following bash command:

>>> python hidden.py --checkpoint <path/to/checkpoint>

Change root in config file to the actual <data_dir>. Change output_dir in config file to the actual path to save the hidden states. Change checkpoint in config file to the actual path to the checkpoint.

Citation

If you find our code useful, please consider citing our paper:

@inproceedings{hao2026maximizing,
  title={Maximizing Asynchronicity in Event-based Neural Networks},
  author={Haiqing Hao and Nikola Zubic and Weihua He and Zhipeng Sui and Davide Scaramuzza and Wenhui Wang},
  booktitle={The Fourteenth International Conference on Learning Representations},
  year={2026},
}

About

[ICLR 2026] Maximizing Asynchronicity in Event-based Neural Networks

Resources

Stars

10 stars

Watchers

0 watching

Forks

Contributors

Languages