A Compositional Atlas for Algebraic Circuits

Benjie Wang, Denis Deratani Mauá, Guy Van den Broeck, YooJung Choi
12/7/2024
cs.AIcs.LGcs.LO

No confident code implementation found for this paper.

Abstract

Circuits based on sum-product structure have become a ubiquitous representation to compactly encode knowledge, from Boolean functions to probability distributions. By imposing constraints on the structure of such circuits, certain inference queries become tractable, such as model counting and most probable configuration. Recent works have explored analyzing probabilistic and causal inference queries as compositions of basic operators to derive tractability conditions. In this paper, we take an algebraic perspective for compositional inference, and show that a large class of queries - including marginal MAP, probabilistic answer set programming inference, and causal backdoor adjustment - correspond to a combination of basic operators over semirings: aggregation, product, and elementwise mapping. Using this framework, we uncover simple and general sufficient conditions for tractable composition of these operators, in terms of circuit properties (e.g., marginal determinism, compatibility) and conditions on the elementwise mappings. Applying our analysis, we derive novel tractability conditions for many such compositional queries. Our results unify tractability conditions for existing problems on circuits, while providing a blueprint for analysing novel compositional inference queries.

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!

Cite this paper

@article{wang2024compositional,
  title  = {A Compositional Atlas for Algebraic Circuits},
  author = {Benjie Wang and Denis Deratani Mauá and Guy Van den Broeck and YooJung Choi},
  year   = {2024},
  eprint = {2412.05481},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2412.05481},
  url    = {http://arxiv.org/abs/2412.05481v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion