Approximation Complexity of Maximum A Posteriori Inference in Sum-Product Networks

Diarmaid Conaty, Denis D. Mauá, Cassio P. de Campos
3/17/2017
31 citations
cs.AI

Official code: RenatoGeh/gospn (25 stars, Go, BSD-3-Clause, last commit 2019-01-16).

Abstract

We discuss the computational complexity of approximating maximum a posteriori inference in sum-product networks. We first show NP-hardness in trees of height two by a reduction from maximum independent set; this implies non-approximability within a sublinear factor.

Show full abstract

We show that this is a tight bound, as we can find an approximation within a linear factor in networks of height two. We then show that, in trees of height three, it is NP-hard to approximate the problem within a factor $2^{f(n)}$ for any sublinear function $f$ of the size of the input $n$. Again, this bound is tight, as we prove that the usual max-product algorithm finds (in any network) approximations within factor $2^{c \cdot n}$ for some constant $c < 1$. Last, we present a simple algorithm, and show that it provably produces solutions at least as good as, and potentially much better than, the max-product algorithm. We empirically analyze the proposed algorithm against max-product using synthetic and realistic networks.

View on arXivView PDF

Code Implementations(1)

RenatoGeh/gospnOfficial100%
BSD-3-Clause

A free, open-source inference and learning library for Sum-Product Networks (SPN)

255Go, ShellJun 22, 20167 years agoBSD-3-Clause
classificationdatasetdeep-learninggolanggonum+9 more

Similar Papers

Cite this paper

@article{conaty2017approximation,
  title  = {Approximation Complexity of Maximum A Posteriori Inference in Sum-Product Networks},
  author = {Diarmaid Conaty and Denis D. Mauá and Cassio P. de Campos},
  year   = {2017},
  eprint = {1703.06045},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1703.06045}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1703.06045.svg)](https://codeofpaper.com/paper/1703.06045)

Discussion