Adaptive and Robust Translation from Natural Language to Multi-model Query Languages
Gengyuan Shi, Chaokun Wang, Yabin Liu, Jiawei Ren
摘要
Multi-model databases and polystore systems are increasingly studied for managing multimodel data holistically. As their primary interface, multi-model query languages (MMQLs) often exhibit complex grammars, highlighting the need for effective Text-to-MMQL translation methods. Despite advances in natural language translation, no effective solutions for Text-to-MMQL exist. To address this gap, we formally define the Text-to-MMQL task and present the first Text-to-MMQL dataset involving three representative MMQLs. We propose an adaptive Text-to-MMQL framework that includes both a schema embedding module for capturing multi-model schema information and an MMQL representation strategy to generate concise intermediate query formats with error correction in generated queries. Experimental results show that the proposed framework achieves over a 9% accuracy improvement over our adapted baseline methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- PURPLE: Making a Large Language Model a Better SQL Writer 引用了 Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
- PURPLE: Making a Large Language Model a Better SQL Writer 引用了 DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
- PURPLE: Making a Large Language Model a Better SQL Writer 引用了 CatSQL: Towards Real World Natural Language to SQL Applications
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction 引用了 Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
- CatSQL: Towards Real World Natural Language to SQL Applications 引用了 Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
- DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models 引用了 DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
它引用的 Paper7
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionMohammadreza Pourreza, Davood RafieiNeurIPS 2023 · 909 次引用
- Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsYujian Gan, Xinyun Chen, Jinxia Xie, Matthew Purver 等EMNLP Findings 2021 · 88 次引用
- CatSQL: Towards Real World Natural Language to SQL ApplicationsHan Fu, Chang Liu, Bin Wu, Feifei Li 等VLDB 2023 · 79 次引用
- DTS-SQL: Decomposed Text-to-SQL with Small Large Language ModelsMohammadreza Pourreza, Davood RafieiEMNLP Findings 2024 · 71 次引用
- PURPLE: Making a Large Language Model a Better SQL WriterTonghui Ren, Yuankai Fan, Zhenying He, Ren Huang 等ICDE 2024 · 49 次引用
相关 Paper
- Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQLJie Shi, Xi Cao, Bo Xu, Jiaqing Liang 等EMNLP 2025 · 2 次引用
- R³-NL2GQL: A Model Coordination and Knowledge Graph Alignment Approach for NL2GQLYuhang Zhou, Yu He, Siyu Tian, Yuchen Ni 等EMNLP Findings 2024 · 5 次引用
- MultiSQL: A Schema-Integrated Context-Dependent Text2SQL Dataset with Diverse SQL OperationsChunhui Li, Yifan Wang, Zhen Wu, Zhen Yu 等ACL Findings 2024 · 6 次引用
- MM2SQL: A Benchmark and Method for Visually-Grounded SQL GenerationShengze Shi, Tao Ren, Li Qi, Tingrui Yang 等ICDE 2026
- MARS-SQL: A Multi-Agent Reinforcement Learning Framework For Text-To-SQLHaolin Yang, Jipeng Zhang, Zhitao He, Alexander Zhou 等ICML 2026 · 12 次引用
