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
- A C++17 header implementation of the filter (variant EPF-nc, frozen before the confirmatory runs). Every baseline is the author's own implementation, because downloading third-party code was not allowed
- False-positive rate: 10 held-out seeds at n = 3,984,588 keys and 3 seeds at n = 31,876,710; 5×10⁷ negative queries per cell
- Cost: instruction counts and a cache simulator (cachegrind, simulated 256 KB last-level cache), plus wall-clock time on a shared machine
- Hypotheses H1, H1b, H2, H3, H4 and their pass limits were written in a plan before the confirmatory runs, according to the repository's plan and review documents. The clone available here has one commit, so commit order could not be checked
H1 — false positives at equal memory Measured
| Bits per key | False-positive rate, EPF-nc ÷ blocked Bloom | Seeds won |
|---|---|---|
| 8.42 | 0.695 | 10 / 10 |
| 10.53 | 0.487 | 10 / 10 |
| 12.63 | 0.350 | 10 / 10 |
| 14.74 | 0.256 | 10 / 10 |
| 16.84 | 0.192 | 10 / 10 |
| 21.05 | 0.117 | 10 / 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 rate | Blocked Bloom (bits/key) | EPF-nc (bits/key) | Saving |
|---|---|---|---|
| 1e-2 | 9.92 | 8.91 | 1.01 |
| 1e-3 | 15.56 | 12.82 | 2.74 |
| 1e-4 | > 21.05 | 17.19 | ≥ 3.86 |
Cost, and what failed Measured
| Hypothesis | Measured | Limit | Verdict |
|---|---|---|---|
| H4a — instructions per negative query | 83.9 ÷ 30.0 = 2.80× | ≤ 3.0× | Pass |
| H4b — last-level cache misses per negative query | 0.958 (Cuckoo 1.924) | ≤ 1.05, fewer than Cuckoo | Pass |
| H4c — instructions per insert | 486.8 ÷ 198.0 = 2.46× | ≤ 2.0× | Rejected |
| H2 — against the Prefix filter | not testable: no reference implementation | – | – |
- Wall-clock: negative queries take 3.14× the time of blocked Bloom, 1.70× Cuckoo and 1.81× the Prefix-style reimplementation (the report calls the filter slow). Instruction and miss counts are the deterministic metrics; milliseconds are noisy on a shared machine
- Novelty is not achieved: the report states the core mechanism is TinySet (Einziger & Friedman, 2015/2017), found by a prior-art check after the work began, and the added improvements are standard techniques worth about 0.2 bits per key
- A second study on query speed was started but is incomplete: its result file judged_run2.csv is empty (0 bytes) and there is no verdict, so nothing from it is reported here
Limitations
- Only the author's own baselines were measured: the original TinySet, the Prefix filter, VQF and Morton filter were not. The Prefix-style filter is a reimplementation from memory
- Speed was measured on one shared machine with independent query loops; the regime dominated by cache misses was not tested by wall-clock
- The large-n runs have only 3 seeds, and the filter is insert-only
- Paper bodies were not read for the prior-art check; it relied on the authors' source code and abstracts
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.