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
在最新榜 #338 本站收录于 2026-11-16
一句话要点
MEM-SQL通过存储查询模板和可复用SQL块,结合历史查询记忆与动态schema访问,在保持准确性的同时显著降低输入token和生成延迟,验证了历史查询复用对文本到SQL性能的提升作用。
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.
要点
- 传统文本到SQL系统在独立评估中忽略历史查询对当前问题的潜在帮助,导致对实际场景下推理能力的误判。
- MEM-SQL通过存储完整查询模板、可复用SQL片段及领域概念到schema的映射关系,实现对历史查询结果的结构化复用。
- 在HARE基准测试中,MEM-SQL将准确率从37.1%提升至50.0%,平均输入token减少76.6%,生成延迟降低68.8%,显著优于无历史记忆的直接生成方法。
- 当多个已验证查询需被重新组合或置于新结构时,复用效果下降明显,表明历史信息的有效性依赖于其在新语境中的可整合性与结构适配。
English overview
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.
只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。
阅读 arXiv 原文 PDF Hugging Face 讨论
相关论文
- 同机构 · Nested Sparsity for Scalable Pretraining and Continual Learning 2026-10-22 · The University of Hong Kong
- 同机构 · TILDE: Teacher-in-the-Loop Distillation from Embodied Foundation Models 2026-10-18 · The University of Hong Kong
- 同主题 · DTCA: Denoising Token Credit Assignment for Reinforcement Learning in Diffusion Language Models 2026-10-26
- 同主题 · K2-Horizon: A Frontier Fleet of Open Source Language Models 2026-11-16
- 同期 · Gamer: A Generalist Vision-Language-Action Foundation Model for Long-Horizon Real-Time Game Agent 2026-11-13
数据说明
元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。
要点由本站根据摘要自写,不转载摘要原文,请阅读原文。