A Circuit-Based Approach to Efficient Enumeration

We study the problem of enumerating the satisfying valuations of a circuit while bounding the delay, i.e., the time needed to compute each successive valuation. We focus on the class of structured d-DNNF circuits originally introduced in knowledge compilation, a sub-area of artificial intelligence. We propose an algorithm for these circuits that enumerates valuations with linear preprocessing and delay linear in the Hamming weight of each valuation. Moreover, valuations of constant Hamming weight can be enumerated with linear preprocessing and constant delay. Our results yield a framework for efficient enumeration that applies to all problems whose solutions can be compiled to structured d-DNNFs. In particular, we use it to recapture classical results in database theory, for factorized database representations and for MSO evaluation. This gives an independent proof of constant-delay enumeration for MSO formulae with first-order free variables on bounded-treewidth structures.

[1]  Stefan Szeider,et al.  Circuit Treewidth, Sentential Decision, and Query Compilation , 2017, PODS.

[2]  Guillaume Bagan,et al.  MSO Queries on Tree Decomposable Structures Are Computable with Linear Delay , 2006, CSL.

[3]  Arnaud Durand,et al.  On Acyclic Conjunctive Queries and Constant Delay Enumeration , 2007, CSL.

[4]  Jakub Závodný,et al.  Aggregation and Ordering in Factorised Databases , 2013, Proc. VLDB Endow..

[5]  Ingo Wegener,et al.  Branching Programs and Binary Decision Diagrams , 1987 .

[6]  Antoine Amarilli,et al.  111 : 2 A Circuit-Based Approach to Efficient Enumeration , 2017 .

[7]  Bruno Courcelle,et al.  Linear delay enumeration and monadic second-order logic , 2009, Discret. Appl. Math..

[8]  Adnan Darwiche,et al.  On the Tractable Counting of Theory Models and its Application to Truth Maintenance and Belief Revision , 2001, J. Appl. Non Class. Logics.

[9]  Arnaud Durand,et al.  Efficient Enumeration for Conjunctive Queries over X-underbar Structures , 2010, CSL.

[10]  Ran Raz,et al.  A Lower Bound for the Size of Syntactically Multilinear Arithmetic Circuits , 2007, 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS'07).

[11]  Pierre Marquis,et al.  A Knowledge Compilation Map , 2002, J. Artif. Intell. Res..

[12]  Luc Segoufin,et al.  Enumeration of monadic second-order queries on trees , 2013, TOCL.

[13]  Adnan Darwiche,et al.  New Compilation Languages Based on Structured Decomposability , 2008, AAAI.

[14]  Thomas Colcombet,et al.  A Combinatorial Theorem for Trees , 2007, ICALP.

[15]  Jakub Závodný,et al.  Size Bounds for Factorised Representations of Query Results , 2015, TODS.

[16]  Pierre Senellart,et al.  Tractable Lineages on Treelike Instances: Limits and Extensions , 2016, PODS.

[17]  Wim Martens,et al.  MSO queries on trees: enumerating answers under updates , 2014, CSL-LICS.

[18]  Pierre Senellart,et al.  Provenance Circuits for Trees and Treelike Instances , 2015, ICALP.

[19]  Wojciech Kazana,et al.  Query evaluation with constant delay , 2013 .

[20]  Luc Segoufin A glimpse on constant delay enumeration (Invited Talk) , 2014, STACS.

[21]  Nicole Schweikardt,et al.  Enumerating answers to first-order queries over databases of low degree , 2014, PODS.

[22]  Frédéric Olive,et al.  Computing the jth solution of a first-order query , 2008, RAIRO Theor. Informatics Appl..

[23]  Umut Oztok,et al.  A Top-Down Compiler for Sentential Decision Diagrams , 2015, IJCAI.

[24]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[25]  Adnan Darwiche,et al.  DPLL with a Trace: From SAT to Knowledge Compilation , 2005, IJCAI.

[26]  David Thomas,et al.  The Art in Computer Programming , 2001 .

[27]  Luc Segoufin,et al.  First-order queries on classes of structures with bounded expansion , 2018, Log. Methods Comput. Sci..

[28]  Friedrich Slivovsky,et al.  On Compiling CNFs into Structured Deterministic DNNFs , 2015, SAT.

[29]  Arnaud Durand,et al.  First-order queries on structures of bounded degree are computable with constant delay , 2005, TOCL.

[30]  James W. Thatcher,et al.  Generalized finite automata theory with an application to a decision problem of second-order logic , 1968, Mathematical systems theory.

[31]  Adnan Darwiche,et al.  Dynamic Minimization of Sentential Decision Diagrams , 2013, AAAI.

[32]  Journal für die reine und angewandte Mathematik , 1893 .