Title: Approximate Nearest Subspace Search with applications to pattern recognition
1Approximate Nearest Subspace Searchwith
applications to pattern recognition
- Ronen Basri Tal Hassner Lihi Zelnik-Manor
- Weizmann Institute
Caltech
2Subspaces in Computer Vision
Zelnik-Manor Irani, PAMI06
3Nearest Subspace Search
Query
Which is the Nearest Subspace?
4Sequential Search
Database
n subspaces
d dimensions
k subspace dimension
Sequential search O(ndk)
Too slow!!
Is there a sublinear solution?
5A Related ProblemNearest Neighbor Search
Database
n points
d dimensions
Sequential search O(nd)
There is a sublinear solution!
6Approximate NN
- Tree search (KD-trees)
- Locality Sensitive Hashing
r
(1?)r
Query Logarithmic Preprocessing
O(dn)
Fast!!
7Is it possible to speed-up Nearest Subspace
Search?
Existing point-based methods cannot be applied
Tree search
LSH
8Our Suggested Approach
- Reduction to points
- Works for both
- linear and affine spaces
Run time
Database size
9Problem Definition
Find Mapping
Independent mappings
Monotonic in distance
A linear function of original distance
Apply standard point ANN to u,v
10Finding a Reduction
Feeling lucky?
We are lucky !!
Constants?
Depends on query
11Basic Reduction
Want minimize ?/?
12Geometry of Basic Reduction
13Improving the Reduction
14Final Reduction
constants
15Can We Do Better?
If ?0
Trivial mapping
Additive Constant is Inherent
16Final Mapping Geometry
17ANS Complexities
Linear in n
Preprocessing O(nkd2)
Log in n
Query O(d2)TANN(n,d2)
18Dimensionality May be Large
- Embedding in d2
- Might need to use small e
- Current solution
- Use random projections (use Johnson-Lindenstrauss
Lemma) - Repeat several times and select the nearest
19Synthetic Data
Varying dimension
Varying database size
Sequential
Sequential
Our
Our
Run time
Run time
dimension
Database size
n5000, k4
d60, k4
20Face Recognition (YaleB)
Database
64 illuminations k9 subspaces
21Face Recognition Result
Wrong Match
Wrong Person
22Retiling with Patches
Wanted
Patch database
Query
Approx Image
23Retiling with Subspaces
Wanted
Subspace database
Query
Approx Image
24Patches ANN 0.6sec
25Subspaces ANS 1.2 sec
26Patches ANN 0.6sec
27Subspaces ANS 1.2 sec
28Summary
- Fast, approximate nearest subspace search
- Reduction to point ANN
- Useful applications in computer vision
- Disadvantages
- Embedding in d2
- Additive constant ?
- Other methods?
- Additional applications?
- A lot more to be done..
29THANK YOU