A Tensor-Based Algorithm for High-Order Graph Matching

29
A Tensor-Based Algorithm for High- Order Graph Matching Olivier Duchenne, Francis Bach, Inso Kweon, Jean Ponce École Normale Supérieure, INRIA, KAIST Team Willow

description

A Tensor-Based Algorithm for High-Order Graph Matching. Olivier Duchenne, Francis Bach, Inso Kweon, Jean Ponce École Normale Supérieure, INRIA, KAIST. Team Willow. Contributions. Extension of [ Leordeanu & Hebert] to the case of hypergraph. 1) Tensor Formulation and Power Method. - PowerPoint PPT Presentation

Transcript of A Tensor-Based Algorithm for High-Order Graph Matching

Page 1: A Tensor-Based Algorithm for High-Order Graph Matching

A Tensor-Based Algorithm for High-Order Graph Matching

Olivier Duchenne, Francis Bach, Inso Kweon, Jean Ponce

École Normale Supérieure, INRIA, KAIST

Team Willow

Page 2: A Tensor-Based Algorithm for High-Order Graph Matching

Extension of [Leordeanu & Hebert] to the case of hypergraph.

Contributions

2) Sparse output for the relaxed matching problem.

1) Tensor Formulation and Power Method

Page 3: A Tensor-Based Algorithm for High-Order Graph Matching

Generic Graph Matching Problem

Previous Works

Page 4: A Tensor-Based Algorithm for High-Order Graph Matching

NP-Hard combinatorial problem. Wide and active literature existing on

approximation algorithms.GreedyRelaxed formulationConvex-concave optimizationMany others…

[1] M. Zaslavskiy, F. Bach and J.-P. Vert. PAMI, 2009.[2] D. C. Schmidt and L. E. Druffel. JACM, 1976.[3] J. R. Ullmann. JACM, 1976.[4] L. P. Cordella, P. Foggia, C. Sansone, and M. Vento. ICIAP, 1991.[5] Shinji Umeyama. PAMI, 1988.[6] S.Gold and A.Rangarajan. PAMI, 1996.[7] Hong Fang Wang and Edwin R. Hancock. PR, 2005.[8] Terry Caelli and Serhiy Kosinov. PAMI 2004.[9] H.A. Almohamad and S.O.Duffuaa. PAMI, 1993.[10] C.Schellewald and C.Schnor. LNCS, 2005.

Generic Graph Matching

Previous Works

Page 5: A Tensor-Based Algorithm for High-Order Graph Matching

[1] M. Fishler and Elschlager. Computer, 1973.[2] Serge Belongie, Jitendra Malik and Jan Puzicha. NIPS 2000.

Previous WorksGraph Matching

for Computer Vision (1)

Page 6: A Tensor-Based Algorithm for High-Order Graph Matching

[1] A. C. Berg, T. L. Berg, and J. Malik. CVPR 2005[2] M. Leordeanu and M. Hebert. ICCV 2005[3] T. Cour and J. Shi. NIPS 2006.

Previous WorksGraph Matching

for Computer Vision (2)

Page 7: A Tensor-Based Algorithm for High-Order Graph Matching

=?

[1] Sivic & Zisserman. 2003[2] Lazebnik et al. 2003[3] Csurka et al. 2004

Previous Works

Why we need correspondance?

Graph Matching is an attempt to compare images when that relationship cannot be ignored.

Bag-Of-Word model works well when relationship between features is not important.

Page 8: A Tensor-Based Algorithm for High-Order Graph Matching

MmmMm

mmsms21 ,

21 ),()(...

()...

()...

)( 1ms )( 2ms ),( 21 mmsFirst order score Second order score

m1

m2

Previous Works

Objective function

[1] A. C. Berg, T. L. Berg, and J. Malik. CVPR 2005.[2] M. Leordeanu and M. Hebert. ICCV 2005.[3] T. Cour and J. Shi. NIPS 2006.

Page 9: A Tensor-Based Algorithm for High-Order Graph Matching

Hypergraph Matching Problem

How graph matching enforcesgeometric consistency?

[1] A. C. Berg, T. L. Berg, and J. Malik. CVPR 2005.

Page 10: A Tensor-Based Algorithm for High-Order Graph Matching

Hypergraph Matching Problem

[1] A. C. Berg, T. L. Berg, and J. Malik. CVPR 2005.[2] M. Leordeanu and M. Hebert. ICCV 2005.

How graph matching enforcesgeometric consistency?

Page 11: A Tensor-Based Algorithm for High-Order Graph Matching

Hypergraph Matching Problem

How to improve it?

Page 12: A Tensor-Based Algorithm for High-Order Graph Matching

Hypergraph Matching Problem

How to improve it?

Page 13: A Tensor-Based Algorithm for High-Order Graph Matching

MmmMm

mmsms21 ,

21 ),()( ...),,(321 ,,

321 Mmmm

mmms

A hyper-edge can link more than 2 nodes at the same time.

[1] Ron Zass and Amnon Shashua. CVPR, 2008

Hypergraph Matching Problem

Hypergraph Matching

Page 14: A Tensor-Based Algorithm for High-Order Graph Matching

21

21

,2121

M,21

),s()s(

)Obj(

),s()s(

)Obj(

mmmm

mm

mmMm

XXmmXm

X

mmm

M

Formulation

Hypergraph Matching Problem

Page 15: A Tensor-Based Algorithm for High-Order Graph Matching

HXX

XHXXC

XXmmXm

X

T

TT

mmmm

mm

'

),s()s(

)Obj(

21 ,2121

[1] M. Leordeanu and M. Hebert. ICCV 2005.

Relaxation

Hypergraph Matching Problem

}1,0{XEach node is matched to at most one node.

Constraints:

X

nX 2

MainEigenvector

Problem

Relaxed constraints:

Page 16: A Tensor-Based Algorithm for High-Order Graph Matching

HXX

XXH

X

T

mmmmmm

21

21,

21,

)Obj(

XXXH

XXXH

X

mmmm

mmmmm

321

3,,

21,,

321

321

)(Obj'

H

Hypergraph Matching

Hypergraph Matching Problem

Page 17: A Tensor-Based Algorithm for High-Order Graph Matching

The power method can efficiently find the main eigenvector of a matrix.

It can efficiently use the sparsity of the Matrix. It is very simple to implement.

Power Method

Hypergraph Matching Problem

Page 18: A Tensor-Based Algorithm for High-Order Graph Matching

[1] L. De Lathauwer, B. De Moor, and J. Vandewalle. SIAM J. Matrix Anal. Appl., 2000[2] P. A. Regalia and E. Kofidis. ICASSP, 2000

Tensor Power Iteration

Hypergraph Matching Problem

Converge to a local optimum (of the relaxed problem) Always keep the full degree of the hypergraph (never

marginalize it in a frist or second order)

Page 19: A Tensor-Based Algorithm for High-Order Graph Matching

Tensor Power Iteration

Hypergraph Matching Problem

It is also possible to integrate cues of different orders.

Page 20: A Tensor-Based Algorithm for High-Order Graph Matching

Sparse Output

Sparse Output

nX

XXH

mmm

mmmmmm

X

21

21

21

,

2

,21,

s.t.

max

1 s.t.

max

21

21

21

,

2

,

22

21,

mmm

mmmmmm

X

X

XXH

2mm XY

1

max

21

21

21,

21,

,mmm

mmmmmm

X

Ys.t.

YYH

Page 21: A Tensor-Based Algorithm for High-Order Graph Matching

Implementation

Compute all descriptor triplets of image 2. Same for a subsample of triplets of image 1. Use Approximate Nearest Neighbor to find the

closest triplets. Compute the sparse tensor. Do Tensor Power Iteration. Projection to binary solution.

Page 22: A Tensor-Based Algorithm for High-Order Graph Matching

We generate a cloud of random points. Add some noise to the position of points. Rotate it.

Artificial cloud of point.

Experiments

Page 23: A Tensor-Based Algorithm for High-Order Graph Matching

Accuracy depending on outliers number

Experiments

Our workLeordeanu & HebertZass & Shashua

Page 24: A Tensor-Based Algorithm for High-Order Graph Matching

Accuracy depending on scaling

Experiments

Our workLeordeanu & HebertZass & Shashua

Page 25: A Tensor-Based Algorithm for High-Order Graph Matching

CMU hotel dataset

Experiments

[1] CMU 'hotel' dataset: http://vasc.ri.cmu.edu/idb/html/motion/hotel/index.html

Page 26: A Tensor-Based Algorithm for High-Order Graph Matching

Error on Hotel data set

Experiments

Our workZass & ShashuaLeordeanu & Hebert

Page 27: A Tensor-Based Algorithm for High-Order Graph Matching

Examples of Caltech 256 silouhettes matching

Experiments

Page 28: A Tensor-Based Algorithm for High-Order Graph Matching

Method for Hyper-Graph matching. Tensor formulation Power Iteration Sparse output Future Work

Conclusion

Page 29: A Tensor-Based Algorithm for High-Order Graph Matching