research(nightly): graph-coherence-search — coherence-gated BFS vector retrieval#498
Draft
ruvnet wants to merge 3 commits into
Draft
research(nightly): graph-coherence-search — coherence-gated BFS vector retrieval#498ruvnet wants to merge 3 commits into
ruvnet wants to merge 3 commits into
Conversation
Implements GCVS (Graph-Coherence Vector Search) as crates/ruvector-gcvs. Three variants via GcvsIndex trait: - FlatSearch: brute-force cosine baseline - GraphAugSearch: ANN seeds + BFS expansion through semantic graph - GraphCohSearch: BFS with coherence gate (cosine >= threshold) Real benchmark (N=5K, DIM=128, 3 orthogonal clusters, 20K edges): FlatSearch recall@10 on cross-cluster GT: 0.0% GraphAugSearch recall@10: 32.0% (+32 pp) GraphCohSearch recall@10: 32.0% (+32 pp) All acceptance tests PASS. Crate: crates/ruvector-gcvs ADR: docs/adr/ADR-194-graph-coherence-search.md
Nightly research documentation for GCVS (Graph-Coherence Vector Search): - docs/research/nightly/2026-05-22-graph-coherence-search/README.md - docs/research/nightly/2026-05-22-graph-coherence-search/gist.md - docs/adr/ADR-194-graph-coherence-search.md Covers: SOTA survey, forward-looking 2036-2046 thesis, ruvnet ecosystem fit, benchmark methodology, real results, failure modes, security implications, edge/WASM/MCP implications, practical and exotic applications.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nightly Research: GCVS — Graph-Coherence Vector Search
Adds a new standalone crate
ruvector-gcvsimplementing coherence-gated BFS expansion on top of vector ANN search. The first in-retrieval graph traversal primitive in the RuVector ecosystem.Summary
GcvsIndextrait:FlatSearch(baseline),GraphAugSearch(BFS),GraphCohSearch(coherence-gated BFS)cosine(query, v) ≥ threshold— prunes irrelevant branchescargo build --release -p ruvector-gcvsReal Benchmark Results
Hardware: x86-64, Linux 6.18.5, rustc 1.94.1, release build.
Dataset: N=5,000, DIM=128, 3 orthogonal clusters, 20,000 directed cross-cluster edges.
Ground truth: direct cross-cluster graph neighbours only.
All acceptance tests PASS.
Deliverables
crates/ruvector-gcvs(7 source files, all < 500 lines)docs/adr/ADR-194-graph-coherence-search.mddocs/research/nightly/2026-05-22-graph-coherence-search/README.mddocs/research/nightly/2026-05-22-graph-coherence-search/gist.mdEcosystem Connections
Bridges
ruvector-graph,ruvector-coherence,ruvector-mincut,ruvector-gnn,ruvector-verified,rvf, andruFlovia the GCVS retrieval layer.Run it
git checkout research/nightly/2026-05-22-graph-coherence-search cargo build --release -p ruvector-gcvs cargo test -p ruvector-gcvs cargo run --release -p ruvector-gcvs --bin benchmarkGenerated by Claude Code