scimeatlas

Research map / Large language models / Language, safety and interpretability

Text-to-SQL Error Correction with Language Models of Code

Ziru Chen, Shijie Chen, Michael White, Raymond Mooney, Ali Payani, Jayanth Srinivasa, Yu Su, Huan Sun

ACL 2023Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach33 citations (OpenAlex)

The Ohio State University · University of Texas at Austin · Cisco Research

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
8improved
1no clear effect
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use clause-level edits and PyDict+Program representation instead of SQL+Token-Level (ablation)CodeT5 error correction · Spider dev, BRIDGEv2 parserEM: 68.2 -> 72.5Improved
use clause-level edits and PyDict+Program representation instead of SQL+Token-Level (ablation)CodeT5 error correction · Spider dev, BRIDGEv2 parserEX: 69.4 -> 73.1Improved
apply CodeT5-PyDict+Program error correction to parser outputstext-to-SQL parsers · Spider dev (CodeT5, BRIDGEv2, SmBoP parsers)EM: +2.4 to +6.5Improved
use token-level edit representation with CoditT5 instead of no correctionBRIDGEv2 parser · Spider devEM: 70.1 -> 65.4Hurt
switch from SQL to PyDict representation (clause-level edits) (ablation)CodeT5 error correction · Spider dev, CodeT5 parserEM: 68.3 -> 66.6No clear effect
switch from SQL to PyDict representation (clause-level edits) (ablation)CodeT5 error correction · Spider dev, SmBoP parserEM: 76.7 -> 77.3Improved
use program edit representation instead of PyDict clause-level edits (ablation)CodeT5 error correction · Spider dev, CodeT5 parserEM: 66.6 -> 69.0Improved
use PyDict representation instead of SQL (ablation)CodeT5 zero-shot perplexity · synthesized dev setperplexity: reduced by 2 orders of magnitudeImproved
use PyDict+Program instead of SQL+Token-Level (ablation)CodeT5 zero-shot perplexity · synthesized dev setperplexity: 1.26 x 10^5 -> 5.96 x 10^2Improved
use CodeT5 instead of CoditT5 for same representations (ablation)error correction model · Spider devEM/EXImproved
error correction of database grounding errorsCodeT5-PyDict+Program · 100 sampled SmBoP errorserrors resolved: 16 of 54 resolvedMixed
error correction of incorrect-structure errorsCodeT5-PyDict+Program · 100 sampled SmBoP errorserrors resolved: 3 of 26 resolvedHurt

Open problems in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy