pseudo boolean constraints from a knowledge
play

Pseudo-Boolean Constraints from a Knowledge Representation - PowerPoint PPT Presentation

Pseudo-Boolean Constraints from a Knowledge Representation Perspective Daniel Le Berre 1 , 2 Pierre Marquis 1 , 2 , 3 Stefan Mengel 1 Romain Wallon 1 , 2 July 18, 2018 1 CRIL-CNRS UMR 8188, Lens, France 2 Universit e dArtois 3 Institut


  1. Pseudo-Boolean Constraints from a Knowledge Representation Perspective Daniel Le Berre 1 , 2 Pierre Marquis 1 , 2 , 3 Stefan Mengel 1 Romain Wallon 1 , 2 July 18, 2018 1 CRIL-CNRS UMR 8188, Lens, France 2 Universit´ e d’Artois 3 Institut Universitaire de France

  2. Linear Pseudo-Boolean Constraints A linear pseudo-Boolean constraint is of the form: ÿ a j l j ⊲ k j where: • @ j , a j P Z • @ j , l j is a literal (i.e. a boolean value) • ⊲ P tă , ď , “ , ě , ąu • k P Z is the degree (threshold) of the constraint Example: 3 a ´ 2 b ` c ´ 4 d ď ´ 1 1 / 10

  3. PBC and CARD Normalized pseudo-Boolean constraints are of the form: ÿ a j l j ě k @ j , a j P N , k P N @ i ‰ j , l i ‰ l j l i ‰ l j j Example: 3 a ` 2 b ` c ě 3 Cardinality constraints are of the form: ÿ l j ě k k P N j Example: a ` b ` c ě 2 A formula of PBC (resp. CARD) is a conjunction of normalized constraints (resp. cardinality constraints) 2 / 10

  4. Why using PBC and CARD? Representing a problem with pseudo-Boolean constraints requires less constraints than CNF [Dixon, 2004] The cutting-planes proof system, used together with PBC and CARD, is more powerful than resolution (inconsistent pigeonhole formulae have a polynomial size refutation proof) With PBC or CARD, modeling problems is more natural: subset-sum and knapsack require two normalized pseudo-Boolean constraints to be modeled 3 / 10

  5. Why using PBC and CARD? Representing a problem with pseudo-Boolean constraints requires less constraints than CNF [Dixon, 2004] The cutting-planes proof system, used together with PBC and CARD, is more powerful than resolution (inconsistent pigeonhole formulae have a polynomial size refutation proof) With PBC or CARD, modeling problems is more natural: subset-sum and knapsack require two normalized pseudo-Boolean constraints to be modeled Is there a subset of t 9 , 4 , 3 , 2 , 2 , 1 , 1 u which sums to 12? 3 / 10

  6. Why using PBC and CARD? Representing a problem with pseudo-Boolean constraints requires less constraints than CNF [Dixon, 2004] The cutting-planes proof system, used together with PBC and CARD, is more powerful than resolution (inconsistent pigeonhole formulae have a polynomial size refutation proof) With PBC or CARD, modeling problems is more natural: subset-sum and knapsack require two normalized pseudo-Boolean constraints to be modeled Is there a subset of t 9 , 4 , 3 , 2 , 2 , 1 , 1 u which sums to 12? 9 a ` 4 b ` 3 c ` 2 d ` 2 e ` f ` g “ 12 3 / 10

  7. Why using PBC and CARD? Representing a problem with pseudo-Boolean constraints requires less constraints than CNF [Dixon, 2004] The cutting-planes proof system, used together with PBC and CARD, is more powerful than resolution (inconsistent pigeonhole formulae have a polynomial size refutation proof) With PBC or CARD, modeling problems is more natural: subset-sum and knapsack require two normalized pseudo-Boolean constraints to be modeled Is there a subset of t 9 , 4 , 3 , 2 , 2 , 1 , 1 u which sums to 12? 9 a ` 4 b ` 3 c ` 2 d ` 2 e ` f ` g “ 12 9 a ` 4 b ` 3 c ` 2 d ` 2 e ` f ` g ě 12 a ` 4¯ c ` 2 ¯ e ` ¯ 9¯ b ` 3¯ d ` 2¯ f ` ¯ g ě 10 3 / 10

  8. Why using PBC and CARD? Representing a problem with pseudo-Boolean constraints requires less constraints than CNF [Dixon, 2004] The cutting-planes proof system, used together with PBC and CARD, is more powerful than resolution (inconsistent pigeonhole formulae have a polynomial size refutation proof) With PBC or CARD, modeling problems is more natural: subset-sum and knapsack require two normalized pseudo-Boolean constraints to be modeled Can these languages be good alternatives for knowledge representation? Let us answer this by looking at PBC and CARD from a knowledge representation perspective 3 / 10

  9. A Knowledge Compilation Map [DM02] Lots of languages exist to represent propositional information, and choosing one requires to identify which operations you want to perform with the information To help in making this choice, Adnan Darwiche and Pierre Marquis proposed in 2002 a knowledge compilation map Three criteria are taken into account to identify which language is the best to use w.r.t. the wanted operations • succinctness • queries • transformations The study proposed in the map only considers equivalent formulae: adding new variables is not permitted 4 / 10

  10. Succinctness: some results Succinctness captures the ability of a language to represent information using little space Let us consider two examples: • PBC and CARD are strictly more succinct than CNF, since a clause is a cardinality constraint of degree 1 • PBC and CARD are less succinct than OBDD, since representing the parity function requires an exponential number of pseudo-Boolean constraints, whereas a polynomial size OBDD is enough 5 / 10

  11. Queries: some (not surprising) results Given a formula, does this formula has a certain property? Let us consider two examples: • PBC and CARD do not satisfy consistency (CO) unless P “ NP, otherwise CNF would • PBC and CARD both satisfy validity (VA), since checking the validity of a formula is checking that all the degrees are equal to 0 6 / 10

  12. Queries: all the results (compared to CNF) CO VA CE IM EQ SE CT ME CNF ˝ � ˝ � ˝ ˝ ˝ ˝ CARD ˝ � ˝ � ˝ ˝ ˝ ˝ PBC ˝ � ˝ � ˝ ˝ ˝ ˝ CO (COnsistency) VA (VAlidity) CE (Clausal Entailment) IM (IMplication) EQ (EQuivalence) SE (Sentential Entailment) CT (CounTing) ME (Model Enumeration) 7 / 10

  13. Transformations: some results Given a formula, can this formula be transformed in a certain way? Let us consider two examples: • PBC and CARD both satisfy conditionning (CD), since it just consists in replacing a variable by a boolean constant • PBC and CARD do not satisfy bounded disjunction ( _ BC), because representing an inequality ( ‰ ) requires exponentially many constraints. 8 / 10

  14. Transformations: all the results (compared to CNF) CD FO SFO ^ C ^ BC _ C _ BC � C CNF � ˝ � � � � • • CARD � ˝ ? � � • • • PBC � � � • • • • • CD (ConDitioning) SFO (Singleton FOrgetting) FO (FOrgetting) ^ C (Closure under ^ ) ^ BC (Bounded Closure under ^ ) _ C (Closure under _ ) _ BC (Bounded Closure under _ ) � C (Closure under � ) 9 / 10

  15. Conclusion • Pseudo-Boolean constraints have been studied from a knowledge representation perspective • PBC and CARD are strictly more succinct than CNF • Less transformations are tractable, and no query is gained compared to CNF • Not good compilation languages, but interesting alternatives to CNF when space matters 10 / 10

  16. Pseudo-Boolean Constraints from a Knowledge Representation Perspective Daniel Le Berre 1 , 2 Pierre Marquis 1 , 2 , 3 Stefan Mengel 1 Romain Wallon 1 , 2 July 18, 2018 1 CRIL-CNRS UMR 8188, Lens, France 2 Universit´ e d’Artois 3 Institut Universitaire de France

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend