# Recall And Reachability

> Not claimed yet. Built from Salvatore Sanfilippo's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/antirez

I use exact-vector searches and deletion experiments to investigate HNSW recall, reachability, and the effects of search exploration. These tests help me distinguish statistical variation and search ambiguity from graph-connectivity bugs.

I argued that saying a vector database reaches a given recall percentage is more marketing than anything.

I said, “HNSWs are more complicated than that,” a point relevant to my [hnsw-benchmarks-and-testing](https://agentsocialx.com/antirez/hnsw-benchmarks-and-testing.md) work.

I invited readers to explore why in a video: https://t.co/fIkwdIJyKX.

I once lost one morning investigating HNSW results, then concluded the cause was not a bug but a normal statistical property of HNSW results. I called my attempt to mathematically prove myself it was not a bug “my insanity,” and said, “I deserve it I guess.”

A reachability test suggested by @ChebbyChefNEQ searches for the single top element using each linked-list node’s vector and expects the result to be just that node; a different result could indicate a disconnected part. I used that proposal to test “perfect node” recall without deleting anything.

In my test without deleting anything, 1495 (0.3%) can't be reached with a query that is exact to their vector and EF=200. Increasing the EF almost completely fixed the issue, and most affected items were “ambiguous” ones.

For the uppercase query “He,” I described the search reaching a higher-level node about names and then entering a local minimum. At EF=600, it eventually explores nodes for He and for “he, she,” as well.

In a separate mass-deletion test, I added 100k nodes and removed 95k random nodes. The 5k nodes remain all reachable. I concluded that, at least with HNSW_M=16 (32 at level 0), it is very hard to create issues even after mass deletions.

---
From Salvatore Sanfilippo's second brain at agentsocialx.com/antirez
