+ All Categories
Home > Documents > Consistency of Chordal RCC-8 Networks

Consistency of Chordal RCC-8 Networks

Date post: 27-May-2015
Category:
Upload: michael-sioutis
View: 148 times
Download: 5 times
Share this document with a friend
Description:
This work was presented in the 24th IEEE International Conference on Tools with Artificial Intelligence
Popular Tags:
49
Consistency of Chordal RCC-8 Networks Michael Sioutis Outline Introduction PyRCC8 5-Path Consistency Experimental Results Conclusions Future Work Acknowledge Bibliography Consistency of Chordal RCC-8 Networks Michael Sioutis Department of Informatics and Telecommunications National and Kapodistrian University of Athens November 8, 2012 Michael Sioutis Consistency of Chordal RCC-8 Networks
Transcript
Page 1: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Consistency of Chordal RCC-8 Networks

Michael Sioutis

Department of Informatics and TelecommunicationsNational and Kapodistrian University of Athens

November 8, 2012

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 2: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Table of Contents

1 Introduction

2 PyRCC8

3 5-Path Consistency

4 Experimental Results

5 Conclusions

6 Future Work

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 3: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

What is Qualitative Spatial Reasoning?

Qualitative spatial reasoning is based on qualitativeabstractions of spatial aspects of the common-sensebackground knowledge, on which our human perspectiveon the physical reality is based

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 4: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Reasons for Qualitative Spatial Reasoning

Two main reasons why non-precise, qualitative spatialinformation may be useful:

1 Only partial information may be available2 Spatial constraints are often most naturally stated in

qualitative terms

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 5: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Applications of Qualitative Spatial Reasoning

Qualitative spatial reasoning is an important subproblemin many applications, such as:

Robotic navigationHigh level visionGeographical information systems (GIS)Reasoning and querying with semantic geospatial querylanguages (e.g., stSPARQL, GeoSPARQL)

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 6: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Region Connection Calculus

The Region Connection Calculus (RCC) is a first-orderlanguage for representation of and reasoning abouttopological relationships between extended spatial regions

RCC abstractly describes regions, that are non-emptyregural subsets of some topological space which do nothave to be internally connected

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 7: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

The RCC-8 Calculus

RCC-8 is a constraint language formed by the combinationof the following eight jointly exhaustive and pairwisedisjoint base relations:

disconnected (DC)externally connected (EC)equal (EQ)partially overlapping (PO)tangential proper part (TPP)tangential proper part inverse (TPPi)non-tangential proper part (NTPP)non-tangential proper part inverse (NTPPi)

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 8: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

The Eight Basic Relations of the RCC-8 Calculus

X Y

X DC Y

X Y

X EC Y

Y

X

X TPP Y

Y

X

X NTPP Y

X Y

X PO Y

X

Y

X EQ Y X TPPi Y

Y

X

X NTPPi Y

YX

Figure: Two dimesional examples for the eight base relations of RCC-8

From these basic relations, combinations can be built. Forexample, proper part (PP) is the union of TPP and NTPP.

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 9: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

The RCC-8 Composition Table

� DC EC PO TPP NTPP TPPi NTPPi EQ

DC *DC,ECPO,TPPNTPP

DC,ECPO,TPPNTPP

DC,ECPO,TPPNTPP

DC,ECPO,TPPNTPP

DC DC DC

ECDC,ECPO,TPPiNTPPi

DC,ECPO,TPPTPPi,EQ

DC,ECPO,TPPNTPP

EC,POTPP

NTPP

POTPP

NTPPDC,EC DC EC

PODC,ECPO,TPPiNTPPi

DC,ECPO,TPPiNTPPi

*PO

TPPNTPP

POTPP

NTPP

DC,ECPO,TPPiNTPPi

DC,ECPO,TPPiNTPPi

PO

TPP DC DC,ECDC,ECPO,TPPNTPP

TPPNTPP NTPP

DC,ECPO,TPPTPPi,EQ

DC,ECPO,TPPiNTPPi

TPP

NTPP DC DCDC,ECPO,TPPNTPP

NTPP NTPPDC,ECPO,TPPNTPP

* NTPP

TPPiDC,ECPO,TPPiNTPPi

EC,POTPPi

NTPPi

POTPPi

NTPPi

PO,EQTPPTPPi

POTPP

NTPP

TPPiNTPPi NTPPi TPPi

NTPPiDC,EC

POTPPi

NTPPi

POTPPi

NTPPi

POTPPi

NTPPi

POTPPi

NTPPi

PO,TPPNTPPNTPPiTPPi,EQ

NTPPi NTPPi NTPPi

EQ DC EC PO TPP NTPP TPPi NTPPi EQ

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 10: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

The RSAT Reasoning Problem

RSAT in the RCC-8 framework is the reasoning problem ofdeciding whether there is a spatial configuration where therelations between the regions can be described by a spatialformula Θ

RSAT is NP-Complete!

However, tractable subsets S of RCC-8 exist, such as H8,C8, Q8 [5], for which the consistency problem can bedecided in polynomial time

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 11: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

The RSAT Reasoning Problem

RSAT in the RCC-8 framework is the reasoning problem ofdeciding whether there is a spatial configuration where therelations between the regions can be described by a spatialformula Θ

RSAT is NP-Complete!

However, tractable subsets S of RCC-8 exist, such as H8,C8, Q8 [5], for which the consistency problem can bedecided in polynomial time

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 12: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

The RSAT Reasoning Problem

RSAT in the RCC-8 framework is the reasoning problem ofdeciding whether there is a spatial configuration where therelations between the regions can be described by a spatialformula Θ

RSAT is NP-Complete!

However, tractable subsets S of RCC-8 exist, such as H8,C8, Q8 [5], for which the consistency problem can bedecided in polynomial time

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 13: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Path Concistency

Approximates consistency and realizes forward checking ina backtracking algorithm

Checks the consistency of triples of relations andeliminates relations that are impossible though iteravelyperforming the operation

Rij ← Rij ∩ Rik � Rkj

until a fixed point R is reached

If Rij = ∅ for a pair (i , j) then R is inconsistent, otherwiseR is path-consistent.

Computing R is done in O(n3)

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 14: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

About PyRCC8..

PyRCC81 is an efficient qualitative spatial reasoner writtenin pure Python. It employs PyPy2, a fast, compliantimplementation of the Python 2 language

PyRCC8 offers a path consistency algorithm for solvingtractable RCC-8 networks and a backtracking-basedalgorithm for general networks

1http://pypi.python.org/pypi/PyRCC8

2http://pypy.org/

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 15: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparing PC Implementations of DifferentReasoners

We compare the PC implementation of PyRCC8 to the PCimplementations of the following qualitative spatialreasoners:

Renz’s solver3

GQR4

Pellet Spatial5

The admingeo6 dataset (11761 regions / 77910 relations)was used which was properly translated to fit the inputformat of the different PC implementations

3http://users.rsise.anu.edu.au/%7Ejrenz/software/rcc8-csp-solving.tar.gz

4http://sfbtr8.informatik.uni-freiburg.de/R4LogoSpace/Tools/gqr.html

5http://clarkparsia.com/pellet/spatial/

6http://data.ordnancesurvey.co.uk/ontology/admingeo/

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 16: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Evaluation with a Large Dataset

0 10000 20000 30000 40000 50000 60000 70000Number of relations

10-3

10-2

10-1

100

101

102

103

104

105

CPU

time

(sec

)

Performance of four QSRs for the admingeo dataset

RenzPyRCC8GQRPellet-Spatial

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 17: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Consistency

To explore the search space for the general case of RCC-8networks in order to solve an instance Θ of RSAT, somesort of backtracking must be used

We implemented two backtracking algorithms:

1 A strictly recursive one2 An equivalent iterative one which resembles recursion

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 18: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparing PyRCC8 to Other Reasoners

We compare PyRCC8 to the following qualitative spatialreasoners:

Renz’s solver7

GQR8

Different size n of instances from A(n, d = 9.5, l = 4.0)were used

7http://users.rsise.anu.edu.au/%7Ejrenz/software/rcc8-csp-solving.tar.gz

8http://sfbtr8.informatik.uni-freiburg.de/R4LogoSpace/Tools/gqr.html

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 19: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparison Diagram

100 200 300 400 500 600 700 800 900Number of nodes

10-2

10-1

100

101

102

CPU

time

(sec

)

Performance of three QSRs for A(n,d=9.5,l=4.0)

RenzPyRCC8GQR

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 20: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

5-Path Concistency

Up till now, all aproaches in qualitative spatial reasoningenforce path consistency on a complete spatial network

We propose enforcing path consistency on a chordalspatial network [2] as Chmeiss and Condotta have done fortemporal networks [3], and we call this type of localconsistency as 5-path consistency for clarity

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 21: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

5-Path Concistency

Up till now, all aproaches in qualitative spatial reasoningenforce path consistency on a complete spatial network

We propose enforcing path consistency on a chordalspatial network [2] as Chmeiss and Condotta have done fortemporal networks [3], and we call this type of localconsistency as 5-path consistency for clarity

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 22: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Chordal Graph

A graph is chordal if each of its cycles of four or morenodes has a chord, which is an edge joining two nodesthat are not adjacent in the cycle

An example of a chordal graph is shown below:

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 23: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Triangulation

Triangulation of a given graph is done by eliminating thevertices one by one and connecting all vertices in theneighbourhood of each eliminated vertex with fill edges

Determining a minimum triangulation is an NP-hardproblem

Use of several heuristics for sub-optimal solutions (e.g.minimum degree, minimum fill)

Chordality checking can be done efficiently in O(|V |+ |E |)time, for a graph G = (V ,E ) (e.g., with MCS, LexBFS)

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 24: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Preliminaries

Let G = (V ,E ) be an undirected chordal graph. Thereexists a tree T , called a clique tree of G , whose vertex setis the set of maximal cliques of G

Let C be a constraint network from a given CSP. Then,VC refers to the set of variables of C

If V is any set of variables, CV will be the constraintnetwork C that involves variables of V

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 25: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Patchwork Property in RCC-8 Networks

Definition

We will say that a CSP has the patchwork property if for anyfinite satisfiable constraint networks C and C ′ of the CSP suchthat CVC∩VC ′ = C ′

VC∩VC ′ , the constraint network C ∪ C ′ issatisfiable [4].

Proposition

The three CSPs for path consistent H8, C8, and Q8 networks,respectively, all have patchwork [4].

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 26: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Proposition

Proposition

Let C be an RCC-8 constraint network with relations fromH8, C8, and Q8 on its edges. Let G be the chordal graph thatresults from triangulating the associated constraint graph of C ,and T a clique tree of G. C is consistent if all the networkscorresponding to the nodes of T are path consistent.

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 27: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Example

v4

v2

v5

v1

v3v4

v2

v5

v1

v3

v4

v2

v5

v2v1

v3 v4

v2

v3

(a) (b)

(c)

{v2, v4, v5}

{v1, v2, v3}

{v2, v3, v4}{v2, v4}

{v2, v3}

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 28: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

PyRCC85

PyRCC85 is a chordal reasoner which was developed byextending PyRCC8

Similarly to PyRCC8, PyRCC85 offers a 5-pathconsistency algorithm for solving tractable RCC-8 networksand a backtracking-based algorithm for general networks

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 29: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

5-Path Consistency Algorithm

5-Path-Consistency(C, G)Input: A constraint network C and its chordal graph GOutput: True or False

1: Q← {(i, j) | (i, j) ∈ E } // Initialize the queue2: while Q is not empty do3: select and delete an (i, j) from Q4: for each k such that (i, k), (k, j) ∈ E do5: t← Cik ∩ (Cij � Cjk )6: if t 6= Cik then7: if t = ∅ then8: return False9: Cik ← t

10: Cki ← t11: Q← Q ∪ {(i, k)}12: t← Ckj ∩ (Cki � Cij )13: if t 6= Ckj then14: if t = ∅ then15: return False16: Ckj ← t17: Cjk ← t18: Q← Q ∪ {(k, j)}19:return True

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 30: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Complexity Analysis

Let δ denote the maximum degree of a vertex of G

For each arc (i , j) selected at line 3, we have at most δvertices of G corresponding to index k such that vi , vj , vkforms a triangle

Additionaly, there exist |E | arcs in the network and onecan remove at most |B|9 values from any relation thatcorresponds to an arc

It results that the time complexity of 5-path consistencyis O(δ · |E | · |B|)

9B refers to the set of base relations of RCC-8

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 31: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Recursive 5-Consistency Algorithm

5-Consistency(C, G)Input: A constraint network C and its chordal graph GOutput: A refined constraint network C’ if C is satisfiable or None

1: if not 5-Path-Consistency(C, G) then2: return None3: if no constraint can be split then4: return C5: else6: choose unprocessed constraint xiRxj ; split R into S1, ..., Sk ∈ S: S1 ∪ ... ∪ Sk = R7: Values← {Sl | 1 ≤ l ≤ k}8: for V in Values do9: replace xiRxj with xiVxj in C

10: result = 5-Consistency(C, G)11: if result 6= None then12: return result13: return None

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 32: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Iterative 5-Consistency Algorithm

5-Consistency(C, G)Input: A constraint network C, A chordal graph GOutput: A refined constraint network C’ if C is satisfiable or None

1: Stack← {} // Initialize stack2: if not 5-Path-Consistency(C, G) then3: return None4: while 1 do5: if no constraint can be split then6: return C7: else8: choose unprocessed constraint xiRxj ; split R into S1, ..., Sk ∈ S : S1 ∪ ... ∪ Sk = R9: Values← {Sl | 1 ≤ l ≤ k}

10: while 1 do11: if not Values then12: while Stack do13: C, Values = Stack.pop()14: if Values then15: break16: else17: return None18: V = Values.pop()19: replace xiRxj with xiVxj in C20: if 5-Path-Consistency(C, G) then21: break22: Stack.push(C, Values)23:raise RuntimeError, Can’t happen

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 33: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparing PyRCC85 to PyRCC8

We compare PyRCC85 to PyRCC8, a complete graphdedicated reasoner, using the following data:

Random instances composed from the set of all RCC-8relationsThe admingeo10 dataset

10http://data.ordnancesurvey.co.uk/ontology/admingeo/

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 34: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Experimenting with Random Instances

We generated instances from A(100, d , l = 4.0), for dvarying from 3 to 15 with a step of 0.5. For each series,300 networks were generated using Renz’s networkgenerator11

We used the Horn relations set as our split set, and thedynamic/local constraint scheme with a weighted queueconfiguration, since it proved to be the best combinationfor both reasoners, confirming the results in [5]

11http://users.rsise.anu.edu.au/%7Ejrenz/software/rcc8-csp-solving.tar.gz

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 35: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparison Diagram on CPU time

4 6 8 10 12 14Average degree of network for non trivial constraints

0.35

0.40

0.45

0.50

0.55

0.60

0.65

0.70

CPU

time

(sec

)

Performance of function Consistency for A(100,d,l=4.0)

PyRCC8PyRCC8

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 36: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparison Diagram on # of Revised Arcs

4 6 8 10 12 14Average degree of network for non trivial constraints

0

500

1000

1500

2000

2500

3000

# o

f rev

ised

arc

s

Performance of function Consistency for A(100,d,l=4.0)

PyRCC8PyRCC8

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 37: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparison Diagram on # of Checked Constraints

4 6 8 10 12 14Average degree of network for non trivial constraints

0

50000

100000

150000

200000

250000

300000

# o

f con

sist

ency

che

cks

Performance of function Consistency for A(100,d,l=4.0)

PyRCC8PyRCC8

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 38: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Results Summary

PyRCC8 PyRCC85 %CPU time 0.524s 0.509s 2.80%

revised arcs 1300.681 801.204 38.40%checked constraints 105751.173 74864.985 29.21%

Table: Comparison based on the average of different parameters

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 39: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Experimenting with the Admingeo Dataset

The admingeo12 dataset consists of 11761 regions and77910 base relations, thus being an extremely large andsparse network, making itself a good candidate for stresstesting different path consistency implementations

We used a simple queue configuration, since the weightedvariants made no difference on this dataset other thanusing much more memory

12http://data.ordnancesurvey.co.uk/ontology/admingeo/

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 40: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparison Diagram on CPU Time

0 10000 20000 30000 40000 50000 60000 70000Number of relations

10-1

100

101

102

103

104

105

CPU

time

(sec

)

Performance of function PC for the admingeo dataset

PyRCC8PyRCC8

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 41: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparison Diagram on # of Revised Arcs

0 10000 20000 30000 40000 50000 60000 70000Number of relations

101

102

103

104

105

106

107

108

# o

f rev

ised

arc

s

Performance of function PC for the admingeo dataset

PyRCC8PyRCC8

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 42: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Comparison Diagram on # of Checked Constraints

0 10000 20000 30000 40000 50000 60000 70000Number of relations

102

103

104

105

106

107

108

109

1010

1011

1012

# o

f con

sist

ency

che

cks

Performance of function PC for the admingeo dataset

PyRCC8PyRCC8

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 43: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Results Summary

PyRCC8 PyRCC85 %CPU time 1825.129s 289.203s 84.15%

revised arcs 4834133.78 373080.28 92.28%checked constraints 3.606e + 10 1.181e + 09 96.72%

Table: Comparison based on the average of different parameters

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 44: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Test Machine

All experiments were carried out on a computer with anIntel Xeon 4 Core X3220 processor with a CPU frequencyof 2.40 GHz, 8 GB RAM, and the Debian Lenny x86 64 OS

Renz’s solver and GQR were compiled with gcc/g++ 4.4.3

PelletSpatial was run with OpenJDK 6 build 19, whichimplements Java SE 6

PyRCC8 was run with PyPy 1.8, which implementsPython 2.7.2

Only one of the CPU cores was used for the experiments

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 45: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Conclusions

We made the case for a new generation of RCC-8reasoners implemented in Python, and making use ofadvanced Python environments, such as PyPy, utilizingtrace-based JIT compilation techniques

We introduced 5-path consistency for RCC-8 networks

We showed that 5-path consistency is sufficient to decidethe consistency problem for the maximal tractable subsetsH8, C8, and Q8 of RCC-8

We implemented a chordal graph dedicated reasoner forRCC-8 networks

We showed expirimentally that 5-path consistency canoffer a great advantage over full path consistency onsparse graphs

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 46: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Main Points

Explore self learning heuristics regarding variable and valueselection

Create module to generate spatial CSPs

Transform PyRCC8 into a generic qualitative reasoner

Use other methods of triangulation and compare thebehavior of partial path consistency for these differentmethods

Perform experiments with other possible real datasets,such as GADM13

13http://gadm.geovocab.org/

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 47: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

Acknowledge

This work was funded by the FP7 project TELEIOS(257662)

I would also like to thank my colleagues, and KatiaPapakonstantinopoulou especially, for their help, interest,and advice

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 48: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

References

[Van Beek and Manchak]The design and experimental analysis of algorithms for temporal reasoningJAIR, vol. 4, pages 1–18, 1996

[Bliek and Sam-Haroud]Path Consistency on Triangulated Constraint GraphsIn IJCAI, 1999

[Chmeiss and Condotta]Consistency of Triangulated Temporal Qualitative Constraint NetworksIn ICTAI, 2011

[Huang]Compactness and Its Implications for Qualitative Spatial and TemporalReasoningIn KR, 2012

[Renz and Nebel]Efficient Methods for Qualitative Spatial ReasoningJAIR, vol. 15, pages 289–318, 2001

Michael Sioutis Consistency of Chordal RCC-8 Networks

Page 49: Consistency of Chordal RCC-8 Networks

Consistencyof ChordalRCC-8

Networks

MichaelSioutis

Outline

Introduction

PyRCC8

5-PathConsistency

ExperimentalResults

Conclusions

Future Work

Acknowledge

Bibliography

The End

Any Questions?

Michael Sioutis Consistency of Chordal RCC-8 Networks


Recommended