paper-with-me

홈 › Papers

A Study of In-Context-Learning-Based Text-to-SQL Errors

2025-01-16 · Jiawei Shen, Chengcheng Wan, Ruoyi Qiao, Jiazhen Zou, Hang Xu, Yuchen Shao, Yueling Zhang, Weikai Miao, Geguang Pu

Large language models (LLMs) have been adopted to perform text-to-SQL tasks, utilizing their in-context learning (ICL) capability to translate natural language questions into structured query language (SQL). However, such a technique faces correctness problems and requires efficient repairing solutions. In this paper, we conduct the first comprehensive study of text-to-SQL errors. Our study covers four representative ICL-based techniques, five basic repairing methods, two benchmarks, and two LLM settings. We find that text-to-SQL errors are widespread and summarize 29 error types of 7 categories. We also find that existing repairing attempts have limited correctness improvement at the cost of high computational overhead with many mis-repairs. Based on the findings, we propose MapleRepair, a novel text-to-SQL error detection and repairing framework. The evaluation demonstrates that MapleRepair outperforms existing solutions by repairing 13.8% more queries with neglectable mis-repairs and 67.4% less overhead.

📄 PDF Abstract BibTeX arXiv:2501.09310

Code (1)

nl2sql-empirical/nl2sql_error_empirical 공식 구현

Tasks

In-Context LearningText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

Morpho-Syntactic Study of Errors from Speech Recognition System

2014-05-01 · LREC 2014 5 · Maria Goryainova, Cyril Grouin, Sophie Rosset, Ioana Vasilescu

The study provides an original standpoint of the speech transcription errors by focusing on the morpho-syntactic features of the erroneous chunks and of the surrounding left and right context. The typology concerns the f…

Named Entity Recognition (NER)POSQuestion Answeringspeech-recognition+1

This also affects the context - Errors in extraction based summaries

2012-05-01 · LREC 2012 5 · Thomas Kaspersson, Christian Smith, Henrik Danielsson, Arne J{\"o}nsson

Although previous studies have shown that errors occur in texts summarized by extraction based summarizers, no study has investigated how common different types of errors are and how that changes with degree of summariza…

Dimensionality Reduction

What Did My Car Say? Impact of Autonomous Vehicle Explanation Errors and Driving Context On Comfort, Reliance, Satisfaction, and Driving Confidence

2024-09-09 · Robert Kaufman, Aaron Broukhim, David Kirsh, Nadir Weibel

Explanations for autonomous vehicle (AV) decisions may build trust, however, explanations can contain errors. In a simulated driving study (n = 232), we tested how AV explanation errors, driving context characteristics (…

On the Robustness of Language Encoders against Grammatical Errors

2020-05-12 · ACL 2020 6 · Fan Yin, Quanyu Long, Tao Meng, Kai-Wei Chang

We conduct a thorough study to diagnose the behaviors of pre-trained language encoders (ELMo, BERT, and RoBERTa) when confronted with natural grammatical errors. Specifically, we collect real grammatical errors from non-…

Cloze TestLinguistic AcceptabilitySentence

Contextual Drag: How Errors in the Context Affect LLM Reasoning

2026-02-04 · Yun Cheng, Xingyu Zhu, Haoyu Zhao, Sanjeev Arora arxiv

Central to many self-improvement pipelines for large language models (LLMs) is the assumption that models can improve by reflecting on past mistakes. We study a phenomenon termed contextual drag: the presence of failed a…