ESQ-Bench: A Multi-Tier Enterprise Oracle Benchmark for Evaluating NL2SQL Dialect Generalization and Silent Semantic Divergence
Source
arxiv.org
Author
Sanjay Mishra, Divya Chukkapalli, Ganesh R. Naik
Date
Context
A database-query BenchmarkA fixed set of tasks with a stated way of scoring them, used to compare models or setups.Full definition → can look more favorable when it counts only generated queries that successfully run. ESQ-Bench tests natural-language-to-Database and SQLPersistent structured storage queried and changed through explicit operations.Full definition → systems using 550 question-query pairs across three levels of enterprise database complexity.
For OpenAI's GPT-4o given SchemaA written description of a data format: which fields exist, what kind of value each holds and which are required.Full definition →-linked prompts, the authors report execution-match rates of 79.8%, 60.3% and 57.2% among executed queries as complexity rises. They also explain that a prompting approach with fewer executable outputs can appear better on this conditional measure because its failures have dropped out of the denominator. Query execution rates and answer agreement therefore need to be read together.
Terms in this piece · Glossary
Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.
Database and SQL — Persistent structured storage queried and changed through explicit operations.
Schema — A written description of a data format: which fields exist, what kind of value each holds and which are required.
Server — Software that receives requests, processes them and returns responses; the computer running it is its host.