NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pseudo-Boolean Constraints from a Knowledge Representation Perspective

Daniel Le Berre, Pierre Marquis, Stefan Mengel, Romain Wallon

Abstract

This paper evaluates Pseudo-Boolean Constraints (PBC) and Cardinality Constraints (CARD) through the rigorous lens of the "Knowledge Compilation Map." We demonstrate that while these languages are significantly more succinct than standard Conjunctive Normal Form (CNF), they retain the same tractable queries while losing specific transformation capabilities, making them a powerful but nuanced choice for AI knowledge representation.

Introduction: The Succinctness Problem in AI

In Artificial Intelligence, the efficiency of information processing is heavily determined by how knowledge is represented. The standard format, Conjunctive Normal Form (CNF), is the foundation of modern SAT solvers but suffers from a "succinctness" problem. For example, expressing a simple constraint like "at least $n$ out of $m$ variables must be true" requires an exponential number of clauses in CNF unless auxiliary variables are introduced.

Pseudo-Boolean Constraints (PBC)—linear inequalities over Boolean variables such as $3x_1 + 2\neg x_2 \ge 4$—offer a more compact way to encode complex logic. While PBCs are used in powerful solvers, this research provides the first formal understanding of PBC and its subset, Cardinality Constraints (CARD), as representation languages within the broader hierarchy of propositional logic.

Methodology: The Knowledge Compilation Map

The authors utilize the Knowledge Compilation Map framework to compare PBC and CARD against dozens of other propositional languages based on three criteria:

  1. Succinctness: Can language A represent the same information as language B using polynomially less space?
  2. Queries: Can we answer questions (e.g., "is this formula consistent?") in polynomial time?
  3. Transformations: Can we modify the formula (e.g., "forgetting" a variable) in polynomial time?

The study relies on formal complexity proofs and combinatorial arguments to establish these properties.

The Succinctness Ladder and Language Hierarchy

A primary contribution of this work is the establishment of a clear succinctness hierarchy. The authors prove that $PBC <_s CARD <_s CNF$, formalizing the intuition that linear inequalities are a fundamentally more powerful way to pack information than simple OR-clauses.

The relative succinctness and relationship between various propositional languages, highlighting the position of PBC and CARD within the hierarchy.

Interestingly, the paper shows that PBC and CARD are "incomparable" to languages like Ordered Binary Decision Diagrams (OBDDs) or Disjunctive Normal Form (DNF). This means there are concepts that are efficiently representable in PBC but require exponential space in OBDDs, and vice versa.

Key Results: Queries and Transformations

The transition from CNF to PBC or CARD is described as a "free upgrade" regarding queries. Any question tractable in CNF, such as Validity (VA) or Implication (IM), remains tractable in PBC. However, the cost of increased succinctness is the loss of certain transformation properties.

Transformation properties of CARD and PBC languages, showing support for conditioning and conjunction but failure for bounded disjunction and negation.

As shown in the transformation analysis, both PBC and CARD support Conditioning (CD) and Conjunction ($\land C$). However, they are not closed under bounded disjunction ($\lor BC$) or negation ($\neg C$) in polynomial time. Notably, PBC loses the ability to perform "singleton forgetting" (SFO) efficiently, a property that CNF maintains.

Conclusion and Future Directions

While PBC and CARD offer significant advantages in compactness, they are not "compilation languages" in the strictest sense because they lack polynomial-time consistency checking (CO). Users must weigh the benefits of succinctness against the need for specific transformations like variable forgetting. Future work may involve exploring hybrid representations that bridge the gap between PBC and more tractable languages like DNNF.

Summary updated

BibTeX
@inproceedings{berre2018pseudo,
  author = {Daniel Le Berre and Pierre Marquis and Stefan Mengel and Romain Wallon},
  title = {{Pseudo-Boolean Constraints from a Knowledge Representation Perspective}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/261},
}
Figure