Low Document-Level Hit Rate in local_search
#1981
Unanswered
Li Fu (Furi5)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have built a document-level retrieval benchmark based on a corpus of over 1,000 scientific papers. The goal is to assess if
local_searchcan retrieve the correct source document for a given factual question.My evaluation shows a very low document-level Hit Rate, starting at 3.44% for Anson (@k)=1 and reaching only 21.63% at Anson (@k)=10. This suggests that for tasks requiring precise document provenance, the default
local_searchconfiguration may not be optimal.My Methodology
[e.g., pharmacology].graphrag --initcommand with the--init-method fastsetting.local_searchfunction.result.context_data["sources"]field from thelocal_searchoutput. A "hit" is counted if the ID of the "target document" is present in this list of sources. The Hit Rate Anson (@k) is the percentage of questions for which the target document is found within the top k sources.Results
Here is the Hit Rate table from my benchmark:
All reactions