Sparse similarity-preserving hashing
Jonathan Masci, Alex M. Bronstein, Michael M. Bronstein, Pablo Sprechmann, Guillermo Sapiro
The Swiss AI Lab. IDSIA University of Lugano, Switzerland Tel Aviv University Duke University ICLR 2014
1 / 30
Sparse similarity-preserving hashing Jonathan Masci , Alex M. - - PowerPoint PPT Presentation
Sparse similarity-preserving hashing Jonathan Masci , Alex M. Bronstein, Michael M. Bronstein, Pablo Sprechmann, Guillermo Sapiro The Swiss AI Lab. IDSIA University of Lugano, Switzerland Tel Aviv University Duke University ICLR 2014 1 / 30
1 / 30
2 / 30
sX=1 sX=0
3 / 30
1101 1100 1001 1011 0000 1111
r=1 sX=1 sX=0
4 / 30
1101 1100 1001 1011 0000 1111
r=1 sX=1 sX=0
5 / 30
1101 1100 1001 1011 0000 1111
r=1 sX=1 sX=0
6 / 30
50 100 150 200 250 300 −4 −3 −2 −1 1
Code length m Speed (sec / query)
Radius = 4 Brute force Radius = 1 Radius = 2 Radius = 3
50 100 150 200 250 300 0.5 1 1.5 2
Code length m mean # neighbors per query
Radius = 1 Radius = 2 Radius = 3 Radius = 4 10 10 10 10 10 10 10 10 10 10 10
7 / 30
50 100 150 200 250 300 −4 −3 −2 −1 1
Code length m Speed (sec / query)
Radius = 4 Brute force Radius = 1 Radius = 2 Radius = 3
50 100 150 200 250 300 0.5 1 1.5 2
Code length m mean # neighbors per query
Radius = 1 Radius = 2 Radius = 3 Radius = 4 10 10 10 10 10 10 10 10 10 10 10
8 / 30
9 / 30
s=1 s=0
10 / 30
Features space (Rn, L2) s=1 s=0
W x S bin zin bout zout bin zin bout · · · · · · τ
+τ
= σ (bin) − bout= bin + S z out
τ
z out zin ( ) = σ (bin) − bout= bin + S z out
τ
z out zin ( ) ξ(x) στ
tanh ISTA Network Binarizer
Hashing: Masci, Migliore, Bronstein, Schmidhuber 2011; Siamese: Bromley et al. 1993; Hadsell et al. 2006; ISTA net: Gregor et al. 2010, Sprechmann et al. 2012 11 / 30
12 / 30
−3
−2
−1
−4
−3
−2
−1
Recall Precision
13 / 30
−3
−2
−1
−4
−3
−2
−1
Recall Precision
14 / 30
−3
−2
−1
−4
−3
−2
−1
Recall Precision
15 / 30
Hamming Radius Recall
−8
−6
−4
−2
16 / 30
Hamming Radius Recall
−8
−6
−4
−2
17 / 30
10
−6
10
−4
10
−2
10 10
−3
10
−2
10
−1
10 10
−1
10 10
1
Recall Precision Time
18 / 30
19 / 30
20 / 30
21 / 30
1101 1001 1111
notredame paris NYC coliseum rome france italy NYC rome coliseum notredame paris
sX=1 sX=0 sY=1 sY=0 sXY=0 sXY=1
22 / 30
1101 1001 1111
notredame paris NYC coliseum rome france italy NYC rome coliseum notredame paris
sX=1 sX=0 sY=1 sY=0 sXY=0 sXY=1
23 / 30
1101 1001 1111
notredame paris NYC coliseum rome france italy NYC rome coliseum notredame paris
sX=1 sX=0 sY=1 sY=0 sXY=0 sXY=1
24 / 30
1101 1001 1111
notredame paris NYC coliseum rome france italy NYC rome coliseum notredame paris
sX=1 sX=0 sY=1 sY=0 sXY=0 sXY=1
25 / 30
26 / 30
27 / 30
nature, sky, water, landscape, sunset, light, white, trees, color, reflection, black, animal, tree, sun, orange, winter, snow, beautiful, river, wildlife, photography, lake, bird, dark, forest, birds, ice, reflections, wood, flying, evening,
nature, sky, water, clouds, green, explore, sunset, people, sea, art, beach, ocean, asia, sand, rocks, airplane, aircraft, boats, flying, plane, rural, waves, flight, aviation, breathtaking, bush, thailand, vivid, twilight, glow, cliff, landscapes, airplanes sunset, tree, orange, old, abandoned, car, autumn, road, forest, fall, truck, rust, colourful, woods, antique, vehicle, halloween clouds, sunset, sea, beach, sun, ocean, summer, sand, rocks, evening, holiday, peace, happy, dunes Query CM-SSH: MM-SparseHash: england, italy, island, ship, italia, hawaii, interesting, cow, islands, elephants, maui nature, sky, blue, water, clouds, red, sea, yellow, beach, california, winter, ocean, building, old, sand, sunrise, spain, cloud, wall, coast, sepia, stone, eaves, mist, perspective, fence, school, fly, oregon, jump, monument, perfect, surf, alley 28 / 30
29 / 30
30 / 30