Pith. sign in

REVIEW 4 cited by

Interleaving Pre-Trained Language Models and Large Language Models for Zero-Shot NL2SQL Generation

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2306.08891 v1 pith:63FYHYNI submitted 2023-06-15 cs.CL

classification cs.CL
keywords languagenl2sqlllmsmodelsplmszero-shotzeronl2sqlachieve
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Zero-shot NL2SQL is crucial in achieving natural language to SQL that is adaptive to new environments (e.g., new databases, new linguistic phenomena or SQL structures) with zero annotated NL2SQL samples from such environments. Existing approaches either fine-tune pre-trained language models (PLMs) based on annotated data or use prompts to guide fixed large language models (LLMs) such as ChatGPT. PLMs can perform well in schema alignment but struggle to achieve complex reasoning, while LLMs is superior in complex reasoning tasks but cannot achieve precise schema alignment. In this paper, we propose a ZeroNL2SQL framework that combines the complementary advantages of PLMs and LLMs for supporting zero-shot NL2SQL. ZeroNL2SQL first uses PLMs to generate an SQL sketch via schema alignment, then uses LLMs to fill the missing information via complex reasoning. Moreover, in order to better align the generated SQL queries with values in the given database instances, we design a predicate calibration method to guide the LLM in completing the SQL sketches based on the database instances and select the optimal SQL query via an execution-based strategy. Comprehensive experiments show that ZeroNL2SQL can achieve the best zero-shot NL2SQL performance on real-world benchmarks. Specifically, ZeroNL2SQL outperforms the state-of-the-art PLM-based methods by 3.2% to 13% and exceeds LLM-based methods by 10% to 20% on execution accuracy.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL

    cs.DB 2026-08 conditional novelty 7.0 of 10

    SafeQL, an in-DBMS search-based refinement framework, fixes LLM-generated SQL errors by guided AST-level repair, improving execution accuracy by up to 5.8% and cutting token usage up to 15x.

  2. A Plug-and-Play Natural Language Rewriter for Natural Language to SQL

    cs.DB 2024-12 conditional novelty 5.0 of 10

    A multi-agent LLM module that checks, reflects on, and rewrites flawed questions yields small average execution-accuracy gains (1.6% Spider, 2.0% BIRD) on NL2SQL dev sets.

  3. ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL

    cs.CL 2024-12 conditional novelty 5.0 of 10

    Multitask supervised fine-tuning plus collaborative prompting on schema linking, noise correction, and continuation writing lifts open-source LLM Text2SQL accuracy on SPIDER and BIRD.

  4. Exploring the Landscape of Text-to-SQL with Large Language Models: Progresses, Challenges and Opportunities

    cs.CL 2025-05 conditional novelty 4.0 of 10

    A systematic review organizing LLM-based text-to-SQL methods into pre-processing, in-context learning, fine-tuning, and post-processing paradigms, with a catalog of datasets, metrics, challenges, and future directions.

Pith tools