CapCover Filter
A geometric filter for semantic approximate membership queries (SAMQ) that uses spherical cap covers over the distribution of embedding vectors to quickly reject queries that cannot possibly match, while guaranteeing no false negatives.
Timeline (last 90 days)
CapCover Filter is a geometric data structure for semantic approximate membership queries (SAMQ), which uses spherical caps to summarize the embedding vector distribution in order to quickly decide whether to let a query through.
The representation of CapCover Filter is independent of the query threshold, so the same filter structure can support any similarity threshold without reconstruction.
On five real datasets, when the cosine similarity threshold is set to 0.95, CapCover Filter can eliminate approximately 20% to 100% of index accesses.
CapCover Filter itself occupies only 2% of the memory of the original FP32 embeddings.
When CapCover Filter is placed in front of a FAISS flat index, query throughput improves by up to 382%.
Across five datasets, placing CapCover Filter in front of a FAISS flat index yields an average query throughput improvement of approximately 116%.
With CapCover Filter, the returned range-search results are exactly identical to those obtained without the filter.
When the similarity threshold is tight, retrieval cost is high, and the indexed embeddings are highly clustered, the improvement in vector storage throughput from CapCover Filter is particularly pronounced.
The effectiveness of CapCover Filter depends on the degree of embedding clustering and the strictness of the threshold; in scenarios where the embedding distribution is dispersed or the threshold is loose, the gains decrease.
The authors of CapCover Filter have open-sourced an optimized implementation and evaluation framework.
All Facts (10)
CapCover Filter is a geometric data structure for semantic approximate membership queries (SAMQ), which uses spherical caps to summarize the embedding vector distribution in order to quickly decide whether to let a query through.
50%UnverifiedThe representation of CapCover Filter is independent of the query threshold, so the same filter structure can support any similarity threshold without reconstruction.
50%UnverifiedOn five real datasets, when the cosine similarity threshold is set to 0.95, CapCover Filter can eliminate approximately 20% to 100% of index accesses.
50%UnverifiedCapCover Filter itself occupies only 2% of the memory of the original FP32 embeddings.
50%UnverifiedWhen CapCover Filter is placed in front of a FAISS flat index, query throughput improves by up to 382%.
50%UnverifiedAcross five datasets, placing CapCover Filter in front of a FAISS flat index yields an average query throughput improvement of approximately 116%.
50%UnverifiedWith CapCover Filter, the returned range-search results are exactly identical to those obtained without the filter.
50%UnverifiedWhen the similarity threshold is tight, retrieval cost is high, and the indexed embeddings are highly clustered, the improvement in vector storage throughput from CapCover Filter is particularly pronounced.
50%UnverifiedThe effectiveness of CapCover Filter depends on the degree of embedding clustering and the strictness of the threshold; in scenarios where the embedding distribution is dispersed or the threshold is loose, the gains decrease.
50%UnverifiedThe authors of CapCover Filter have open-sourced an optimized implementation and evaluation framework.
50%