# Dynamic inference in probabilistic graphical models

**Authors:** Weiming Feng, Kun He, Xiaoming Sun, Yitong Yin

arXiv: 1904.11807 · 2020-11-30

## TL;DR

This paper introduces a dynamic sampling algorithm for probabilistic inference in Markov random fields that efficiently updates samples as the underlying graph changes, significantly reducing computational costs in dynamic settings.

## Contribution

It presents a novel dynamic sampling technique for graphical models that maintains inference results efficiently under bounded changes, improving over static re-sampling methods.

## Key findings

- Achieves $	ilde{O}(n N(n))$ space complexity for dynamic inference.
- Provides incremental update time of $	ilde{O}(N(n) + n)$ per change.
- Offers a speedup factor of $	ilde{	ilde{	ext{O}}}(	ext{min}igrace n, N(n)ig)}$ over static re-sampling.

## Abstract

Probabilistic graphical models, such as Markov random fields (MRFs), are useful for describing high-dimensional distributions in terms of local dependence structures. The probabilistic inference is a fundamental problem related to graphical models, and sampling is a main approach for the problem. In this paper, we study probabilistic inference problems when the graphical model itself is changing dynamically with time. Such dynamic inference problems arise naturally in today's application, e.g.~multivariate time-series data analysis and practical learning procedures.   We give a dynamic algorithm for sampling-based probabilistic inferences in MRFs, where each dynamic update can change the underlying graph and all parameters of the MRF simultaneously, as long as the total amount of changes is bounded. More precisely, suppose that the MRF has $n$ variables and polylogarithmic-bounded maximum degree, and $N(n)$ independent samples are sufficient for the inference for a polynomial function $N(\cdot)$. Our algorithm dynamically maintains an answer to the inference problem using $\widetilde{O}(n N(n))$ space cost, and $\widetilde{O}(N(n) + n)$ incremental time cost upon each update to the MRF, as long as the well-known Dobrushin-Shlosman condition is satisfied by the MRFs. Compared to the static case, which requires $\Omega(n N(n))$ time cost for redrawing all $N(n)$ samples whenever the MRF changes, our dynamic algorithm gives a $\widetilde\Omega(\min\{n, N(n)\})$-factor speedup. Our approach relies on a novel dynamic sampling technique, which transforms local Markov chains (a.k.a. single-site dynamics) to dynamic sampling algorithms, and an "algorithmic Lipschitz" condition that we establish for sampling from graphical models, namely, when the MRF changes by a small difference, samples can be modified to reflect the new distribution, with cost proportional to the difference on MRF.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1904.11807/full.md

## References

39 references — full list in the complete paper: https://tomesphere.com/paper/1904.11807/full.md

---
Source: https://tomesphere.com/paper/1904.11807