Lecture 26: MDS / Canonical Forms COMPSCI/MATH 290-04 Chris Tralie, - - PowerPoint PPT Presentation

lecture 26 mds canonical forms
SMART_READER_LITE
LIVE PREVIEW

Lecture 26: MDS / Canonical Forms COMPSCI/MATH 290-04 Chris Tralie, - - PowerPoint PPT Presentation

Lecture 26: MDS / Canonical Forms COMPSCI/MATH 290-04 Chris Tralie, Duke University 4/19/2016 COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms Announcements Group Assignment 3 Final Deadline Tuesday 4/26 Guest Lecture Thursday


slide-1
SLIDE 1

Lecture 26: MDS / Canonical Forms

COMPSCI/MATH 290-04

Chris Tralie, Duke University

4/19/2016

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-2
SLIDE 2

Announcements

⊲ Group Assignment 3 Final Deadline Tuesday 4/26 ⊲ Guest Lecture Thursday ⊲ No office hours Thursday

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-3
SLIDE 3

Spin Images

Why did they all look so boring and unlike the objects in question?

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-4
SLIDE 4

Spin Images

I made a mistake on the assignment! First principal axis is vertical axis in image

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-5
SLIDE 5

Table of Contents

◮ Multidimensional Scaling ⊲ Canonical Forms

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-6
SLIDE 6

Academic Majors Distances: Your Choices

Multidimensional Scaling down to R2

  • 0.3
  • 0.2
  • 0.1

0.1 0.2 0.3 0.4

  • 0.2
  • 0.1

0.1 0.2 0.3 Art History English Math CS ECE Philosophy

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-7
SLIDE 7

Academic Majors Distances: Chris’s Choices

Multidimensional Scaling down to R2

  • 0.5
  • 0.4
  • 0.3
  • 0.2
  • 0.1

0.1 0.2 0.3 0.4

  • 0.4
  • 0.3
  • 0.2
  • 0.1

0.1 0.2 0.3 Art History English Math CS ECE Philosophy

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-8
SLIDE 8

Multidimensional Scaling

⊲ Given an N × N symmetric discrete similarity matrix D (i.e. Dij = Dji) ⊲ Given a Euclidean dimension K Find a point cloud X ∈ RN×K so that Dij ≈

  • K
  • k=1

(X[i, k] − X[j, k])2

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-9
SLIDE 9

Multidimensional Scaling

⊲ Given an N × N symmetric discrete similarity matrix D (i.e. Dij = Dji) ⊲ Given a Euclidean dimension K Find a point cloud X ∈ RN×K so that Dij ≈

  • K
  • k=1

(X[i, k] − X[j, k])2 In other words, find a point cloud in Euclidean K-space that best approximates the distances

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-10
SLIDE 10

MDS: Euclidean Dimension Reduction

Dij ≈

  • K
  • k=1

(X[i, k] − X[j, k])2 What if Dij comes from a Euclidena space of dimension d > k? Can we solve this using something else we learned in the course?

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-11
SLIDE 11

MDS: Euclidean Dimension Reduction

Dij ≈

  • K
  • k=1

(X[i, k] − X[j, k])2 What if Dij comes from a Euclidena space of dimension d > k? Can we solve this using something else we learned in the course? This is equivalent to PCA!! If we let k = d, then we can represent distances exactly

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-12
SLIDE 12

MDS: Non-Euclidean Space Reduction

Can we always find a point cloud that satisfies a given D by making k arbitrarily high?

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-13
SLIDE 13

MDS: Non-Euclidean Space Reduction

Can we always find a point cloud that satisfies a given D by making k arbitrarily high? Assume sphere of radius 2/π with points in the following configuration:

1 2 3 4

v1 v2 v3 v4 v1 v2 v3 v4

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-14
SLIDE 14

MDS: Non-Euclidean Space Reduction

Can we always find a point cloud that satisfies a given D by making k arbitrarily high? Assume sphere of radius 2/π with points in the following configuration:

1 2 3 4

v1 v2 v3 v4 v1 2 1 1 v2 2 1 1 v3 1 1 1 v4 1 1 1

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-15
SLIDE 15

MDS: Non-Euclidean Space Reduction

Assume sphere of radius 2/π with points in the following configuration:

1 2 3 4

v1 v2 v3 v4 v1 2 1 1 v2 2 1 1 v3 1 1 1 v4 1 1 1

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-16
SLIDE 16

MDS: Non-Euclidean Space Reduction

Assume sphere of radius 2/π with points in the following configuration:

1 2 3 4

v1 v2 v3 v4 v1 2 1 1 v2 2 1 1 v3 1 1 1 v4 1 1 1

v1 v3 v2

1 1 2

v1, v3, v2 along a line

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-17
SLIDE 17

MDS: Non-Euclidean Space Reduction

Assume sphere of radius 2/π with points in the following configuration:

1 2 3 4

v1 v2 v3 v4 v1 2 1 1 v2 2 1 1 v3 1 1 1 v4 1 1 1

v1 v3 v2

1 1 2

v1, v3, v2 along a line

v1 v4 v2

1 1 2

v1, v4, v2 also along line!

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-18
SLIDE 18

MDS: Non-Euclidean Space Reduction

v1 v3 v2

1 1 2

v1, v3, v2 along a line

v1 v4 v2

1 1 2

v1, v4, v2 also along line! This implies that v4 and v3 must collapse to the same point in any Euclidean space. ⊲ In other words, distances along the sphere cannot be perfectly realized using a Euclidean space of any finite dimension!

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-19
SLIDE 19

MDS: Non-Euclidean Space Reduction

v1 v3 v2

1 1 2

v1, v3, v2 along a line

v1 v4 v2

1 1 2

v1, v4, v2 also along line! This implies that v4 and v3 must collapse to the same point in any Euclidean space. ⊲ In other words, distances along the sphere cannot be perfectly realized using a Euclidean space of any finite dimension! ⊲ (But let’s do our best and see what we come up with)

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-20
SLIDE 20

Table of Contents

◮ Multidimensional Scaling ⊲ Canonical Forms

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-21
SLIDE 21

Nonrigid Shape Alignment

How do I align these two camels??

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-22
SLIDE 22

Geodesic Distances

Geodesic distances are invariant to isometries (aka bending without stretching)

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-23
SLIDE 23

Geodesic Distances

Geodesic distances are invariant to isometries (aka bending without stretching) What if we try to apply MDS to the distance matrix we get from geodesic distances?

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-24
SLIDE 24

Face Example

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-25
SLIDE 25

Face Example

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-26
SLIDE 26

Face Example

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-27
SLIDE 27

Face Example

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-28
SLIDE 28

More Examples

Bronstein

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms

slide-29
SLIDE 29

Lots More Examples

Elad Kimmel 2001: “Bending Invariant Representations for Surfaces”

COMPSCI/MATH 290-04 Lecture 26: MDS / Canonical Forms