Binary fuse filter
A binary fuse filter is a static approximate-membership structure that assigns XOR-linked fingerprints across consecutive segments to support compact membership tests.
The original study considers three- and four-location variants; construction needs the complete set. The 3-wise variant stays within about 13% of the storage lower bound of log2(1/e) bits per key and the 4-wise variant within about 8%, at roughly 30% more query time than xor filters. An 8-bit fingerprint gives an expected false-positive probability of 1/256, about 0.4%. Smaller storage does not imply lower construction memory or database latency. [1]
The pinned C library assumes distinct 64-bit inputs and matching byte order for serialization; those are implementation conditions, not universal file-format guarantees. [2]
Relations
Advantages
- Construction can be about twice as fast as for xor filters in some instances, while the filter is also smaller. [1]
Limitations
- The false-positive rate is set by fingerprint width at build time, so changing it requires a rebuild. [1]
Citations
- Graf and Lemire. Binary Fuse Filters: Fast and Smaller Than Xor Filters. ACM JEA 27 (2022). DOI: 10.1145/3510449.
- FastFilter xor_singleheader README, commit 5b6b321aa5c0c8ef5b5fb3145206f07f3754a0a1: input contract, construction memory and serialization.
Further reading
Sources & caveats
- binary-fuse-paper is Graf and Lemire, arXiv 2201.01174, re-read 2026-10-23 for the 13% and 8% overheads, the query-time cost and the 8-bit false-positive figure.
- A companion analysis of filter read cost is listed but not used for any fact here.
- The cuckoo-filter entry links here because the study compares binary fuse filters against cuckoo filters for the same membership role.