TinyNS: Platform-aware Neurosymbolic Auto Tiny Machine Learning
TinyNS: Platform-aware Neurosymbolic Auto Tiny Machine Learning
复制标题
DOI:
10.1145/3603171
复制
发表时间:
2024-05-01
影响因子:
2
通讯作者:
Srivastava,Mani
中科院分区:
文献类型:
--
作者:
Saha,Swapnil Sayan;Sandha,Sandeep Singh;Srivastava,Mani
Machine learning at the extreme edge has enabled a plethora of intelligent, time-critical, and remote applications. However, deploying interpretable artificial intelligence systems that can perform high-level symbolic reasoning and satisfy the underlying system rules and physics within the tight platform resource constraints is challenging. In this article, we introduceTinyNS, the first platform-aware neurosymbolic architecture search framework for joint optimization of symbolic and neural operators.TinyNSprovides recipes and parsers to automatically write microcontroller code for five types of neurosymbolic models, combining the context awareness and integrity of symbolic techniques with the robustness and performance of machine learning models.TinyNSuses a fast, gradient-free, black-box Bayesian optimizer over discontinuous, conditional, numeric, and categorical search spaces to find the best synergy of symbolic code and neural networks within the hardware resource budget. To guarantee deployability,TinyNStalks to the target hardware during the optimization process. We showcase the utility ofTinyNSby deploying microcontroller-class neurosymbolic models through several case studies. In all use cases,TinyNSoutperforms purely neural or purely symbolic approaches while guaranteeing execution on real hardware.