Lune

AAAI2021Top-tier venue

On the Complexity of Sum-of-Products Problems over Semirings

Thomas Eiter, Rafael Kiesel

Abstract

Many important problems in AI, among them SAT, #SAT, and probabilistic inference, amount to Sum-of-Products Problems, i.e. evaluating a sum of products of values from some semiring R. While efficiently solvable cases are known, a systematic study of the complexity of this problem is missing. We characterize the latter by NP(R), a novel generalization of NP over semiring R, and link it to well-known complexity classes. While NP(R) is unlikely to be contained in FPSPACE(poly) in general, for a wide range of commutative (resp. in addition idempotent) semirings, there are reductions to #P (resp. NP) and solutions are thus only mildly harder to compute. We finally discuss NP(R)-complete reasoning problems in well-known semiring formalisms, among them Semiring-based Constraint Satisfaction Problems, obtaining new insights into their computational properties.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. A Compositional Atlas for Algebraic CircuitsBenjie Wang, Denis Deratani Mauá, Guy Van den Broeck, YooJung ChoiNeurIPS 2024 · 13 citations
  2. Constraint Optimization over SemiringsAduri Pavan, Kuldeep S. Meel, N. V. Vinodchandran, Arnab BhattacharyyaAAAI 2023

Builds on1

  1. ADDMC: Weighted Model Counting with Algebraic Decision DiagramsJeffrey M. Dudek, Vu Phan, Moshe Y. VardiAAAI 2020 · 16 citations

Related papers

  1. Network Satisfaction for Symmetric Relation Algebras with a Flexible AtomManuel Bodirsky, Simon KnäuerAAAI 2021 · 7 citations
  2. RE-completeness of entangled constraint satisfaction problemsEric Culf, Kieran MastelFOCS 2025 · 14 citations
  3. Model Counting and Sampling via Semiring ExtensionsAndreas Goral, Joachim Giesen, Mark Blacher, Christoph Staudt et al.AAAI 2024 · 1 citation
  4. The Gradient of Algebraic Model CountingJaron Maene, Luc De RaedtAAAI 2025 · 1 citation
  5. Zero-One Laws and Almost Sure Valuations of First-Order Logic in Semiring SemanticsErich Grädel, Hayyan Helal, Matthias Naaf, Richard WilkeLICS 2022 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines