Lune

VLDB2020顶会

ATHENA++: Natural Language Querying for Complex Nested SQL Queries

Jaydeep Sen, Chuan Lei, Abdul Quamar, Fatma Özcan, Vasilis Efthymiou, Ayushi Dalmia, Greg Stager, Ashish R. Mittal, Diptikalyan Saha, Karthik Sankaranarayanan

摘要

Natural Language Interfaces to Databases (NLIDB) systems eliminate the requirement for an end user to use complex query languages like SQL, by translating the input natural language (NL) queries to SQL automatically. Although a significant volume of research has focused on this space, most state-of-the-art systems can at best handle simple select-project-join queries. There has been little to no research on extending the capabilities of NLIDB systems to handle complex business intelligence (BI) queries that often involve nesting as well as aggregation. In this paper, we present ATHENA++, an end-to-end system that can answer such complex queries in natural language by translating them into nested SQL queries. In particular, ATHENA++ combines linguistic patterns from NL queries with deep domain reasoning using ontologies to enable nested query detection and generation. We also introduce a new benchmark data set (FIBEN), which consists of 300 NL queries, corresponding to 237 distinct complex SQL queries on a database with 152 tables, conforming to an ontology derived from standard financial ontologies (FIBO and FRO). We conducted extensive experiments comparing ATHENA++ with two state-ofthe-art NLIDB systems, using both FIBEN and the prominent Spider benchmark. ATHENA++ consistently outperforms both systems across all benchmark data sets with a wide variety of complex queries, achieving 88.33% accuracy on FIBEN benchmark, and 78.89% accuracy on Spider benchmark, beating the best reported accuracy results on the dev set by 8%.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • PURPLE: Making a Large Language Model a Better SQL Writer 引用了 Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
  • PURPLE: Making a Large Language Model a Better SQL Writer 引用了 CatSQL: Towards Real World Natural Language to SQL Applications
  • Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation 引用了 CodexDB: Synthesizing Code for Query Processing from Natural Language Instructions using GPT-3 Codex
  • ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systems 引用了 DBPal: A Fully Pluggable NL2SQL Training Pipeline
  • CatSQL: Towards Real World Natural Language to SQL Applications 引用了 DBPal: A Fully Pluggable NL2SQL Training Pipeline
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. Text-to-SQL Empowered by Large Language Models: A Benchmark EvaluationDawei Gao, Haibin Wang, Yaliang Li, Xiuyu Sun 等VLDB 2024 · 609 次引用
  2. CatSQL: Towards Real World Natural Language to SQL ApplicationsHan Fu, Chang Liu, Bin Wu, Feifei Li 等VLDB 2023 · 79 次引用
  3. CodexDB: Synthesizing Code for Query Processing from Natural Language Instructions using GPT-3 CodexImmanuel TrummerVLDB 2022 · 77 次引用
  4. ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL SystemsYi Zhang, Jan Deriu, George Katsogiannis-Meimarakis, Catherine Kosten 等VLDB 2024 · 65 次引用
  5. PURPLE: Making a Large Language Model a Better SQL WriterTonghui Ren, Yuankai Fan, Zhenying He, Ren Huang 等ICDE 2024 · 49 次引用

它引用的 Paper1

  1. DBPal: A Fully Pluggable NL2SQL Training PipelineNathaniel Weir, Prasetya Ajie Utama, Alex Galakatos, Andrew Crotty 等SIGMOD 2020 · 36 次引用

相关 Paper

  1. Gar: A Generate-and-Rank Approach for Natural Language to SQL TranslationYuankai Fan, Zhenying He, Tonghui Ren, Dianjun Guo 等ICDE 2023 · 12 次引用
  2. MT-Teql: Evaluating and Augmenting Neural NLIDB on Real-world Linguistic and Schema VariationsPingchuan Ma, Shuai WangVLDB 2022 · 38 次引用
  3. Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsYujian Gan, Xinyun Chen, Jinxia Xie, Matthew Purver 等EMNLP Findings 2021 · 88 次引用
  4. Metasql: A Generate-Then-Rank Framework for Natural Language to SQL TranslationYuankai Fan, Zhenying He, Tonghui Ren, Can Huang 等ICDE 2024 · 23 次引用
  5. A Natural Language Interface for Database: Achieving Transfer-learnability Using Adversarial Method for Question UnderstandingWenlu Wang, Yingtao Tian, Haixun Wang, Wei-Shinn KuICDE 2020 · 14 次引用
黄昏的海面,两侧是细线勾勒的悬崖