Pith. sign in

REVIEW 2 cited by

Reliable Text-to-SQL with Adaptive Abstention

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 2501.10858 v1 pith:6LL7AQ3W submitted 2025-01-18 cs.DB cs.AI

classification cs.DBcs.AI
keywords linkingschemagenerationaccuracylanguagemodelquerytext-to-sql
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large language models (LLMs) have revolutionized natural language interfaces for databases, particularly in text-to-SQL conversion. However, current approaches often generate unreliable outputs when faced with ambiguity or insufficient context. We present Reliable Text-to-SQL (RTS), a novel framework that enhances query generation reliability by incorporating abstention and human-in-the-loop mechanisms. RTS focuses on the critical schema linking phase, which aims to identify the key database elements needed for generating SQL queries. It autonomously detects potential errors during the answer generation process and responds by either abstaining or engaging in user interaction. A vital component of RTS is the Branching Point Prediction (BPP) which utilizes statistical conformal techniques on the hidden layers of the LLM model for schema linking, providing probabilistic guarantees on schema linking accuracy. We validate our approach through comprehensive experiments on the BIRD benchmark, demonstrating significant improvements in robustness and reliability. Our findings highlight the potential of combining transparent-box LLMs with human-in-the-loop processes to create more robust natural language interfaces for databases. For the BIRD benchmark, our approach achieves near-perfect schema linking accuracy, autonomously involving a human when needed. Combined with query generation, we demonstrate that near-perfect schema linking and a small query generation model can almost match SOTA accuracy achieved with a model orders of magnitude larger than the one we use.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

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

  1. Metadata Reconstruction from Values Alone: Recovering Column Semantics in Undocumented Warehouses

    cs.DB 2026-08 conditional novelty 6.0 of 10

    A verification-harness LLM system recovers column semantics from values alone, but its measured advantage over a direct LLM is selective abstention, not better prose, and a code-enforced gate makes that abstention bac...

  2. From Few to Many: Self-Improving Many-Shot Reasoners Through Iterative Optimization and Generation

    cs.LG 2025-02 conditional novelty 6.0 of 10

    BRIDGE iteratively selects a few high-impact examples with Bayesian optimization and regenerates reasoning paths from them, improving many-shot in-context learning beyond naive scaling.

Pith tools