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:
- 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.
- 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.
- 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.
- 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.
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.
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.
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