CURING THE SILENT ROT: DIAGNOSING AND STRESS- TESTING CONTEXT BANKS FOR TEXT-TO-SQL
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:05 UTC · 9ab36e8cb01d ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "qTKZb5VBzl"- }- ],- "title": "CURING THE SILENT ROT: DIAGNOSING AND STRESS- TESTING CONTEXT BANKS FOR TEXT-TO-SQL",- "authors": [],- "abstract": "Text-to-SQL systems increasingly rely on context banks: curated collections of\nexample queries, metric definitions, and domain knowledge that tell a model how\nan organization writes its queries. In the enterprise, a bank grows over years as\nmany analysts add entries, checked one at a time for correctness (does the SQL\nanswer its own question?) and rarely for consistency with one another. Yet cor-\nrectness is often loosely defined: a question seldom fixes how an entity is counted\nor which table defines it, so two entries can each pass review yet resolve the same\ndecision in opposite ways. We call this condition context bank rot. A second ques-\ntion follows: does a system that uses a bank generalize from it, or only reproduce\nit? Existing benchmarks cannot tell, as they do not control how far a test question\nsits from the context. We answer both questions by comparing queries decision by\ndecision, with a fast scorer distilled from human-calibrated LLM judges. Turned\ninward, the comparison diagnoses and repairs a bank. Fine-tuning on a cleaned\nBIRD-train bank beats a same-size random subset at every epoch (+2.6 points on\naverage), and 92.4% of our removals had their SQL corrected by an independent\nexpert audit, against 45.6% of audited entries. In-context examples that follow\none convention beat those following the opposite one by 13.3 points, while a mix\nis barely better than none. Turned outward, the comparison generates test ques-\ntions at a controlled distance from a bank, a pipeline we call CAT (Context-Aware\nTesting). On CAT-BIRD, for retrieval and fine-tuning alike, the benefit of a bank\nfalls step by step with distance and is largely gone once about three quarters of a\nquestion’s logic is new, and on CAT-Spider the benefit of retrieval likewise shrinks\nwith distance.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "aeaafdb9-fe6d-4374-97da-1be25ccafe42"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "CURING THE SILENT ROT: DIAGNOSING AND STRESS- TESTING CONTEXT BANKS FOR TEXT-TO-SQL",+ "authors": [],+ "abstract": "Text-to-SQL systems increasingly rely on context banks: curated collections of\nexample queries, metric definitions, and domain knowledge that tell a model how\nan organization writes its queries. In the enterprise, a bank grows over years as\nmany analysts add entries, checked one at a time for correctness (does the SQL\nanswer its own question?) and rarely for consistency with one another. Yet cor-\nrectness is often loosely defined: a question seldom fixes how an entity is counted\nor which table defines it, so two entries can each pass review yet resolve the same\ndecision in opposite ways. We call this condition context bank rot. A second ques-\ntion follows: does a system that uses a bank generalize from it, or only reproduce\nit? Existing benchmarks cannot tell, as they do not control how far a test question\nsits from the context. We answer both questions by comparing queries decision by\ndecision, with a fast scorer distilled from human-calibrated LLM judges. Turned\ninward, the comparison diagnoses and repairs a bank. Fine-tuning on a cleaned\nBIRD-train bank beats a same-size random subset at every epoch (+2.6 points on\naverage), and 92.4% of our removals had their SQL corrected by an independent\nexpert audit, against 45.6% of audited entries. In-context examples that follow\none convention beat those following the opposite one by 13.3 points, while a mix\nis barely better than none. Turned outward, the comparison generates test ques-\ntions at a controlled distance from a bank, a pipeline we call CAT (Context-Aware\nTesting). On CAT-BIRD, for retrieval and fine-tuning alike, the benefit of a bank\nfalls step by step with distance and is largely gone once about three quarters of a\nquestion’s logic is new, and on CAT-Spider the benefit of retrieval likewise shrinks\nwith distance.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}