Physical Review Research (Sep 2024)

Probabilistic inference in the era of tensor networks and differential programming

  • Martin Roa-Villescas,
  • Xuanzhao Gao,
  • Sander Stuijk,
  • Henk Corporaal,
  • Jin-Guo Liu

DOI
https://doi.org/10.1103/PhysRevResearch.6.033261
Journal volume & issue
Vol. 6, no. 3
p. 033261

Abstract

Read online Read online

Probabilistic inference is a fundamental task in modern machine learning. Recent advances in tensor network (TN) contraction algorithms have enabled the development of better exact inference methods. However, many common inference tasks in probabilistic graphical models (PGMs) still lack corresponding TN-based adaptations. In this paper, we advance the connection between PGMs and TNs by formulating and implementing tensor-based solutions for the following inference tasks: (A) computing the partition function, (B) computing the marginal probability of sets of variables in the model, (C) determining the most likely assignment to a set of variables, (D) the same as (C) but after having marginalized a different set of variables, and (E) generating samples from a learned probability distribution using a generalized method. Our study is motivated by recent technical advances in the fields of quantum circuit simulation, quantum many-body physics, and statistical physics. Through an experimental evaluation, we demonstrate that the integration of these quantum technologies with a series of algorithms introduced in this study significantly improves the performance efficiency of existing methods for solving probabilistic inference tasks.