scimeatlas

Research map / Large language models / Reasoning and chain of thought

Are Optimal Algorithms Still Optimal? Rethinking Sorting in LLM-Based Pairwise Ranking with Batching and Caching

Juan Wisznia, Cecilia Bolaños, Juan Tollo, Giovanni Marraffini, Agustín Gianolini, Noe Hsueh, Luciano Del Corro

ACL 2025Large language models › Reasoning and chain of thoughtapproach: Routing, pruning and distillation for reasoningopen problems in this approach5 citations (OpenAlex)

Universidad de Buenos Aires · Lumina Labs

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
6improved
1no clear effect
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Larger batch size

increase batch size from 2 to 128 · TREC DL 2019 (Flan-T5-L) · LLM inferences: 124.8 -> 13.2 Improved

What 943 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
batch size 2 instead of 1 for Quicksort partitioningQuicksort vs Heapsort · TREC DL / BEIRLLM inference calls: about 44-45% fewer inference calls than HeapsortImproved
add caching of repeated comparisons (ablation)Bubblesort · TREC DL / BEIRLLM inference calls: 46% average reductionImproved
add caching (ablation)Bubblesort · TREC DL 2019 (Flan-T5-L)LLM inferences: 843.7 -> 388.3Improved
add caching or batching (ablation)Bubblesort / Quicksort · ranking qualityNDCG@10: same NDCG@10 with and without caching/batchingNo clear effect
increase batch size from 2 to 128 (ablation)Quicksort (median of three) · TREC DL 2019 (Flan-T5-L)LLM inferences: 124.8 -> 13.2Improved
use Quicksort at batch 128 instead of HeapsortQuicksort · BEIR (A100)latency: 5.52x faster with similar nDCG@10Improved
use Quicksort (median of three, b=2) instead of HeapsortFlan-T5-L · Touche2020NDCG@10: 0.332 -> 0.274Hurt
use cached Bubblesort instead of HeapsortFlan-T5-L · Touche2020NDCG@10: 0.332 -> 0.447Improved
use Quicksort (median of three) instead of HeapsortFlan-T5-XL · TREC DL 2019NDCG@10: 0.706 -> 0.696Hurt
increase GPU batch sizeFlan-T5-Large single forward pass · A100 / RTX 3090 / RTX 2080 Tithroughput speed-up: near-ideal scaling up to batch 8 (A100), 2 (3090), 4 (2080 Ti), then saturatesMixed

Open problems this paper states

Open problems in routing, pruning and distillation for reasoning

Do routing, pruning and distillation savings hold on larger models, open-ended tasks and real deployments?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy