Computer Science · Artificial Intelligence
A general framework for preferences in answer set programming
See on the mapAbstract
Answer Set Programming (ASP) is a declarative problem-solving approach with many applications in academia and industry. Preferences often play a key role in these applications, motivating the creation of various preference languages, such as weak constraints, answer set optimization, poset preferences, CP-nets, and others. Yet, a single preference language is sometimes not sufficient, and certain applications may require a combination of different types of preferences. With this in mind, in this thesis we introduce a flexible, extensible and general framework for preferences in ASP. We start from logic programs and extend them with preference specifications, that select among the stable models those that are preferred. These preference specifications can either consist of a single preference statement or combine many preference statements of different types. Notably, in our framework these preference types are not predefined; instead, new preference types can be defined very easily. For each of them, we only have to define their semantics and implement them by a logic program. We illustrate how this works by capturing many preference languages, including those mentioned above. We extend this with a study of different translations between preference types, that results also in specific translations between the preference languages that we capture. In addition to this, we study the property of strong equivalence of logic programs with preference specifications. A main contribution of this thesis is the development of the asprin system, that computes preferred stable models of logic programs with preferences. We introduce three different approaches for this task, and study the computational complexity of the problems addressed by them. We also present a declarative approach to domain-specific heuristics for ASP solving, and its application to the computation of subset optimal models. All these approaches are implemented in asprin, using multi shot ASP solving technology. Finally, we evaluate asprin experimentally and observe that it compares well to other systems for specific preferences, and that its different approaches and features complement each other.