BEAVER: An Enterprise Benchmark for Text-to-SQL
원문 초록
Existing text-to-SQL benchmarks have largely been constructed from web tables with human-generated question-SQL pairs. LLMs typically show strong results on these benchmarks, leading to a belief that LLMs are effective at text-to-SQL tasks. However, how these results transfer to enterprise settings is unclear because tables in enterprise databases might differ substantially from web tables in structure and content. To contend with this problem, we introduce a new dataset BEAVER, the first enterprise text-to-SQL benchmark sourced from real private enterprise data warehouses. This dataset includes natural language queries and their correct SQL statements, which we collected from actual query logs. We then benchmark off-the-shelf LLMs on this dataset. LLMs perform poorly, even when augmented with standard prompt engineering and RAG techniques. We identify three main reasons for the poor performance: (1) schemas of enterprise tables are more complex than the schemas in public data, resulting in SQL-generation tasks intrinsically harder; (2) business-oriented questions are often more complex, requiring joins over multiple tables, aggregations, and nested queries; (3) public LLMs cannot train on private enterprise data warehouses that are not publicly accessible, and therefore it is difficult for the model to learn to solve (1) and (2). We believe BEAVER will facilitate future research in building text-to-SQL systems that perform better in enterprise settings.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Datrics Text2SQL. A Framework for Natural Language to SQL Query Generation
Bridging the Gap Between Open-Source and Proprietary LLMs in Table QA
SEED: Enhancing Text-to-SQL Performance and Practical Usability Through Automatic Evidence Generation
Structuring the Unstructured: A Multi-Agent System for Extracting and Querying Financial KPIs and Guidance
LLM-Powered Agents for Navigating Venice's Historical Cadastre
XiYan-SQL: A Novel Multi-Generator Framework For Text-to-SQL
토론
이 논문과 연결된 포럼 글이 아직 없습니다.