arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.13632cs.DBcs.DScs.ITmath.IT
收藏

ChainedFilter:通过链式法则组合成员过滤器

ChainedFilter: Combining Membership Filters by Chain Rule

Haoyu Li, Liuhui Wang, Qizhi Chen, Jianan Ji, Yuhan Wu, Yikai Zhao, Tong Yang, Aditya Akella

AI总结:

本研究针对成员查询领域缺乏统一理论的问题,提出涵盖近似与精确场景的链式法则理论,构建ChainedFilter算法框架,在多类应用中实现空间、访问效率与延迟的显著优化。

摘要:

成员查询(成员资格查询/成员检测)是数据库、网络与安全领域的基础问题。但以往研究主要聚焦于近似方案(如Bloom Filter)或精确方法(如完美哈希、字典),未尝试构建一套完整的理论体系。本文针对通用成员问题提出了统一且完备的链式法则理论,该理论将近似成员查询与精确成员查询均涵盖为极端情况。基于链式法则,我们提出了一种简洁通用的算法框架ChainedFilter,可在不损失信息的前提下组合不同的基础过滤器。实验评估结果表明,ChainedFilter在多种应用场景中表现优异:(1)针对隐式静态字典,其所需空间仅比理论下界高26%;(2)针对无损数据压缩,每个元素仅需比理论下界多0.22比特;(3)与原始Cuckoo Hashing相比,外部内存访问量最多降低31%;(4)在RocksDB数据库相同空间成本下,P99尾点点查询延迟比Bloom Filter最多降低36%;(5)与原始Learned Bloom Filter相比,过滤器空间最多减少99.1%。

英文摘要:

Membership (membership query / membership testing) is a fundamental problem across databases, networks and security. However, previous research has primarily focused on either approximate solutions, such as Bloom Filters, or exact methods, like perfect hashing and dictionaries, without attempting to develop a an integral theory. In this paper, we propose a unified and complete theory, namely chain rule, for general membership problems, which encompasses both approximate and exact membership as extreme cases. Building upon the chain rule, we introduce a straightforward yet versatile algorithm framework, namely ChainedFilter, to combine different elementary filters without losing information. Our evaluation results demonstrate that ChainedFilter performs well in many applications: (1) it requires only 26% additional space over the theoretical lower bound for implicit static dictionary, (2) it requires only 0.22 additional bit per item over the theoretical lower bound for lossless data compression, (3) it reduces up to 31% external memory access than raw Cuckoo Hashing, (4) it reduces up to 36% P99 tail point query latency than Bloom Filter under the same space cost in RocksDB database, and (5) it reduces up to 99.1% filter space than original Learned Bloom Filter.

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

↑