A Constraint Satisfaction Framework for Executing Perceptions and Actions in Diagrammatic Reasoning

Diagrammatic reasoning (DR) is pervasive in human problem solving as a powerful adjunct to symbolic reasoning based on language-like representations. The research reported in this paper is a contribution to building a general purpose DR system as an extension to a soar-like problem solving architecture. The work is in a framework in which DR is modeled as a process where subtasks are solved, as appropriate, either by inference from symbolic representations or by interaction with a diagram, i.e., perceiving specified information from a diagram or modifying/creating objects in a diagram in specified ways according to problem solving needs. The perceptions and actions in most DR systems built so far are hand-coded for the specific application, even when the rest of the system is built using the general architecture. The absence of a general framework for executing perceptions/ actions poses as a major hindrance to using them opportunistically - the essence of open-ended search in problem solving. Our goal is to develop a framework for executing a wide variety of specified perceptions and actions across tasks/domains without human intervention. We observe that the domain/task-specific visual perceptions/actions can be transformed into domain/taskindependent spatial problems. We specify a spatial problem as a quantified constraint satisfaction problem in the real domain using an open-ended vocabulary of properties, relations and actions involving three kinds of diagrammatic objects - points, curves, regions. Solving a spatial problem from this specification requires computing the equivalent simplified quantifier-free expression, the complexity of which is inherently doubly exponential. We represent objects as configuration of simple elements to facilitate decomposition of complex problems into simpler and similar subproblems. We show that, if the symbolic solution to a subproblem can be expressed concisely, quantifiers can be eliminated from spatial problems in low-order polynomial time using similar previously solved subproblems. This requires determining the similarity of two problems, the existence of a mapping between them computable in polynomial time, and designing a memory for storing previously solved problems so as to facilitate search. The efficacy of the idea is shown by time complexity analysis. We demonstrate the proposed approach by executing perceptions and actions involved in DR tasks in two army applications.

[1]  Luca Pulina,et al.  A Multi-engine Solver for Quantified Boolean Formulas , 2007, CP.

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

[3]  James H. Davenport,et al.  The complexity of quantifier elimination and cylindrical algebraic decomposition , 2007, ISSAC '07.

[4]  Jon Barwise,et al.  An architecture for heterogeneous reasoning , 1998 .

[5]  Kenneth D. Forbus,et al.  GeoRep: A Flexible Tool for Spatial Representation of Line Drawings , 2000, AAAI/IAAI.

[6]  Ivo Düntsch,et al.  Relations Algebras in Qualitative Spatial Reasoning , 1999, Fundam. Informaticae.

[7]  Leonidas J. Guibas,et al.  A hierarchical method for real-time distance computation among moving convex bodies , 2000, Comput. Geom..

[8]  Alfonso Gerevini,et al.  Combining Topological and Qualitative Size Constraints for Spatial Reasoning , 1998, CP.

[9]  Wilfried Brauer,et al.  Spatial Cognition III , 2003, Lecture Notes in Computer Science.

[10]  M. de Rijke,et al.  Logical Reasoning with Diagrams, Gerard Allwein and Jon Barwise, eds , 1999, J. Log. Lang. Inf..

[11]  Eugene C. Freuder,et al.  Using CBR to Select Solution Strategies in Constraint Programming , 2005, ICCBR.

[12]  Kenneth D. Forbus,et al.  Qualitative Spatial Reasoning about Sketch Maps , 2004, AI Mag..

[13]  Barbara Tversky,et al.  Some Ways that Maps and Diagrams Communicate , 2000, Spatial Cognition.

[14]  Raimund Seidel,et al.  A Simple and Fast Incremental Randomized Algorithm for Computing Trapezoidal Decompositions and for Triangulating Polygons , 1991, Comput. Geom..

[15]  M. Jamnik Mathematical reasoning with diagrams : from intuition to automation , 2001 .

[16]  Max J. Egenhofer,et al.  Reasoning about Binary Topological Relations , 1991, SSD.

[17]  Brandon Bennett,et al.  Logical representations for automated reasoning about spatial relationships , 1997 .

[18]  James H. Davenport,et al.  Real Quantifier Elimination is Doubly Exponential , 1988, J. Symb. Comput..

[19]  R. Nelsen Proofs Without Words: Exercises in Visual Thinking , 2020 .

[20]  MAX J. EGENHOFER,et al.  Point Set Topological Relations , 1991, Int. J. Geogr. Inf. Sci..

[21]  Christopher W. Brown QEPCAD B: a program for computing with semi-algebraic sets using CADs , 2003, SIGS.

[22]  Bonny Banerjee,et al.  DIAGRAMMATIC REASONING IN SUPPORT OF SITUATION UNDERSTANDING AND PLANNING , 2002 .

[23]  Stephen F. Smith,et al.  Combining Multiple Heuristics Online , 2007, AAAI.

[24]  B. Chandrasekaran,et al.  An Architecture for Problem Solving with Diagrams , 2004, Diagrams.

[25]  Bowman L. Clarke,et al.  A calculus of individuals based on "connection" , 1981, Notre Dame J. Formal Log..

[26]  Cadence Berkeley Labs,et al.  On Complexity of Equivalence Checking , 2003 .

[27]  Kevin Leyton-Brown,et al.  SATzilla: Portfolio-based Algorithm Selection for SAT , 2008, J. Artif. Intell. Res..

[28]  B. Chandrasekaran,et al.  A Bimodal Cognitive Architecture: Explorations in Architectural Explanation of Spatial Reasoning , 2007, AAAI Spring Symposium: Control Mechanisms for Spatial Knowledge Processing in Cognitive / Intelligent Systems.

[29]  N. Hari Narayanan,et al.  Diagrammatic Reasoning: Cognitive and Computational Perspectives , 1995 .

[30]  Christoph Schlieder,et al.  Reasoning About Ordering , 1995, COSIT.

[31]  Spiros Skiadopoulos,et al.  Composing cardinal direction relations , 2001, Artif. Intell..

[32]  Jon Barwise,et al.  Logical reasoning with diagrams , 1996 .

[33]  Bernhard Nebel,et al.  Qualitative Spatio-Temporal Reasoning with RCC-8 and Allen's Interval Calculus: Computational Complexity , 2002, ECAI.

[34]  Gérard Ligozat,et al.  Qualitative Triangulation for Spatial Reasoning , 1993, COSIT.

[35]  Yishay Mansour,et al.  Combining Multiple Heuristics , 2006, STACS.

[36]  Kenneth D. Forbus,et al.  Telling juxtapositions: Using repetition and alignable difference in diagram understanding , 1998 .

[37]  Susan Bell Trickett,et al.  Toward a Comprehensive Model of Graph Comprehension: Making the Case for Spatial Cognition , 2006, Diagrams.

[38]  Ivan E. Sutherland,et al.  Sketchpad a Man-Machine Graphical Communication System , 1899, Outstanding Dissertations in the Computer Sciences.

[39]  Barry O'Sullivan,et al.  A Unifying Framework for Generalized Constraint Acquisition , 2008, Int. J. Artif. Intell. Tools.

[40]  Andrew U. Frank,et al.  Qualitative spatial reasoning about distances and directions in geographic space , 1992, J. Vis. Lang. Comput..

[41]  Volker Weispfenning,et al.  Semilinear Motion Planning in REDLOG , 2001, Applicable Algebra in Engineering, Communication and Computing.

[42]  Jean-Pierre Jouannaud,et al.  Rewrite Systems , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[43]  Reinhard Moratz,et al.  Exploiting Qualitative Spatial Neighborhoods in the Situation Calculus , 2004, Spatial Cognition.

[44]  Richard Reviewer-Granger Unified Theories of Cognition , 1991, Journal of Cognitive Neuroscience.

[45]  Eoin O'Mahony,et al.  Using Case-based Reasoning in an Algorithm Portfolio for Constraint Solving ? , 2008 .

[46]  Bonny Banerjee,et al.  A Constraint Satisfaction Framework for Visual Problem Solving , 2010 .

[47]  B. Bennett,et al.  When does a Composition Table Provide a Complete and TractableProof Procedure for a Relational Constraint Language ? , 1997 .

[48]  John R. Josephson,et al.  Abductive inference : computation, philosophy, technology , 1994 .

[49]  Robert K. Lindsay,et al.  Using Diagrams to Understand Geometry , 1998, Comput. Intell..

[50]  Allen Newell,et al.  SOAR: An Architecture for General Intelligence , 1987, Artif. Intell..

[51]  Thomas Sturm,et al.  Real Quantifier Elimination in Practice , 1997, Algorithmic Algebra and Number Theory.

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

[53]  Alfred V. Aho,et al.  The Design and Analysis of Computer Algorithms , 1974 .

[54]  Christian Freksa,et al.  Using Orientation Information for Qualitative Spatial Reasoning , 1992, Spatio-Temporal Reasoning.

[55]  Raimund Seidel Reprint of: A simple and fast incremental randomized algorithm for computing trapezoidal decompositions and for triangulating polygons , 2010, Comput. Geom..

[56]  Catherine Legg,et al.  Abductive inference: Computation, philosophy, technology - Josephson, JR, Josephson, SG , 1996 .

[57]  Yoav Shoham,et al.  Learning the Empirical Hardness of Optimization Problems: The Case of Combinatorial Auctions , 2002, CP.

[58]  Paul S. Rosenbloom,et al.  Universal Subgoaling and Chunking: The Automatic Generation and Learning of Goal Hierarchies , 2012 .

[59]  Thomas Sturm,et al.  Weak quantifier elimination for the full linear theory of the integers , 2007, Applicable Algebra in Engineering, Communication and Computing.

[60]  Stephen Wolfram,et al.  The Mathematica book, 5th Edition , 2003 .

[61]  Kincho H. Law,et al.  Qualitative Structural Analysis Using Diagrammatic Reasoning , 1995, IJCAI.

[62]  Wilfried Brauer,et al.  Spatial Cognition II, Integrating Abstract Theories, Empirical Studies, Formal Methods, and Practical Applications , 2000 .

[63]  Stephen Wolfram,et al.  The Mathematica Book , 1996 .

[64]  Stefan Ratschan,et al.  Efficient solving of quantified inequality constraints over the real numbers , 2002, TOCL.

[65]  Dave Barker-Plummer,et al.  A computational architecture for heterogeneous reasoning , 2007, J. Exp. Theor. Artif. Intell..

[66]  Volker Weispfenning,et al.  The Complexity of Linear Problems in Fields , 1988, Journal of symbolic computation.

[67]  J. Van Leeuwen,et al.  Handbook of theoretical computer science - Part A: Algorithms and complexity; Part B: Formal models and semantics , 1990 .

[68]  Yusuf Pisan Visual Reasoning with Graphs , 1994 .

[69]  S. Basu,et al.  Algorithms in real algebraic geometry , 2003 .

[70]  John R. Anderson,et al.  Rules of the Mind , 1993 .

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

[72]  Bernard Chazelle Triangulating a simple polygon in linear time , 1991, Discret. Comput. Geom..

[73]  Daniel R. Montello,et al.  Spatial Information Theory A Theoretical Basis for GIS , 1995, Lecture Notes in Computer Science.

[74]  Yusuf Pisan A Visual Routines Based Model of Graph Understanding , 2003 .

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

[76]  B. Chandrasekaran,et al.  A Diagrammatic Reasoning Architecture: Design, Implementation and Experiments , 2005, AAAI Spring Symposium: Reasoning with Mental and External Diagrams: Computational Modeling and Spatial Assistance.

[77]  Jon Barwise,et al.  A Computational Architecture for Heterogeneous Reasoning , 1998 .

[78]  B. Chandrasekaran,et al.  A Spatial Search Framework for Executing Perceptions and Actions in Diagrammatic Reasoning , 2010, Diagrams.

[79]  Bonny Banerjee,et al.  Perceptual and Action Routines in Diagrammatic Reasoning for Entity-Reidentification , 2004 .

[80]  Reinhard Moratz,et al.  Qualitative Spatial Reasoning about Line Segments , 2000, ECAI.

[81]  Paul S. Rosenbloom,et al.  Universal Subgoaling and Chunking , 1986 .