Non-Monotonic Spatial Reasoning with Answer Set Programming Modulo Theories

The systematic modelling of dynamic spatial systems is a key requirement in a wide range of application areas such as commonsense cognitive robotics, computer-aided architecture design, and dynamic geographic information systems. We present ASPMT(QS), a novel approach and fully-implemented prototype for non-monotonic spatial reasoning -a crucial requirement within dynamic spatial systems- based on Answer Set Programming Modulo Theories (ASPMT). ASPMT(QS) consists of a (qualitative) spatial representation module (QS) and a method for turning tight ASPMT instances into Satisfiability Modulo Theories (SMT) instances in order to compute stable models by means of SMT solvers. We formalise and implement concepts of default spatial reasoning and spatial frame axioms. Spatial reasoning is performed by encoding spatial relations as systems of polynomial constraints, and solving via SMT with the theory of real nonlinear arithmetic. We empirically evaluate ASPMT(QS) in comparison with other contemporary spatial reasoning systems both within and outside the context of logic programming. ASPMT(QS) is currently the only existing system that is capable of reasoning about indirect spatial effects (i.e., addressing the ramification problem), and integrating geometric and qualitative spatial information within a non-monotonic spatial reasoning context. This paper is under consideration for publication in TPLP.

[1]  Andrew U. Frank,et al.  Qualitative Spatial Reasoning with Cardinal Directions , 1991, ÖGAI.

[2]  Anthony G. Cohn,et al.  A Spatial Logic based on Regions and Connection , 1992, KR.

[3]  George E. Collins,et al.  Quantifier elimination for real closed fields by cylindrical algebraic decomposition , 1975 .

[4]  James F. Allen Maintaining knowledge about temporal intervals , 1983, CACM.

[5]  Anthony G. Cohn,et al.  The ‘Egg-Yolk’ Representation of Regions with Indeterminate Boundaries , 2020 .

[6]  Laurent Trilling,et al.  An Application of CLP: Checking the Correctness of Theorems in Geometry , 2004, Constraints.

[7]  Paolo Ferraris,et al.  Answer Sets for Propositional Theories , 2005, LPNMR.

[8]  Mehul Bhatt,et al.  Grounding Dynamic Spatial Relations for Embodied (Robot) Interaction , 2014, PRICAI.

[9]  Mehul Bhatt,et al.  The ‘Space’ in Spatial Assistance Systems : Conception, Formalisation and Computation , 2014 .

[10]  John McCarthy,et al.  SOME PHILOSOPHICAL PROBLEMS FROM THE STANDPOINT OF ARTI CIAL INTELLIGENCE , 1987 .

[11]  Joohyung Lee,et al.  Stable Models of Formulas with Intensional Functions , 2012, KR.

[12]  Jae Hee Lee The Complexity of Reasoning with Relative Directions , 2014, ECAI.

[13]  Michael Gelfond,et al.  Answer Sets , 2008, Handbook of Knowledge Representation.

[14]  Erik Sandewall Features and fluents : representation of knowledge about dynamical systems , 1994 .

[15]  Joohyung Lee,et al.  System aspmt2smt: Computing ASPMT Theories by SMT Solvers , 2014, JELIA.

[16]  Ernest Davis,et al.  How does a box work? A study in the qualitative dynamics of solid objects , 2011, Artif. Intell..

[17]  Carl P. L. Schultz,et al.  Declarative Spatial Reasoning with Boolean Combinations of Axis-Aligned Rectangular Polytopes , 2014, ECAI.

[18]  Hans W. Guesgen,et al.  Qualitative Spatial and Temporal Reasoning: Emerging Applications, Trends, and Directions , 2011, Spatial Cogn. Comput..

[19]  Carl P. L. Schultz,et al.  CLP(QS): A Declarative Spatial Reasoning Framework , 2011, COSIT.

[20]  S. Wölfl,et al.  GQR – A Fast Reasoner for Binary Qualitative Constraint Calculi , 2008 .

[21]  Pedro Cabalar,et al.  Formalising the Fisherman's Folly puzzle , 2011, Artif. Intell..

[22]  Achille C. Varzi Parts, Wholes, and Part-Whole Relations: The Prospects of Mereotopology , 1996, Data Knowl. Eng..

[23]  Mehul Bhatt,et al.  Geospatial Narratives and their Spatio-Temporal Dynamics: Commonsense Reasoning for High-level Analyses in Geographic Information Systems , 2013, ISPRS Int. J. Geo Inf..

[24]  Carl P. L. Schultz,et al.  Spatial Symmetry Driven Pruning Strategies for Efficient Declarative Spatial Reasoning , 2015, COSIT.

[25]  Carl P. L. Schultz,et al.  ASPMT(QS): Non-Monotonic Spatial Reasoning with Answer Set Programming Modulo Theories , 2015, LPNMR.

[26]  Joohyung Lee,et al.  Stable models and circumscription , 2011, Artif. Intell..

[27]  Gilles Pesant,et al.  QUAD-CLP(R): Adding the Power of Quadratic Constraints , 1994, PPCP.

[28]  Murray Shanahan,et al.  Default Reasoning about Spatial Occupancy , 1995, Artif. Intell..

[29]  George E. Collins,et al.  Partial Cylindrical Algebraic Decomposition for Quantifier Elimination , 1991, J. Symb. Comput..

[30]  Ernest Davis Pouring liquids: A study in commonsense physical reasoning , 2008, Artif. Intell..

[31]  Mehul Bhatt,et al.  Semantic Question-Answering with Video and Eye-Tracking Data: AI Foundations for Human Visual Perception Driven Cognitive Film Studies , 2016, IJCAI.

[32]  Johan van Benthem,et al.  Handbook of Spatial Logics , 2007 .

[33]  Deepak Kapur,et al.  Geometric reasoning , 1989 .

[34]  Joohyung Lee,et al.  Functional Stable Model Semantics and Answer Set Programming Modulo Theories , 2013, IJCAI.

[35]  Mehul Bhatt,et al.  The geometry of a scene: On deep semantics for visual perception driven cognitive film, studies , 2016, 2016 IEEE Winter Conference on Applications of Computer Vision (WACV).

[36]  Mehul Bhatt,et al.  Robust Natural Language Processing - Combining Reasoning, Cognitive Semantics, and Construction Grammar for Spatial Language , 2016, IJCAI.

[37]  Mehul Bhatt,et al.  Modelling Dynamic Spatial Systems in the Situation Calculus , 2008, Spatial Cogn. Comput..

[38]  Bernhard Nebel,et al.  The Finest of its Class: The Natural Point-Based Ternary Calculus for Qualitative Spatial Reasoning , 2004, Spatial Cognition.

[39]  Mehul Bhatt,et al.  Encoding Relative Orientation and Mereotopology Relations with Geometric Constraints in CLP(QS) , 2015, LQMR@FedCSIS.

[40]  Alex M. Andrew,et al.  Knowledge in Action: Logical Foundations for Specifying and Implementing Dynamical Systems , 2002 .

[41]  George E. Collins,et al.  Cylindrical Algebraic Decomposition I: The Basic Algorithm , 1984, SIAM J. Comput..

[42]  Mehul Bhatt,et al.  Perceptual Narratives of Space and Motion for Semantic Interpretation of Visual Data , 2014, ECCV Workshops.

[43]  Reinhard Moratz,et al.  Representing Relative Direction as a Binary Relation of Oriented Points , 2006, ECAI.

[45]  Mehul Bhatt,et al.  Commonsense Inference in Dynamic Spatial Systems: Epistemological Requirements , 2010, FLAIRS.

[46]  Nikolaj Bjørner,et al.  Z3: An Efficient SMT Solver , 2008, TACAS.

[47]  Gilles Pesant,et al.  Reasoning about Solids Using Constraint Logic Programming , 1999, Journal of Automated Reasoning.

[48]  Denis Bouhineau Solving Geometrical Constraint Systems Using CLP Based on Linear Constraint Solver , 1996, AISMC.

[49]  Carl P. L. Schultz,et al.  Towards a Declarative Spatial Reasoning System , 2012, ECAI.

[50]  Carl P. L. Schultz,et al.  Computing Narratives of Cognitive User Experience for Building Design Analysis: KR for Industry Scale Computer-Aided Architecture Design , 2014, KR.

[51]  Mehul Bhatt,et al.  Reasoning about Space, Actions, and Change: A Paradigm for Applications of Spatial Reasoning , 2014 .

[52]  E. Sandewall Features and fluents (vol. 1): the representation of knowledge about dynamical systems , 1995 .

[53]  Mehul Bhatt,et al.  Narrative based Postdictive Reasoning for Cognitive Robotics , 2013, ArXiv.

[54]  Andrew U. Frank,et al.  Theories and Methods of Spatio-Temporal Reasoning in Geographic Space , 1992, Lecture Notes in Computer Science.

[55]  Carl P. L. Schultz,et al.  Cognitive Interpretation of Everyday Activities - Toward Perceptual Narrative Based Visuo-Spatial Scene Interpretation , 2013, CMN.

[56]  Martin Gebser,et al.  Clingo = ASP + Control: Preliminary Report , 2014, ArXiv.