pose-estimation data (‘volvo’; change in azimuth of 30 ...jmcauley/pdfs/poster_cvpr10.pdflinear...

1
Unified Graph Matching in Euclidean Spaces Julian McAuley, Teófilo de Campos, Tibério Caetano [email protected] [email protected] [email protected] Abstract In many applications of graph matching, one is in- terested in finding correspondences that are iso- morphic (i.e., the topology is preserved), as well as isometric (i.e., distances are preserved). While the subgraph isomorphism problem is known to be NP-complete, the subgraph isometry problem is polynomial [1]. We show that [1] can be adapted to find subgraphs that are simultaneously both iso- morphic and isometric in polynomial time. Fur- thermore, we use structured learning to determine the extent to which different types of transforma- tions are present in our model. Results 0 10 20 30 40 50 60 70 80 90 separation between frames 0.0 0.1 0.2 0.3 0.4 Δ(ˆ g,g ), after learning CMU ‘house’ data (111 frames) linear assignment quadratic assignment balanced graph-matching isometric matching unified matching 10 -3 10 -2 10 -1 10 0 wall time (seconds) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 Δ(ˆ g,g ), after learning CMU ‘house’ timing (separation of 90 frames) linear assignment quadratic assignment balanced graph-matching isometric matching unified matching 0 20 40 60 80 100 separation between frames 0.0 0.1 0.2 0.3 0.4 0.5 Δ(ˆ g,g ), after learning Silhouette data (200 frames) linear assignment quadratic assignment balanced graph-matching isometric matching unified matching 0 10 20 30 40 50 60 70 80 90 separation between frames 0.0 0.1 0.2 0.3 0.4 Δ(ˆ g,g ), after learning CMU ‘hotel’ data (101 frames) linear assignment quadratic assignment balanced graph-matching isometric matching unified matching 0 5 10 15 20 25 30 35 40 45 Change in rotation 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Δ(ˆ g,g ), after learning Pose data (house, 70 frames) linear assignment quadratic assignment isometric matching unified matching 0 5 10 15 20 25 30 Change in azimuth 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Δ(ˆ g,g ), after learning Pose data (volvo, 42 frames) linear assignment quadratic assignment isometric matching unified matching The performance of our method compared to models from [2] and [3]. The im- ages at right compare our matching results to those from [2]; blue dots denote correspondences for which only our method was correct; red dots denote cor- respondences for which only our method was incorrect; gray dots denote that both methods were incorrect. Running times are shown at top-right. Our Graphical Model 1 2 3 4 5 6 k-3 k-2 k-1 k M 6 1 2 3 5 4 1 2 3 4 5 6 1 3 4 (a) (b) (c) The graphical model (a) from [2] can be used to search for isometric instances of the graph (b). However, it cannot identify isomorphic (or homeomorphic) instances, as it does not capture all of the topological constraints in (b). By replicating some of its nodes in (c), we are able to capture the missing topolog- ical constraints. The resulting model provably identifies the correct solution subject to zero noise. Model Parametrization We use the structured learning approach of [4] to determine the importance of first-order features (such as Shape-Contexts and SIFT), second-order features (such as topological constraints and distances), and third-order features. Our graph-matching objective, map- ping the points in V to those in V 0 is defined as: g = argmin f :V V 0 X p 1 ∈G ] * Φ 1 (p 1 ,f (p 1 )) | {z } node features nodes + + X (p 1 ,p 2 )∈G ] * Φ 2 (p 1 ,p 2 ,f (p 1 ),f (p 2 )) | {z } edge features edges + + X (p 1 ,p 2 ,p 3 )G ] * Φ 3 (p 1 ,p 2 ,p 3 ,f (p 1 ),f (p 2 ),f (p 3 )) | {z } triangle features tri + Our approach is fully-supervised, i.e., we learn Θ=(θ nodes ; θ edges ; θ tri ) from manually labeled correspondences provided by the user. Graph Isometry and Isomorphism (a) (b) (c) (d) Isometry: b a, b c Isomorphism: b d, c a, d b Homeomorphism: b a, b d, c a, d a, d b bibliography [1] T. S. Caetano and J. J. McAuley. Faster graphical models for point-pattern matching. Spatial Vision, 2009. [2] J. J. McAuley, T. S. Caetano, and A. J. Smola. Robust near-isometric matching via structured learning of graph- ical models. NIPS, 2008. [3] T. Cour, P. Srinivasan, and J. Shi. Balanced graph matching. In NIPS, 2006. [4] I. Tsochantaridis, T. Hofmann, T. Joachims, and Y. Altun. Support vector machine learning for interdependent and structured output spaces. In ICML, 2004. Weight Vectors weight (relative) CMU ‘house’ weights (separation of 90 frames): weight (relative) Pose-estimation data (‘volvo’; change in azimuth of 30 degrees): h (isomorphic) d (isometric) h (homeomorphic) similar angles occlusion cost similar triangles weight (relative) CMU ‘hotel’ weights (separation of 90 frames): first-order features (shape-context) We learn a different model for each dataset. The weight vectors we learn demonstrate the varying degrees of importance of isometry, isomorphism, and homeomorphism in different applications.

Upload: others

Post on 24-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Pose-estimation data (‘volvo’; change in azimuth of 30 ...jmcauley/pdfs/poster_cvpr10.pdflinear assignment quadratic assignment balanced graph-matching isometric matching unied

UnifiedGraphMatching inEuclideanSpacesJulian McAuley, Teófilo de Campos, Tibério Caetano

[email protected] [email protected] [email protected]

AbstractIn many applications of graph matching, one is in-terested in finding correspondences that are iso-morphic (i.e., the topology is preserved), as wellas isometric (i.e., distances are preserved). Whilethe subgraph isomorphism problem is known tobe NP-complete, the subgraph isometry problemis polynomial [1]. We show that [1] can be adaptedto find subgraphs that are simultaneously both iso-morphic and isometric in polynomial time. Fur-thermore, we use structured learning to determinethe extent to which different types of transforma-tions are present in our model.

Results

0 10 20 30 40 50 60 70 80 90separation between frames

0.0

0.1

0.2

0.3

0.4

∆(g,g

),af

terl

earn

ing

CMU ‘house’ data (111 frames)

linear assignmentquadratic assignmentbalanced graph-matchingisometric matchingunified matching

10−3 10−2 10−1 100

wall time (seconds)

0.00

0.05

0.10

0.15

0.20

0.25

0.30

∆(g,g

),af

terl

earn

ing

CMU ‘house’ timing (separation of 90 frames)

linear assignment

quadratic assignment

balanced graph-matching

isometric matching

unified matching

0 20 40 60 80 100separation between frames

0.0

0.1

0.2

0.3

0.4

0.5

∆(g,g

),af

terl

earn

ing

Silhouette data (200 frames)

linear assignmentquadratic assignmentbalanced graph-matchingisometric matchingunified matching

0 10 20 30 40 50 60 70 80 90separation between frames

0.0

0.1

0.2

0.3

0.4

∆(g,g

),af

terl

earn

ing

CMU ‘hotel’ data (101 frames)

linear assignmentquadratic assignmentbalanced graph-matchingisometric matchingunified matching

0◦ 5◦ 10◦ 15◦ 20◦ 25◦ 30◦ 35◦ 40◦ 45◦

Change in rotation

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

∆(g,g

),af

terl

earn

ing

Pose data (house, 70 frames)

linear assignmentquadratic assignmentisometric matchingunified matching

0◦ 5◦ 10◦ 15◦ 20◦ 25◦ 30◦

Change in azimuth

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

∆(g,g

),af

terl

earn

ing

Pose data (volvo, 42 frames)

linear assignmentquadratic assignmentisometric matchingunified matching

The performance of our method compared to models from [2] and [3]. The im-ages at right compare our matching results to those from [2]; blue dots denotecorrespondences for which only our method was correct; red dots denote cor-respondences for which only our method was incorrect; gray dots denote thatboth methods were incorrect. Running times are shown at top-right.

Our Graphical Model

1

2

3

4

5

6

k-3

k-2

k-1

k

M6

1

2

3

5

4

1

2

3

4

5

6

1

3

4

(a) (b) (c)The graphical model (a) from [2] can be used to search for isometric instancesof the graph (b). However, it cannot identify isomorphic (or homeomorphic)instances, as it does not capture all of the topological constraints in (b). Byreplicating some of its nodes in (c), we are able to capture the missing topolog-ical constraints. The resulting model provably identifies the correct solutionsubject to zero noise.

Model ParametrizationWe use the structured learning approach of [4] to determine the importance of first-order features (such as Shape-Contexts and SIFT),second-order features (such as topological constraints and distances), and third-order features. Our graph-matching objective, map-ping the points in V to those in V ′ is defined as:

g = argminf :V→V ′

∑p1∈G]

⟨Φ1(p1, f(p1))︸ ︷︷ ︸

node features

, θnodes

⟩+

∑(p1,p2)∈G]

⟨Φ2(p1, p2, f(p1), f(p2))︸ ︷︷ ︸

edge features

, θedges

⟩+

∑(p1,p2,p3)∈G]

⟨Φ3(p1, p2, p3, f(p1), f(p2), f(p3))︸ ︷︷ ︸

triangle features

, θtri

Our approach is fully-supervised, i.e., we learn Θ = (θnodes; θedges; θtri) from manually labeled correspondences provided by the user.

Graph Isometry and Isomorphism

(a) (b) (c) (d)Isometry: b ⊆ a, b ⊆ cIsomorphism: b ⊆ d, c ⊆ a, d ⊆ bHomeomorphism: b ⊆ a, b ⊆ d, c ⊆ a, d ⊆ a, d ⊆ b

bibliography[1] T. S. Caetano and J. J. McAuley. Faster graphical models for

point-pattern matching. Spatial Vision, 2009.

[2] J. J. McAuley, T. S. Caetano, and A. J. Smola. Robustnear-isometric matching via structured learning of graph-ical models. NIPS, 2008.

[3] T. Cour, P. Srinivasan, and J. Shi. Balanced graph matching.In NIPS, 2006.

[4] I. Tsochantaridis, T. Hofmann, T. Joachims, and Y. Altun.Support vector machine learning for interdependent andstructured output spaces. In ICML, 2004.

Weight Vectors

wei

ght(

rela

tive)

CMU ‘house’ weights (separation of 90 frames):

wei

ght(

rela

tive)

Pose-estimation data (‘volvo’; change in azimuth of 30 degrees):

h(is

omor

phic

)d

(isom

etric

)h

(hom

eom

orph

ic)

sim

ilara

ngle

soc

clus

ion

cost

sim

ilart

riang

les

wei

ght(

rela

tive)

CMU ‘hotel’ weights (separation of 90 frames):

︸ ︷︷ ︸first-order features (shape-context)

We learn a different model for each dataset. The weight vectors we learndemonstrate the varying degrees of importance of isometry, isomorphism, andhomeomorphism in different applications.

1