Checking Consistency of CP-Theory Preferences in Polynomial Time

Erik Rauer, Samik Basu, Vasant G. Honavar

Introduction

In automated reasoning, capturing human-like preferences is essential for building effective AI assistants. However, as preference sets become more complex—incorporating conditional "if-then" statements—ensuring they are logically consistent becomes a significant computational challenge. This paper, presented at AAAI-25, introduces a novel condition called Cardinality-based Conditional Acyclicity (cc-acyclic), providing the first polynomial-time verifiable shortcut for preference consistency in CP-theory.

The Challenge of Conditional Preferences

Conditional Preference (CP) theory allows for qualitative statements like: "I prefer a hybrid car over a gas car, but only if the price is under $30k." While intuitive for humans, checking if a set of such preferences is free of cycles (e.g., avoiding a loop where option A is better than B, and B is better than A) is notoriously difficult. This "Consistency Problem" is PSPACE-complete, meaning it typically requires exponential time and memory as the number of variables increases. Previous attempts to simplify this check resulted in "sufficient conditions" that were themselves CoNP-complete to verify.

The cc-acyclic Approach

The authors propose a new method based on Dependency Graphs, which map how variables (like "Car Type") depend on others (like "Price"). Their key innovation is the concept of Edge Cardinality.

Instead of treating all dependencies equally, they count how many distinct values of a parent variable trigger a preference change in the child variable. They then construct a High Cardinality Dependency Graph ($H(P)$), which selectively retains only "risky" edges—those where the source variable has a cardinality of 2 or more, or edges representing relative importance.

Comparison between the standard dependency graph G(P) and the high cardinality dependency graph H(P).

As shown in the figure above, the standard dependency graph $G(P)$ may contain cycles that make consistency checking computationally hard. By filtering out low-cardinality dependencies to create $H(P)$, the authors prove that if $H(P)$ is acyclic and the preferences are locally consistent, the entire set is guaranteed to be consistent.

Because building $H(P)$ and checking for cycles using Depth First Search is computationally inexpensive, the entire consistency check can be performed in polynomial time—specifically $O(|V|^2 \cdot |P|^2)$ in the worst case.

Beyond just checking consistency, this condition enables the efficient identification of top-tier choices. For cc-acyclic preferences, a "Complete Search Tree" can be used to find the $k$ best possible outcomes rapidly, a critical feature for recommendation systems.

A complete search tree used to identify optimal outcomes in polynomial time.

Key Results and Implications

The paper's primary contribution is a complexity breakthrough: proving that checking for cc-acyclic consistency is polynomial. Furthermore, the authors demonstrate that for these preferences, one can compute a "Polynomial Upper Approximation" to identify non-dominated outcomes—options that are not strictly worse than any other.

While the cc-acyclic condition is sufficient but not necessary (meaning it might reject some valid but complex preference sets), it represents a major step forward in making CP-theory practical for real-time AI applications. Future work will focus on relaxing these conditions further to encompass more preference sets while maintaining polynomial-time efficiency.

Summary updated

BibTeX
@inproceedings{rauer2025checking,
  author = {Erik Rauer and Samik Basu and Vasant G. Honavar},
  title = {{Checking Consistency of CP-Theory Preferences in Polynomial Time}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i14.33659},
}
Figure