Skip to content

Add binary retrieval rescored against turbo4 storage - #7

Merged
Ewa Szyszka (ESzyszka) merged 1 commit into
mainfrom
datatype-binary
Oct 20, 2026
Merged

Ewa Szyszka (ESzyszka) merged 1 commit into
mainfrom
datatype-binary

Conversation

@ESzyszka

@ESzyszka Ewa Szyszka (ESzyszka) commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor
  • Fix k, tune hnsw_ef and oversampling per method to a quality tolerance, then compare latency and memory. That is exactly the tuning → select → held-out chain, with the preregistered tolerance (Recall ≥ 0.95, nDCG within 0.01). Results at k=10 are already in for the four small workloads.
  • Rescoring with float32 in RAM versus from disk. Originals are stored as cold mmap and the page cache holds them on a 32 GiB box, so the main runs are the in-RAM case. The 1 GiB Quora/Cohere run forces disk reads for rescoring, and per-query vector-read counters show when that happens. Cold-start runs cover the first-touch case.
  • Variants. TurboQuant 1 / 1.5 / 2 / 4-bit with float32 rescoring are in the ablation, Turbo4 retrieval alone is in the datatype run. Binary retrieval with Turbo4 rescoring is not covered anywhere. Adding it now as its own stage.

New datatype-binary stage: binary1 on float32 originals next to binary1 on
turbo4 storage and a turbo4 search copy on turbo4 storage, oversampling 2
and 8, rescoring off and on. run-workload.sh runs it after datatype, so a
rerun of run-all.sh resumes completed workloads and adds only this stage.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ESzyszka
Ewa Szyszka (ESzyszka) merged commit 33c5387 into main Oct 20, 2026
4 checks passed
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