Optimization of an unscented Kalman filter for an embedded platform
Abstract
The unscented Kalman filter (UKF) is finding increased application in biological fields. While realizing a complex UKF system in a low-power embedded platform offers many potential benefits including wearability, it also poses significant design challenges. Here we present a method for optimizing a UKF system for realization in an embedded platform. The method seeks to minimize both computation time and error in UKF state reconstruction and forecasting. As a case study, we applied the method to a model for the rat sleep-wake regulatory system in which 432 variants of the UKF over six different variables are considered. The optimization method is divided into three stages that assess computation time, state forecast error, and state reconstruction error. We apply a cost function to variants that pass all three stages to identify a variant that computes 27 times faster than the reference variant and maintains required levels of state estimation and forecasting accuracy. We draw the following insights: 1) process noise provides leeway for simplifying the model and its integration in ways that speed computation time while maintaining state forecasting accuracy, 2) the assimilation of observed data during the UKF correction step provides leeway for simplifying the UKF structure in ways that speed computation time while maintaining state reconstruction accuracy, and 3) the optimization process can be accelerated by decoupling variables that directly impact the underlying model from variables that impact the UKF structure. Author summaryPowerful statistical tools can be used to estimate unmeasured information in biological systems and predict the systems future state. Translating these tools from a desktop computer to small, wearable or implantable platforms can unlock many benefits, but presents many design challenges, because tradeoffs between computational simplicity and system accuracy must be balanced. We present an approach to translating one such widely used statistical tool, the unscented Kalman filter, from a desktop computer to a miniature device. We demonstrate the approach with a case study centering on the neural circuits governing the mammalian sleep-wake cycle. By exploiting uncertainty in the biology being estimated and the corrective influence of biological measurements, we arrive at a design that is easily computable on the miniature device and maintains a high level of accuracy. We anticipate that our approach will aid others in designing such miniaturized systems for a broad range of applications.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 13
- FWCI
- 0.82
- Field percentile
- top 28%
- Organism
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Adaptive Unscented Kalman Filter for Neuronal State and Parameter Estimation
Loïc J. Azzalini, David Crompton, … Milad Lankarany·Journal of Computational NeurosciencePeer-reviewed·Mar 1, 2023
- Modeling time-varying brain networks with a self-tuning optimized Kalman filter
David Pascucci, Maria Rubega, Gijs Plomp·PLoS Computational BiologyPeer-reviewed·Aug 17, 2020
- Modeling human echolocation using a Kalman filter
Sofia Krasovskaya, James M. Coughlan, Santani Teng·bioRxiv·Jul 7, 2026
- Rethinking Kalman Filters for Motor Brain-Machine Interface: The Fundamental Limitations and A Perspective Shift
Guanting Liu, Ying Yan, … Aiguo Song·bioRxiv·Jul 10, 2025
- A simple model for learning in volatile environments
Payam Piray, Nathaniel D. Daw·PLoS Computational BiologyPeer-reviewed·Jul 1, 2020
- A closed-loop stimulation approach with real-time estimation of the instantaneous phase of neural oscillations by a Kalman filter
Takayuki Onojima, Keiichi Kitajo·Journal of Neural EngineeringPeer-reviewed·Oct 13, 2021