← All research

Algorithm Innovation

A cache-line approximate membership filter

Mixed ResultsAI-assisted implementationNo independent review
Research questionWith equal memory, can an insert-only filter that reads one cache line, with fingerprint length following block load, beat blocked Bloom and Prefix filter at a practical cost?
ResultFalse-positive rate 0.117–0.695 of blocked Bloom at equal memory, but slower, and the core mechanism was already published (TinySet).
Mixed results. The filter beats blocked Bloom on false-positive rate at equal memory, but it is slower, its core mechanism was already published (TinySet, 2015), and the follow-up speed study is incomplete.

Background

An approximate membership filter answers “is this key in the set?” with some false positives. Blocked Bloom filters read one cache line per query. This study asks whether a filter that sizes each key's fingerprint by how full its block is, and truncates on overflow, can use one cache line and still give fewer false positives at the same memory.

Method

H1 — false positives at equal memory Measured

Bits per keyFalse-positive rate, EPF-nc ÷ blocked BloomSeeds won
8.420.69510 / 10
10.530.48710 / 10
12.630.35010 / 10
14.740.25610 / 10
16.840.19210 / 10
21.050.11710 / 10

At n = 3,984,588 the ratio is below 1 at every point and in every seed: 0.695 at 8.42 bits per key, falling to 0.117 at 21.05. H1 passed at all 12 points (both sizes).

H1b — memory needed for a target error rate Measured

Target false-positive rateBlocked Bloom (bits/key)EPF-nc (bits/key)Saving
1e-29.928.911.01
1e-315.5612.822.74
1e-4> 21.0517.19≥ 3.86

Cost, and what failed Measured

HypothesisMeasuredLimitVerdict
H4a — instructions per negative query83.9 ÷ 30.0 = 2.80×≤ 3.0×Pass
H4b — last-level cache misses per negative query0.958 (Cuckoo 1.924)≤ 1.05, fewer than CuckooPass
H4c — instructions per insert486.8 ÷ 198.0 = 2.46×≤ 2.0×Rejected
H2 — against the Prefix filternot testable: no reference implementation––

Limitations

Verification and AI use

The figures above were checked by hand against the repository's results file. The repository's review file, written by an AI reviewer agent, reports no blocking issue and accepts three listed concerns; no independent human review is recorded. The repository has no AI-use statement; its logs describe an orchestrator with sub-agent roles (scouts, prior-art check, baselines, reviewer). AI-assisted implementation. The repository has no licence file.