Repository navigation
Conversation
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.
Describe the changes in the pull request
Add an isolated ARM proof of concept evaluating PiPNN for bulk index construction and graph search. This draft contains benchmark drivers, pinned-source build patches/instructions, data preparation, raw measurements and reports under
poc/pipnn-arm/. It does not add a production backend or change VectorSimilarity APIs.On 100k normalized 1536D DBpedia vectors, serial queries and one build thread, medians of two runs are:
*Construction boundaries differ: PiPNN includes serialization but excludes query-process graph loading; HNSW is queryable after construction. Compiler arithmetic flags also differ. These are implementation measurements, not equivalent ready-to-serve or algorithm-only speedups. Search efforts are a finite sweep; the cheaper HNSW configuration's 99% point could improve with a denser sweep.
The result supports further high-recall validation, not replacing HNSW. Pruning tuning did not eliminate the 95%-recall latency gap against the stronger HNSW build. Two trees increased build cost without a compelling advantage over the selected single-tree candidate.
Validation
Start with
poc/pipnn-arm/PHASE2_RESULTS.mdandRESULTS.md. Host-specific runner/data paths are documented in the README; datasets, binaries and graph files are not committed. Upstream license attribution is included.Before production consideration: untouched-query validation, denser effort sweeps, aligned compiler settings, common readiness timing, larger/multithreaded runs, and update/delete/serving integration. Identical PiPNN RSS readings across configurations remain qualified in the report.
Which issues this PR fixes
None; exploratory draft PoC.
Main objects this PR modified
poc/pipnn-arm/: experimental harnesses, patches, documentation and measurement evidence only.Mark if applicable