A Large Language Model approach to SQL-to-Text Generation

计算机科学 SQL语言 程序设计语言 数据定义语言 SQL/PSM 自然语言处理 按示例查询 人工智能 数据库 情报检索 Web搜索查询 搜索引擎
作者
Vanessa Câmara,Rayol Mendonca-Neto,André R.F. Silva,Luiz Alberto Queiroz Cordovil Júnior
标识
DOI:10.1109/icce59016.2024.10444148
摘要

Generating relevant explanations given an structured code representation, such as SQL, is a challenging task. Tackling the SQL-to-text, more specifically the SQL-explanation problem, benefits both non-technical and technical users. Automatic explanations written in human language can facilitate the understanding of the query's logical structure and it also helps developers to better document and learn SQL code. The approaches for this niche are diverse. Some of them involve sequence-to-sequence models and others utilize graph-to-sequence models to generate explanations. However, considering the latest advances in Large Language Models (LLMs) and the relatively little attention in SQL-to-text problem, we investigate a new generative approach based on LLMs to infer the logical structure about the query, including columns, tables and relations. We categorize our research on SQL-explanation as a subtask of SQL-to-text to differ from the translation of SQL code into natural language questions. Experiments were conducted with the open-source Falcon LLM and compared with T5 LLM and Graph2Seq models. The results show that Falcon outperforms previous models achieving 70% of accuracy with human evaluation on Spider dataset and it achieves competitive 75% accuracy with human evaluation on WikiSQL dataset.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
文档发布了新的文献求助10
1秒前
2秒前
王文艺完成签到,获得积分10
4秒前
5秒前
落后博发布了新的文献求助10
5秒前
okra发布了新的文献求助10
6秒前
直率雪曼发布了新的文献求助10
6秒前
7秒前
科研通AI6.4应助xingxingyu采纳,获得10
7秒前
科研通AI6.2应助fu采纳,获得10
7秒前
9秒前
王文艺发布了新的文献求助10
9秒前
10秒前
11秒前
今后应助幸运的天使采纳,获得10
11秒前
zhiren完成签到,获得积分10
12秒前
13秒前
深情安青应助3108275366采纳,获得10
13秒前
qqqq应助王文艺采纳,获得10
15秒前
15秒前
在水一方应助年轻怀绿采纳,获得10
16秒前
共享精神应助石榴汁的书采纳,获得10
16秒前
科研通AI6.2应助feisun采纳,获得10
16秒前
尊敬的凉面完成签到,获得积分10
16秒前
柒柒完成签到,获得积分10
17秒前
咸鱼璋发布了新的文献求助10
20秒前
点击开始制造学术垃圾完成签到,获得积分20
21秒前
molihuakai应助爱笑的若雁采纳,获得10
24秒前
25秒前
25秒前
华仔应助兔兔要睡觉采纳,获得10
25秒前
25秒前
ding应助lll采纳,获得10
26秒前
Janzen发布了新的文献求助10
27秒前
橘子柚子发布了新的文献求助10
27秒前
eason楽完成签到,获得积分10
28秒前
koral发布了新的文献求助10
30秒前
球球不傻发布了新的文献求助10
30秒前
31秒前
年轻怀绿发布了新的文献求助10
32秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场现状调查及投资机会研判报告 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场规模及竞争格局分析报告 1000
模型平均及其应用 900
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
作者名:Kristopher P. Plain,悉尼大学的,目前只能查到其四篇论文,想找到其博士论文 550
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7336312
求助须知:如何正确求助?哪些是违规求助? 8950157
关于积分的说明 18992778
捐赠科研通 6989679
什么是DOI,文献DOI怎么找? 3217817
关于科研通互助平台的介绍 2383871
邀请新用户注册赠送积分活动 2197913