CARAMEL:通过压缩静态函数实现的紧凑只读查找表
CARAMEL: A Succinct Read-Only Lookup Table via Compressed Static Functions
AI总结:
CARAMEL通过结合多个压缩静态函数,实现紧凑只读查找表,适用于多集合值的数据,提供低空间占用和高效查找。
摘要:
查找表是许多数据处理和系统应用中的基本结构。例如,包括自然语言处理中的标记化文本、推荐系统中的量化嵌入集合、流数据中的整数草图,以及基因组学中的基于哈希的字符串表示。随着网络级数据规模的增加,此类应用往往需要支持在压缩数据上快速随机$O(1)$查找单个参数的压缩技术(即不需在RAM中按块解压)。虽然社区已提出了多种支持压缩表示上查询的简洁数据结构,但这些方法并未充分利用现实世界工作负载中普遍存在的低熵结构来减少空间。受最近静态函数构造技术的启发,我们提出了一种空间高效的不可变键值数据表示,称为CARAMEL,专门针对值为多集合的情况。通过精心结合多个压缩静态函数,CARAMEL占用的空间与数据熵成比例,具有低内存开销和最小的查找成本。我们展示了在实际查找任务上1.25-16倍的压缩效果,优于已有的技术,包括一个广泛用于亚马逊开发的生产级只读数据库。
英文摘要:
Lookup tables are a fundamental structure in many data processing and systems applications. Examples include tokenized text in NLP, quantized embedding collections in recommendation systems, integer sketches for streaming data, and hash-based string representations in genomics. With the increasing size of web-scale data, such applications often require compression techniques that support fast random $O(1)$ lookup of individual parameters directly on the compressed data (i.e. without blockwise decompression in RAM). While the community has proposd a number of succinct data structures that support queries over compressed representations, these approaches do not fully leverage the low-entropy structure prevalent in real-world workloads to reduce space. Inspired by recent advances in static function construction techniques, we propose a space-efficient representation of immutable key-value data, called CARAMEL, specifically designed for the case where the values are multi-sets. By carefully combining multiple compressed static functions, CARAMEL occupies space proportional to the data entropy with low memory overheads and minimal lookup costs. We demonstrate 1.25-16x compression on practical lookup tasks drawn from real-world systems, improving upon established techniques, including a production-grade read-only database widely used for development within Amazon.com.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。