arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.14741cs.NEcs.LGq-bio.NC
收藏

保持相似性的稀疏随机嵌入中的设计选择

On Design Choices in Similarity-Preserving Sparse Randomized Embeddings

Örebro University(厄勒布鲁大学);Research Institutes of Sweden(瑞典研究院);Luleå University of Technology(吕勒奥理工大学);IRTC for IT and Systems(信息技术与系统研究院)

Denis Kleyko, Dmitri A. Rachkovskij

AI总结:

本文研究了 FlyHash 算法在生成保持相似性的稀疏嵌入时,输入预处理、激活函数和投影矩阵等设计选择对相似性搜索性能的显著影响。

摘要:

扩展与稀疏化是在蕈状体(昆虫)和小脑(哺乳动物)中发现的结构相似的神经回路中观察到的一个原理。感觉数据被随机投影到高得多的维度(扩展部分),其中只有少数最强烈兴奋的神经元被激活(稀疏化部分)。这一原理已被用于设计 FlyHash 算法,该算法形成保持相似性的稀疏嵌入,已发现其在新颖性检测、模式识别和相似性搜索等任务中非常有用。尽管 FlyHash 很简单,但它有许多设计选择需要设定,例如输入数据的预处理、稀疏化激活函数的选择以及随机投影矩阵的形成。在本文中,我们探讨了这些选择对使用 FlyHash 嵌入进行相似性搜索性能的影响。我们发现,设计选择的正确组合会导致搜索性能的巨大差异。

英文摘要:

Expand & Sparsify is a principle that is observed in anatomically similar neural circuits found in the mushroom body (insects) and the cerebellum (mammals). Sensory data are projected randomly to much higher-dimensionality (expand part) where only few the most strongly excited neurons are activated (sparsify part). This principle has been leveraged to design a FlyHash algorithm that forms similarity-preserving sparse embeddings, which have been found useful for such tasks as novelty detection, pattern recognition, and similarity search. Despite its simplicity, FlyHash has a number of design choices to be set such as preprocessing of the input data, choice of sparsifying activation function, and formation of the random projection matrix. In this paper, we explore the effect of these choices on the performance of similarity search with FlyHash embeddings. We find that the right combination of design choices can lead to drastic difference in the search performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑