Abstract
MaP-SQL improves listwise Text-to-SQL selection without fine-tuning by using structured memory retrieval and permutation-based ranking aggregation.
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. 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.
Community
MAP-SQL improves Text-to-SQL candidate selection without fine-tuning by retrieving structured memories as explicit ranking criteria and aggregating listwise rankings across execution-group-based permutations to mitigate positional bias, achieving higher execution accuracy with substantially fewer LLM calls and tokens than prior selector-based methods.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- AttnLink: Turning Attention into Schema Links for Text-to-SQL (2026)
- MDB-Link: Hierarchical Schema Linking for Multi-Database Text-to-SQL (2026)
- BIRD-History: A Benchmark for History-Driven Text-to-SQL with Fine-Grained Knowledge Annotations (2026)
- ReToolSQL: Agentic Reinforcement Learning for Robust Text-to-SQL (2026)
- Finding the Right Tables and Columns: A Benchmark and Corpus-Adaptive Embeddings for SQL Schema Retrieval (2026)
- Retrieving a Set, Not Independent Passages: Set-Level Compatibility Learning for Efficient Set Exploration (2026)
- TabRank: Chain-of-Thought Distillation for Table Re-Rankers (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2609.00834 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper