ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2411.18923
72
0

EzSQL: An SQL intermediate representation for improving SQL-to-text Generation

28 November 2024
Meher Bhardwaj
Hrishikesh Ethari
Dennis Singh Moirangthem
    AI4TS
ArXivPDFHTML
Abstract

The SQL-to-text generation task traditionally uses template base, Seq2Seq, tree-to-sequence, and graph-to-sequence models. Recent models take advantage of pre-trained generative language models for this task in the Seq2Seq framework. However, treating SQL as a sequence of inputs to the pre-trained models is not optimal. In this work, we put forward a new SQL intermediate representation called EzSQL to align SQL with the natural language text sequence. EzSQL simplifies the SQL queries and brings them closer to natural language text by modifying operators and keywords, which can usually be described in natural language. EzSQL also removes the need for set operators. Our proposed SQL-to-text generation model uses EzSQL as the input to a pre-trained generative language model for generating the text descriptions. We demonstrate that our model is an effective state-of-the-art method to generate text narrations from SQL queries on the WikiSQL and Spider datasets. We also show that by generating pretraining data using our SQL-to-text generation model, we can enhance the performance of Text-to-SQL parsers.

View on arXiv
@article{bhardwaj2025_2411.18923,
  title={ EzSQL: An SQL intermediate representation for improving SQL-to-text Generation },
  author={ Meher Bhardwaj and Hrishikesh Ethari and Dennis Singh Moirangthem },
  journal={arXiv preprint arXiv:2411.18923},
  year={ 2025 }
}
Comments on this paper