SARank: Structure-Aware Demonstration Reranking for Text-to-SQL
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:59 UTC · 5c5a39e599e1 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "HYMwikN0Sr"- }- ],- "title": "SARank: Structure-Aware Demonstration Reranking for Text-to-SQL",- "authors": [],- "abstract": "Text-to-SQL translates natural-language questions into executable SQL queries. Existing retrieval-augmented methods usually rank demonstrations by semantic or schema similarity. However, semantically similar questions may require different SQL operations, causing structurally relevant demonstrations to fall outside the limited Top-$K$ context. We call this problem the demonstration exposure bottleneck. To address it, we propose SARank, a structure-aware demonstration reranking method. SARank first uses a schema-aware retriever to construct a high-recall candidate pool. It then abstracts SQL literals and learns question--SQL compatibility with a shared encoder trained by a candidate-aware contrastive objective using retrieval-based, same-database, and random negatives. The resulting scores reorder the candidates before prompt construction, without requiring a predicted target SQL or execution feedback. Experiments across Spider, BIRD, BEAVER, and Dr.Spider, including evaluations with multiple LLMs, show that SARank improves $\\operatorname{BestSim}@3$, $\\operatorname{Recall}@3(0.8)$, and downstream execution accuracy. Candidate-budget analysis and case studies further show that SARank promotes lower-ranked but structurally aligned demonstrations into the Top-$K$, providing more effective guidance for SQL generation.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "6fac6201-5443-4ebd-90e1-37fec7730964"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "SARank: Structure-Aware Demonstration Reranking for Text-to-SQL",+ "authors": [],+ "abstract": "Text-to-SQL translates natural-language questions into executable SQL queries. Existing retrieval-augmented methods usually rank demonstrations by semantic or schema similarity. However, semantically similar questions may require different SQL operations, causing structurally relevant demonstrations to fall outside the limited Top-$K$ context. We call this problem the demonstration exposure bottleneck. To address it, we propose SARank, a structure-aware demonstration reranking method. SARank first uses a schema-aware retriever to construct a high-recall candidate pool. It then abstracts SQL literals and learns question--SQL compatibility with a shared encoder trained by a candidate-aware contrastive objective using retrieval-based, same-database, and random negatives. The resulting scores reorder the candidates before prompt construction, without requiring a predicted target SQL or execution feedback. Experiments across Spider, BIRD, BEAVER, and Dr.Spider, including evaluations with multiple LLMs, show that SARank improves $\\operatorname{BestSim}@3$, $\\operatorname{Recall}@3(0.8)$, and downstream execution accuracy. Candidate-budget analysis and case studies further show that SARank promotes lower-ranked but structurally aligned demonstrations into the Top-$K$, providing more effective guidance for SQL generation.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}