arXiv 2611.18338 · cs.DB · 2026-11-13
MEM-SQL: Memory-Empowered Text-to-SQL
Xiaoqi Wang, Wenqi Pei, Shizheng Hou, Yilai Liu, Han Chen, Boyan Li, Yuyu Luo, Hongyang Du
The University of Hong Kong
In latest · #338 Added on 2026-11-16
One-line takeaway
MEM-SQL improves text-to-SQL accuracy and efficiency by leveraging historical query memory and dynamic schema access, demonstrating the value of query reuse under specific conditions.
MEM-SQL通过存储查询模板和可复用SQL块,结合历史查询记忆与动态schema访问,在保持准确性的同时显著降低输入token和生成延迟,验证了历史查询复用对文本到SQL性能的提升作用。
Key points
Text-to-SQL systems often fail to leverage historical query results due to isolated evaluation. HARE introduces a benchmark measuring query adaptation across database interactions. MEM-SQL stores reusable query templates and schema mappings, using a layered matching strategy. It only accesses the schema when necessary via On-demand Schema Linking (OSL), reducing both token cost and latency. Performance gains are significant but depend on how well historical components align with new query structures.
- Traditional text-to-SQL benchmarks ignore historical query reuse, limiting real-world effectiveness assessment.
- MEM-SQL stores query templates, reusable SQL blocks, and concept-schema mappings to enable structured history utilization.
- On HARE, MEM-SQL achieves 50.0% accuracy (vs. 37.1%) with 76.6% fewer tokens and 68.8% lower latency than direct generation.
- Reuse performance drops sharply when historical components must be restructured or combined in new joins, highlighting alignment dependency.
Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.
Read on arXiv PDF Hugging Face discussion
Topics & disciplines
Related papers
- Same organisation · Nested Sparsity for Scalable Pretraining and Continual Learning 2026-10-22 · The University of Hong Kong
- Same organisation · TILDE: Teacher-in-the-Loop Distillation from Embodied Foundation Models 2026-10-18 · The University of Hong Kong
- Same topic · DTCA: Denoising Token Credit Assignment for Reinforcement Learning in Diffusion Language Models 2026-10-26
- Same topic · K2-Horizon: A Frontier Fleet of Open Source Language Models 2026-11-16
- Same period · Gamer: A Generalist Vision-Language-Action Foundation Model for Long-Horizon Real-Time Game Agent 2026-11-13
About this data
Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-30.
The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.