genetic approximate matching of attributed relational graphs thomas bärecke¹, marcin detyniecki¹,...

21
Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke ¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université Pierre et Marie Curie - Paris6 UMR 7606, DAPA, LIP6, Paris, France ² Università degli Studi di Firenze, Dipartimento di Sistemi e Informatica, Florence, Italy

Upload: abigayle-terry

Post on 12-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

Genetic Approximate Matching of Attributed Relational Graphs

Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo²

¹ Université Pierre et Marie Curie - Paris6 UMR 7606, DAPA, LIP6, Paris, France

² Università degli Studi di Firenze, Dipartimento di Sistemi e Informatica, Florence, Italy

Page 2: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

2

Motivation 1/2

•Frontal•Neutral expression

Page 3: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

3

Motivation 2/2

Page 4: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

4

Outline

EC Subgraph Isomorphism Genetic Approach

Encoding Crossover Local search Combination with tree search

Results Conclusions and Future Work

Page 5: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

5

EC (Sub-)Graph Isomorphism

No known optimal and efficient algorithm

Genetic algorithms “Parallel” exploration of

large non-continuous search spaces

No perfect exploitation Adaptive stop criterion

Solution quality Elapsed time

Good solutions in reasonable time

Optimal algorithms Exponential complexity Max. 15 vertices

Page 6: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

6

GA - Encoding

1

3

42

1

2

43

nS

5

5

1425

12345

1234

3

3

Page 7: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

7

GA - Crossover

Fitness change depends on all other elementary mappings

Strict position-based crossover (PBX)

1

3

42

1

3

42

Page 8: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

8

Strict position-based crossover Create position list and shuffle it Uniformly select crossover points Create children

In case of collision place in alternative place Fill in missing values

13425

41235

12345

14235

23415

31524

21543

42531

Xx

x

41

35

132

5

Page 9: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

9

GA – Local Search

Neighborhood N

MN '

Fitness evaluation of the neighborhood

)(),((),,(

)(',(),,(

)(,)(',

)(,)(',

,,

,,,\

2121'

wvwv

wvwv

yyyy

xxxx

GGGG

E

yxwyxVvE

VV

VV

Page 10: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

10

GA – other parameters

Name Value

Tournament size 2

Termination 10

Crossover probability 0.9

Mutation probability 0

2-opt probability 1

Population size 100

UPMX ratio 0.33

Elitism 1

Page 11: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

11

Combining GA with A*

GA

Page 12: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

12

Outline

EC Subgraph Isomorphism Genetic Approach Results

Evolution Precision Run time Combined method

Conclusions and Future Work

Page 13: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

13

Evolution Process

False Mappings Fitness

Page 14: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

14

Diversity

Page 15: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

15

Precision – Crossover 1/2

PBX PMX

Page 16: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

16

Precision – Crossover 2/2

PBX UPMX

Page 17: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

17

Results - Runtime

Graph size Noise (Size 50)

Page 18: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

18

Combined results

Page 19: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

19

Conclusions

Permutation based Genetic Algorithm Robust for Subgraph Matching Crossover operator Local search Solution candidate at any time

Combination of exact and approximate methods

Page 20: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

T. Bärecke et al. Genetic Approximate Matching of ARGs

20

Future Work

Real world data! Allow more graph edit operations Better local improvement heuristic Fewer and optimal parameters Comparison with cycle crossover

Page 21: Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université

Thanks for your attention