Semantic ORDER BY cut model calls on TREC DL19. The quality trade-off depends on what you sort.
A November 24 preprint reused earlier model judgments to rank the same candidate passages with 24% fewer calls than a batched merge baseline. Sorting by a known price was a different story.
A November 24 preprint by Akinkunle Akintayo Akinola and Arijit Khan reports that Transitive Batched Sort (TBS) used 1,790 model calls versus 2,347 for listwise merge sort on 43 TREC 2019 Deep Learning queries, a reduction of about 24%. Each method ranked the same 100 BM25-retrieved passages per query using GPT-4o at batch size 10. Mean full-list nDCG, which gives more credit for placing relevant passages near the top, was 0.921 versus 0.916. These are author-reported results for reranking a fixed candidate set, not a test of whether a retrieval system can find relevant passages in the first place. Experimental setup · Table IV
What the comparison buys you
TBS keeps a graph of accepted ordering judgments. If earlier calls have put A before B and B before C, the graph can settle A before C without asking the model again. It can skip a scheduled batch when all its pairwise orders are already implied, and it rejects updates that would introduce a cycle. That keeps the stored judgments consistent with one another; it does not make them correct against the benchmark labels. Method and worked example
The matched batch size makes listwise merge the useful comparison: both algorithms can rank several items per request, so the 24% reduction is not simply the benefit of going from one pair per call to batching. But it is a comparison of complete sorting strategies, not a clean measure of how much graph reuse alone saved: Table IV uses the authors’ best second-round setting for each dataset. Estimated DL19 API cost at published rates was $10.49 versus $15.43 for those runs. That is a token-price estimate, not an end-to-end latency result. Table IV and cost method
Where the headline stops applying
On the 1,000-product Amazon price sort in the same table, the prompts showed the actual prices. TBS used 643 calls versus 1,051 for listwise merge, but Kendall’s tau dropped to 0.972 from 0.999. The separate one-million-product run used GPT-5-nano with batch size 40 and early stopping; it reached 0.923 tau at an estimated $286. That demonstrates scale for ranking prompted items whose prices are visible, not million-item relevance ranking. The paper also reports that early stopping hurt SciFact sharply, where a relevant abstract could remain unresolved. Table IV · Table V
The authors’ public repository includes the DL19 runner, candidate list and relevance judgments. The passage text requires a separate data-preparation step, and live model calls require an API key. We did not rerun the benchmark.
For a deployment decision, benchmark the ordering you actually need. If the user sees only the first page, measure top-of-list quality as well as full-list agreement, particularly on queries with very few relevant candidates. Track calls, token spend and wall-clock time separately. And if the criterion is already a numeric column, include ordinary SQL sorting before spending any model calls.
sources
- Akinola and Khan, arXiv v1, submitted November 24, 2026arxiv.org
- Experimental setup and task denominatorsarxiv.org
- Worked example and graph-based schedulingarxiv.org
- Table IV: matched GPT-4o comparisonarxiv.org
- Table V: scale and early-stop ablationsarxiv.org
- Authors’ public implementation and benchmark setupgithub.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026