paper-with-me

홈 › Papers

Tool-Assisted Agent on SQL Inspection and Refinement in Real-World Scenarios

2024-08-30 · Zhongyuan Wang, Richong Zhang, Zhijie Nie, Jaein Kim

Recent Text-to-SQL methods leverage large language models (LLMs) by incorporating feedback from the database management system. While these methods effectively address execution errors in SQL queries, they struggle with database mismatches -- errors that do not trigger execution exceptions. Database mismatches include issues such as condition mismatches and stricter constraint mismatches, both of which are more prevalent in real-world scenarios. To address these challenges, we propose a tool-assisted agent framework for SQL inspection and refinement, equipping the LLM-based agent with two specialized tools: a retriever and a detector, designed to diagnose and correct SQL queries with database mismatches. These tools enhance the capability of LLMs to handle real-world queries more effectively. We also introduce Spider-Mismatch, a new dataset specifically constructed to reflect the condition mismatch problems encountered in real-world scenarios. Experimental results demonstrate that our method achieves the highest performance on the averaged results of the Spider and Spider-Realistic datasets in few-shot settings, and it significantly outperforms baseline methods on the more realistic dataset, Spider-Mismatch.

📄 PDF Abstract BibTeX arXiv:2408.16991

Code (0)

등록된 구현이 없습니다.

Tasks

ManagementText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

Where Do Deep-Research Agents Go Wrong? Span-Level Error Localization in Agent Trajectories

2026-06-01 · Jiaming Wang, Ziteng Feng, Jiangtao Wu, Ruihao Li 외 arxiv

Deep-research agents solve tasks through long trajectories of search, tool use, evidence inspection, and answer synthesis. Evaluation based on final answers shows whether an agent succeeds, but not which parts of the tra…

Quantum-Assisted Automatic Path-Planning for Robotic Quality Inspection in Industry 4.0

2025-07-02 · Eneko Osaba, Estibaliz Garrote, Pablo Miranda-Rodriguez, Alessia Ciacco 외 arxiv

This work explores the application of hybrid quantum-classical algorithms to optimize robotic inspection trajectories derived from Computer-Aided Design (CAD) models in industrial settings. By modeling the task as a 3D v…

DeepBD: A Grounded Agentic Workflow for Variant Prioritization and Diagnosis of Genetic Birth Defects

2026-06-23 · Shiyu Li, Ziqi Yan, Zhihao Wu, Jielong Lu 외 arxiv

Birth defects are a major cause of fetal loss, neonatal morbidity and long-term disability. In the subset with suspected genetic etiologies, exome and genome sequencing have moved many cases from variant detection to pos…

CityBehavEx: A Scalable and Empirically Validated LLM-Assisted Urban Simulation Platform

2026-07-13 · Gustavo H. Santos, Aline Viana, Thiago H Silva arxiv

Recent LLM-based multi-agent urban simulators can generate semantically rich city routines, but they remain costly to scale and are often weakly validated against empirical mobility patterns. We present CityBehavEx, an i…

NeuDiff Agent: A Governed AI Workflow for Single-Crystal Neutron Crystallography

2026-02-18 · Zhongcan Xiao, Leyi Zhang, Guannan Zhang, Xiaoping Wang arxiv

Large-scale facilities increasingly face analysis and reporting latency as the limiting step in scientific throughput, particularly for structurally and magnetically complex samples that require iterative reduction, inte…