Preprint · 2025 · Open access
CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization
arXiv · Published 3 September 2025 · DOI 10.48550/arxiv.2509.03102
In brief
“CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization” is a 2025 preprint by Wenrui Zhou and 4 co-authors, published in arXiv. OpenAlex counts 1 citations as of 30 November 2026. It is open access under a CC BY licence: the full text is free to read at arXiv.
- Citations
- 1
- Most cited in
- 2026 (1)
- References
- 17
- Authors
- 5
Abstract
Efficient data processing is increasingly vital, with query optimizers playing a fundamental role in translating SQL queries into optimal execution plans. Traditional cost-based optimizers, however, often generate suboptimal plans due to flawed heuristics and inaccurate cost models, leading to the emergence of Learned Query Optimizers (LQOs). To address challenges in existing LQOs, such as the inconsistency and suboptimality inherent in pairwise ranking methods, we introduce CARPO, a generic framework leveraging listwise learning-to-rank for context-aware query plan optimization. CARPO distinctively employs a Transformer-based model for holistic evaluation of candidate plan sets and integrates a robust hybrid decision mechanism, featuring Out-Of-Distribution (OOD) detection with a top-k fallback strategy to ensure reliability. Furthermore, CARPO can be seamlessly integrated with existing plan embedding techniques, demonstrating strong adaptability. Comprehensive experiments on TPC-H and STATS benchmarks demonstrate that CARPO significantly outperforms both native PostgreSQL and Lero, achieving a Top-1 Rate of 74.54% on the TPC-H benchmark compared to Lero's 3.63%, and reducing the total execution time to 3719.16 ms compared to PostgreSQL's 22577.87 ms.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Zhou, W., Liu, Q., Peng, J., Zhang, A., & Chen, L. (2025). CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization. arXiv. https://doi.org/10.48550/arxiv.2509.03102
MLA 9
Zhou, Wenrui, et al. “CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization.” arXiv, 2025. https://doi.org/10.48550/arxiv.2509.03102.
Chicago
Zhou, Wenrui, Qiyu Liu, Jingshu Peng, Aoqian Zhang, and Lei Chen. 2025. “CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization.” arXiv. https://doi.org/10.48550/arxiv.2509.03102.
Harvard
Zhou, W. et al. (2025) ‘CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization’, arXiv. doi:10.48550/arxiv.2509.03102.
IEEE
W. Zhou, Q. Liu, J. Peng, A. Zhang, and L. Chen, “CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization,” arXiv, 2025, doi: 10.48550/arxiv.2509.03102.
BibTeX
@misc{zhou2025carpo,
title = {{CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization}},
author = {Zhou, Wenrui and Liu, Qiyu and Peng, Jingshu and Zhang, Aoqian and Chen, Lei},
howpublished = {arXiv},
year = {2025},
doi = {10.48550/arxiv.2509.03102},
url = {https://doi.org/10.48550/arxiv.2509.03102}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Topic and keywords
Physical Sciences › Computer Science › Information Systems › Advanced Database Systems and Queries
- query plan optimization
- out-of-distribution detection
- TPC-H
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Zhou, W., Liu, Q., Peng, J., Zhang, A., & Chen, L. (2025). CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan Optimization. arXiv. https://doi.org/10.48550/arxiv.2509.03102
How many times has this paper been cited?
1 times, according to OpenAlex on 30 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at arXiv: sign in and open the PDF from this page.
Who wrote this paper?
Wenrui Zhou, Qiyu Liu, Jingshu Peng, Aoqian Zhang, Lei Chen.
What is the DOI of this paper?
10.48550/arxiv.2509.03102, permanently at https://doi.org/10.48550/arxiv.2509.03102. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 30 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.