arXiv:2411.16742
Text-to-SQL Calibration: No Need to Ask -- Just Rescale Model Probabilities
원문 초록
Calibration is crucial as large language models (LLMs) are increasingly deployed to convert natural language queries into SQL for commercial databases. In this work, we investigate calibration techniques for assigning confidence to generated SQL queries. We show that a straightforward baseline -- deriving confidence from the model's full-sequence probability -- outperforms recent methods that rely on follow-up prompts for self-checking and confidence verbalization. Our comprehensive evaluation, conducted across two widely-used Text-to-SQL benchmarks and multiple LLM architectures, provides valuable insights into the effectiveness of various calibration strategies.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
SQL-o1: Automatic Text-to-SQL Program Synthesis via Self-Reward Heuristic Search
SEED: Enhancing Text-to-SQL Performance and Practical Usability Through Automatic Evidence Generation
VTS-LLM: Domain-Adaptive LLM Agent for Enhancing Awareness in Vessel Traffic Services through Natural Language
E-SQL: Direct Schema Linking via Question Enrichment in Text-to-SQL
A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?
BookSQL: A Large Scale Text-to-SQL Dataset for Accounting Domain
토론
이 논문과 연결된 포럼 글이 아직 없습니다.