paper-with-me

Papers

ErrorLLM: Modeling SQL Errors for Text-to-SQL Refinement

2026-03-04 · Zijin Hong, Hao Chen, Zheng Yuan, Qinggang Zhang, Luyao Zhuang, Qing Liao, Feiran Huang, Yangqiu Song, Xiao Huang arxiv

Despite the remarkable performance of large language models (LLMs) in text-to-SQL (SQL generation), correctly producing SQL queries remains challenging during initial generation. The SQL refinement task is subsequently introduced to correct syntactic and semantic errors in generated SQL queries. However, existing paradigms face two major limitations: (i) self-debugging becomes increasingly ineffective as modern LLMs rarely produce explicit execution errors that can trigger debugging signals; (ii) self-correction exhibits low detection precision due to the lack of explicit error modeling grounded in the question and schema, and suffers from severe hallucination that frequently corrupts correct SQLs. In this paper, we propose ErrorLLM, a framework that explicitly models text-to-SQL Errors within a dedicated LLM for text-to-SQL refinement. Specifically, we represent the user question and database schema as structural features, employ static detection to identify execution failures and surface mismatches, and extend ErrorLLM's semantic space with dedicated error tokens that capture categorized implicit semantic error types. Through a well-designed training strategy, we explicitly model these errors with structural representations, enabling the LLM to detect complex implicit errors by predicting dedicated error tokens. Guided by the detected errors, we perform error-guided refinement on the SQL structure by prompting LLMs. Extensive experiments demonstrate that ErrorLLM achieves the most significant improvements over backbone initial generation. Further analysis reveals that detection quality directly determines refinement effectiveness, and ErrorLLM addresses both sides by high detection F1 score while maintain refinement effectiveness.

📄 PDF Abstract BibTeX arXiv:2603.03742

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TopoSculpt: Betti-Steered Topological Sculpting of 3D Fine-grained Tubular Shapes

2025-09-04 · Minghui Zhang, Yaoyu Liu, Junyang Wu, Xin You 외 arxiv

Medical tubular anatomical structures are inherently three-dimensional conduits with lumens, enclosing walls, and complex branching topologies. Accurate reconstruction of their geometry and topology is crucial for applic…

FlowRefiner: Flow Matching-Based Iterative Refinement for 3D Turbulent Flow Simulation

2026-04-18 · Yilong Dai, Yiming Sun, Yiheng Chen, Shengyu Chen 외 arxiv

Accurate autoregressive prediction of 3D turbulent flows remains challenging for neural PDE solvers, as small errors in fine-scale structures can accumulate rapidly over rollout. In this paper, we propose FlowRefiner, a …

Forward-Free Diffusion Language Models with BPTT-Free Looped Refinement

2026-06-06 · Haotian Sun, Rushi Qiang, Yuqian Zheng, Bo Dai arxiv

Diffusion language models generate text through iterative denoising, offering a powerful alternative to autoregressive generation. However, discrete language spaces lack a natural neighborhood structure for defining effe…

Robust Online Residual Refinement via Koopman-Guided Dynamics Modeling

2025-09-16 · Zhefei Gong, Shangke Lyu, Pengxiang Ding, Wei Xiao 외 arxiv

Imitation learning (IL) enables efficient skill acquisition from demonstrations but often struggles with long-horizon tasks and high-precision control due to compounding errors. Residual policy learning offers a promisin…

MMRefine: Unveiling the Obstacles to Robust Refinement in Multimodal Large Language Models

2025-06-05 · Gio Paik, Geewook Kim, Jinbae Im

This paper introduces MMRefine, a MultiModal Refinement benchmark designed to evaluate the error refinement capabilities of Multimodal Large Language Models (MLLMs). As the emphasis shifts toward enhancing reasoning duri…