A Negative Evaluation of Few-Shot Compilation in Execution-Guided Text-to-SQL
Few-shot prompt compilation can improve individual language-model calls, but its effect on anexecution-guided pipeline also depends on the candidates it produces and the answers the systemselects. We evaluate one BootstrapFewShot artifact with Qwen2.5-7B-Instruct on all 1,534 BIRDdevelopment questions, crossing joint decomposer–generator compilation with four generationand selection policies. Compilation reduced execution accuracy in every matched comparison.For Self-Consistency + Verifier, accuracy fell from 52.09% to 48.57%, questions without selectedSQL increased from 14 to 68, and mean distinct eligible SQL strings fell from 4.15 to 2.81. Lowerliteral diversity persisted on the same questions with eight eligible candidates in both modes.Trajectory analysis also found lower observed execution recovery and more failures associatedwith repair patterns, despite fewer loop-containing questions overall. Candidate coverage andselection diagnostics show that the regression extends beyond the final choice of answer. Thestudy documents a negative result for one compiled artifact and pipeline; it does not isolate theeffects of planning, generation, or demonstration content.
Authors
- Vikrant Gandotra
Institutions
- Iowa State University (US)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24545949
- Primary Topic
- Natural Language Processing Techniques
- Type
- preprint