Similarity search methods are widely used as kernels in various machine learning applications. Nearest neighbor search (NNS) algorithms are often used to retrieve similar entries, given a query. While there exist efficient techniques for exact query lookup using hashing, similarity search using exact nearest neighbors is known to be a hard problem and in high dimensions, best known solutions offer little improvement over a linear scan. Fast solutions to the approximate NNS problem include Locality Sensitive Hashing (LSH) based techniques, which need storage polynomial in $n$ with exponent greater than $1$, and query time sublinear, but still polynomial in $n$, where $n$ is the size of the database. In this work we present a new technique of solving the approximate NNS problem in Euclidean space using a Ternary Content Addressable Memory (TCAM), which needs near linear space and has O(1) query time. In fact, this method also works around the best known lower bounds in the cell probe model for the query time using a data structure near linear in the size of the data base. TCAMs are high performance associative memories widely used in networking applications such as access control lists. A TCAM can query for a bit vector within a database of ternary vectors, where every bit position represents $0$, $1$ or $*$. The $*$ is a wild card representing either a $0$ or a $1$. We leverage TCAMs to design a variant of LSH, called Ternary Locality Sensitive Hashing (TLSH) wherein we hash database entries represented by vectors in the Euclidean space into $\{0,1,*\}$. By using the added functionality of a TLSH scheme with respect to the $*$ character, we solve an instance of the approximate nearest neighbor problem with 1 TCAM access and storage nearly linear in the size of the database. We believe that this work can open new avenues in very high speed data mining.
Drawbacks and Proposed Solutions for Real-time Processing on Existing State-of-the-art Locality Sensitive Hashing Techniques
最近邻查询处理是许多图像检索应用的基本操作。通常,图像由特征提取算法生成的高维向量存储和表示。由于基于树的索引结构被证明是无效的高维处理,由于众所周知的“Curse of Precisionality”,近似最近邻技术被用于更快的查询处理。局部敏感哈希(LSH)是一种非常流行和有效的近似最近邻技术,以其次线性查询处理复杂度和理论保证而闻名。如今,随着技术的出现,多个不同的应用领域都需要实时的【形】高维数据存储和处理能力。现有的LSH技术不适合处理实时的【形】数据和查询。在本文中,我们讨论了现有的LSH技术处理实时的【形】高维图像数据的挑战和缺点。此外,通过实验分析,我们提出了改进现有的国家的最先进的LSH技术,有效地处理高维图像数据。
Microsoft Research(微软研究院);The University of Queensland(昆士兰大学);Tsinghua University(清华大学)
相似性搜索(最近邻搜索)是从大型数据库中寻找与查询项距离最小的数据项的问题。已经开发了各种方法来解决这个问题,最近已经投入了大量的努力近似搜索。在本文中,我们提出了一个调查的主要解决方案之一,哈希,这已经被广泛研究,因为开拓性的工作局部敏感哈希。本文将散列算法分为两大类:局部敏感散列算法(locality sensitive hashing)和学习散列算法(learning to hash),局部敏感散列算法是根据数据分布来学习散列函数,本文从散列函数的设计、散列编码空间中的距离度量和搜索机制等方面对散列算法进行了综述。
DET-LSH: A Locality-Sensitive Hashing Scheme with Dynamic Encoding Tree for Approximate Nearest Neighbor Search
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);LIPADE, Université Paris Cité(巴黎西岱大学 LIPADE 实验室)
Locality Sensitive Hashing with Extended Differential Privacy
Macquarie University(麦考瑞大学);Inria(法国国家信息与自动化研究所);École Polytechnique(巴黎综合理工学院);National Institute of Advanced Industrial Science and Technology (AIST)(日本产业技术综合研究所)
SAH: Shifting-aware Asymmetric Hashing for Reverse $k$-Maximum Inner Product Search
School of Computing, National University of Singapore(新加坡国立大学计算机学院);School of Data Science and Engineering, East China Normal University(华东师范大学数据科学与工程学院)