How it works
The first stage is built to be wide and cheap. It might take keyword overlap or a bi-encoder similarity and return a few dozen candidates. A reranker then scores each candidate with the query, often with a cross-encoder that reads the pair together rather than comparing two vectors computed apart. The new order is what the window, or the next stage, will see. Documents that never entered the candidate list are still absent. Reranking cannot repair a recall miss.
The second score is also not the answer. It is an order. A fluent paragraph that shares the query's topic can outrank a short clause that actually states the rule, if the scorer favours surface relevance. Teams cut the list after the rerank to save the window, and that cutoff is where a correct but low-ranked passage disappears. The first-stage rank and the reranked rank should both be kept, or a later reader cannot tell which stage buried the page.
A worked example
Forty local-plan passages reordered for a roof
A planning solicitor searches a stack of local-plan PDFs for which roof materials are allowed in a conservation area. The first stage returns forty chunks that mention roofs, tiles or conservation. A cross-encoder then reads the query with each chunk and moves a short clause about natural slate on front elevations to the top. A long essay on highway verges, which shared many of the query words, drops down. The model is shown the top five only. The slate clause is among them, and the draft quotes it. Had the cutoff stayed on the first-stage order, the verge essay would have filled the window and the slate line would have been left in the forty.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- The right passage never enters the candidate list, and the reranker spends its budget reordering neighbours that cannot answer the question.
- The cutoff after the rerank is tight, and the clause that states the rule sits just outside it, so the model never sees the line the second score had improved.
- The first-stage ranks are discarded, so when the answer quotes the wrong page nobody can tell whether retrieval or the reranker put that page on top. The later reader cannot see which stage was at fault.
How to measure it
On questions with a known passage, record whether it was in the candidate list at all, and where the reranker placed it relative to the cutoff the model sees. Keep both ranks on the trace.
When a person corrects the cited paragraph, check the candidate list before you rewrite the generator prompt. After you change the reranker or the cutoff, compare task success for that task and cohort. Read any page that was ranked and then cut.
How Abracadabra helps
Corrections that point at a passage which was retrieved and then cut before the model call are a rerank or cutoff problem. After that stage changes, compare task success for that task and cohort.
When context is lost, people restate a fact or repeat the request. Abracadabra pins those corrections and repeated intents to the turn. After a change to what the agent keeps, compare task success for that task and cohort with the previous period.
Request access to read this on your own agent.