Guided Cuckoo Filter: Full-Pipeline Insertion Optimization
Min Liu
Key points
From the paper's conclusion- We propose the \emph{Guided Cuckoo Filter}, which optimizes the entire insertion pipeline by steering both stages.
Abstract
Cuckoo filters are widely deployed as space-efficient alternatives to Bloom filters, supporting fast lookups, insertions, and deletions. However, their insertion cost grows steeply at high load factors because the standard insertion procedure is entirely unguided: it places each fingerprint into whichever candidate bucket happens to be tried first, and when both candidates are full, it displaces a random victim in a random walk. These blind random choices occur at two distinct stages of the insertion pipeline, the initial placement decision and the eviction victim selection, yet each stage can be independently replaced with a guided, informed decision. We propose the \emph{Guided Cuckoo Filter}, which optimizes the entire insertion pipeline by steering both stages. At the placement stage, the filter compares the occupancy of both candidate buckets and inserts into the less loaded one, applying the power-of-two-choice principle to reduce how often eviction chains are triggered. At the eviction stage, the filter preferentially displaces the most recently inserted element, whose alternate bucket carries latent randomness that shortens the resulting chain. Because these two guided decisions target orthogonal bottlenecks, eviction frequency and eviction chain length, their benefits compose multiplicatively. Experiments on cuckoo filters with $2^{22}$ slots confirm that the fully guided insertion reduces per-insertion kicks by up to $3.1\times$ at 96\% load and cumulative total kicks by 63\% at the practical capacity ceiling of 95\% load, with negligible computational overhead.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Fresh-Priority Eviction for Cuckoo Filters: Exploiting Latent Randomness Under XOR HashingarXiv · 2026
- Diva++: Dynamic Range Filtering over Hard WorkloadsarXiv · 2026
- Optimal Worst-Case Open Addressing: Braided Cuckoo HashingarXiv · 2026
- AutoCSF: Provably Space-Efficient Indexing of Skewed Key-Value Workloads via Filter-Augmented Compressed Static FunctionsarXiv · 2026
- Fast construction of partitioned learned Bloom filter with theoretical guaranteesThe VLDB Journal · 2026
- Aeris Filter: A Strongly and Monotonically Adaptive Range FilterProceedings of the ACM on Management of Data · 2026