Split SPDE-GMRF inference for lane perception

Sparse precision factorisation on NVIDIA GPUs (cuSPARSE, cuDSS) estimates the spatial field, while an int8 forward filter on Arm Cortex-M (CMSIS-NN) tracks the behavioural mode per sample. Heavy work on the host, one small recursion on the device.

Source code, tests and demo clips: https://github.com/dhruv-setty/spde-gmrf-lane-perception

Write-up: https://dhruv-setty.github.io

Overview

An int8 classifier on an Arm Cortex-M4F labels each lane-position sample as calm, alert, stressed or panic, in 40 multiply-accumulates and 1,802 bytes of flash. A host fits a model of how each stretch of the route shifts lane position and sends the device one int16 correction per site. On simulated drives the int8 and float classifiers agree on 99.66% of samples, stay within 0.04 points when sensor noise doubles, and int8 catches 151 of 157 panic episodes. All data simulated.

Studies (simulated)

  • Noise robustness. With emission noise scaled from 0.5 to 2 times the default (5 seeds ร— 2,000 steps per level), int8 accuracy stays within 0.04 points of float, from 99.49% down to 79.68%, and the two filters agree on at least 99.25% of steps.
  • Panic detection. At default noise the int8 filter catches 151 of 157 simulated panic episodes, on average 0.28 samples after entry, with a 0.64% false-panic rate. Delay is in samples, not time.
  • Parameter recovery. Across 40 simulated fields, median kappa_hat / kappa_true is 0.983 and median tau_hat / tau_true 1.013, all within 20% of truth.

Data and code: the noise_detection and recovery configs of the dataset.

Related

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train dhruvsetty/spde-gmrf-lane-perception