通过张量化随机投影改进 LSH
Improving LSH via Tensorized Random Projection
AI总结:
针对高阶张量数据下传统LSH方法参数呈指数增长的问题,基于CP和TT分解技术提出了空间高效且适用于低秩张量的CP-E2LSH、TT-E2LSH、CP-SRP和TT-SRP方法,并提供了严格的理论分析。
摘要:
局部敏感哈希(LSH)是数据科学家用于近似最近邻搜索问题的基础算法工具集,已被广泛应用于近重复检测、最近邻搜索和聚类等大规模数据处理应用中。在本研究中,我们旨在为张量数据的欧氏距离和余弦相似度提出更快且空间高效的局部敏感哈希函数。通常,为张量数据获取 LSH 的朴素方法是先将张量重塑为向量,然后应用现有的向量数据 LSH 方法 $E2LSH$ 和 $SRP$。然而,这种方法对于高阶张量变得不切实际,因为重塑后的向量大小随张量阶数呈指数增长,导致 LSH 参数的规模也呈指数级增加。为解决此问题,我们基于 $CP$ 和张量列 $(TT)$ 分解技术,提出了分别针对欧氏距离和余弦相似度的两种方法:$CP-E2LSH$、$TT-E2LSH$ 以及 $CP-SRP$、$TT-SRP$。我们的方法具有空间高效性,能够高效应用于低秩 $CP$ 或 $TT$ 张量。我们对该提案的正确性和有效性提供了严格的理论分析。
英文摘要:
Locality sensitive hashing (LSH) is a fundamental algorithmic toolkit used by data scientists for approximate nearest neighbour search problems that have been used extensively in many large scale data processing applications such as near duplicate detection, nearest neighbour search, clustering, etc. In this work, we aim to propose faster and space efficient locality sensitive hash functions for Euclidean distance and cosine similarity for tensor data. Typically, the naive approach for obtaining LSH for tensor data involves first reshaping the tensor into vectors, followed by applying existing LSH methods for vector data $E2LSH$ and $SRP$. However, this approach becomes impractical for higher order tensors because the size of the reshaped vector becomes exponential in the order of the tensor. Consequently, the size of LSH parameters increases exponentially. To address this problem, we suggest two methods for LSH for Euclidean distance and cosine similarity, namely $CP-E2LSH$, $TT-E2LSH$, and $CP-SRP$, $TT-SRP$, respectively, building on $CP$ and tensor train $(TT)$ decompositions techniques. Our approaches are space efficient and can be efficiently applied to low rank $CP$ or $TT$ tensors. We provide a rigorous theoretical analysis of our proposal on their correctness and efficacy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。