Qualitative Spatial- Temporal Reasoning Jason J. Li Advanced Topics in A.I. The Australian National University Jason J. Li Advanced Topics in A.I. The.

Slides:



Advertisements
Similar presentations
Foundations of Constraint Processing Temporal Constraints Networks 1Topic Foundations of Constraint Processing CSCE421/821, Spring
Advertisements

Interactive Configuration
Bayesian Network and Influence Diagram A Guide to Construction And Analysis.
Sotiris Batsakis, Euripides G.M. Petrakis Technical University Of Crete Intelligent Systems Laboratory.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Some computational aspects of geoinformatics Mike Worboys NCGIA, University of Maine, USA.
Timed Automata.
A More Expressive 3D Region Connection Calculus Chaman Sabharwal, Jennifer Leopold, & Nate Eloe.
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
CS Department Fireside Chat All are welcome! Wed Nov 18, 5-6pm, Ols 228e/236d Kim Hazelwood and Wes Weimer Meet and ask them questions in a non-academic.
Probabilistic networks Inference and Other Problems Hans L. Bodlaender Utrecht University.
CS Department Fireside Chat All are welcome! Wed Nov 18, 5-6pm, Ols 228e/236d Kim Hazelwood and Wes Weimer Meet and ask them questions in a non-academic.
OASIS Reference Model for Service Oriented Architecture 1.0
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
Relation between Spatial Concepts and Geographic Objects.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
AR&A in Temporal & Spatial Reasoning SARA 2000 Tony Cohn (University of Leeds) chair Claudio Bettini (Università degli Studi di Milano) Ben Kuipers (University.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture NP-Completeness Jan Maluszynski, IDA, 2007
Schemas as Toposes Steven Vickers Department of Pure Mathematics Open University Z schemas – specification1st order theories – logic geometric theories.
CHOROS: IMPROVING THE PERFORMANCE OF QUALITATIVE SPATIAL REASONING IN OWL Nikolaos Mainas, Euripides G.M. Petrakis Technical University Of Crete (TUC),
Theory of Computing Lecture 19 MAS 714 Hartmut Klauck.
Complexity results for three-dimensional orthogonal graph drawing maurizio “titto” patrignani third university of rome graph drawing 2005.
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
Georgios Christodoulou, Euripides G.M. Petrakis, and Sotirios Batsakis Department of Electronic and Computer Engineering, Technical University of Crete.
Graph Coalition Structure Generation Maria Polukarov University of Southampton Joint work with Tom Voice and Nick Jennings HUJI, 25 th September 2011.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Daniel Kroening and Ofer Strichman 1 Decision Procedures in First Order Logic Decision Procedures for Equality Logic Range Allocation.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Chapter 3 Functions Functions provide a means of expressing relationships between variables, which can be numbers or non-numerical objects.
Lecture 22 More NPC problems
Theory of Computation, Feodor F. Dragan, Kent State University 1 NP-Completeness P: is the set of decision problems (or languages) that are solvable in.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Pattern-directed inference systems
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
MathCheck: A Math Assistant Combining SAT with Computer Algebra Systems Ed Zulkoski, Vijay Ganesh, Krzysztof Czarnecki University of Waterloo August 7,
Advanced Topics in Software Engineering Marjan Sirjani Tehran University Faculty of Engineering ECE Department Tehran,
Theory of Computing Lecture 21 MAS 714 Hartmut Klauck.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
Mathematical Preliminaries
NP-Complete problems.
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 05/06 Universität Dortmund Validation - Formal verification -
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
Lecture 3 Fuzzy sets. 1.1 Sets Elements of sets An universal set X is defined in the universe of discourse and it includes all possible elements.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
CSCI 2670 Introduction to Theory of Computing December 2, 2004.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
1 The Theory of NP-Completeness 2 Review: Finding lower bound by problem transformation Problem X reduces to problem Y (X  Y ) iff X can be solved by.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Lecture 9: Query Complexity Tuesday, January 30, 2001.
Complexity of Compositional Model Checking of Computation Tree Logic on Simple Structures Krishnendu Chatterjee Pallab Dasgupta P.P. Chakrabarti IWDC 2004,
Automatic Test Generation
Non-additive Security Games
Spatio-temporal Relational Constraint Calculi
Computational Complexity of Terminological Reasoning in BACK
Integer Programming (정수계획법)
CSEP590 – Model Checking and Automated Verification
Foundations of Constraint Processing
Testing Assignments of Boolean CSP’s
Back to “Serious” Topics…
Integer Programming (정수계획법)
CSE 6408 Advanced Algorithms.
Umans Complexity Theory Lectures
Survey on Coverage Problems in Wireless Sensor Networks
Habib Ullah qamar Mscs(se)
Presentation transcript:

Qualitative Spatial- Temporal Reasoning Jason J. Li Advanced Topics in A.I. The Australian National University Jason J. Li Advanced Topics in A.I. The Australian National University

Spatial-Temporal Reasoning Space is ubiquitous in intelligent systems –We wish to reason, make predictions, and plan for events in space –Modelling space is similar to modelling time. Space is ubiquitous in intelligent systems –We wish to reason, make predictions, and plan for events in space –Modelling space is similar to modelling time.

Quantitative Approaches Spatial-temporal configurations can be described by specifying coordinates: –At 10am object A is at position (1,0,1), at 11am it is at (1,2,2) –From 9am to 11am, object B is at (1,2,2) –At 11am object C is at (13,10,12), and at 1pm it is at (12,11,12) Spatial-temporal configurations can be described by specifying coordinates: –At 10am object A is at position (1,0,1), at 11am it is at (1,2,2) –From 9am to 11am, object B is at (1,2,2) –At 11am object C is at (13,10,12), and at 1pm it is at (12,11,12)

A Qualitative Perspective Often, a qualitative description is more adequate –Object A collided with object B, then object C appeared –Object C was not near the collision between A and B when it took place Often, a qualitative description is more adequate –Object A collided with object B, then object C appeared –Object C was not near the collision between A and B when it took place

Qualitative Representations Uses a finite vocabulary –A finite set of relations Efficient when precise information is not available or not necessary Handles well with uncertainty –Uncertainty represented by disjunction of relations Uses a finite vocabulary –A finite set of relations Efficient when precise information is not available or not necessary Handles well with uncertainty –Uncertainty represented by disjunction of relations

Qualitative vs. Fuzzy Fuzzy representations take approximations of real values Qualitative representations make only as much distinctions as necessary –This ensures the soundness of composition Fuzzy representations take approximations of real values Qualitative representations make only as much distinctions as necessary –This ensures the soundness of composition

Qualitative Spatial-Temporal Reasoning Represent space and time in a qualitative manner Reasoning using a constraint calculus with infinite domains –Space and time is continuous Represent space and time in a qualitative manner Reasoning using a constraint calculus with infinite domains –Space and time is continuous

Trinity of a Qualitative Calculus Algebra of relations Domain Weak-Representation Algebra of relations Domain Weak-Representation

Algebra of Relations Formally, it’s called Nonassociatve Algebra –Relation Algebra is a subset of such algebras that its composition is associative –It prescribes the constraints between elements in the domain by the relationship between them. Formally, it’s called Nonassociatve Algebra –Relation Algebra is a subset of such algebras that its composition is associative –It prescribes the constraints between elements in the domain by the relationship between them.

Algebra of Relations It usually has these operations: –Composition: If A is related to B, B is related to C, what is A to C –Converse: If A is related to B, what is B’s relation to A –Intersection/union: Defined set-theoretically –Complement: A is not related to B by Rel_A, then what is the relation? It usually has these operations: –Composition: If A is related to B, B is related to C, what is A to C –Converse: If A is related to B, what is B’s relation to A –Intersection/union: Defined set-theoretically –Complement: A is not related to B by Rel_A, then what is the relation?

Example – Point Algebra Points along a line Composition of relations –{<} ; {=} = {<} –{<,=} ; {<} = {<} –{ } ; { } –{,=} = {=} Points along a line Composition of relations –{<} ; {=} = {<} –{<,=} ; {<} = {<} –{ } ; { } –{,=} = {=}

Example – RCC8

Domain The set of spatial-temporal objects we wish to reason Example: –2D Generic Regions –Points in time The set of spatial-temporal objects we wish to reason Example: –2D Generic Regions –Points in time

Weak-Representation How the algebra is mapped to the domain (JEPD) –Jointly Exhaustive: everything is related to everything else –Pairwise Disjoint: any two entities in the domain is related by an atomic relation How the algebra is mapped to the domain (JEPD) –Jointly Exhaustive: everything is related to everything else –Pairwise Disjoint: any two entities in the domain is related by an atomic relation

Mapping of Point Algebra Domain: Real values –Between any two value there is a value –We say the weak representation is a representation –Any consistent network can be consistently extended Domain: Discrete values (whole numbers) –Weak representation not representation Domain: Real values –Between any two value there is a value –We say the weak representation is a representation –Any consistent network can be consistently extended Domain: Discrete values (whole numbers) –Weak representation not representation

Network of Relations Always complete graphs (JEPD) Set of vertices (V N ) and label of edges (L N ) Vertice V N (i) denotes the i th spatial-temporal variable Label L N (i,j) denote the possible relations between the two variables V N (i), V N (j) A network M is a subnetwork of another network N iff all nodes and labels of M are in N Always complete graphs (JEPD) Set of vertices (V N ) and label of edges (L N ) Vertice V N (i) denotes the i th spatial-temporal variable Label L N (i,j) denote the possible relations between the two variables V N (i), V N (j) A network M is a subnetwork of another network N iff all nodes and labels of M are in N

Example of Networks Greece is part of EU and on its boarder Czech Republic is part of EU and not on its boarder Russia is externally connected to EU and disconnected to Greece Greece is part of EU and on its boarder Czech Republic is part of EU and not on its boarder Russia is externally connected to EU and disconnected to Greece

Example of Networks Greece EURussia Czech TPP NTPP EC DC U U

Path-Consistency Any two variable assignment can be extended to three variables assignment Forall 1 <= i, j, k <= n –Rij = Rij ∩ Rik ; Rkj Any two variable assignment can be extended to three variables assignment Forall 1 <= i, j, k <= n –Rij = Rij ∩ Rik ; Rkj

Example of Path-Consistency Greece EURussia Czech TPP NTPP EC DC U U

Example of Path-Consistency Greece EURussia Czech TPP NTPP EC DC U EC ; NTPPi = DC Conv(NTPP) = NTPPi

Example of Path-Consistency Greece EURussia Czech TPP NTPP EC DC U DC ; DC = U Conv(DC) = DC

Example of Path-Consistency Greece EURussia Czech TPP NTPP EC DC DC,EC,PO,TPPi,NTPPi TPP ; NTPPi = {DC,EC,PO,TPPi, NTPPi} Conv(NTPP) = NTPPi

Example of Path-Consistency From the information given, we were able to eliminate some possibilities of the relation between Czech and Greece

Consistency A network is consistent iff –There is an instantiation in the domain such that all constraints are satisfied. A network is consistent iff –There is an instantiation in the domain such that all constraints are satisfied.

Consistency A nice property of a calculus, would be that path-consistency entails consistency for CSPs with only atomic constraints. –If all the transitive constraints are satisfied, then it can be realized. RCC8, Point Algebra all have this property But many do not… A nice property of a calculus, would be that path-consistency entails consistency for CSPs with only atomic constraints. –If all the transitive constraints are satisfied, then it can be realized. RCC8, Point Algebra all have this property But many do not…

Path-Consistency and Consistency Path-consistency is different to (general) consistency –Consider 5 circular disks –All externally connected to each other –This is PC, but not Consistent! Path-consistency is different to (general) consistency –Consider 5 circular disks –All externally connected to each other –This is PC, but not Consistent!

Important Problems in Qualitative Spatial-Temporal Reasoning A very nice property of a qualitative calculus is that if path-consistency entails consistency –If the network is path-consistent, then you can get an instantiation in the domain –Usually, it requires a manual proof –Any way to do it automatically? A very nice property of a qualitative calculus is that if path-consistency entails consistency –If the network is path-consistent, then you can get an instantiation in the domain –Usually, it requires a manual proof –Any way to do it automatically?

Important Problems in Qualitative Spatial-Temporal Reasoning Computational Complexity –What is the complexity for deciding consistency? P? NP? NP-Hard? P-SPACE? EXP-SPACE? Computational Complexity –What is the complexity for deciding consistency? P? NP? NP-Hard? P-SPACE? EXP-SPACE?

Important Problems in Qualitative Spatial-Temporal Reasoning Unified theory of spatial-temporal reasoning –Many spatial-temporal calculi have been proposed Point Algebra, Interval Algebra, RCC8, OPRA, STAR, etc. –How do we combine efficient reasoning calculi for more expressive queries. Unified theory of spatial-temporal reasoning –Many spatial-temporal calculi have been proposed Point Algebra, Interval Algebra, RCC8, OPRA, STAR, etc. –How do we combine efficient reasoning calculi for more expressive queries.

Important Problems in Qualitative Spatial-Temporal Reasoning Unified theory of spatial-temporal reasoning –Some approaches combines two calculi to form a new calculi, with mixed results IA (PA+PA), INDU (IA + Size), etc BIG Calculus containing all information? Meta-reasoning to switch calculi? Unified theory of spatial-temporal reasoning –Some approaches combines two calculi to form a new calculi, with mixed results IA (PA+PA), INDU (IA + Size), etc BIG Calculus containing all information? Meta-reasoning to switch calculi?

Important Problems in Qualitative Spatial-Temporal Reasoning Qualitative representations may have different levels of granularity –How coarse/fine you want to define the relations Do you care PP vs. TPP? –What resolution do you want your representation? –What level of information do you want to use? Qualitative representations may have different levels of granularity –How coarse/fine you want to define the relations Do you care PP vs. TPP? –What resolution do you want your representation? –What level of information do you want to use?

Important Problems in Qualitative Spatial-Temporal Reasoning Spatial Planning –Most automated planning problems ignore spatial aspects of the problem –Most real-life applications uses an ad-hoc representation for reasoning –How do we use make use of efficient reasoning algorithms to better plan for spatial-change Spatial Planning –Most automated planning problems ignore spatial aspects of the problem –Most real-life applications uses an ad-hoc representation for reasoning –How do we use make use of efficient reasoning algorithms to better plan for spatial-change

Solving Complexity If path-consistency decide consistency, the problem is polynomial If not, then some complexity proof is required –Transform the problem to one of the known problems If path-consistency decide consistency, the problem is polynomial If not, then some complexity proof is required –Transform the problem to one of the known problems

Solving Complexity Show NP-Hardness, you need to show 1-1 transformation for a subset of the problems to a known NP-Complete Problem –Deciding consistency for some spatial-temporal networks –Deciding the Boolean satisfiability problem (3- SAT) Show NP-Hardness, you need to show 1-1 transformation for a subset of the problems to a known NP-Complete Problem –Deciding consistency for some spatial-temporal networks –Deciding the Boolean satisfiability problem (3- SAT)

Transforming Problem Boolean satisfiability problem has –Variables –Literals –Constraints Transform each component to spatial networks Boolean satisfiability problem has –Variables –Literals –Constraints Transform each component to spatial networks

Transforming Problem –Show deciding consistency is same as deciding consistency for SAT problem, and vice versa –Program written to do this automatically (Renz & Li, KR’2008) –Show deciding consistency is same as deciding consistency for SAT problem, and vice versa –Program written to do this automatically (Renz & Li, KR’2008)

Summary Qualitative Spatial-Temporal Reasoning uses constraint networks of infinite domains It reasons with relations between entities, and make only as few distinctions as necessary It is useful for imprecise / uncertain information Many open questions / problems in the field. Qualitative Spatial-Temporal Reasoning uses constraint networks of infinite domains It reasons with relations between entities, and make only as few distinctions as necessary It is useful for imprecise / uncertain information Many open questions / problems in the field.

Further Reading A. G. Cohn and J. Renz, Qualitative Spatial Representation and Reasoning, in: F. van Hermelen, V. Lifschitz, B. Porter, eds., Handbook of Knowledge Representation, Elsevier, , 2008.A. G. Cohn J. J. Li, T. Kowalski, J. Renz, and S. Li, Combining Binary Constraint Networks in Qualitative Reasoning, Proceedings of the 18th European Conference on Artificial Intelligence (ECAI'08), Patras, Greece, July 2008, J. J. LiT. KowalskiS. LiECAI'08 G. Ligozat, J. Renz, What is a Qualitative Calculus? A General Framework, 8th Pacific Rim International Conference on Artificial Intelligence (PRICAI'04), Auckland, New Zealand, August 2004, 53-64G. LigozatPRICAI'04 J. Renz, Qualitative Spatial Reasoning with Topological Information, LNCS 2293, Springer-Verlag, Berlin, LNCS 2293 The above can all be accessed at A. G. Cohn and J. Renz, Qualitative Spatial Representation and Reasoning, in: F. van Hermelen, V. Lifschitz, B. Porter, eds., Handbook of Knowledge Representation, Elsevier, , 2008.A. G. Cohn J. J. Li, T. Kowalski, J. Renz, and S. Li, Combining Binary Constraint Networks in Qualitative Reasoning, Proceedings of the 18th European Conference on Artificial Intelligence (ECAI'08), Patras, Greece, July 2008, J. J. LiT. KowalskiS. LiECAI'08 G. Ligozat, J. Renz, What is a Qualitative Calculus? A General Framework, 8th Pacific Rim International Conference on Artificial Intelligence (PRICAI'04), Auckland, New Zealand, August 2004, 53-64G. LigozatPRICAI'04 J. Renz, Qualitative Spatial Reasoning with Topological Information, LNCS 2293, Springer-Verlag, Berlin, LNCS 2293 The above can all be accessed at