ResearchBy AIToolMaps
Text-to-SQL study finds that a single database can reward wrong queries
In an arXiv preprint, Shreshth Rai, Rishii Kumar Singh, Aksh Aggarwal and colleagues tested whether checking AI-generated SQL against multiple versions of a database could catch queries that returned the expected result by chance. Training with a version that awarded partial credit lowered in-domain accuracy from 11.7% to 8.4% and raised the Spider benchmark score by 1.6 points. Both trends reversed in one of three runs. The authors shared code, data, models and a demo.
Why it matters
A query can return the expected rows on one dataset even when its logic is wrong. The audit caught more of those errors, while the training results varied by benchmark and run.
Sources
- PrimaryarXiv · Computation and LanguageSource date ·
Written by AIToolMaps from the source above and checked against it sentence by sentence.