manifold learning with application to object recognition

33
Advanced Perception David R. Thompson manifold learning with applications to object recognition

Upload: zukun

Post on 11-May-2015

1.094 views

Category:

Education


2 download

TRANSCRIPT

Page 1: Manifold learning with application to object recognition

Advanced Perception David R. Thompson

manifold learning with applications to object recognition

Page 2: Manifold learning with application to object recognition

1. why learn manifolds?

2. Isomap

3. LLE

4. applications

agenda

Page 3: Manifold learning with application to object recognition

types of manifolds

exhaust manifold

low-D surface embedded in high-D space

Sir Walter Synnot Manifold

1849-1928

Page 4: Manifold learning with application to object recognition

Find a low-D basis for describing high-D data. X → X' S.T. dim(X') << dim(X)

uncovers the intrinsic dimensionality (invertible)

manifold learning

Page 5: Manifold learning with application to object recognition

plenoptic function / motion / occlusion

manifolds in vision

Page 6: Manifold learning with application to object recognition

appearance variation

manifolds in vision

images from hormel corp.

Page 7: Manifold learning with application to object recognition

deformation

manifolds in vision

images from www.golfswingphotos.com

Page 8: Manifold learning with application to object recognition

1. data compression

2. “curse of dimensionality”

3. de-noising

4. visualization

5. reasonable distance metrics *

why do manifold learning?

Page 9: Manifold learning with application to object recognition

reasonable distance metrics

Page 10: Manifold learning with application to object recognition

reasonable distance metrics

Page 11: Manifold learning with application to object recognition

reasonable distance metrics

?

Page 12: Manifold learning with application to object recognition

reasonable distance metrics

?

linear interpolation

Page 13: Manifold learning with application to object recognition

reasonable distance metrics

?

manifold interpolation

Page 14: Manifold learning with application to object recognition

1. why learn manifolds?

2. Isomap

3. LLE

4. applications

agenda

Page 15: Manifold learning with application to object recognition

Isomap For n data points, and a distance matrix D,

Dij =

...we can construct a m-dimensional space to preserve inter-point distances by using the top eigenvectors of D scaled by their eigenvalues.

yi= [ λ

1v

1i , λ

2v

2i , ... , λ

mv

mi ]

j

i

Page 16: Manifold learning with application to object recognition

Infer a distance matrix using distances along the manifold.

Isomap

Page 17: Manifold learning with application to object recognition

Isomap 1. Build a sparse graph with K-nearest neighbors

Dg =

(distance matrix issparse)

Page 18: Manifold learning with application to object recognition

Isomap 2. Infer other interpoint distances by finding shortest paths on the graph (Dijkstra's algorithm).

Dg =

Page 19: Manifold learning with application to object recognition

Isomap 3. Build a low-D embedded space to best preserve the complete distance matrix.

Error function:

Solution – set points Y to top eigenvectors of Dg

L2 norm

inner product distances in new coordinate system

inner product distances in graph

Page 20: Manifold learning with application to object recognition

Isomap shortest-distance on a graph is easy to compute

Page 21: Manifold learning with application to object recognition

Isomap results: hands

Page 22: Manifold learning with application to object recognition

- preserves global structure

- few free parameters

- sensitive to noise, noise edges

- computationally expensive (dense matrix eigen-reduction)

Isomap: pro and con

Page 23: Manifold learning with application to object recognition

Find a mapping to preserve local linear relationships between neighbors

Locally Linear Embedding

Page 24: Manifold learning with application to object recognition

Locally Linear Embedding

Page 25: Manifold learning with application to object recognition

1. Find weight matrix W of linear coefficients:

Enforce sum-to-one constraint with the Lagrange Multiplier:

LLE: Two key steps

Page 26: Manifold learning with application to object recognition

2. Find projected vectors Y to minimize reconstruction error

must solve for whole dataset simultaneously

LLE: Two key steps

Page 27: Manifold learning with application to object recognition

We add constraints to prevent multiple / degenerate solutions:

LLE: Two key steps

Page 28: Manifold learning with application to object recognition

cost function becomes:

the optimal embedded coordinates are given by bottom m+1 eigenvectors of the matrix M

LLE: Two key steps

Page 29: Manifold learning with application to object recognition

LLE: Result preserves local topology

PCA

LLE

Page 30: Manifold learning with application to object recognition

- no local minima, one free parameter - incremental & fast

- simple linear algebra operations

- can distort global structure

LLE: pro and con

Page 31: Manifold learning with application to object recognition

● Laplacian Eigenmaps (Belkin 2001)● spectral method similar to LLE● better preserves clusters in data

● Kernel PCA

● Kohonen Self-Organizing Map (Kohonen, 1990)

● iterative algorithm fits a network of pre-defined connectivity

● simple, fast for on-line learning● local minima● lacking theoretical justification

Others you may encounter

Page 32: Manifold learning with application to object recognition

the “curvier” your manifold, the denser your data must be

No Free Lunch

bad OK!

Page 33: Manifold learning with application to object recognition

Manifold learning is a key tool in your object recognition toolbox

A formal framework for many different ad-hoc object recognition techniques

conclusions