paper-with-me

홈 › Papers

Text-to-SQL based on Large Language Models and Database Keyword Search

2025-01-23 · Eduardo R. Nascimento, Caio Viktor S. Avila, Yenier T. Izquierdo, Grettel M. García, Lucas Feijó L. Andrade, Michelle S. P. Facina, Melissa Lemos, Marco A. Casanova

Text-to-SQL prompt strategies based on Large Language Models (LLMs) achieve remarkable performance on well-known benchmarks. However, when applied to real-world databases, their performance is significantly less than for these benchmarks, especially for Natural Language (NL) questions requiring complex filters and joins to be processed. This paper then proposes a strategy to compile NL questions into SQL queries that incorporates a dynamic few-shot examples strategy and leverages the services provided by a database keyword search (KwS) platform. The paper details how the precision and recall of the schema-linking process are improved with the help of the examples provided and the keyword-matching service that the KwS platform offers. Then, it shows how the KwS platform can be used to synthesize a view that captures the joins required to process an input NL question and thereby simplify the SQL query compilation step. The paper includes experiments with a real-world relational database to assess the performance of the proposed strategy. The experiments suggest that the strategy achieves an accuracy on the real-world relational database that surpasses state-of-the-art approaches. The paper concludes by discussing the results obtained.

📄 PDF Abstract BibTeX arXiv:2501.13594

Code (0)

등록된 구현이 없습니다.

Tasks

Text to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

Supporting Schema References in Keyword Queries over Relational Databases

2022-03-11 · Paulo Martins, Altigran da Silva, João Cavalcanti, Edleno de Moura

Relational Keyword Search (R-KwS) systems enable naive/informal users to explore and retrieve information from relational databases without knowing schema details or query languages. These systems take the keywords from …

The VU Sound Corpus: Adding More Fine-grained Annotations to the Freesound Database

2016-05-01 · LREC 2016 5 · Emiel van Miltenburg, Benjamin Timmermans, Lora Aroyo

This paper presents a collection of annotations (tags or keywords) for a set of 2,133 environmental sounds taken from the Freesound database (www.freesound.org). The annotations are acquired through an open-ended crowd-l…

From Keywords to Structured Summaries: Streamlining Scholarly Information Access

2024-02-22 · Mahsa Shamsabadi, Jennifer D'Souza

This paper highlights the growing importance of information retrieval (IR) engines in the scientific community, addressing the inefficiency of traditional keyword-based search engines due to the rising volume of publicat…

ArticlesInformation RetrievalLanguage ModelingLanguage Modelling+2

Database Search vs. Information Retrieval: A Novel Method for Studying Natural Language Querying of Semi-Structured Data

2020-05-01 · LREC 2020 5 · Stefanie Nadig, Martin Braschler, Kurt Stockinger

The traditional approach of querying a relational database is via a formal language, namely SQL. Recent developments in the design of natural language interfaces to databases show promising results for querying either wi…

Information RetrievalNatural Language QueriesRetrieval

Keyword search is all you need: Achieving RAG-Level Performance without vector databases using agentic tool use

2025-12-19 · Shreyas Subramanian, Adewale Akinfaderin, Yanyan Zhang, Ishan Singh 외 arxiv

While Retrieval-Augmented Generation (RAG) has proven effective for generating accurate, context-based responses based on existing knowledge bases, it presents several challenges including retrieval quality dependencies,…

Information Retrieval