paper-with-me

홈 › Papers

Prompt Tuning for Natural Language to SQL with Embedding Fine-Tuning and RAG

2025-11-11 · Jisoo Jang, Tien-Cuong Bui, Yunjun Choi, Wen-Syan Li arxiv

This paper introduces an Error Correction through Prompt Tuning for NL-to-SQL, leveraging the latest advancements in generative pre-training-based LLMs and RAG. Our work addresses the crucial need for efficient and accurate translation of natural language queries into SQL expressions in various settings with the growing use of natural language interfaces. We explore the evolution of NLIDBs from early rule-based systems to advanced neural network-driven approaches. Drawing inspiration from the medical diagnostic process, we propose a novel framework integrating an error correction mechanism that diagnoses error types, identifies their causes, provides fixing instructions, and applies these corrections to SQL queries. This approach is further enriched by embedding fine-tuning and RAG, which harnesses external knowledge bases for improved accuracy and transparency. Through comprehensive experiments, we demonstrate that our framework achieves a significant 12 percent accuracy improvement over existing baselines, highlighting its potential to revolutionize data access and handling in contemporary data-driven environments.

📄 PDF Abstract BibTeX arXiv:2511.08245

Code (0)

등록된 구현이 없습니다.

Tasks

Natural Language Queries

Similar Papers 제목 키워드 기반

Context-Tuning: Learning Contextualized Prompts for Natural Language Generation

2022-01-21 · COLING 2022 10 · Tianyi Tang, Junyi Li, Wayne Xin Zhao, Ji-Rong Wen

Recently, pretrained language models (PLMs) have had exceptional success in language generation. To leverage the rich knowledge encoded by PLMs, a simple yet powerful paradigm is to use prompts in the form of either disc…

Text Generation

Resource-Efficient Adaptation of Large Language Models for Text Embeddings via Prompt Engineering and Contrastive Fine-tuning

2025-07-30 · Benedikt Roth, Stephan Rappensperger, Tianming Qiu, Hamza Imamović 외 arxiv

Large Language Models (LLMs) have become a cornerstone in Natural Language Processing (NLP), achieving impressive performance in text generation. Their token-level representations capture rich, human-aligned semantics. H…

Prompt EngineeringText Generation

Improving Sentence Embeddings with Automatic Generation of Training Data Using Few-shot Examples

2024-02-23 · Soma Sato, Hayato Tsukagoshi, Ryohei Sasano, Koichi Takeda

Decoder-based large language models (LLMs) have shown high performance on many tasks in natural language processing. This is also true for sentence embedding learning, where a decoder-based model, PromptEOL, has achieved…

Dataset GenerationDecoderFew-Shot LearningNatural Language Inference+6

ADePT: Adaptive Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning

2025-01-06 · Pengwei Tang, Xiaolin Hu, Yong liu

Prompt Tuning (PT) enables the adaptation of Pre-trained Large Language Models (PLMs) to downstream tasks by optimizing a small amount of soft virtual tokens, which are prepended to the input token embeddings. Recently, …

parameter-efficient fine-tuning

L-TUNING: Synchronized Label Tuning for Prompt and Prefix in LLMs

2023-12-21 · Md. Kowsher, Md. Shohanur Islam Sobuj, Asif Mahmud, Nusrat Jahan Prottasha 외

Efficiently fine-tuning Large Language Models (LLMs) for specific tasks presents a considerable challenge in natural language processing. Traditional methods, like prompt or prefix tuning, typically rely on arbitrary tok…

Natural Language Inference