Sub-Millisecond Event-Based Eye Tracking on a Resource-Constrained Microcontroller

Marco Giordano, Pietro Bonazzi, Luca Benini, Michele Magno

TL;DR

This paper introduces a fully embedded, sub-millisecond event-based eye-tracking system designed to run entirely on a resource-constrained microcontroller. By pairing a neuromorphic Dynamic Vision Sensor (DVS) with a hardware-aware, 8-bit quantized CNN on the new STM32N6 chip, the system achieves an end-to-end processing latency of just 385 µs while consuming a mere 155 µJ per inference. This breakthrough paves the way for true always-on, high-frequency eye tracking in next-generation smart glasses and AR/VR headsets.

What Problem Does This Paper Address?

Eye tracking is a foundational technology for augmented and virtual reality (AR/VR), human-computer interfaces, and cognitive neuroscience. However, traditional eye-trackers rely on frame-based cameras that capture images at fixed intervals. This approach suffers from high latency, heavy power consumption, and poor performance under rapidly changing lighting conditions—making them ill-suited for compact, battery-powered wearables like smart glasses.

Event-based cameras (or Dynamic Vision Sensors) offer a compelling alternative by asynchronously reporting pixel-level changes in luminance with microsecond resolution. While this drastically reduces data redundancy and latency, processing this sparse, high-throughput event stream on ultra-low-power edge hardware remains a massive challenge. Existing event-based eye trackers typically depend on power-hungry desktop-grade GPUs or external compute units. This paper tackles the hardware-software co-design problem required to run these advanced algorithms entirely on a resource-constrained microcontroller.

Methods

The authors developed an end-to-end pipeline that tightly integrates neuromorphic sensing with edge AI acceleration:

  1. Hardware Architecture: The system utilizes the DVXplorer Micro event camera and the STM32N6 microcontroller. The STM32N6 features an 800 MHz Arm Cortex-M55 core and a proprietary hardware NPU, the Neural-ART Accelerator.
  2. Fixed-Event Slicing: Because event data density fluctuates wildly depending on eye movement speed, the authors slice the event stream based on a fixed number of events (e.g., 1500 events) rather than fixed time windows. This ensures a consistent information density for the neural network.
  3. Compact CNN: The authors designed a lightweight 6-block convolutional neural network optimized for low-resolution (64×64×2) event frames. The network directly predicts normalized bounding box parameters $(x_{center}, y_{center}, w, h)$ for the pupil.
  4. Static Post-Training Quantization: To maximize NPU efficiency, the model was quantized from 32-bit floating-point (Float32) to 8-bit integer (INT8) precision using a Quantize-DeQuantize (QDQ) format with MinMax calibration.
Fig. 1: Overview of the proposed event-based eye tracking system.

Datasets

The system was trained and evaluated using the Ini-30 Dataset, a standard benchmark for event-based eye tracking. The authors utilized a leave-two-participants-out cross-validation protocol to rigorously test generalization. They also referenced the Event-Based Gaze Dataset to illustrate the highly variable temporal distribution of event data across different environments.

Fig. 2: Temporal evolution of the number of events over time in a sample video sequence in Ini-30 [7] and in the Event-Based Gaze Dataset [8]. The event frames highlight the variable density of events across equal time windows (Ti = Tj).

Key Insights and Ideas

  • Event-Driven vs. Time-Driven Processing: Slicing data by event count rather than time intervals acts as a natural data stabilizer. When the eye moves quickly, frames are generated rapidly; when the eye is still, frame generation slows down, inherently saving computational energy.
  • Free Lunch with Quantization: Moving from Float32 to INT8 precision yielded a massive reduction in model footprint and computational overhead with virtually zero penalty to accuracy. The median tracking error only shifted from 5.73 pixels to 5.76 pixels.
  • Microcontrollers as Heavy Lifters: The work proves that modern microcontrollers equipped with specialized AI accelerators can handle complex neuromorphic vision tasks that previously required desktop-class hardware.

Key Results

  • Sub-Millisecond Latency: The entire end-to-end pipeline takes just 385 µs (119 µs for preprocessing, 62 µs for data loading, and 204 µs for NN inference).
  • High Efficiency: The INT8 model achieves a throughput of 52 MAC operations per cycle on the Neural-ART Accelerator, consuming only 155 µJ per inference.
  • Competitive Accuracy: The quantized model achieves a mean centroid error of 5.98 pixels and a median error of 5.76 pixels on the Ini-30 dataset, performing within 2 pixels of much larger, state-of-the-art models.
  • All-Day Battery Life: Operating continuously at 120 Hz (matching high-refresh-rate displays), the system is projected to run for 16 hours on a standard 150 mAh smart-glasses battery.
Fig. 5: Power profile of preprocessing, neural network loading, and inference. The shaded area represents the raw data, the bolded line is a moving average.

Limitations and Future Work

While the processing pipeline runs entirely on-device, the current prototyping setup still relies on a host PC acting as a data relay conduit between the DVS camera and the microcontroller (via USB 3.1 and a 4 Mbps UART interface).

For a true commercial deployment, future work must focus on direct, board-level sensor-to-MCU hardware integration. Additionally, the authors propose exploring sensor fusion by incorporating data from the camera's integrated 6-axis Inertial Measurement Unit (IMU) to compensate for head movements, as well as investigating Spiking Neural Networks (SNNs) to further exploit the asynchronous nature of event cameras.

Summary updated

BibTeX
@inproceedings{giordano2025sub,
  author = {Marco Giordano and Pietro Bonazzi and Luca Benini and Michele Magno},
  title = {{Sub-Millisecond Event-Based Eye Tracking on a Resource-Constrained Microcontroller}},
  booktitle = {IWASI},
  year = {2025},
  doi = {10.1109/iwasi66786.2025.11121976},
}
Figure