The Limits of Tractable Marginalization

Oliver Broadrick, Sanyam Agarwal, Guy Van den Broeck, Markus Bl¨aser
6/1/2025

No confident code implementation found for this paper.

Abstract

Marginalization -- summing a function over all assignments to a subset of its inputs -- is a fundamental computational problem with applications from probabilistic inference to formal verification. Despite its computational hardness in general, there exist many classes of functions (e.g., probabilistic models) for which marginalization remains tractable, and they can be commonly expressed by polynomial size arithmetic circuits computing multilinear polynomials.

Show full abstract

This raises the question, can all functions with polynomial time marginalization algorithms be succinctly expressed by such circuits? We give a negative answer, exhibiting simple functions with tractable marginalization yet no efficient representation by known models, assuming $\textsf{FP}\neq\#\textsf{P}$ (an assumption implied by $\textsf{P} \neq \textsf{NP}$). To this end, we identify a hierarchy of complexity classes corresponding to stronger forms of marginalization, all of which are efficiently computable on the known circuit models. We conclude with a completeness result, showing that whenever there is an efficient real RAM performing virtual evidence marginalization for a function, then there are small circuits for that function's multilinear representation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{broadrick2025limits,
  title  = {The Limits of Tractable Marginalization},
  author = {Oliver Broadrick and Sanyam Agarwal and Guy Van den Broeck and Markus Bl¨aser},
  year   = {2025},
  eprint = {2506.12020},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2506.12020},
  journal = {ICML 2025 2025}
}

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/2506.12020.svg)](https://codeofpaper.com/paper/2506.12020)

Discussion