• Home
  • Search
  • Improving Text-to-SQL with a Hybrid Decoding Method
  • Cite Icon7
  • https://doi.org/10.3390/e25030513Copy DOI Icon

Improving Text-to-SQL with a Hybrid Decoding Method

  • Mar 16, 2023
  • Entropy
  • Geunyeong Jeong +6 more
Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Text-to-SQL is a task that converts natural language questions into SQL queries. Recent text-to-SQL models employ two decoding methods: sketch-based and generation-based, but each has its own shortcomings. The sketch-based method has limitations in performance as it does not reflect the relevance between SQL elements, while the generation-based method may increase inference time and cause syntactic errors. Therefore, we propose a novel decoding method, Hybrid decoder, which combines both methods. This reflects inter-SQL element information and defines elements that can be generated, enabling the generation of syntactically accurate SQL queries. Additionally, we introduce a Value prediction module for predicting values in the WHERE clause. It simplifies the decoding process and reduces the size of vocabulary by predicting values at once, regardless of the number of conditions. The results of evaluating the significance of Hybrid decoder indicate that it improves performance by effectively incorporating mutual information among SQL elements, compared to the sketch-based method. It also efficiently generates SQL queries by simplifying the decoding process in the generation-based method. In addition, we design a new evaluation measure to evaluate if it generates syntactically correct SQL queries. The result demonstrates that the proposed model generates syntactically accurate SQL queries.

Loading PDF

Similar Papers
  • Conference Article
  • Citations4

An intelligent system for information extraction from relational database using HMM

  • Oct 01, 2015
  • N Sangeeth +1
  • Book Chapter

Fighting Redundancy in SQL

  • Jan 01, 2003
  • Antonio Badia +1
  • PDF
  • Research Article
  • Citations7

Динамическая компиляция выражений в SQL-запросах для СУБД PostgreSQL

  • Jan 01, 2016
  • Proceedings of the Institute for System Programming of the RAS
  • E.Y Sharygin +4
  • Book Chapter
  • Citations1

Sparse Single-Hidden Layer Feedforward Network for Mapping Natural Language Questions to SQL Queries

  • Jan 01, 2014
  • Issam H Laradji +3
  • Book Chapter
  • Citations1

Text2SQLNet: Syntax Type-Aware Tree Networks for Text-to-SQL

  • Dec 01, 2019
  • Youssef Mellah +3
  • Research Article
  • Citations1

Syntax and Relation Enhanced Query Generation for Text to SQL Parsing

  • Apr 30, 2024
  • Frontiers in Science and Engineering
  • Kun Han +1
  • Research Article
  • Citations2

SPS-SQL: Enhancing Text-to-SQL generation on small-scale LLMs with pre-synthesized queries

  • Oct 01, 2025
  • Pattern Recognition Letters
  • Liang Yan +5
  • Book Chapter
  • Citations56

Semantic Mapping between Natural Language Questions and SQL Queries via Syntactic Pairing

  • Jan 01, 2010
  • Alessandra Giordani +1
  • Book Chapter
  • Citations17

Generating SQL Queries from SBVR Rules

  • Jan 01, 2010
  • Sotiris Moschoyiannis +2
  • Conference Article
  • Citations5

Data Agnostic RoBERTa-based Natural Language to SQL Query Generation

  • Apr 02, 2021
  • Debaditya Pal +2
  • PDF
  • Conference Article
  • Citations40

DuSQL: A Large-Scale and Pragmatic Chinese Text-to-SQL Dataset

  • Jan 01, 2020
  • Lijie Wang +7
  • Conference Article
  • Citations2

AID-SQL: Adaptive In-Context Learning of Text-to-SQL with Difficulty-Aware Instruction and Retrieval-Augmented Generation

  • May 19, 2025
  • Xiuwen Li +4
  • Conference Article
  • Citations1

Optimizing Financial Decision-Making in Cloud Environments: A GenAI-driven Approach to Convert Natural Language to SQL

  • Aug 04, 2025
  • Pratima Chinta +3
  • Conference Article
  • Citations8

Medical Data Inquiry Using a Question Answering Model

  • Apr 01, 2020
  • Zhibin Liao +6
  • Research Article

Intelligent Problem Solver in Database Systems based on Ontology Integration through Text-to-SQL

  • Jan 01, 2024
  • Fusion: Practice and Applications
  • Hung Hung +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.