Locality-sensitive Hashing Scheme Based on Dynamic Collision Counting
- Author
- GanJunHao
- Advisor
- FengJianLin
- School
- Sun Yat-sen University
- Major
- Software Engineering
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 1
- Citations
- 0
Abstract
Nearest Neighbor Search Problem (NNS Problem) is a problem that return a dataobject which is closest to a query q under a distance metric in dataset. However, sincethe Curse of Dimensionality occurs when the dimensionality of data is high, the NNSproblem becomes much more difcult to be solved. Hence, an alternative problem,c-approximate NNS problem, is set forth. Formally, the goal of c-approximate NNSproblem is to return a data object o s.t.∥o,q∥~d_p≤c×∥o~*, q∥~d_p, where∥·,·∥~d_pis thed-dimensional pnorm distance metric and o is the real NN of query q.Locality-Sensitive Hashing (LSH) and its variants are well-known methods forsolving the c-approximate NN Search problem in high-dimensional space. Tradi-tionally several LSH functions are concatenated to form a “static” compound hashfunction for building a hash table. In this paper, we propose to use a base of msingle LSH functions to construct “dynamic” compound hash functions, and defnea new LSH scheme called Collision Counting LSH (C2LSH). If the number of LSHfunctions based on which a data object o collides with a query object q is greaterthan a pre-specifed collision threshold l, then o can be regarded as a good candidateof c-approximate NN of q. This is the basic idea of C2LSH.However, C2LSH has to maintain a size of O(n) array in memory to record thecollision state of each data object, where n is the size of dataset. As a result, C2LSHcannot run on limited O(1) memory. Otherwise, it will lead to some I/O overheads.To address this drawback, we further propose another LSH scheme called SignatureCollision Counting LSH (SC2LSH) which utilizes a multi-level index tree and a dy- namic collision counting theory for c-approximate NNS. We create the signatures ofthe hash values of the data objects and index them in a prefx tree called signaturetree. Given a query object, we perform collision counting between the query and adata object by comparing their signatures on the tree. By designing diferent searchstrategies on the signature tree, we propose two variant methods–Basic SC2LSHand Greedy SC2LSH.Our theoretical studies show that, by appropriately choosing the size of LSHfunction base m and the collision threshold l, C2LSH can have a guarantee on queryquality. And Basic SC2LSH can provide a same guarantee on the query result quality,but it can be very expensive to answer a query in practice. Greedy SC2LSH tradesof the query quality guarantee for a much higher efciency. Experimental results onreal and synthetic datasets show that C2LSH outperforms the state-of-the-art LSHmethods LSB-forest on high dimensional datasets and Greedy SC2LSH even achievesa higher query efciency and a better query quality than that of C2LSH. And SC2LSHoutperforms LSB-forest and C2LSH no matter on high or low dimensional datasets.
Table of contents
Summary 3-5
ABSTRACT 5-7
directory 7-9
Chapter 1 Overview 9-15 <br / > 1.1 Background and significance 9-15
Chapter 2 Preliminaries 15-21
2.1 problem setting 15
2.2 position sensitive hashing function family 15-16
2.3 E2LSH algorithm 16-18
2.4 LSB-tree / LSB-forest algorithm 18-21
Chapter 3 based on the location of sensitive hashing dynamic collision detection (C2LSH) 21-33
3.1 collisions and frequent object 22
3.2 C2LSH algorithm LSH function 22 -24
3.3 (R, c) - nearest neighbor query problem C2LSH program 24-28
3.4 c- approximate nearest neighbor query problem C2LSH program 28-33
Chapter 4 analyzes the theoretical C2LSH algorithm 33-41
4.1 virtual re- hash theory upper bound of 33-35
4.2 approximate proportion 35
4.3 query and spatial complexity 35-36
4.4 vs candidate collision threshold conditions 36-38
advantages and disadvantages 4.5 C2LSH algorithm 38 Chapter 5 -41
tree C2LSH signature algorithm (Signature C2LSH) nbsp based ; 41-59
5.1 external memory model and the basic assumptions 41-42
5.2 Signature the basic idea C2LSH algorithm 42-44
5.3 Signature Tree structure 44-45
5.4 basic Signature C2LSH algorithm 45-51
5.5 Signature C2LSH greedy algorithm 51-59
Chapter 6 experimental evaluation 59-71
6.1 dataset 59-60
6.2 assessment metrics 60-61
6.3 C2LSH algorithm parameter configuration analysis parameters 61-62
6.4 SC2LSH algorithm configuration analysis 62-63
6.5 synthetic datasets performance comparison performance 63-67
6.6 on real data sets compare 67-70
6.7 experiment summary 70-71
7 Chapter summary and Outlook 71-73
References 73-77
during his studies published papers 77-79
Thanks 79
Related dissertations
- Image Matching Algorithm Based on SIFT Feature Points
- A Sketch Retrieval System Based on Two-demensional Embedding Nearest Neighbor Search
- Research on Realizing of Several Algorithms of Computer Graphics
- The Research on Speech Recognition Algorithm Based on BPR with Principle of Homology Continuity
- Research and Implement on Non-Photorealistic Rendering Based on Nearest Neighbor Search by Lower Bound Tree