Why does Recall@N go up but full-chain recall stay flat? #28
The question in one lineI widened What I have already tried
The numbersWhereNotebook 01 §1.3 |
Replies: 3 comments 5 replies
|
This is the most useful confusion in the whole curriculum, so it is worth answering at length.
Widening N only affects the first. The second is bounded by Concretely: a two-hop comparison question needs both entities' evidence in the packed context. How to confirm it on your own run — this is the diagnostic worth learning: for r in rows:
if r["full_chain_recall_at_N"] == 1.0 and r["full_chain_recall"] == 0.0:
print(r["qid"], r["question_type"]) # found it, then dropped itIf that list is long, your bottleneck is stage three, not stage one. Notebook 01 §1.3 measures What actually moves it:
Option 3 is the interesting one. A global relevance ranking cannot express a constraint about The general form of this is worth carrying: when a metric at stage n improves and a metric Seeded by faculty as a worked example of the format. Start your own thread rather than replying here unless you have something to add. |
A question about the arithmetic rather than the fix, because I want to check I understand what full-chain recall is. If per-passage recall is 0.938 at Either I have the wrong model of the metric or something else is going on. |
Closing the loop. Ran the diagnostic from the accepted answer: 84 questions where the evidence was in the pool and did not survive packing — against 27 where it was never retrieved at all. My bottleneck was three-to-one on the stage I was not working on. Implemented the per-entity slot reservation from notebook 02 §2.2 for Same |
This is the most useful confusion in the whole curriculum, so it is worth answering at length.
Recall@Nandfull_chain_recallmeasure different stages.Recall@Nis about thecandidate pool: did stage one find the evidence at all?
full_chain_recallis about thepacked context: did every gold item for a question survive into the k chunks the model
actually reads?
Widening N only affects the first. The second is bounded by
k.Concretely: a two-hop comparison question needs both entities' evidence in the packed context.
At
k=8, with a global relevance ranking, it is entirely possible for six of your eight slotsto go to one entity. Adding 300 more candidates does not create a ninth slot.
How …