English

Pseudo Polynomial-Time Top-k Algorithms for d-DNNF Circuits

Artificial Intelligence 2022-05-09 v2

Abstract

We are interested in computing kk most preferred models of a given d-DNNF circuit CC, where the preference relation is based on an algebraic structure called a monotone, totally ordered, semigroup (K,,<)(K, \otimes, <). In our setting, every literal in CC has a value in KK and the value of an assignment is an element of KK obtained by aggregating using \otimes the values of the corresponding literals. We present an algorithm that computes kk models of CC among those having the largest values w.r.t. <<, and show that this algorithm runs in time polynomial in kk and in the size of CC. We also present a pseudo polynomial-time algorithm for deriving the top-kk values that can be reached, provided that an additional (but not very demanding) requirement on the semigroup is satisfied. Under the same assumption, we present a pseudo polynomial-time algorithm that transforms CC into a d-DNNF circuit CC' satisfied exactly by the models of CC having a value among the top-kk ones. Finally, focusing on the semigroup (N,+,<)(\mathbb{N}, +, <), we compare on a large number of instances the performances of our compilation-based algorithm for computing kk top solutions with those of an algorithm tackling the same problem, but based on a partial weighted MaxSAT solver.

Keywords

Cite

@article{arxiv.2202.05938,
  title  = {Pseudo Polynomial-Time Top-k Algorithms for d-DNNF Circuits},
  author = {Pierre Bourhis and Laurence Duchien and Jérémie Dusart and Emmanuel Lonca and Pierre Marquis and Clément Quinton},
  journal= {arXiv preprint arXiv:2202.05938},
  year   = {2022}
}
R2 v1 2026-06-24T09:32:57.931Z