mlsanityData to 7 Oct 2026

Memo-SQL: Structured Decomposition and Experience-Driven Self-Correction for Training-Free NL2SQL

arXiv 2601.10011 ↗First posted 15 Jan 2026cs.AIcited by 3

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

Existing NL2SQL systems face two critical limitations: (1) they rely on in-context learning with only correct examples, overlooking the rich signal in historical error-fix pairs that could guide more robust self-correction; and (2) test-time scaling approaches often decompose questions arbitrarily, producing near-identical SQL candidates across runs and diminishing ensemble gains. Moreover, these methods suffer from a stark accuracy-efficiency trade-off: high performance demands excessive computation, while fast variants compromise quality. We present Memo-SQL, a training-free framework that addresses these issues through two simple ideas: structured decomposition and experience-aware self-correction. Instead of leaving decomposition to chance, we apply three clear strategies, entity-wise, hierarchical, and atomic sequential, to encourage diverse reasoning. For correction, we build a dynamic memory of both successful queries and historical error-fix pairs, and use retrieval-augmented prompting to bring relevant examples into context at inference time, no fine-tuning or external APIs required. On BIRD, Memo-SQL achieves 68.5% execution accuracy, setting a new state of the art among open, zero-fine-tuning methods, while using over 10 times fewer resources than prior TTS approaches.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 20 of its 32 references that are in the map. First posted on arXiv 15 Jan 2026.

Builds on

20 of 32 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025SHARE: An SLM-based Hierarchical Action CorREction Assistant for Text-to-SQL31 May
  2. 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL2 Oct
  3. 2024The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Models14 Aug
  4. 2024Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm16 Feb

Other references · 16

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  4. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  5. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  6. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  7. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
  8. 2025rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinkingcited by 308
  9. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 183
  10. 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 164
  11. 2024MCS-SQL: Leveraging Multiple Prompts and Multiple-Choice Selection For Text-to-SQL Generationcited by 103
  12. 2025OpenSearch-SQL: Enhancing Text-to-SQL with Dynamic Few-shot and Consistency Alignmentcited by 51
4 more
  1. 2024MAGIC: Generating Self-Correction Guideline for In-Context Text-to-SQLcited by 34
  2. 2025DeepEye-SQL: A Software-Engineering-Inspired Text-to-SQL Frameworkcited by 26
  3. 2024Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQLcited by 11
  4. 2025LearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language Modelscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL
  2. 2026DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQL
  3. 2024SelECT-SQL: Self-correcting ensemble Chain-of-Thought for Text-to-SQL
  4. 2025Prompt Tuning for Natural Language to SQL with Embedding Fine-Tuning and RAG
  5. 2024LR-SQL: A Supervised Fine-Tuning Method for Text2SQL Tasks under Low-Resource Scenarios
  6. 2026Optimizing Small Language Models for NL2SQL via Chain-of-Thought Fine-Tuning
  7. 2026Query-Conditioned Test-Time Self-Training for Large Language Models
  8. 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQL