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

Authors

  • Thomas Eiter Vienna University of Technology
  • Rafael Kiesel Vienna University of Technology

DOI:

https://doi.org/10.1609/aaai.v35i7.16783

Keywords:

Computational Complexity of Reasoning

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.

Downloads

Published

2021-05-18

How to Cite

Eiter, T., & Kiesel, R. (2021). On the Complexity of Sum-of-Products Problems over Semirings. Proceedings of the AAAI Conference on Artificial Intelligence, 35(7), 6304-6311. https://doi.org/10.1609/aaai.v35i7.16783

Issue

Section

AAAI Technical Track on Knowledge Representation and Reasoning