Why, Where, How: Taxonomy-guided Error Grounding for Code Repair in NL2SQL
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:02 UTC · 56e7c5cdebf5 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "52v9V3tj4o"- }- ],- "title": "Why, Where, How: Taxonomy-guided Error Grounding for Code Repair in NL2SQL",- "authors": [],- "abstract": "SQL queries that large language models write from natural language questions\ncan execute successfully yet produce incorrect results, so execution alone does\nnot reveal what to fix.\nAn error taxonomy says *why* the query is wrong, but not *where* to look or *how* to change it.\nExisting methods can guide SQL correction through feedback, error reports, or generated plans alongside an unmasked query.\nWe introduce **TEG**(**T**axonomy-guided **E**rror **G**rounding), which turns a supplied diagnosis into a structured correction input for natural language-to-SQL (NL2SQL) correction.\nType-specific rules map each error type to construct classes to reconsider and an edit operation to request.\nTEG masks the selected constructs in the query when applicable and states that operation in an edit instruction.\nTEG generates candidate corrections from this input, uses execution feedback to guide candidate selection, and repeats the process one annotation at a time for queries with several errors.\nOn NL2SQL-BUGs, TEG reaches 47.3 single-error execution accuracy and 37.0 overall with Qwen2.5-7B-Instruct.\nAcross the model sizes and thinking modes evaluated in the main comparison, TEG outperforms all evaluated baselines on single-error queries, even when the baselines receive the same error-type annotations.\nWith predicted types, TEG stays above direct LLM correction and ErrorLLM on single-error queries.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "458c79b9-13dd-492a-aa78-b1bc0398eea3"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Why, Where, How: Taxonomy-guided Error Grounding for Code Repair in NL2SQL",+ "authors": [],+ "abstract": "SQL queries that large language models write from natural language questions\ncan execute successfully yet produce incorrect results, so execution alone does\nnot reveal what to fix.\nAn error taxonomy says *why* the query is wrong, but not *where* to look or *how* to change it.\nExisting methods can guide SQL correction through feedback, error reports, or generated plans alongside an unmasked query.\nWe introduce **TEG**(**T**axonomy-guided **E**rror **G**rounding), which turns a supplied diagnosis into a structured correction input for natural language-to-SQL (NL2SQL) correction.\nType-specific rules map each error type to construct classes to reconsider and an edit operation to request.\nTEG masks the selected constructs in the query when applicable and states that operation in an edit instruction.\nTEG generates candidate corrections from this input, uses execution feedback to guide candidate selection, and repeats the process one annotation at a time for queries with several errors.\nOn NL2SQL-BUGs, TEG reaches 47.3 single-error execution accuracy and 37.0 overall with Qwen2.5-7B-Instruct.\nAcross the model sizes and thinking modes evaluated in the main comparison, TEG outperforms all evaluated baselines on single-error queries, even when the baselines receive the same error-type annotations.\nWith predicted types, TEG stays above direct LLM correction and ErrorLLM on single-error queries.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}