FLAME: Fast Long-context Adaptive Memory for Event-based Vision

Biswadeep Chakraborty, Saibal MukhopadhyayNeurIPS 2025

Introduction

FLAME (Fast Long-range Adaptive Memory for Event) is a novel architecture designed to process event camera data with unprecedented efficiency. By combining bio-inspired feature extraction with an adaptive structured state-space model, FLAME achieves state-of-the-art accuracy while using up to 90x less computation than previous leading models.

The Event Processing Dilemma

Standard cameras capture "frames" (snapshots in time) at fixed intervals. Event cameras, such as Dynamic Vision Sensors (DVS), operate differently: they only report when a specific pixel changes brightness. This generates a sparse, asynchronous stream of data that is ideal for low-power, high-speed applications like robotics or autonomous drones.

However, processing this asynchronous data presents a dilemma:

  1. Aggregate events into "frames" or "voxels": This allows the use of standard AI architectures (like CNNs or Vision Transformers), but it is computationally expensive and destroys the inherent low-latency benefits of the event sensor.
  2. Process event-by-event: This preserves speed and low latency, but most current models (like Spiking Neural Networks) struggle to retain information over long sequences, leading to poor accuracy on complex tasks.

FLAME bridges this gap, delivering the high accuracy of batch-processing models alongside the speed and efficiency of direct event-by-event processing.

The FLAME Architecture

To achieve this balance, the authors introduce three primary innovations:

FLAME Architecture and Event-Aware HiPPO Mechanism
  • Event Attention Layer (EAL): Inspired by biological neurons with multiple "dendritic branches," this layer uses several parallel Leaky Integrate-and-Fire (LIF) neurons. Each branch possesses a different "leak" rate (time constant), allowing the model to naturally capture features across varying timescales—from fast to slow movements—without the massive computational overhead of a standard Transformer attention matrix.
  • Event-Aware HiPPO (EA-HiPPO): HiPPO is a mathematical framework used in State Space Models (SSMs) to compress history into a fixed-size memory. FLAME adapts this by making the memory decay sensitive to the actual time interval between events ($\Delta t$). This allows the model to dynamically adjust how long it "remembers" context based on the rhythm of the incoming data, rather than treating time as rigid, discrete steps.
  • NPLR Decomposition: To keep the model scalable for high-resolution data, FLAME utilizes a "Normal Plus Low Rank" (NPLR) decomposition. This linear algebra technique reduces the complexity of updating the model's internal state from $\mathcal{O}(N^2)$ to $\mathcal{O}(Nr)$, where $r$ is significantly smaller than the core state dimension $N$.

Performance and Efficiency

The researchers evaluated FLAME across a wide variety of benchmarks, including vision tasks like DVS Gesture, HAR-DVS, CeleX-HAR, CIFAR10-DVS, and N-Caltech101, as well as audio tasks converted to events.

Accuracy vs. Computational Complexity (FLOPs)

FLAME sets a new standard for the efficiency-to-accuracy trade-off:

  • 90x Compute Reduction: On the high-resolution CeleX-HAR dataset (1280x800), which typically makes event-by-event processing prohibitively expensive, FLAME achieved comparable accuracy (~72.2%) to the leading "EventMamba" model. However, FLAME required only 0.41 GFLOPs compared to Mamba's massive 37.2 GFLOPs.
  • Ultra-Low Latency: The "FLAME-Tiny" variant demonstrated an inference latency of just 0.162 ms on an NVIDIA A100 GPU, making it highly suitable for demanding real-time applications.
  • SOTA Performance: FLAME outperformed or matched specialized Spiking Neural Networks (SNNs) and Transformers across almost all tested datasets while maintaining a significantly lower parameter count and flat computational scaling.

Limitations and Future Work

While FLAME represents a massive leap forward, it has a few limitations. Because it is formulated as a State Space Model rather than a pure Spiking Neural Network, it cannot currently run natively on "pure" neuromorphic hardware (like Intel's Loihi) that requires discrete spikes. Additionally, the model currently relies on static offline training; integrating on-device continual learning would be a valuable next step.

Ultimately, FLAME proves that in event-based vision, we no longer have to choose between the "speed of events" and the "memory of frames." We can have both without breaking the computational budget.

Summary updated

BibTeX
@inproceedings{chakraborty2025flame,
  author = {Biswadeep Chakraborty and Saibal Mukhopadhyay},
  title = {{FLAME: Fast Long-context Adaptive Memory for Event-based Vision}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Zb3QO7HLIj},
}
Figure