Visitar URL original
Vector docs: no unbacked INT8 recommendation, document recall at the default beam by tae898 · Pull Request #499 · humemai/arcadedb-embedded-python · GitHub
Skip to content

Vector docs: no unbacked INT8 recommendation, document recall at the default beam - #499

Merged
tae898 merged 1 commit into
mainfrom
docs-vector-evidence
Oct 24, 2026
Merged

tae898 merged 1 commit into
mainfrom
docs-vector-evidence

Conversation

@tae898

@tae898 tae898 commented Oct 24, 2026

Copy link
Copy Markdown

Closes 498

Task 1: "INT8 is the recommended setting" had no study behind it (defaults audit S3 says best value NEEDS-AB; the quant-matrix run was void). docs/guide/vectors.md, docs/api/database.md and the docstrings in core.py and vector.py now say that INT8 is what create_vector_index() passes while the engine defaults to no quantization, and that no finished study compares the two. The docstring claim "speeds up search" is removed for the same reason.

Task 2: the "80% vs 99.7% at 20k" figure in Tuning Knobs cited no study and is removed. A new section "Recall at the default beam" reports the measured figures from the 2026-10-24 default-recall study (SIFT recall@10 0.984/0.929 at 10k/100k with the default beam against 1.000/0.998 at efSearch 100; random 1024-d self-hit 295/229/174 of 300 at 10k/50k/100k against 300/297/282) and the footprint study (stored vector first in 295-299 of 300 queries at 10k, 168-182 at 100k). It links ArcadeData#10704 (open; the studies found the cause is the engine's beam policy, not a filter or hop). It is written as an observation, not a recommendation: queries were untimed, only 3 loads per cell, no robustness probes, and on random 1024-d vectors even efSearch 400 reached only 0.40 recall@10 at 100k, so no beam value is recommended.

Checks: pre-commit on the four files, mkdocs build --strict (the Docs Build command). No code block changed, so test_docs_examples.py was not run.

🤖 Generated with Claude Code

…all at the default beam

INT8 is what create_vector_index() passes, not a measured best: no finished study compares it with full precision (defaults audit S3 says NEEDS-AB; the quant-matrix run was void). The guide, API page and two docstrings now say so.

The Tuning Knobs figure "80% vs 99.7% at 20k" cited no study; it is replaced by a section with the measured recall at the default beam (SIFT 10k/100k, random 1024-d 10k/50k/100k, footprint study), linked to ArcadeData#10704, with its limits (untimed, no recommended value).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit 8e6172d into main Oct 24, 2026
42 of 44 checks passed
@tae898
tae898 deleted the docs-vector-evidence branch October 24, 2026 14:30
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