math.OCSep 25, 2017

A polynomial time algebraic solution to exact marginal inference in Markov Random Field models

Authors: Ikhlef Bechar

Organizations: Aix Marseille Univ, Universit´e de Toulon, CNRS, ENSAM, LSIS La Garde 83957, France

Abstract

This paper develops on algebraic grounds a polynomial time exact linear solution to the hard combinatorial problem of marginal inference in Markov random field (MRF) models under general assumptions. To prove our claim, we first implicitly remodel a MRF joint distribution as the unique solution of some linear identity assuming its clique potential functions (equivalently, its individual conditional distributions) to be specified. Then, by assuming an arbitrary point subset, we relax accordingly such a (global) linear identity for deriving a second linear identity, solely, acting on a polynomial time number of entries (e.g.; local marginals or Fourier frequencies) of a solution. Then, we show, only using linear algebraic techniques, that such an identity enables to capture all the entries necessary for the exact reconstruction of an MRF marginal distribution, thus, allowing to solve for the latter, exactly and in polynomial time, using a standard linear solver. Last, but not least, this paper probably solves, once and for all, the P = NP conjecture.

Explore similar work

CardsList
  1. Exact and Approximate Algorithms for Polytree Learning

    May 5, 2026Juha Harviainen, Frank Sommer, Manuel SorgeBayesian NetworksApproximation Algorithms

  2. On the Approximation Complexity of Matrix Product Operator Born Machines

    May 12, 2026Chao Li, Zerui Tao, Yuchen Cong +2Tensor NetworksVariational Inference

  3. Decomposition for Bayesian Networks: Local and Parallel Inference

    Jul 6, 2026Pei Heng, Xinyi Hu, Yi SunBayesian NetworksProbabilistic Inference