In traditional computer science, we often treat problems as binary: a solution is either valid or invalid. A database query returns all rows that match a filter; a planner finds any sequence of actions that reaches a goal. However, real-world users rarely want any valid solution—they want the best one.
The challenge is that "best" is subjective and qualitative. I might prefer a direct flight over a layover, but only if the price difference is less than $100. If the price is higher, my preference flips. This research direction focuses on integrating these nuanced, qualitative user preferences directly into formal logical frameworks like ontologies, constraint satisfaction problems, and logic programming.
The Conflict Between Hard and Soft Constraints
Most automated reasoning systems operate on "hard" constraints—rules that cannot be broken. For example, an ontology might state that a "Convertible" must have "Two Doors." If a user searches for a four-door convertible, a standard system simply returns nothing.
As Steven D. Prestwich, Francesca Rossi 0001, and their colleagues argue in Constraint-Based Preferential Optimization, the most desired outcome is often infeasible. The goal of this research is to bridge the gap between qualitative preference models (like CP-nets, which model "better-than" relationships) and hard constraints. By encoding preferences as "optimality constraints," solvers can navigate the space of what is possible to find what is optimal.
Moving Beyond Numeric Rankings
A common instinct is to assign a numeric score to every option. However, humans struggle to provide consistent numbers (is a balcony worth 7.5 or 8.2 points?). We are much better at qualitative comparisons: "I prefer A to B."
Werner Kießling pioneered this by extending SQL with a preference algebra in Group Preferences in Social Network Services. Instead of rigid numeric rankings, this framework treats preferences as semantic layers. This allows systems to identify meaningful compromises—if no perfect match exists, the system understands the "next best" thing based on the qualitative "better-than" logic rather than an arbitrary score.
Pruning the Preference Graph with Ontologies
When we combine preferences with complex domain knowledge (ontologies), a new problem emerges: some preferences might be logically impossible or redundant.
In Computing k-Rank Answers with Ontological CP-Nets, Thomas Lukasiewicz and Gerardo I. Simari describe a mechanism for "pruning" preference structures. If an ontology defines two states as equivalent, or one as impossible, the system simplifies the user's preference graph accordingly. This ensures that the system doesn't waste time comparing outcomes that the underlying logic already forbids.
This integration allows for "Preference-Based Query Answering." Instead of filtering results after they are found, Lukasiewicz and his team show in Preference-Based Query Answering in Datalog+/- Ontologies how to bake preferences into the inference process itself. This allows the system to discard "dominated" (less preferred) facts as they are being derived, significantly improving efficiency.
Preferences in Planning and Prediction
This logic extends beyond simple database lookups into active problem-solving. In AI planning, Tran Cao Son and Enrico Pontelli developed $\mathcal{PP}$, a language that translates user preferences into logic rules within Answer Set Programming (ASP). As detailed in Planning with Preferences using Logic Programming, this allows a solver to evaluate entire trajectories—not just the end goal—against criteria like cost, comfort, and time.
Similarly, in the realm of machine learning, Paolo Dragone and Stefano Teso introduced Pyconstruct. This library allows systems to learn user preferences within highly constrained design environments (like architectural layouts), where every "prediction" must also satisfy a rigorous set of structural constraints.
Why It Works: The Dominance Hierarchy
The core intuition across all these papers is the dominance hierarchy. By treating preferences as a partial ordering of states, these systems can:
- Filter: Use hard constraints (ontologies/ASP rules) to define the set of all possible worlds.
- Prune: Use logical axioms to remove impossible or redundant preferences.
- Traverse: Use the preference graph to navigate the possible worlds, returning only those that are not "dominated" by a better, feasible alternative.
By merging the "messy" subjective nature of human desire with the "strict" objective nature of formal logic, this research enables AI that doesn't just follow instructions, but understands the spirit of the user's request.