mlsanityData to 7 Oct 2026

Leveraging Prior Experience: An Expandable Auxiliary Knowledge Base for Text-to-SQL

arXiv 2411.13244 ↗First posted 20 Nov 2024cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) exhibit impressive problem-solving skills across many tasks, but they still underperform compared to humans in various downstream applications, such as text-to-SQL. On the BIRD benchmark leaderboard, human performance achieves an accuracy of 92.96%, whereas the top-performing method reaches only 72.39%. Notably, these state-of-the-art (SoTA) methods predominantly rely on in-context learning to simulate human-like reasoning. However, they overlook a critical human skill: continual learning. Inspired by the educational practice of maintaining mistake notebooks during our formative years, we propose LPE-SQL (Leveraging Prior Experience: An Expandable Auxiliary Knowledge Base for Text-to-SQL), a novel framework designed to augment LLMs by enabling continual learning without requiring parameter fine-tuning. LPE-SQL consists of four modules that i) retrieve relevant entries, ii) efficient sql generation, iii) generate the final result through a cross-consistency mechanism and iv) log successful and failed tasks along with their reasoning processes or reflection-generated tips. Importantly, the core module of LPE-SQL is the fourth one, while the other modules employ foundational methods, allowing LPE-SQL to be easily integrated with SoTA technologies to further enhance performance. Our experimental results demonstrate that this continual learning approach yields substantial performance gains, with the smaller Llama-3.1-70B model with surpassing the performance of the larger Llama-3.1-405B model using SoTA methods.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 26 of its 30 references that are in the map. First posted on arXiv 20 Nov 2024.

Builds on

26 of 30 references.

References · 26

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  8. 2023Teaching Large Language Models to Self-Debugcited by 963
  9. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  10. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  11. 2024The Faiss librarycited by 370
  12. 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 168
14 more
  1. 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 164
  2. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  3. 2024MCS-SQL: Leveraging Multiple Prompts and Multiple-Choice Selection For Text-to-SQL Generationcited by 103
  4. 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
  5. 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 88
  6. 2024The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Modelscited by 67
  7. 2023ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thoughtcited by 65
  8. 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
  9. 2018Robust Text-to-SQL Generation with Execution-Guided Decodingcited by 51
  10. 2024MAGIC: Generating Self-Correction Guideline for In-Context Text-to-SQLcited by 34
  11. 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
  12. 2024End-to-end Text-to-SQL Generation within an Analytics Insight Enginecited by 7
  13. 2024TCSR-SQL: Towards Table Content-aware Text-to-SQL with Self-retrievalcited by 3
  14. 2024RB-SQL: A Retrieval-based LLM Framework for Text-to-SQLcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026LIMIT: Less Is More for Instruction Tuning in Text-to-SQL
  2. 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
  3. 2024PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistency
  4. 2025Meta-aware Learning in text-to-SQL Large Language Model
  5. 2025GradeSQL: Test-Time Inference with Outcome Reward Models for Text-to-SQL Generation from Large Language Models
  6. 2024PTD-SQL: Partitioning and Targeted Drilling with LLMs in Text-to-SQL
  7. 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL
  8. 2025PaVeRL-SQL: Text-to-SQL via Partial-Match Rewards and Verbal Reinforcement Learning