arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.12161cs.DScs.IR
收藏

大型数据集的广义压缩与压缩搜索

Generalized compression and compressive search of large datasets

Morgan E. Prior, Thomas Howard, Emily Light, Najib Ishaq, Noah M. Daniels

AI总结:

提出通用压缩搜索框架 panCAKES,利用流形低维结构在压缩数据上执行精确 k-NN 与 ρ-NN 搜索,压缩比接近 gzip 且搜索时间亚线性。

摘要:

大数据爆炸使得开发在时间和内存上均呈亚线性扩展的搜索算法成为必要。虽然压缩算法和搜索算法确实各自独立存在,但很少有算法能同时提供二者,而能够做到这一点的算法又通常是面向特定领域的。我们提出 panCAKES,这是一种用于压缩搜索的新颖方法,即在压缩数据上执行 k-NN 和 ρ-NN 搜索,同时只需解压数据中一小部分相关内容。panCAKES 假设流形假说,并利用数据的低维结构来高效地压缩和搜索数据。panCAKES 对任意距离函数具有通用性,只要两个点之间的距离与存储“根据其中一个点对另一个点进行编码”的内存开销成比例。这一性质适用于许多广泛使用的距离函数,例如字符串编辑距离(Levenshtein、Needleman-Wunsch 等)和集合相异度度量(Jaccard、Dice 等)。我们在多种数据集上对 panCAKES 进行基准测试,包括基因组、蛋白质组和集合数据。我们将压缩比与 gzip 进行比较,并比较同一数据集压缩版本与未压缩版本之间的搜索性能。panCAKES 实现了接近 gzip 的压缩比,同时为 k-NN 和 ρ-NN 搜索提供亚线性时间性能。我们得出结论:对于服从流形假说的大型数据集,panCAKES 是一种高效、通用的精确压缩搜索算法。我们还提供了 panCAKES 的 Rust 编程语言开源实现。

英文摘要:

The Big Data explosion has necessitated the development of search algorithms that scale sub-linearly in time and memory. While compression algorithms and search algorithms do exist independently, few algorithms offer both, and those which do are domain-specific. We present panCAKES, a novel approach to compressive search, i.e., a way to perform $k$-NN and $ρ$-NN search on compressed data while only decompressing a small, relevant, portion of the data. panCAKES assumes the manifold hypothesis and leverages the low-dimensional structure of the data to compress and search it efficiently. panCAKES is generic over any distance function for which the distance between two points is proportional to the memory cost of storing an encoding of one in terms of the other. This property holds for many widely-used distance functions, e.g. string edit distances (Levenshtein, Needleman-Wunsch, etc.) and set dissimilarity measures (Jaccard, Dice, etc.). We benchmark panCAKES on a variety of datasets, including genomic, proteomic, and set data. We compare compression ratios to gzip, and search performance between the compressed and uncompressed versions of the same dataset. panCAKES achieves compression ratios close to those of gzip, while offering sub-linear time performance for $k$-NN and $ρ$-NN search. We conclude that panCAKES is an efficient, general-purpose algorithm for exact compressive search on large datasets that obey the manifold hypothesis. We provide an open-source implementation of panCAKES in the Rust programming language.

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

↑