Replacing Training with Memory: Listwise Selection for Text-to-SQL

Yeonseok Jeong, Soyoung Yoon, Seongjun Lee, Seung-won Hwang
9/1/2026
cs.SEcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Modern Text-to-SQL systems often follow generate-execute-select pipelines, generating multiple candidate queries then selecting the best one. Listwise selection, by jointly comparing multiple candidates, has been widely adopted, but fine-tuning listwise selectors is costly.

Show full abstract

We thus propose a fine-tuning-free listwise selector. We replace two major fine-tuning objectives with inference-time strategies: (1) learning selection criteria as ordering and (2) mitigating positional bias. First, we build reusable structured memories instead of learning selection behavior as model parameters. Given a question, MaP-SQL retrieves memories distilled from training data that encode how natural language maps to schema elements, SQL operations, and expected outputs. These memories serve as explicit decision criteria for evaluating candidates in a listwise manner. Second, to mitigate ordering bias of listwise selectors, we aggregate rankings across multiple input permutations, with inference cost optimized by execution results and pointwise scoring. Our approach improves selection accuracy while maintaining efficiency and compatibility with existing large language models. Across Text-to-SQL benchmarks, it produces more stable selection without fine-tuning and fewer unnecessary comparisons than existing methods. On BIRD-dev, it outperforms the previous state-of-the-art selector-based method R^3-SQL by 2.02 execution accuracy points on average using the same candidate sets, with 2.92x fewer tokens.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jeong2026replacing,
  title  = {Replacing Training with Memory: Listwise Selection for Text-to-SQL},
  author = {Yeonseok Jeong and Soyoung Yoon and Seongjun Lee and Seung-won Hwang},
  year   = {2026},
  eprint = {2609.00834},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.00834v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.00834.svg)](https://codeofpaper.com/paper/2609.00834)

Discussion