Docsity

Dimensionality Reduction - Lecture Slides | CIS 5930, Study Guides, Projects, Research of Computer Science

Partial preview of the text

Download Dimensionality Reduction - Lecture Slides | CIS 5930 and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

Dimensionality Reduction

Multimedia DBs

 Many multimedia applications require efficient

indexing in high-dimensions (time-series,

images and videos, etc)

 Answering similarity queries in high-dimensions

is a difficult problem due to “curse of

dimensionality”

 A solution is to use Dimensionality reduction

Dimensionality Reduction

 The main idea: reduce the dimensionality of the space.  Project the d-dimensional points in a k-dimensional space so that:  k << d  distances are preserved as well as possible

 Solve the problem in low dimensions

Multi-Dimensional Scaling

 Map the items in a k-dimensional space trying to minimize the stress

 Steepest Descent algorithm:  Start with an assignment  Minimize stress by moving points  But the running time is O(N^2 ) and O(N) to add a new item

, | | | |

( ˆ )

,

2

,

2 ij j i ij j i i j ij

i j ij ij d o o and d o o d

d d stress  

    

  

GEMINI

 Using the contractive property (lower

bounding lemma) we can show that we can

use the index in the lower dimensional space

to retrieve the exact answer for e-range and

NN query.

 GEMINI framework

PCA

 Intuition: find the axis that shows the greatest variation, and project all points into this axis

f

e2^ e

f

SVD Cont’d

 Advantages:  Optimal dimensionality reduction (for linear projections)

 Disadvantages:  Computationally hard. … but can be improved with random sampling  Sensitive to outliers and non-linearities

SVD Extensions

 On-line approximation algorithm  [Ravi Kanth et al, 1998]  Local dimensionality reduction:  Cluster the dataset, solve for each cluster  [Chakrabarti and Mehrotra, 2000], [Thomasian et al]

Selecting the Pivot Points

The pivot points should lie

along the principal axes,

and hence should be far

apart.

 Select any point x 0.

 Let x 1 be the furthest from x 0.

 Let x 2 be the furthest from x 1.

 Return (x 1 , x 2 ).

x 0

x 2

x 1

Pseudo-Projections

Given pivots (xa , xb ), for any third

point y, we use the law of

cosines to determine the relation

of y along xaxb.

The pseudo-projection for y is

This is first coordinate.

xa

xb

y

cy

da,y

db,y

da,b

d (^) by^2  d (^) ay^2  d (^) ab^2  2 c dy ab

  

2 2 2

2

ay ab by y ab

d d d c d

Example

  • O5
  • O4
  • O3
  • O2
  • O1
    • O1 O2 O3 O4 O - ~
      • ~

Example

 Pivot Objects: O1 and O

 X1: O1:0, O2:0.005, O3:0.005, O4:100, O5:

 For the second iteration pivots are: O2 and O

Results

recipes

bb reports

FastMap Extensions

 If the original space is not a Euclidean space,

then we may have a problem:

The projected distance may be a complex

number!

 A solution to that problem is to define:

di(a,b) = sign(di(a,b)) (| di(a,b) |^2 )1/

where, di(a,b) = di-1(a,b)^2 – (xia-xbi)^2