Standard, Interactive and Lifted Model Expansions Using FO(.)
Author:
Abstract:
Many practical, real-world problems can be understood as the search for a state of affairs, the 'solution', that extends a fixed state of affairs, the 'environment', subject to some given conditions. The Knowledge Representation (KR) methodology to solve such problems is to (i) represent the environment and the given conditions in a formal logic-based language using a suitable vocabulary, and (ii) submit these representations to a generic model expansion algorithm to obtain a representation of the solution. When the conditions to be satisfied are not fully represented (i.e., some remain tacit in the mind of the user), an interactive model expansion tool is used instead, which assists the user in creating a solution that satisfies the explicit conditions and that is acceptable to him. We contribute to this methodology in three ways. First, we propose a reference implementation of model expansion algorithms using the FO(.) KR language, called IDP-Z3. IDP-Z3 improves on previous work by supporting arithmetic operations and quantification over concepts, opening up new fields of applications. Second, we observe that, in many cases, the environment is not fully known at the start of the search, but can be observed as needed, by the user. We improve interactive model expansion by explaining how the tool can tell the user what observations he has to make while he creates a solution, thus ensuring that the solution is appropriate for the environment he faces. Finally, it is well known that the time needed to solve model expansion problems can be improved by reformulating the problem using an alternative vocabulary that reduces symmetries in the solution space, but performing this reformulation is more an art than a science. We propose an automatic reformulation mechanism, and show that it significantly speeds up the search for solutions for some configuration problems. These results encourage further research in the automatic reformulation of model expansion problems for speed gain.