A Scholar text-to-SQL rerun scored higher on joins than on single-table queries
The template baseline reproduced a 2018 result. Its breakdown shows why training-set template coverage can matter more than apparent SQL complexity.
A new reproduction of the Scholar text-to-SQL baseline reports 53.44% SQL-string exact match across eight training runs, with a standard deviation of 2.01 percentage points. That is close to the 54% figure the repository cites from Finegan-Dollak et al. (ACL 2018). The more useful result is in the breakdown: the baseline matched 58.82% of queries in the multi-table join class but only 20% in the single-table, non-aggregate class. That does not make joins easier. For a model that can only produce templates seen during training, it matters whether the right template was available in the first place.
Look at the denominator, not just the score
The model picks from 160 templates seen during training and fills in slots such as an author name or year. In the committed class table, the multi-table join class accounts for 119 test instances, and 86.55% of those have a gold template available from training. The single-table, non-aggregate class contains just five test instances, only two of which have a gold template available. That makes the 20% figure a result on a tiny slice, not a stable estimate of how the system handles simple queries. The classes are mutually exclusive: queries assigned to the aggregation or subquery classes are counted there even if they also join tables.
The overall table comes from eight runs of the original script. The category breakdown comes from a separate set of eight runs that dump individual predictions; the repository reports 53.27% exact match for that set. Both sets use the same question-based split. The metric asks whether the generated SQL string matches the reference, not whether executing it returns the same result.
What the split actually tests
The original paper distinguishes between recognizing new ways to ask a familiar query and generalizing to a new query. This rerun uses the question-based split and does not report a separate query-based result. If you are evaluating a template-based SQL assistant, report the number of distinct test questions, the share whose gold templates appear in training, and the scoring rule alongside the overall percentage. If the goal is to measure performance on new query structures, report a separate split that holds those structures out. The Scholar breakdown shows why neither an aggregate score nor a label like “single-table” can tell you that on its own.
sources
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026