Hardware-efficient tractable probabilistic inference for TinyML Neurosymbolic AI applications
Jelin Leslin, Martin Trapp, Martin Andraud

TL;DR
This paper introduces a hardware-efficient framework for implementing Neurosymbolic AI on TinyML devices by training, compressing, and deploying probabilistic circuits, significantly reducing resource usage and increasing inference speed.
Contribution
It presents a novel end-to-end framework for training, compressing, and deploying probabilistic circuits for Neurosymbolic AI on resource-constrained TinyML hardware.
Findings
Up to 82.3% reduction in FPGA resource usage
Average inference speedup of 4.67x on ESP32
Minimal accuracy degradation with $n^{th}$-root compression
Abstract
Neurosymbolic AI (NSAI) has recently emerged to mitigate limitations associated with deep learning (DL) models, e.g. quantifying their uncertainty or reason with explicit rules. Hence, TinyML hardware will need to support these symbolic models to bring NSAI to embedded scenarios. Yet, although symbolic models are typically compact, their sparsity and computation resolution contrasts with low-resolution and dense neuro models, which is a challenge on resource-constrained TinyML hardware severely limiting the size of symbolic models that can be computed. In this work, we remove this bottleneck leveraging a tight hardware/software integration to present a complete framework to compute NSAI with TinyML hardware. We focus on symbolic models realized with tractable probabilistic circuits (PCs), a popular subclass of probabilistic models for hardware integration. This framework: (1) trains a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
