Skip to content

[MOD-20221] Add native filtered-vector POC benchmarks and exact recall scoring - #1093

Closed
lerman25 wants to merge 4 commits into
mainfrom
omer-filtered-vector-bench-base
Closed

lerman25 wants to merge 4 commits into
mainfrom
omer-filtered-vector-bench-base

Conversation

@lerman25

@lerman25 lerman25 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Describe the changes in the pull request

Internal-only benchmark base for comparing filtered-vector POCs before Redis integration. It provides immutable FP32/query/filter bundles, an independent tie-aware exact oracle, a scorer, and a native C++ runner with eligible-document scan and real HNSW batch/filter baselines. Candidate adapters reuse the same checksummed graph; NaviX itself is not implemented.

The POC guide connects native, Redis RAM, Enterprise disk, and private customer replay. A version-checked DBpedia downloader and recorded development baseline make the first comparison reproducible. Production AUTO, Redis filtering costs, disk kernel timings, and full-scale selection are separate stages.

Validation: 28 Python tests, native L2/cosine graph/oracle integration, and deterministic C++ timeout/recovery tests pass. The recorded campaign completed 8,118 searches (synthetic 10K and DBpedia 100K/32 queries, three repetitions, four DBpedia EF settings) without errors or incomplete results; batch recall misses remain visible. A deliberate 1 ms deadline run retained 112 timeouts and failed both runner and scorer. Timings are developer-workstation evidence, not an algorithm-selection verdict.

Which issues this PR fixes

  1. MOD-20221

Main objects this PR modified

  1. Frozen dataset/filter/query artifacts, exact oracle and strict result validation.
  2. Native candidate adapter, graph provenance, standalone CMake target and tests.
  3. Verified dataset download, POC guide, baseline evidence and locked-dependency CI.
  4. Missing SVS-disabled include/call guards needed by the standalone HNSW build; SVS-enabled behavior is unchanged.

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

Draft benchmark base: omer-filtered-vector-bench-base. Existing test-helper HNSW serialization only; no new production persistence format.

@lerman25 lerman25 changed the title [MOD-20221] Add frozen filtered-vector datasets and exact recall scoring [MOD-20221] Add native filtered-vector POC benchmarks and exact recall scoring Nov 2, 2026
@lerman25 lerman25 closed this Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant