[edit]
Sparse-Matrix Belief Propagation
Proceedings of the 34th Conference on Uncertainty in Artificial Intelligence, PMLR R16:610-619, 2018.
Abstract
We propose sparse-matrix belief propagation, which executes loopy belief propagation in pair- wise Markov random fields by replacing in- dexing over graph neighborhoods with sparse- matrix operations. This abstraction allows for seamless integration with optimized sparse lin- ear algebra libraries, including those that per- form matrix and tensor operations on modern hardware such as graphical processing units (GPUs). The sparse-matrix abstraction allows the implementation of belief propagation in a high-level language (e.g., Python) that is also able to leverage the power of GPU paralleliza- tion. We demonstrate sparse-matrix belief prop- agation by implementing it in a modern deep learning framework (PyTorch), measuring the resulting massive improvement in running time, and facilitating future integration into deep learning models.