Problem
Teams that rerank retrieval results with an LLM, or label relevance with one, face a trade-off. Scoring each query-document pair in its own call (pointwise) needs one call per document and gives uncalibrated scores, because the model never sees the other candidates. One call for the whole list is faster, but the model leans on the original rank and favors whatever sits first in the prompt. Quality also drops as the list gets longer.
Example from the article: on a legal search dataset, Thomson Reuters Labs and the University of Toronto reranked the top 30 and the top 90 results, and scored relevance as a binary task with AUC-PR.
Solution in brief
Score a batch of documents in one call, repeat the call several times with the documents reshuffled, and average the scores per document. For long lists, split the list into sub-batches of 10 to 30 documents and shuffle before splitting. The repeated calls run in parallel, so latency stays close to one call.
Questions this case answers
- How to obtain accurate graded relevance scores from a language model for a long candidate list when one call per item is too slow and one call for the whole list is biased by position
- How to get reliable LLM relevance scores for the top-N search results without one LLM call per document?
- How to rerank 30 to 90 candidates with an LLM at low latency?
- How to stop an LLM from scoring documents higher just because they sit at the top of the prompt?
Tools and methods
- Batched pointwise scoring — one LLM call returns a graded relevance label for every document in the batch
- Self-consistency with shuffling — calls per document in different orders and co-candidate sets, scores averaged
- Sub-batching (STB, BTS) — splits long lists so position bias stays small
- GPT-4o — the main model in the legal search results shown
Google or a one-time email code. No password.