mlsanityData to 14 Oct 2026

Access Paths for Efficient Ordering with Large Language Models

arXiv 2509.00303 ↗First posted 30 Aug 2025cs.DB cs.AI cs.IRcited by 1

Not on the map. Why?

Abstract (arXiv)

In this work, we present the textttLLM ORDER BY semantic operator as a logical abstraction and conduct a systematic study of its physical implementations. First, we propose several improvements to existing semantic sorting algorithms and introduce a semantic-aware external merge sort algorithm. Our extensive evaluation reveals that no single implementation offers universal optimality on all datasets. From our evaluations, we observe a general scaling relationship between sorting cost and the ordering quality for comparison-based algorithms. Building on these insights, we design a budget-aware optimizer that utilizes heuristic rules, LLM-as-Judge evaluation, and consensus aggregation to dynamically select the near-optimal access path for LLM ORDER BY. In our extensive evaluations, our optimizer consistently achieves ranking accuracy on par with or superior to the best static methods across all benchmarks. We believe that this work provides foundational insights into the principled optimization of semantic operators essential for building robust, large-scale LLM-powered analytic systems.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 43 of its 93 references that are in the map. First posted on arXiv 30 Aug 2025.

Builds on

43 of 93 references.

References · 43

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2024A Survey on LLM-as-a-Judgecited by 1,423
  5. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  6. 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 494
  7. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
  8. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
  9. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
  10. 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 360
  11. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  12. 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 307
31 more
  1. 2020Overview of the TREC 2019 deep learning trackcited by 286
  2. 2022Improving Passage Retrieval with Zero-Shot Question Generationcited by 165
  3. 2021SituatedQA: Incorporating Extra-Linguistic Contexts into QAcited by 145
  4. 2013A Theoretical Analysis of NDCG Type Ranking Measurescited by 119
  5. 2020When is Memorization of Irrelevant Training Data Necessary for High-Accuracy Learning?cited by 104
  6. 2023Beyond Yes and No: Improving Zero-Shot LLM Rankers via Scoring Fine-Grained Relevance Labelscited by 86
  7. 2023Batch Prompting: Efficient Inference with Large Language Model APIscited by 85
  8. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
  9. 2023Zero-Shot Listwise Document Reranking with a Large Language Modelcited by 82
  10. 2015Simple, Robust and Optimal Ranking from Pairwise Comparisonscited by 70
  11. 2023RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Modelscited by 70
  12. 2025How much do language models memorize?cited by 61
  13. 2023A Setwise Approach for Effective and Highly Efficient Zero-shot Ranking with Large Language Modelscited by 55
  14. 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 52
  15. 2024BlendSQL: A Scalable Dialect for Unifying Hybrid Question Answering in Relational Algebracited by 24
  16. 2021TREC Deep Learning Track: Reusable Test Collections in the Large Data Regimecited by 23
  17. 2025AgenticData: An Agentic Data Analytics System for Heterogeneous Datacited by 22
  18. 2025SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQLcited by 12
  19. 2024FLEX: Expert-level False-Less EXecution Metric for Reliable Text-to-SQL Benchmarkcited by 11
  20. 2023PaRaDe: Passage Ranking using Demonstrations with Large Language Modelscited by 10
  21. 2023LLM-SQL-Solver: Can LLMs Determine SQL Equivalence?cited by 10
  22. 2025QUEST: Query Optimization in Unstructured Document Analysiscited by 10
  23. 2025Cognify: Supercharging Gen-AI Workflows With Hierarchical Autotuningcited by 7
  24. 2016Sampling-Based Query Re-Optimizationcited by 4
  25. 2024Hybrid Querying Over Relational Databases and Large Language Modelscited by 3
  26. 2024Table Integration in Data Lakes Unleashed: Pairwise Integrability Judgment, Integrable Set Discovery, and Multi-Tuple Conflict Resolutioncited by 3
  27. 2025ADL: A Declarative Language for Agent-Based Chatbotscited by 3
  28. 2025Cequel: Cost-Effective Querying of Large Language Models for Text Clusteringcited by 3
  29. 2023Serving Deep Learning Model in Relational Databasescited by 2
  30. 2020CoT: Decentralized Elastic Caches for Cloud Environmentscited by 1
  31. 2022Noise Stability of Ranked Choice Votingcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.