AI summary · arXiv: 2101.04226v1 · cs.DB

DBTagger: Multi-Task Learning for Keyword Mapping in NLIDBs Using Bi-Directional Recurrent Neural Networks

Arif Usta, Akifhan Karakayali, Özgür Ulusoy
Original paper · DOI 10.14778/3446095.3446103 Submitted to arXiv on 11 Jan. 2021 Published in Proceedings of the VLDB Endowment (23 Mar. 2021) To appear in VLDB 2021 License: NONEXCLUSIVE-DISTRIB 1.0

How to read this summary? Illustrated guide

The essentials

  • Translating Natural Language Queries (NLQs) to Structured Query Language (SQL) is a challenging task
  • Conventional rule-based systems use a pipeline of solutions for each step of the task
  • Recent works have focused on translation and overlooked earlier steps
  • Keyword mapping is one of the most critical and challenging problems in this pipeline
  • The authors propose a novel deep learning-based supervised approach called DBTagger for keyword mapping
  • DBTagger utilizes POS tags of NLQs and is an end-to-end and schema-independent solution
  • The authors evaluate their approach on eight different datasets and report new state-of-the-art accuracy results with an average accuracy rate of 92.4%
  • DBTagger is faster than its counterparts up to 10000 times and scalable for bigger databases

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Natural Language Queries

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
The task of translating Natural Language Queries (NLQs) to Structured Query Language (SQL) in interfaces deployed in relational databases is a challenging one, and has been the subject of recent studies in the database community. Conventional rule-based systems utilize a pipeline of solutions to deal with each step of this task, including stop word filtering, tokenization, stemming/lemmatization, parsing, tagging, and translation. However, recent works have focused mainly on the translation step while overlooking earlier steps by using ad-hoc solutions. One of the most critical and challenging problems in this pipeline is keyword mapping - constructing a mapping between tokens in the query and relational database elements such as tables, attributes, values etc. To address this problem, the authors propose a novel deep learning-based supervised approach called DBTagger (DataBase Tagger), which utilizes POS tags of NLQs. They define the keyword mapping problem as a sequence tagging problem and use bi-directional recurrent neural networks for multi-task learning. The proposed approach is an end-to-end and schema-independent solution making it practical for various relational databases. The authors evaluate their approach on eight different datasets and report new state-of-the-art accuracy results with an average accuracy rate of 92.4%. Additionally, they demonstrate that DBTagger is faster than its counterparts up to 10000 times and scalable for bigger databases. Overall, this study presents an innovative solution to the challenging task of translating NLQs into SQL queries by proposing a novel deep learning-based approach that outperforms existing methods while being practical for various relational databases.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 13 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Ö. Ulusoy (2 papers)

5 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Computing beyond AI this week" of 23 November 2026: Computing beyond AI this week: The hidden limits of shared machines · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Cites this paper
    xDBTagger: explainable natural language interface to databases using keyword mappings and schema graph
    Arif Usta, Akifhan Karakayali, Ö. Ulusoy · 2022 · The VLDB journal · cited 7 times · Not summarized yet
    Abstract

    Recently, numerous studies have been proposed to attack the natural language interfaces to data-bases (NLIDB) problem by researchers either as a conventional pipeline-based or an end-to-end deep-learning-based solution. Although each approach has its own advantages and drawbacks, regardless of the approach preferred, both approaches exhibit black-box nature, which makes it difficult for potential users to comprehend the rationale behind the decisions made by the intelligent system to produce the translated SQL. Given that NLIDB targets users with little to no technical background, having interpretable and explainable solutions becomes crucial, which has been overlooked in the recent studies.…

  2. Close
    Advancing NLIDB Systems with T5-RAG: An Encoder-Decoder Approach to SQL Query Generation
    M. Potdar, M. Potdar, Shubhangi M. Potdar · 2025 · 2025 International Conference on Electronics and Computing, Communication Networking Automation Technologies (ICEC2NT) · Not summarized yet
    Abstract

    Interacting with relational databases often requires expertise in Structured Query Language (SQL), which limits accessibility for non-technical users. Natural Language Interfaces to Databases (NLIDBs) aim to bridge this gap by translating user questions in plain language into executable SQL queries. Recent developments in large language models (LLMs) have improved this translation process, yet decoder-only models face challenges in handling large schemas, generating accurate queries in complex scenarios, and managing prompt length efficiently. This study presents a hybrid approach that integrates a Retrieval-Augmented Generation (RAG) framework with an encoder-decoder model based on the Text…

  3. Close
    A Review of NLIDB with Deep Learning: Findings, Challenges and Open Issues
    Shanza Abbas, Muhammad Umair Khan, S. Lee et al. · 2022 · IEEE Access · cited 18 times · Not summarized yet
    Abstract

    Relational databases are storage for a massive amount of data. Knowledge of structured query language is a prior requirement to access that data. That is not possible for all non-technical personals, leading to the need for a system that translates text to SQL query itself rather than the user. Text to SQL task is also crucial because of its economic and industrial value. Natural Language Interface to Database (NLIDB) is the system that supports the text-to-SQL task. Developing the NLIDB system is a long-standing problem. Previously they were built based on domain-specific ontologies via pipelining methods. Recently a rising variety of Deep learning ideas and techniques brought this area to …

  4. Close Cited by this paper Used in depth by this paper
    Bridging the Semantic Gap with SQL Query Logs in Natural Language Interfaces to Databases
    Christopher Baik, H. V. Jagadish, Yunyao Li · 2019 · IEEE International Conference on Data Engineering · cited 75 times · Not summarized yet
    Abstract

    A critical challenge in constructing a natural language interface to database (NLIDB) is bridging the semantic gap between a natural language query (NLQ) and the underlying data. Two specific ways this challenge exhibits itself is through keyword mapping and join path inference. Keyword mapping is the task of mapping individual keywords in the original NLQ to database elements (such as relations, attributes or values). It is challenging due to the ambiguity in mapping the user's mental model and diction to the schema definition and contents of the underlying database. Join path inference is the process of selecting the relations and join conditions in the FROM clause of the final SQL query, …

  5. Close
    DBCopilot: Natural Language Querying over Massive Databases via Schema Routing
    Tianshu Wang, Xiaoyang Chen, Hongyu Lin et al. · 2023 · Computation and Language · cited 22 times · AI summary available
    Abstract

    The development of Natural Language Interfaces to Databases (NLIDBs) has been greatly advanced by the advent of large language models (LLMs), which provide an intuitive way to translate natural language (NL) questions into Structured Query Language (SQL) queries. While significant progress has been made in LLM-based NL2SQL, existing approaches face several challenges in real-world scenarios of natural language querying over massive databases. In this paper, we present DBCopilot, a framework that addresses these challenges by employing a compact and flexible copilot model for routing over massive databases. Specifically, DBCopilot decouples schema-agnostic NL2SQL into schema routing and SQL g…

  6. Close
    Neural Approaches for Natural Language Interfaces to Databases: A Survey
    R. Iacob, Florin Brad, Elena-Simona Apostol et al. · 2020 · International Conference on Computational Linguistics · cited 31 times · Not summarized yet
    Abstract

    A natural language interface to databases (NLIDB) enables users without technical expertise to easily access information from relational databases. Interest in NLIDBs has resurged in the past years due to the availability of large datasets and improvements to neural sequence-to-sequence models. In this survey we focus on the key design decisions behind current state of the art neural approaches, which we group into encoder and decoder improvements. We highlight the three most important directions, namely linking question tokens to database schema elements (schema linking), better architectures for encoding the textual query taking into account the schema (schema encoding), and improved gener…

  7. Close
    DBPal: Weak Supervision for Learning a Natural Language Interface to Databases
    Nathaniel Weir, Andrew Crotty, Alex Galakatos et al. · 2019 · arXiv.org · preprint, not peer reviewed · cited 11 times · Not summarized yet
    Abstract

    This paper describes DBPal, a new system to translate natural language utterances into SQL statements using a neural machine translation model. While other recent approaches use neural machine translation to implement a Natural Language Interface to Databases (NLIDB), existing techniques rely on supervised learning with manually curated training data, which results in substantial overhead for supporting each new database schema. In order to avoid this issue, DBPal implements a novel training pipeline based on weak supervision that synthesizes all training data from a given database schema. In our evaluation, we show that DBPal can outperform existing rule-based NLIDBs while achieving compara…

  8. Close Cites this paper
    NLI4DB: A Systematic Review of Natural Language Interfaces for Databases
    Mengyi Liu, Jianqiu Xu · 2025 · Databases · preprint, not peer reviewed · cited 15 times · AI summary available
    Abstract

    As the demand for querying databases in all areas of life continues to grow, researchers have devoted significant attention to the natural language interface for databases (NLIDB). This paper presents a comprehensive survey of recently proposed NLIDBs. We begin with a brief introduction to natural language processing techniques, executable database languages and the intermediate representation between natural language and executable language, and then provide an overview of the translation process from natural language to executable database language. The translation process is divided into three stages: (i) natural language preprocessing, (ii) natural language understanding, and (iii) natur…

Prior work it builds on

  1. Close Used in depth by this paper
    Natural Language Processing (Almost) from Scratch
    R. Collobert, J. Weston, L. Bottou et al. · 2011 · Journal of machine learning research · cited 8,172 times · Not summarized yet
    Abstract

    We propose a unified neural network architecture and learning algorithm that can be applied to various natural language processing tasks including part-of-speech tagging, chunking, named entity recognition, and semantic role labeling. This versatility is achieved by trying to avoid task-specific engineering and therefore disregarding a lot of prior knowledge. Instead of exploiting man-made input features carefully optimized for each task, our system learns internal representations on the basis of vast amounts of mostly unlabeled training data. This work is then used as a basis for building a freely available tagging system with good performance and minimal computational requirements.

  2. Related Used in depth by this paper
    Constructing an Interactive Natural Language Interface for Relational Databases
    Fei Li, H. V. Jagadish · 2014 · Proceedings of the VLDB Endowment · cited 545 times · Not summarized yet
    Abstract

    Natural language has been the holy grail of query interface designers, but has generally been considered too hard to work with, except in limited specific circumstances. In this paper, we describe the architecture of an interactive natural language query interface for relational databases. Through a carefully limited interaction with the user, we are able to correctly interpret complex natural language queries, in a generic manner across a range of domains. By these means, a logically complex English language sentence is correctly translated into a SQL query, which may include aggregation, nesting, and various types of joins, among other things, and can be evaluated against an RDBMS. We have…

  3. Related Used in depth by this paper
    Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning
    Victor Zhong, Caiming Xiong, R. Socher · 2017 · arXiv.org · preprint, not peer reviewed · cited 1,745 times · Not summarized yet
    Abstract

    Relational databases store a significant amount of the worlds data. However, accessing this data currently requires users to understand a query language such as SQL. We propose Seq2SQL, a deep neural network for translating natural language questions to corresponding SQL queries. Our model uses rewards from in the loop query execution over the database to learn a policy to generate the query, which contains unordered parts that are less suitable for optimization via cross entropy loss. Moreover, Seq2SQL leverages the structure of SQL to prune the space of generated queries and significantly simplify the generation problem. In addition to the model, we release WikiSQL, a dataset of 80654 hand…

  4. Close
    A comparative survey of recent natural language interfaces for databases
    Katrin Affolter, Kurt Stockinger, A. Bernstein · 2019 · The VLDB journal · cited 197 times · Not summarized yet
    Abstract

    Over the last few years, natural language interfaces (NLI) for databases have gained significant traction both in academia and industry. These systems use very different approaches as described in recent survey papers. However, these systems have not been systematically compared against a set of benchmark questions in order to rigorously evaluate their functionalities and expressive power. In this paper, we give an overview over 24 recently developed NLIs for databases. Each of the systems is evaluated using a curated list of ten sample questions to show their strengths and weaknesses. We categorize the NLIs into four groups based on the methodology they are using: keyword-, pattern-, parsin…

  5. Related Used in depth by this paper
    SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learning
    Xiao-Jun Xu, Chang Liu, D. Song · 2017 · arXiv.org · preprint, not peer reviewed · cited 537 times · Not summarized yet
    Abstract

    Synthesizing SQL queries from natural language is a long-standing open problem and has been attracting considerable interest recently. Toward solving the problem, the de facto approach is to employ a sequence-to-sequence-style model. Such an approach will necessarily require the SQL queries to be serialized. Since the same SQL query may have multiple equivalent serializations, training a sequence-to-sequence-style model is sensitive to the choice from one of them. This phenomenon is documented as the "order-matters" problem. Existing state-of-the-art approaches rely on reinforcement learning to reward the decoder when it generates any of the equivalent serializations. However, we observe tha…

Papers that cite it

  1. Related Uses this paper in depth
    Natural Language Interfaces to Data
    A. Quamar, Vasilis Efthymiou, Chuan Lei et al. · 2022 · Found. Trends Databases · cited 42 times · Not summarized yet
    Abstract

    Recent advances in NLU and NLP have resulted in renewed interest in natural language interfaces to data, which provide an easy mechanism for non-technical users to access and query the data. While early systems evolved from keyword search and focused on simple factual queries, the complexity of both the input sentences as well as the generated SQL queries has evolved over time. More recently, there has also been a lot of focus on using conversational interfaces for data analytics, empowering a line of non-technical users with quick insights into the data. There are three main challenges in natural language querying (NLQ): (1) identifying the entities involved in the user utterance, (2) conne…

  2. Close
    E-SQL: Direct Schema Linking via Question Enrichment in Text-to-SQL
    Hasan Alp Caferoglu, Ö. Ulusoy · 2024 · arXiv.org · preprint, not peer reviewed · cited 64 times · Not summarized yet
    Abstract

    Translating Natural Language Queries into Structured Query Language (Text-to-SQL or NLQ-to-SQL) is a critical task extensively studied by both the natural language processing and database communities, aimed at providing a natural language interface to databases (NLIDB) and lowering the barrier for non-experts. Despite recent advancements made through the use of Large Language Models (LLMs), significant challenges remain. These include handling complex database schemas, resolving ambiguity in user queries, and generating SQL queries with intricate structures that accurately reflect the user's intent. In this work, we introduce E-SQL, a novel pipeline specifically designed to address these cha…

  3. Close
    GTR: An SQL Generator With Transition Representation in Cross-Domain Database Systems
    Shao-Jie Qiao, Chenxu Liu, Guoping Yang et al. · 2023 · IEEE Transactions on Neural Networks and Learning Systems · cited 2 times · Not summarized yet
    Abstract

    Recent studies have focused on using natural language (NL) to automatically retrieve useful data from database (DB) systems. As an important component of autonomous DB systems, the NL-to-SQL technique can assist DB administrators in writing high-quality SQL statements and make persons with no SQL background knowledge learn complex SQL languages. However, existing studies cannot deal with the issue that the expression of NL inevitably mismatches the implementation details of SQLs, and the large number of out-of-domain (OOD) words makes it difficult to predict table columns. In particular, it is difficult to accurately convert NL into SQL in an end-to-end fashion. Intuitively, it facilitates t…

  4. Related
    A survey on deep learning approaches for text-to-SQL
    George Katsogiannis-Meimarakis, Georgia Koutrika · 2023 · The VLDB journal · cited 292 times · Not summarized yet
    Abstract

    To bridge the gap between users and data, numerous text-to-SQL systems have been developed that allow users to pose natural language questions over relational databases. Recently, novel text-to-SQL systems are adopting deep learning methods with very promising results. At the same time, several challenges remain open making this area an active and flourishing field of research and development. To make real progress in building text-to-SQL systems, we need to de-mystify what has been done, understand how and when each approach can be used, and, finally, identify the research challenges ahead of us. The purpose of this survey is to present a detailed taxonomy of neural text-to-SQL systems that…

  5. Related
    A systematic review of natural language interfaces for databases
    Meng-Yi Liu, Xie-Yang Wang, Jianqiu Xu et al. · 2026 · Frontiers Comput. Sci. · cited 10 times · Not summarized yet
    Abstract

    With the growing prevalence of data-driven decision-making, Text-to-SQL has emerged as a promising solution to lower the barrier to data access by translating natural language queries into executable SQL statements, thereby enhancing user interaction with databases. Despite notable progress driven by deep learning and large language models, significant challenges persist in handling complex queries. This paper presents a comprehensive review of the Text-to-SQL task, structured around two core stages: natural language understanding and natural language translation. Methods are categorized along the technical evolution trajectory into four types: rule-based, machine learning-based, pre-trained…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 6 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.