A Hardware-oriented Approach for Efficient Bayesian Inference Computation and Deployment
Not on the map. Why?
Abstract (arXiv)
Bayesian inference provides a principled foundation for reasoning under uncertainty, but its computational cost hinders deployment on resource-constrained edge devices. In this paper, we present a hardware-oriented methodology for accelerating discrete Bayesian inference on commercial off-the-shelf embedded GPUs. We identify that the latency of a broad class of variational message-passing algorithms is dominated by tensor contractions. Our approach restructures the memory layout of these operations using two complementary merging strategies that produce compact, regularly-shaped primitives better suited for efficient GPU execution. We then introduce optional sparse array representations and a tensor-clustering scheme to reduce the memory footprint. We instantiate the methodology and produce optimized variants of three message-passing algorithms for Hidden Markov Models (HMMs), namely variational filtering, variational message passing, and marginal message passing. Furthermore, we complement this with a machine-learning-based autotuner that automatically selects the best-performing algorithmic variant for a given generative model specification. Benchmarked on an NVIDIA Jetson Orin AGX across 770 randomly sampled realistic Partially Observable Markov Decision Process (POMDP) configurations, our implementations achieve speedups of up to 5x, with typical gains of 2-2.5x, while producing numerically identical outputs to the baseline implementations.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 42 references that are in the map. First posted on arXiv 20 Jul 2026.
Builds on
20 of 42 references.
References · 20
- 2016Variational Inference: A Review for Statisticianscited by 1,466
- 2018Pyro: Deep Universal Probabilistic Programmingcited by 379
- 2018Variational Autoencoders for Collaborative Filteringcited by 308
- 2019Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyrocited by 187
- 2013Expectation Propagation for approximate Bayesian inferencecited by 172
- 2020Active inference on discrete state-spaces: a synthesiscited by 91
- 2021Active Inference in Robotics and Artificial Agents: Survey and Challengescited by 52
- 2022pymdp: A Python library for active inference in discrete state spacescited by 39
- 2016Patterns of Scalable Bayesian Inferencecited by 24
- 2019End-to-End Pixel-Based Deep Active Inference for Body Perception and Actioncited by 24
- 2018Format Abstraction for Sparse Tensor Algebra Compilerscited by 16
- 2019A Novel Adaptive Controller for Robot Manipulators based on Active Inferencecited by 11
8 more
- 2022PGMax: Factor Graphs for Discrete Probabilistic Graphical Models and Loopy Belief Propagation in JAXcited by 6
- 2023Resolving uncertainty on the fly: Modeling adaptive driving behavior as active inferencecited by 6
- 2023Evaluating Emerging AI/ML Accelerators: IPU, RDU, and NVIDIA/AMD GPUscited by 5
- 2025Towards smart and adaptive agents for active sensing on edge devicescited by 5
- 2024Probabilistic Inference in the Era of Tensor Networks and Differential Programmingcited by 4
- 2025Mobile Manipulation with Active Inference for Long-Horizon Rearrangement Taskscited by 2
- 2025Evaluation of "As-Intended" Vehicle Dynamics using the Active Inference Frameworkcited by 1
- 2025Embedded FPGA Acceleration of Brain-Like Neural Networks: Online Learning to Scalable Inferencecited by 1
Built on by
Not cited yet.