paper-with-me

Papers

Structure Guided Large Language Model for SQL Generation

2024-02-19 · Qinggang Zhang, Hao Chen, Junnan Dong, Shengyuan Chen, Feiran Huang, Xiao Huang

Recent advancements in large language models (LLMs) have shown promise in bridging the gap between natural language queries and database management systems, enabling users to interact with databases without the background of SQL. However, LLMs often struggle to comprehend complex database structures and accurately interpret user intentions. Decomposition-based methods have been proposed to enhance the performance of LLMs on complex tasks, but decomposing SQL generation into subtasks is non-trivial due to the declarative structure of SQL syntax and the intricate connections between query concepts and database elements. In this paper, we propose a novel Structure GUided text-to-SQL framework~(SGU-SQL) that incorporates syntax-based prompting to enhance the SQL generation capabilities of LLMs. Specifically, SGU-SQL establishes structure-aware links between user queries and database schema and decomposes the complex generation task using syntax-based prompting to enable more accurate LLM-based SQL generation. Extensive experiments on two benchmark datasets demonstrate that SGU-SQL consistently outperforms state-of-the-art text-to-SQL models.

📄 PDF Abstract BibTeX arXiv:2402.13284

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelmodelNatural Language QueriesText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

K-Gen: A Multimodal Language-Conditioned Approach for Interpretable Keypoint-Guided Trajectory Generation

2026-03-05 · Mingxuan Mu, Guo Yang, Lei Chen, Ping Wu 외 arxiv

Generating realistic and diverse trajectories is a critical challenge in autonomous driving simulation. While Large Language Models (LLMs) show promise, existing methods often rely on structured data like vectorized maps…

Multimodal ReasoningAutonomous Driving

Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Tasks

2025-01-11 · Amr Almorsi, Mohanned Ahmed, Walid Gomaa

Large Language Models (LLMs) have shown remarkable capabilities in code generation tasks, yet they face significant limitations in handling complex, long-context programming challenges and demonstrating complex compositi…

Code GenerationHumanEvalLong-Context Understanding

Pap2Pat: Towards Automated Paper-to-Patent Drafting using Chunk-based Outline-guided Generation

2024-10-09 · Valentin Knappich, Simon Razniewski, Anna Hätty, Annemarie Friedrich

The patent domain is gaining attention in natural language processing research, offering practical applications in streamlining the patenting process and providing challenging benchmarks for large language models (LLMs).…

Prompt-Guided Generation of Structured Chest X-Ray Report Using a Pre-trained LLM

2024-04-17 · Hongzhao Li, Hongyu Wang, Xia Sun, Hua He 외

Medical report generation automates radiology descriptions from images, easing the burden on physicians and minimizing errors. However, current methods lack structured outputs and physician interactivity for clear, clini…

AnatomyLanguage ModelingLanguage ModellingLarge Language Model+2

Guided Decoding and Its Critical Role in Retrieval-Augmented Generation

2025-09-08 · Özgür Uğur, Musa Yılmaz, Esra Şavirdi, Özay Ezerceli 외 arxiv

The integration of Large Language Models (LLMs) into various applications has driven the need for structured and reliable responses. A key challenge in Retrieval-Augmented Generation (RAG) systems is ensuring that output…