SlideShare a Scribd company logo
1 of 47
Download to read offline
Graph Regularised Hashing
Sean Moran and Victor Lavrenko
Institute of Language, Cognition and Computation
School of Informatics
University of Edinburgh
ECIR’15 Vienna, March 2015
Graph Regularised Hashing (GRH)
Overview
GRH
Evaluation
Conclusion
Graph Regularised Hashing (GRH)
Overview
GRH
Evaluation
Conclusion
Locality Sensitive Hashing
H DATABASE
Locality Sensitive Hashing
110101
010111
H
010101
111101
.....
DATABASE
HASH TABLE
Locality Sensitive Hashing
110101
010111
H
H
QUERY
DATABASE
HASH TABLE
010101
111101
.....
Locality Sensitive Hashing
110101
010111
H
H
COMPUTE
SIMILARITY
NEAREST
NEIGHBOURS
QUERY
010101
111101
.....
H DATABASE
QUERY
HASH TABLE
Locality Sensitive Hashing
110101
010111
111101
H
H
Content Based IR
Image: Imense Ltd
Image: Doersch et al.
Image: Xu et al.
Location Recognition
Near duplicate detection
010101
111101
.....
H
QUERY
DATABASE
QUERY
NEAREST
NEIGHBOURS
HASH TABLE
COMPUTE
SIMILARITY
Previous work
Data-independent: Locality Sensitive Hashing (LSH) [Indyk.
98]
Data-dependent (unsupervised): Anchor Graph Hashing
(AGH) [Liu et al. ’11], Spectral Hashing (SH) [Weiss ’08]
Data-dependent (supervised): Self Taught Hashing (STH)
[Zhang ’10], Supervised Hashing with Kernels (KSH) [Liu et
al. ’12], ITQ + CCA [Gong and Lazebnik ’11], Binary
Reconstructive Embedding (BRE) [Kulis and Darrell. ’09]
Previous work
Method Data-Dependent Supervised Scalable Effectiveness
LSH Low
SH Low
STH Medium
BRE Medium
ITQ+CCA Medium
KSH High
GRH High
Graph Regularised Hashing (GRH)
Overview
GRH
Evaluation
Conclusion
Graph Regularised Hashing (GRH)
Two step iterative hashing model:
Step A: Graph Regularisation
Lm ← sgn α SD−1
Lm−1 + (1−α)L0
Step B: Data-Space Partitioning
for k = 1. . .K : min ||hk ||2
+ C
N
i=1 ξik
s.t. Lik (hk xi + bk ) ≥ 1 − ξik for i = 1. . .N
Repeat for a set number of iterations (M)
Graph Regularised Hashing (GRH)
Step A: Graph Regularisation [Diaz ’07][1]
Lm ← sgn α SD−1
Lm−1 + (1−α)L0
S: Affinity (adjacency) matrix
D: Diagonal degree matrix
L: Binary bits at specified iteration
α: Interpolation parameter (0 ≤ α ≤ 1)
[1] Diaz, F.: Regularizing query-based retrieval scores. In: IR
(2007)
Graph Regularised Hashing (GRH)
Step A: Graph Regularisation [Diaz ’07]
Lm ← sgn α SD−1
Lm−1 + (1−α)L0
S: Affinity (adjacency) matrix
D: Diagonal degree matrix
L: Binary bits at specified iteration
α: Interpolation parameter (0 ≤ α ≤ 1)
Graph Regularised Hashing (GRH)
Step A: Graph Regularisation [Diaz ’07]
Lm ← sgn α SD−1
Lm−1 + (1−α)L0
S: Affinity (adjacency) matrix
D: Diagonal degree matrix
L: Binary bits at specified iteration
α: Interpolation parameter (0 ≤ α ≤ 1)
Graph Regularised Hashing (GRH)
Step A: Graph Regularisation [Diaz ’07]
Lm ← sgn α SD−1
Lm−1 + (1−α)L0
S: Affinity (adjacency) matrix
D: Diagonal degree matrix
L: Binary bits at specified iteration
α: Interpolation parameter (0 ≤ α ≤ 1)
Graph Regularised Hashing (GRH)
Step A: Graph Regularisation [Diaz ’07]
Lm ← sgn α SD−1
Lm−1 + (1−α)L0
S: Affinity (adjacency) matrix
D: Diagonal degree matrix
L: Binary bits at specified iteration
α: Interpolation parameter (0 ≤ α ≤ 1)
Graph Regularised Hashing (GRH)
-1 1 1
-1 -1 -1
ba
c
1 1 1


S a b c
a 1 1 0
b 1 1 1
c 0 1 1




D−1
a b c
a 0.5 0 0
b 0 0.33 0
c 0 0 0.5




L0 b1 b2 b3
a −1 −1 −1
b −1 1 1
c 1 1 1


Graph Regularised Hashing (GRH)
-1 1 1
-1 -1 -1
ba
c
1 1 1
L1 = sgn





−1 0 0
−0.33 0.33 0.33
0 1 1





Graph Regularised Hashing (GRH)
-1 1 1
-1 1 1
ba
c
1 1 1
L1 =


b1 b2 b3
a −1 1 1
b −1 1 1
c 1 1 1


Graph Regularised Hashing (GRH)
Step B: Data-Space Partitioning
for k = 1. . .K : min ||hk||2 + C N
i=1 ξik
s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N
hk: Hyperplane k
bk: bias of hyperplane k
xi : data-point i
Lik: bit k of data-point i
ξik: slack variable ij
K: # bits
N: # data-points
Graph Regularised Hashing (GRH)
Step B: Data-Space Partitioning
for k = 1. . .K : min ||hk||2 + C N
i=1 ξik
s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N
hk: Hyperplane k
bk: bias of hyperplane k
xi : data-point i
Lik: bit k of data-point i
ξik: slack variable ij
K: # bits
N: # data-points
Graph Regularised Hashing (GRH)
Step B: Data-Space Partitioning
for k = 1. . .K : min ||hk||2 + C N
i=1 ξik
s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N
hk: Hyperplane k
bk: bias of hyperplane k
xi : data-point i
Lik: bit k of data-point i
ξik: slack variable ij
K: # bits
N: # data-points
Graph Regularised Hashing (GRH)
Step B: Data-Space Partitioning
for k = 1. . .K : min ||hk||2 + C N
i=1 ξik
s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N
hk: Hyperplane k
bk: bias of hyperplane k
xi : data-point i
Lik: bit k of data-point i
ξik: slack variable ij
K: # bits
N: # data-points
Graph Regularised Hashing (GRH)
Step B: Data-Space Partitioning
for k = 1. . .K : min ||hk||2 + C N
i=1 ξik
s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N
hk: Hyperplane k
bk: bias of hyperplane k
xi : data-point i
Lik: bit k of data-point i
ξik: slack variable ij
K: # bits
N: # data-points
Graph Regularised Hashing (GRH)
ba
c
e
f
g
h
d
Graph Regularised Hashing (GRH)
ba
c
e
f
g
h
d
Graph Regularised Hashing (GRH)
-1 1 1
1 1 1
-1 -1 -1
1 1 -1
ba
c
e
f
g
h
d
-1 1 1
1 -1 -1
1 -1 -1
1 1 1
Graph Regularised Hashing (GRH)
1 1 1
-1 1 1
-1 -1 -1
1 1 -1
ba
c
e
f
g
h
d
-1 1 1
1 1 1
1 -1 -1
1 -1 -1
Graph Regularised Hashing (GRH)
-1 1 1
-1 -1 -1
1 1 -1
ba
c
e
f
g
h
d
-1 1 1
-1 1 1
1 1 1
First bit
flipped
1 1 -1
Second bit
flipped
1 -1 -1
Graph Regularised Hashing (GRH)
-1 1 1
1 1 1
-1 -1 -1
1 1 -1
ba
c
e
f
g
h
d
-1 1 1
h1 . x−b1=0
h1
Negative
(-1)
half space
Positive
(+1)
half space
1 1 -1
1 -1 -1
-1 1 1
Graph Regularised Hashing (GRH)
-1 1 1
1 1 1
-1 -1 -1
1 1 -11 -1 -1
ba
c
e
f
g
h
1 1 -1
d
-1 1 1
-1 1 1
h2
Positive
(+1)
half space
h2 . x−b2=0
Negative
(-1)
half space
Evaluation
Overview
GRH
Evaluation
Conclusion
Datasets/Features
Standard evaluation datasets [Liu et al. ’12], [Gong and
Lazebnik ’11]:
CIFAR-10: 60K images, GIST descriptors, 10 classes1
MNIST: 70K images, grayscale pixels, 10 classes2
NUSWIDE: 270K images, GIST descriptors, 21 classes3
True NNs: images that share at least one class in common
[Liu et al. ’12]
1
http://www.cs.toronto.edu/~kriz/cifar.html
2
http://yann.lecun.com/exdb/mnist/
3
http://lms.comp.nus.edu.sg/research/NUS-WIDE.htm
Evaluation Metrics
Hamming ranking evaluation paradigm [Liu et al. ’12], [Gong
and Lazebnik ’11]
Standard evaluation metrics [Liu et al. ’12], [Gong and
Lazebnik ’11]:
Mean average precison (mAP)
Precision at Hamming radius 2 (P@R2)
GRH vs Literature (CIFAR-10 @ 32 bits)
LSH BRE STH KSH GRH (Linear) GRH (RBF)
0.10
0.15
0.20
0.25
0.30
0.35
mAP
Linear
GRH
Non-linear
GRH
GRH vs Literature (CIFAR-10 @ 32 bits)
LSH BRE STH KSH GRH (Linear)GRH (RBF)
0.10
0.15
0.20
0.25
0.30
0.35
mAP
GRH's straightforward
objective outperforms
more complex
objectives
GRH vs Literature (CIFAR-10)
16 24 32 40 48 56 64
0.10
0.15
0.20
0.25
0.30
0.35
0.40
LSH
BRE
KSH
GRH
# Bits
mAP
GRH vs Literature (CIFAR-10)
Small amount of
supervision
required
16 24 32 40 48 56 64
0.10
0.15
0.20
0.25
0.30
0.35
0.40
LSH
BRE
KSH
GRH
# Bits
mAP
+25-30%
GRH vs. Initialisation Strategy (CIFAR-10 @ 32 bits)
GRH (Linear) GRH (RBF)
0.00
0.05
0.10
0.15
0.20
0.25
0.30 LSH
ITQ+CCA
mAP
Linear
GRH
Non-Linear
GRH
GRH vs. Initialisation Strategy (CIFAR-10 @ 32 bits)
GRH (Linear) GRH (RBF)
0.00
0.05
0.10
0.15
0.20
0.25
0.30 LSH
ITQ+CCA
mAP
Eigendecomposition
not necessary -
saves O(d^3)
GRH vs # Supervisory Data-Points (CIFAR-10)
Linear, T=1K Linear, T=2K RBF, T=1K RBF, T=2K
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
mAP
Linear
GRH
Non-linear
GRH
Linear
GRH
Non-linear
GRH
GRH vs # Supervisory Data-Points (CIFAR-10)
Linear, T=1K Linear, T=2K RBF, T=1K RBF, T=2K
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
mAP
Small amount of
supervision
required
GRH Timing (CIFAR-10 @ 32 bits)
Timings (s)
Method Train Test Total
GRH 42.68 0.613 43.29
KSH [1] 81.17 0.103 82.27
BRE [2] 231.1 0.370 231.4
[1] Liu, W.: Supervised Hashing with Kernels. In: CVPR (2012)
[2] Kulis, B.: Binary Reconstructive Embedding. In: NIPS (2009)
Conclusion
Overview
GRH
Evaluation
Conclusion
Conclusions and Future Work
Supervised hashing model that is both accurate and easily
scalable
Take-home messages:
Regularising bits over a graph is effective (and efficient) for
hashcode learning
An intermediate eigendecomposition step is not necessary
Hyperplanes (linear hypersurfaces) can achieve a very good
retrieval accuracy
Future work: extend to the cross-modal hashing scenario (e.g.
Image ↔ Text, English ↔ Spanish)
Thank you for your attention
Sean Moran
Code and datasets available at:
sean.moran@ed.ac.uk
www.seanjmoran.com

More Related Content

What's hot

Spatial Analysis with R - the Good, the Bad, and the Pretty
Spatial Analysis with R - the Good, the Bad, and the PrettySpatial Analysis with R - the Good, the Bad, and the Pretty
Spatial Analysis with R - the Good, the Bad, and the PrettyNoam Ross
 
Reducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology MappingReducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology Mappingsatrajit
 
EuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOME
EuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOMEEuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOME
EuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOMEHONGJOO LEE
 
VLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTER
VLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTERVLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTER
VLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTERVLSICS Design
 
4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...
4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...
4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...GISRUK conference
 
Visibility networks for time series
Visibility networks for time seriesVisibility networks for time series
Visibility networks for time seriesGeorgi Gospodinov
 
R programming language in spatial analysis
R programming language in spatial analysisR programming language in spatial analysis
R programming language in spatial analysisAbhiram Kanigolla
 
2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)Nicolas Pinel
 
NFM 2015 - Sum of abstract domains
NFM 2015 - Sum of abstract domainsNFM 2015 - Sum of abstract domains
NFM 2015 - Sum of abstract domainsGianluca Amato
 
Determining the k in k-means with MapReduce
Determining the k in k-means with MapReduceDetermining the k in k-means with MapReduce
Determining the k in k-means with MapReduceThibault Debatty
 
Speaker Diarization
Speaker DiarizationSpeaker Diarization
Speaker DiarizationHONGJOO LEE
 
Fine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its VariantsFine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its VariantsAkankshaAgrawal55
 
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...CRS4 Research Center in Sardinia
 
Compiling Imperative and Object-Oriented Languages - Dataflow Analysis
Compiling Imperative and Object-Oriented Languages - Dataflow AnalysisCompiling Imperative and Object-Oriented Languages - Dataflow Analysis
Compiling Imperative and Object-Oriented Languages - Dataflow AnalysisGuido Wachsmuth
 
Box-fitting algorithm presentation
Box-fitting algorithm presentationBox-fitting algorithm presentation
Box-fitting algorithm presentationRidlo Wibowo
 
Path Contraction Faster than 2^n
Path Contraction Faster than 2^nPath Contraction Faster than 2^n
Path Contraction Faster than 2^nAkankshaAgrawal55
 
2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)Nicolas Pinel
 

What's hot (20)

Spatial Analysis with R - the Good, the Bad, and the Pretty
Spatial Analysis with R - the Good, the Bad, and the PrettySpatial Analysis with R - the Good, the Bad, and the Pretty
Spatial Analysis with R - the Good, the Bad, and the Pretty
 
Reducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology MappingReducing Structural Bias in Technology Mapping
Reducing Structural Bias in Technology Mapping
 
EuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOME
EuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOMEEuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOME
EuroPython 2017 - PyData - Deep Learning your Broadband Network @ HOME
 
VLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTER
VLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTERVLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTER
VLSI IMPLEMENTATION OF AREA EFFICIENT 2-PARALLEL FIR DIGITAL FILTER
 
4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...
4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...
4A_ 3_Parallel k-means clustering using gp_us for the geocomputation of real-...
 
Netautomata1
Netautomata1Netautomata1
Netautomata1
 
Visibility networks for time series
Visibility networks for time seriesVisibility networks for time series
Visibility networks for time series
 
R programming language in spatial analysis
R programming language in spatial analysisR programming language in spatial analysis
R programming language in spatial analysis
 
2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)2007 EuRad Conference: Speech on Rough Layers (ppt)
2007 EuRad Conference: Speech on Rough Layers (ppt)
 
3.4 deterministic pda
3.4 deterministic pda3.4 deterministic pda
3.4 deterministic pda
 
NFM 2015 - Sum of abstract domains
NFM 2015 - Sum of abstract domainsNFM 2015 - Sum of abstract domains
NFM 2015 - Sum of abstract domains
 
Determining the k in k-means with MapReduce
Determining the k in k-means with MapReduceDetermining the k in k-means with MapReduce
Determining the k in k-means with MapReduce
 
Speaker Diarization
Speaker DiarizationSpeaker Diarization
Speaker Diarization
 
Fine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its VariantsFine Grained Complexity of Rainbow Coloring and its Variants
Fine Grained Complexity of Rainbow Coloring and its Variants
 
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...Real-time or full-precision CRS imaging using a cloud computing portal: multi...
Real-time or full-precision CRS imaging using a cloud computing portal: multi...
 
Compiling Imperative and Object-Oriented Languages - Dataflow Analysis
Compiling Imperative and Object-Oriented Languages - Dataflow AnalysisCompiling Imperative and Object-Oriented Languages - Dataflow Analysis
Compiling Imperative and Object-Oriented Languages - Dataflow Analysis
 
Europy17_dibernardo
Europy17_dibernardoEuropy17_dibernardo
Europy17_dibernardo
 
Box-fitting algorithm presentation
Box-fitting algorithm presentationBox-fitting algorithm presentation
Box-fitting algorithm presentation
 
Path Contraction Faster than 2^n
Path Contraction Faster than 2^nPath Contraction Faster than 2^n
Path Contraction Faster than 2^n
 
2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)2007 EuRad Conference: Speech on Rough Layers (odp)
2007 EuRad Conference: Speech on Rough Layers (odp)
 

Similar to Graph Regularised Hashing (ECIR'15 Talk)

Graph Regularised Hashing
Graph Regularised HashingGraph Regularised Hashing
Graph Regularised HashingSean Moran
 
Parallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsParallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsJonny Daenen
 
RedisConf18 - Lower Latency Graph Queries in Cypher with Redis Graph
RedisConf18 - Lower Latency Graph Queries in Cypher with Redis GraphRedisConf18 - Lower Latency Graph Queries in Cypher with Redis Graph
RedisConf18 - Lower Latency Graph Queries in Cypher with Redis GraphRedis Labs
 
Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...
Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...
Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...Hsien-Hsin Sean Lee, Ph.D.
 
PhD thesis defence slides
PhD thesis defence slidesPhD thesis defence slides
PhD thesis defence slidesSean Moran
 
superglue_slides.pdf
superglue_slides.pdfsuperglue_slides.pdf
superglue_slides.pdfXiaoguangHan3
 
Data Science Research Day (Talk)
Data Science Research Day (Talk)Data Science Research Day (Talk)
Data Science Research Day (Talk)Sean Moran
 
ENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-MeansENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-Meanstthonet
 
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Preferred Networks
 
Semi fragile watermarking
Semi fragile watermarkingSemi fragile watermarking
Semi fragile watermarkingYash Diwakar
 
Compiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone FrameworksCompiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone FrameworksEelco Visser
 
Clustering in Hilbert geometry for machine learning
Clustering in Hilbert geometry for machine learningClustering in Hilbert geometry for machine learning
Clustering in Hilbert geometry for machine learningFrank Nielsen
 
WEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptxWEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptxTaoqeerRajput
 
machine-learning-with-large-networks-of-people-and-places
machine-learning-with-large-networks-of-people-and-placesmachine-learning-with-large-networks-of-people-and-places
machine-learning-with-large-networks-of-people-and-placesTony Frame
 
study Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Imagesstudy Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large ImagesChiamin Hsu
 

Similar to Graph Regularised Hashing (ECIR'15 Talk) (20)

Graph Regularised Hashing
Graph Regularised HashingGraph Regularised Hashing
Graph Regularised Hashing
 
Cdt guest lecture_gsp
Cdt guest lecture_gspCdt guest lecture_gsp
Cdt guest lecture_gsp
 
Parallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-JoinsParallel Evaluation of Multi-Semi-Joins
Parallel Evaluation of Multi-Semi-Joins
 
RedisConf18 - Lower Latency Graph Queries in Cypher with Redis Graph
RedisConf18 - Lower Latency Graph Queries in Cypher with Redis GraphRedisConf18 - Lower Latency Graph Queries in Cypher with Redis Graph
RedisConf18 - Lower Latency Graph Queries in Cypher with Redis Graph
 
Digital logic
Digital logicDigital logic
Digital logic
 
Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...
Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...
Lec5 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Branch Pred...
 
PhD thesis defence slides
PhD thesis defence slidesPhD thesis defence slides
PhD thesis defence slides
 
superglue_slides.pdf
superglue_slides.pdfsuperglue_slides.pdf
superglue_slides.pdf
 
Data Science Research Day (Talk)
Data Science Research Day (Talk)Data Science Research Day (Talk)
Data Science Research Day (Talk)
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 
ENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-MeansENBIS 2018 presentation on Deep k-Means
ENBIS 2018 presentation on Deep k-Means
 
R Language Introduction
R Language IntroductionR Language Introduction
R Language Introduction
 
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
 
Semi fragile watermarking
Semi fragile watermarkingSemi fragile watermarking
Semi fragile watermarking
 
Compiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone FrameworksCompiler Construction | Lecture 11 | Monotone Frameworks
Compiler Construction | Lecture 11 | Monotone Frameworks
 
Clustering in Hilbert geometry for machine learning
Clustering in Hilbert geometry for machine learningClustering in Hilbert geometry for machine learning
Clustering in Hilbert geometry for machine learning
 
WEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptxWEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptx
 
machine-learning-with-large-networks-of-people-and-places
machine-learning-with-large-networks-of-people-and-placesmachine-learning-with-large-networks-of-people-and-places
machine-learning-with-large-networks-of-people-and-places
 
Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
study Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Imagesstudy Streaming Multigrid For Gradient Domain Operations On Large Images
study Streaming Multigrid For Gradient Domain Operations On Large Images
 

More from Sean Moran

Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementSean Moran
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementSean Moran
 
Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...
Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...
Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...Sean Moran
 
Regularised Cross-Modal Hashing (SIGIR'15 Poster)
Regularised Cross-Modal Hashing (SIGIR'15 Poster)Regularised Cross-Modal Hashing (SIGIR'15 Poster)
Regularised Cross-Modal Hashing (SIGIR'15 Poster)Sean Moran
 
Sparse Kernel Learning for Image Annotation
Sparse Kernel Learning for Image AnnotationSparse Kernel Learning for Image Annotation
Sparse Kernel Learning for Image AnnotationSean Moran
 
ICMR 2014 - Sparse Kernel Learning Poster
ICMR 2014 - Sparse Kernel Learning PosterICMR 2014 - Sparse Kernel Learning Poster
ICMR 2014 - Sparse Kernel Learning PosterSean Moran
 
ACL Variable Bit Quantisation Talk
ACL Variable Bit Quantisation TalkACL Variable Bit Quantisation Talk
ACL Variable Bit Quantisation TalkSean Moran
 
Neighbourhood Preserving Quantisation for LSH SIGIR Poster
Neighbourhood Preserving Quantisation for LSH SIGIR PosterNeighbourhood Preserving Quantisation for LSH SIGIR Poster
Neighbourhood Preserving Quantisation for LSH SIGIR PosterSean Moran
 

More from Sean Moran (8)

Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
 
Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...
Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...
Learning to Project and Binarise for Hashing-based Approximate Nearest Neighb...
 
Regularised Cross-Modal Hashing (SIGIR'15 Poster)
Regularised Cross-Modal Hashing (SIGIR'15 Poster)Regularised Cross-Modal Hashing (SIGIR'15 Poster)
Regularised Cross-Modal Hashing (SIGIR'15 Poster)
 
Sparse Kernel Learning for Image Annotation
Sparse Kernel Learning for Image AnnotationSparse Kernel Learning for Image Annotation
Sparse Kernel Learning for Image Annotation
 
ICMR 2014 - Sparse Kernel Learning Poster
ICMR 2014 - Sparse Kernel Learning PosterICMR 2014 - Sparse Kernel Learning Poster
ICMR 2014 - Sparse Kernel Learning Poster
 
ACL Variable Bit Quantisation Talk
ACL Variable Bit Quantisation TalkACL Variable Bit Quantisation Talk
ACL Variable Bit Quantisation Talk
 
Neighbourhood Preserving Quantisation for LSH SIGIR Poster
Neighbourhood Preserving Quantisation for LSH SIGIR PosterNeighbourhood Preserving Quantisation for LSH SIGIR Poster
Neighbourhood Preserving Quantisation for LSH SIGIR Poster
 

Recently uploaded

Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 

Recently uploaded (20)

Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 

Graph Regularised Hashing (ECIR'15 Talk)

  • 1. Graph Regularised Hashing Sean Moran and Victor Lavrenko Institute of Language, Cognition and Computation School of Informatics University of Edinburgh ECIR’15 Vienna, March 2015
  • 2. Graph Regularised Hashing (GRH) Overview GRH Evaluation Conclusion
  • 3. Graph Regularised Hashing (GRH) Overview GRH Evaluation Conclusion
  • 8. Locality Sensitive Hashing 110101 010111 111101 H H Content Based IR Image: Imense Ltd Image: Doersch et al. Image: Xu et al. Location Recognition Near duplicate detection 010101 111101 ..... H QUERY DATABASE QUERY NEAREST NEIGHBOURS HASH TABLE COMPUTE SIMILARITY
  • 9. Previous work Data-independent: Locality Sensitive Hashing (LSH) [Indyk. 98] Data-dependent (unsupervised): Anchor Graph Hashing (AGH) [Liu et al. ’11], Spectral Hashing (SH) [Weiss ’08] Data-dependent (supervised): Self Taught Hashing (STH) [Zhang ’10], Supervised Hashing with Kernels (KSH) [Liu et al. ’12], ITQ + CCA [Gong and Lazebnik ’11], Binary Reconstructive Embedding (BRE) [Kulis and Darrell. ’09]
  • 10. Previous work Method Data-Dependent Supervised Scalable Effectiveness LSH Low SH Low STH Medium BRE Medium ITQ+CCA Medium KSH High GRH High
  • 11. Graph Regularised Hashing (GRH) Overview GRH Evaluation Conclusion
  • 12. Graph Regularised Hashing (GRH) Two step iterative hashing model: Step A: Graph Regularisation Lm ← sgn α SD−1 Lm−1 + (1−α)L0 Step B: Data-Space Partitioning for k = 1. . .K : min ||hk ||2 + C N i=1 ξik s.t. Lik (hk xi + bk ) ≥ 1 − ξik for i = 1. . .N Repeat for a set number of iterations (M)
  • 13. Graph Regularised Hashing (GRH) Step A: Graph Regularisation [Diaz ’07][1] Lm ← sgn α SD−1 Lm−1 + (1−α)L0 S: Affinity (adjacency) matrix D: Diagonal degree matrix L: Binary bits at specified iteration α: Interpolation parameter (0 ≤ α ≤ 1) [1] Diaz, F.: Regularizing query-based retrieval scores. In: IR (2007)
  • 14. Graph Regularised Hashing (GRH) Step A: Graph Regularisation [Diaz ’07] Lm ← sgn α SD−1 Lm−1 + (1−α)L0 S: Affinity (adjacency) matrix D: Diagonal degree matrix L: Binary bits at specified iteration α: Interpolation parameter (0 ≤ α ≤ 1)
  • 15. Graph Regularised Hashing (GRH) Step A: Graph Regularisation [Diaz ’07] Lm ← sgn α SD−1 Lm−1 + (1−α)L0 S: Affinity (adjacency) matrix D: Diagonal degree matrix L: Binary bits at specified iteration α: Interpolation parameter (0 ≤ α ≤ 1)
  • 16. Graph Regularised Hashing (GRH) Step A: Graph Regularisation [Diaz ’07] Lm ← sgn α SD−1 Lm−1 + (1−α)L0 S: Affinity (adjacency) matrix D: Diagonal degree matrix L: Binary bits at specified iteration α: Interpolation parameter (0 ≤ α ≤ 1)
  • 17. Graph Regularised Hashing (GRH) Step A: Graph Regularisation [Diaz ’07] Lm ← sgn α SD−1 Lm−1 + (1−α)L0 S: Affinity (adjacency) matrix D: Diagonal degree matrix L: Binary bits at specified iteration α: Interpolation parameter (0 ≤ α ≤ 1)
  • 18. Graph Regularised Hashing (GRH) -1 1 1 -1 -1 -1 ba c 1 1 1   S a b c a 1 1 0 b 1 1 1 c 0 1 1     D−1 a b c a 0.5 0 0 b 0 0.33 0 c 0 0 0.5     L0 b1 b2 b3 a −1 −1 −1 b −1 1 1 c 1 1 1  
  • 19. Graph Regularised Hashing (GRH) -1 1 1 -1 -1 -1 ba c 1 1 1 L1 = sgn      −1 0 0 −0.33 0.33 0.33 0 1 1     
  • 20. Graph Regularised Hashing (GRH) -1 1 1 -1 1 1 ba c 1 1 1 L1 =   b1 b2 b3 a −1 1 1 b −1 1 1 c 1 1 1  
  • 21. Graph Regularised Hashing (GRH) Step B: Data-Space Partitioning for k = 1. . .K : min ||hk||2 + C N i=1 ξik s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N hk: Hyperplane k bk: bias of hyperplane k xi : data-point i Lik: bit k of data-point i ξik: slack variable ij K: # bits N: # data-points
  • 22. Graph Regularised Hashing (GRH) Step B: Data-Space Partitioning for k = 1. . .K : min ||hk||2 + C N i=1 ξik s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N hk: Hyperplane k bk: bias of hyperplane k xi : data-point i Lik: bit k of data-point i ξik: slack variable ij K: # bits N: # data-points
  • 23. Graph Regularised Hashing (GRH) Step B: Data-Space Partitioning for k = 1. . .K : min ||hk||2 + C N i=1 ξik s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N hk: Hyperplane k bk: bias of hyperplane k xi : data-point i Lik: bit k of data-point i ξik: slack variable ij K: # bits N: # data-points
  • 24. Graph Regularised Hashing (GRH) Step B: Data-Space Partitioning for k = 1. . .K : min ||hk||2 + C N i=1 ξik s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N hk: Hyperplane k bk: bias of hyperplane k xi : data-point i Lik: bit k of data-point i ξik: slack variable ij K: # bits N: # data-points
  • 25. Graph Regularised Hashing (GRH) Step B: Data-Space Partitioning for k = 1. . .K : min ||hk||2 + C N i=1 ξik s.t. Lik(hk xi + bk) ≥ 1 − ξik for i = 1. . .N hk: Hyperplane k bk: bias of hyperplane k xi : data-point i Lik: bit k of data-point i ξik: slack variable ij K: # bits N: # data-points
  • 26. Graph Regularised Hashing (GRH) ba c e f g h d
  • 27. Graph Regularised Hashing (GRH) ba c e f g h d
  • 28. Graph Regularised Hashing (GRH) -1 1 1 1 1 1 -1 -1 -1 1 1 -1 ba c e f g h d -1 1 1 1 -1 -1 1 -1 -1 1 1 1
  • 29. Graph Regularised Hashing (GRH) 1 1 1 -1 1 1 -1 -1 -1 1 1 -1 ba c e f g h d -1 1 1 1 1 1 1 -1 -1 1 -1 -1
  • 30. Graph Regularised Hashing (GRH) -1 1 1 -1 -1 -1 1 1 -1 ba c e f g h d -1 1 1 -1 1 1 1 1 1 First bit flipped 1 1 -1 Second bit flipped 1 -1 -1
  • 31. Graph Regularised Hashing (GRH) -1 1 1 1 1 1 -1 -1 -1 1 1 -1 ba c e f g h d -1 1 1 h1 . x−b1=0 h1 Negative (-1) half space Positive (+1) half space 1 1 -1 1 -1 -1 -1 1 1
  • 32. Graph Regularised Hashing (GRH) -1 1 1 1 1 1 -1 -1 -1 1 1 -11 -1 -1 ba c e f g h 1 1 -1 d -1 1 1 -1 1 1 h2 Positive (+1) half space h2 . x−b2=0 Negative (-1) half space
  • 34. Datasets/Features Standard evaluation datasets [Liu et al. ’12], [Gong and Lazebnik ’11]: CIFAR-10: 60K images, GIST descriptors, 10 classes1 MNIST: 70K images, grayscale pixels, 10 classes2 NUSWIDE: 270K images, GIST descriptors, 21 classes3 True NNs: images that share at least one class in common [Liu et al. ’12] 1 http://www.cs.toronto.edu/~kriz/cifar.html 2 http://yann.lecun.com/exdb/mnist/ 3 http://lms.comp.nus.edu.sg/research/NUS-WIDE.htm
  • 35. Evaluation Metrics Hamming ranking evaluation paradigm [Liu et al. ’12], [Gong and Lazebnik ’11] Standard evaluation metrics [Liu et al. ’12], [Gong and Lazebnik ’11]: Mean average precison (mAP) Precision at Hamming radius 2 (P@R2)
  • 36. GRH vs Literature (CIFAR-10 @ 32 bits) LSH BRE STH KSH GRH (Linear) GRH (RBF) 0.10 0.15 0.20 0.25 0.30 0.35 mAP Linear GRH Non-linear GRH
  • 37. GRH vs Literature (CIFAR-10 @ 32 bits) LSH BRE STH KSH GRH (Linear)GRH (RBF) 0.10 0.15 0.20 0.25 0.30 0.35 mAP GRH's straightforward objective outperforms more complex objectives
  • 38. GRH vs Literature (CIFAR-10) 16 24 32 40 48 56 64 0.10 0.15 0.20 0.25 0.30 0.35 0.40 LSH BRE KSH GRH # Bits mAP
  • 39. GRH vs Literature (CIFAR-10) Small amount of supervision required 16 24 32 40 48 56 64 0.10 0.15 0.20 0.25 0.30 0.35 0.40 LSH BRE KSH GRH # Bits mAP +25-30%
  • 40. GRH vs. Initialisation Strategy (CIFAR-10 @ 32 bits) GRH (Linear) GRH (RBF) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 LSH ITQ+CCA mAP Linear GRH Non-Linear GRH
  • 41. GRH vs. Initialisation Strategy (CIFAR-10 @ 32 bits) GRH (Linear) GRH (RBF) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 LSH ITQ+CCA mAP Eigendecomposition not necessary - saves O(d^3)
  • 42. GRH vs # Supervisory Data-Points (CIFAR-10) Linear, T=1K Linear, T=2K RBF, T=1K RBF, T=2K 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 mAP Linear GRH Non-linear GRH Linear GRH Non-linear GRH
  • 43. GRH vs # Supervisory Data-Points (CIFAR-10) Linear, T=1K Linear, T=2K RBF, T=1K RBF, T=2K 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 mAP Small amount of supervision required
  • 44. GRH Timing (CIFAR-10 @ 32 bits) Timings (s) Method Train Test Total GRH 42.68 0.613 43.29 KSH [1] 81.17 0.103 82.27 BRE [2] 231.1 0.370 231.4 [1] Liu, W.: Supervised Hashing with Kernels. In: CVPR (2012) [2] Kulis, B.: Binary Reconstructive Embedding. In: NIPS (2009)
  • 46. Conclusions and Future Work Supervised hashing model that is both accurate and easily scalable Take-home messages: Regularising bits over a graph is effective (and efficient) for hashcode learning An intermediate eigendecomposition step is not necessary Hyperplanes (linear hypersurfaces) can achieve a very good retrieval accuracy Future work: extend to the cross-modal hashing scenario (e.g. Image ↔ Text, English ↔ Spanish)
  • 47. Thank you for your attention Sean Moran Code and datasets available at: sean.moran@ed.ac.uk www.seanjmoran.com