Skip to main content
×
Home

Non-monotonic spatial reasoning with answer set programming modulo theories*

  • PRZEMYSŁAW ANDRZEJ WAŁĘGA (a1) (a2) (a3) (a4) (a5), CARL SCHULTZ (a1) (a2) (a3) (a4) (a5) and MEHUL BHATT (a1) (a2) (a3) (a4) (a5)
Abstract
Abstract

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 Answer Set Programming Modulo Theories (ASPMT)(QS), a novel approach and fully implemented prototype for non-monotonic spatial reasoning — a crucial requirement within dynamic spatial systems — based on 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 non-linear 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 QS information within a non-monotonic spatial reasoning context.

Copyright
Footnotes
Hide All
*

This is an extended version of a paper presented at the Logic Programming and Nonmonotonic Reasoning Conference (LPNMR 2015), invited as a rapid communication in TPLP. The authors acknowledge the assistance of the conference program chairs Giovambattista Ianni and Miroslaw Truszczynski.

This paper comes with an online appendix containing Appendices A-H. The online appendix is available via the supplementary materials link from the TPLP web-site.

Footnotes
References
Hide All
Aiello M., Pratt-Hartmann I. E. and Benthem J. F. V. 2007. In Handbook of Spatial Logics. Springer-Verlag, New York, Inc., Secaucus, NJ, USA.
Allen J. F. 1983. Maintaining knowledge about temporal intervals. Communications of the ACM 26 (11), 832843.
Arnon D. S., Collins G. E. and McCallum S. 1984. Cylindrical algebraic decomposition I: The basic algorithm. SIAM Journal on Computing 13 (4), 865877.
Bartholomew M. and Lee J. 2012. Stable models of formulas with intensional functions. In Proceedings of International Conference on Principles of Knowledge Representation and Reasoning (KR), 2–12.
Bartholomew M. and Lee J. 2013. Functional stable model semantics and answer set programming modulo theories. In Proc. of the Twenty-Third International Joint Conference on Artificial Intelligence. AAAI Press, 718–724.
Bartholomew M. and Lee J. 2014. System aspmt2smt: Computing ASPMT theories by SMT solvers. In Logics in Artificial Intelligence. Springer, 529542.
Bhatt M. 2008. (Some) default and non-monotonic aspects of qualitative spatial reasoning. In AAAI-08 Technical Reports, Workshop on Spatial and Temporal Reasoning. AAAI Press, 16.
Bhatt M. 2010. Commonsense inference in dynamic spatial systems: Epistemological requirements. In Proc. of the Twenty-Third International Florida Artificial Intelligence Research Society Conference, May 19–21, 2010. AAAI Press, Daytona Beach, Florida.
Bhatt M. 2012. Reasoning about space, actions and change: A paradigm for applications of spatial reasoning. In Qualitative Spatial Representation and Reasoning: Trends and Future Directions. IGI Global, USA.
Bhatt M., Guesgen H., Wölfl S. and Hazarika S. 2011. Qualitative spatial and temporal reasoning: Emerging applications, trends, and directions. Spatial Cognition & Computation 11 (1), 114.
Bhatt M., Lee J. H. and Schultz C. 2011. CLP(QS): A declarative spatial reasoning framework. In COSIT 2011 - Spatial Information Theory. Springer-Verlag, Berlin, Heidelberg, 210230.
Bhatt M. and Loke S. 2008. Modelling dynamic spatial systems in the situation calculus. Spatial Cognition and Computation 8 (1), 86130.
Bhatt M., Schultz C. and Freksa C. 2013. The ‘space’ in spatial assistance systems: Conception, formalisation and computation. In Representing Space in Cognition: Interrelations of Behavior, Language, and Formal Models. Series: Explorations in Language and Space, Tenbrink T., Wiener J. and Claramunt C., Eds. 978-0-19-967991-1, Oxford University Press, 171214.
Bhatt M., Schultz C. P. L. and Thosar M. 2014. Computing narratives of cognitive user experience for building design analysis: KR for industry scale computer-aided architecture design. In KR 2014, Baral C., Giacomo G. D. and Eiter T., Eds. AAAI Press, 508517.
Bhatt M., Suchan J. and Schultz C. 2013. Cognitive interpretation of everyday activities – toward perceptual narrative based visuo-spatial scene interpretation. In Computational Models of Narrative (CMN) 2013., A Satellite Workshop of CogSci 2013: The 35th Meeting of the Cognitive Science Society., Finlayson M., Fisseni B., Loewe B. and Meister J. C., Eds. OpenAccess Series in Informatics (OASIcs), Dagstuhl, Germany.
Bhatt M. and Wallgrün J. O. 2014. Geospatial narratives and their spatio-temporal dynamics: Commonsense reasoning for high-level analyses in geographic information systems. ISPRS Int. J. Geo-Information 3 (1), 166205.
Bouhineau D. 1996. Solving geometrical constraint systems using CLP based on linear constraint solver. In Artificial Intelligence and Symbolic Mathematical Computation. Springer, 274288.
Bouhineau D., Trilling L. and Cohen J. 1999. An application of CLP: Checking the correctness of theorems in geometry. Constraints 4 (4), 383405.
Cabalar P. and Santos P. E. 2011. Formalising the fisherman's folly puzzle. Artificial Intelligence 175 (1), 346377.
Cohn A. G. and Gotts N. M. 1996. The ‘egg-yolk’representation of regions with indeterminate boundaries. Geographic Objects with Indeterminate Boundaries 2, 171187.
Collins G. E. 1975. Quantifier elimination for real closed fields by cylindrical algebraic decompostion. In Automata Theory and Formal Languages 2nd GI Conference Kaiserslautern, May 20–23, 1975. Springer, 134183.
Collins G. E. and Hong H. 1991. Partial cylindrical algebraic decomposition for quantifier elimination. Journal of Symbolic Computation 12 (3), 299328.
Davis E. 2008. Pouring liquids: A study in commonsense physical reasoning. Artif. Intell. 172 (12–13), 15401578.
Davis E. 2011. How does a box work? A study in the qualitative dynamics of solid objects. Artificial Intelligence 175 (1), 299345.
De Moura L. and Bjørner N. 2008. Z3: An efficient smt solver. In Tools and Algorithms for the Construction and Analysis of Systems. Springer, 337340.
Eppe M. and Bhatt M. 2013. Narrative based postdictive reasoning for cognitive robotics. In COMMONSENSE 2013: 11th International Symposium on Logical Formalizations of Commonsense Reasoning. AAAI Press.
Ferraris P. 2005. Answer sets for propositional theories. In Logic Programming and Nonmonotonic Reasoning. Springer, 119131.
Ferraris P., Lee J. and Lifschitz V. 2011. Stable models and circumscription. Artificial Intelligence 175 (1), 236263.
Frank A. U. 1991. Qualitative spatial reasoning with cardinal directions. In 7. Österreichische Artificial-Intelligence-Tagung/Seventh Austrian Conference on Artificial Intelligence. Springer, 157167.
Gantner Z., Westphal M. and Wölfl S. 2008. GQR-A fast reasoner for binary qualitative constraint calculi. In Proc. of AAAI, AAAI Press, vol. 8.
Gebser M., Kaminski R., Kaufmann B. and Schaub T. 2014. Clingo= ASP+ control: Preliminary report. arXiv preprint arXiv:1405.3694v1. Available at http://arxiv.org/abs/1405.3694v1.
Gelfond M. 2008. Answer sets. In Handbook of Knowledge Representation, Vol. 1. Elsevier, 285.
Gelfond M. and Lifschitz V. 1988. The stable model semantics for logic programming. In Proc. of ICLP/SLP, vol. 88. MIT Press, 10701080.
Guesgen H. W. 1989. Spatial reasoning based on Allen's temporal logic. Technical Report TR-89-049. International Computer Science Institute Berkeley.
Kapur D. and Mundy J. L., Eds. 1988. Geometric Reasoning. MIT Press, Cambridge, MA, USA.
Lee J. H. 2014. The complexity of reasoning with relative directions. In Proc. of 21st European Conference on Artificial Intelligence (ECAI 2014), IOS Press.
Ligozat G. 2011. Qualitative Spatial and Temporal Reasoning. Wiley-ISTE.
McCarthy J. and Hayes P. J. 1969. Some philosophical problems from the standpoint of artificial intelligence. In Machine Intelligence 4, Meltzer B. and Michie D., Eds. Edinburgh University Press, 463502.
Moratz R. 2006. Representing relative direction as a binary relation of oriented points. In ECAI, Brewka G., Coradeschi S., Perini A., and Traverso P., Eds. Frontiers in Artificial Intelligence and Applications, vol. 141. IOS Press, 407411.
Pesant G. and Boyer M. 1994. QUAD-CLP (R): Adding the power of quadratic constraints. In Principles and Practice of Constraint Programming. Springer, 95108.
Pesant G. and Boyer M. 1999. Reasoning about solids using constraint logic programming. Journal of Automated Reasoning 22 (3), 241262.
Randell D. A., Cui Z. and Cohn A. G. 1992. A spatial logic based on regions and connection. KR 92, 165176.
Reiter R. 2001. Knowledge in Action: Logical Foundations for Describing and Implementing Dynamical Systems. MIT Press.
Sandewall E. 1994. Features and Fluents (Vol. 1): The Representation of Knowledge about Dynamical Systems. Oxford University Press, Inc., New York, NY, USA.
Schultz C. and Bhatt M. 2012. Towards a declarative spatial reasoning system. In Proc. of 20th European Conference on Artificial Intelligence (ECAI 2012), IOS Press.
Schultz C. and Bhatt M. 2014. Declarative spatial reasoning with boolean combinations of axis-aligned rectangular polytopes. In Proc. ECAI 2014 - 21st European Conference on Artificial Intelligence, 795–800.
Schultz C. and Bhatt M. 2015a. Encoding relative orientation and mereotopology relations with geometric constraints in CLP(QS). In Proc. 1st Workshop on Logics for Qualitative Modelling and Reasoning (LQMR'15). Lodz, Poland.
Schultz C. and Bhatt M. 2015b. Spatial symmetry driven pruning strategies for efficient declarative spatial reasoning. In Proc. of COSIT 2015 - Spatial Information Theory. Springer, 331353.
Scivos A. and Nebel B. 2004. The finest of its class: The natural, point-based ternary calculus LR for qualitative spatial reasoning. In Proc. of Spatial Cognition IV. Reasoning, Action, Interaction: International Conference Spatial Cognition, Freksa C. et al., Ed. (2005), Lecture Notes in Computer Science, vol. 3343, Springer, Berlin Heidelberg, 283303.
Shanahan M. 1995. Default reasoning about spatial occupancy. Artificial Intelligence 74 (1), 147163.
Spranger M., Suchan J. and Bhatt M. 2016. Robust natural language processing - combining reasoning, cognitive semantics and construction grammar for spatial language. In Proc. of IJCAI 2016: International Joint Conference on Artificial Intelligence., New York, United States. AAAI Press, 29082914.
Spranger M., Suchan J., Bhatt M. and Eppe M. 2014. Grounding dynamic spatial relations for embodied (robot) interaction. In Proc. of PRICAI 2014: Pacific Rim Int. Conf. on Artificial Intelligence, Pham D. N. and Park S., Eds. Lecture Notes in Computer Science, vol. 8862. Springer, 958971.
Suchan J. and Bhatt M. 2016a. Semantic question-answering with video and eye-tracking data – AI foundations for human visual perception driven cognitive film studies. In Proc. of IJCAI 2016: International Joint Conference on Artificial Intelligence. AAAI Press, New York, United States.
Suchan J. and Bhatt M. 2016b. The geometry of a scene: On deep semantics for visual perception driven cognitive film studies. In Proc. of WACV 2016: IEEE Winter Conference on Applications of Computer Vision (WACV 2016). IEEE, Lake Placid, NY, USA.
Suchan J., Bhatt M. and Santos P. E. 2014. Perceptual narratives of space and motion for semantic interpretation of visual data. In Proc. of Computer Vision - ECCV 2014 Workshops, September 6–7 and 12, 2014, Part II, Zurich, Switzerland, Springer, 339354.
Varzi A. C. 1996. Parts, wholes, and part-whole relations: The prospects of mereotopology. Data & Knowledge Engineering 20 (3), 259286.
Wałęga P. A., Bhatt M. and Schultz C. P. L. 2015. ASPMT(QS): Non-monotonic spatial reasoning with answer set programming modulo theories. In Proc. of Logic Programming and Nonmonotonic Reasoning - 13th International Conference, LPNMR 2015, September 27–30, 2015. Lecture Notes in Computer Science, vol. 9345. Springer, Lexington, KY, USA, 488501.
Wölfl S. and Westphal M. 2009. On combinations of binary qualitative constraint calculi. In IJCAI 2009, AAAI Press, 967973.
Recommend this journal

Email your librarian or administrator to recommend adding this journal to your organisation's collection.

Theory and Practice of Logic Programming
  • ISSN: 1471-0684
  • EISSN: 1475-3081
  • URL: /core/journals/theory-and-practice-of-logic-programming
Please enter your name
Please enter a valid email address
Who would you like to send this to? *
×

Keywords:

Metrics

Full text views

Total number of HTML views: 0
Total number of PDF views: 39 *
Loading metrics...

Abstract views

Total abstract views: 408 *
Loading metrics...

* Views captured on Cambridge Core between September 2016 - 20th November 2017. This data will be updated every 24 hours.