亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

A Heterogeneous Graph to Abstract Syntax Tree Framework for Text-to-SQL

计算机科学 SQL语言 理论计算机科学 程序设计语言 人工智能
作者
Ruisheng Cao,Chao Lu,J.P. Li,Hanchong Zhang,Hongshen Xu,Wangyou Zhang,Kai Yu
出处
期刊:IEEE Transactions on Pattern Analysis and Machine Intelligence [Institute of Electrical and Electronics Engineers]
卷期号:: 1-16
标识
DOI:10.1109/tpami.2023.3298895
摘要

Text-to-SQL is the task of converting a natural language utterance plus the corresponding database schema into a SQL program. The inputs naturally form a heterogeneous graph while the output SQL can be transduced into an abstract syntax tree (AST). Traditional encoder-decoder models ignore higher-order semantics in heterogeneous graph encoding and introduce permutation biases during AST construction, thus incapable of exploiting the refined structure knowledge precisely. In this work, we propose a generic heterogeneous graph to abstract syntax tree (HG2AST) framework to integrate dedicated structure knowledge into statistics-based models. On the encoder side, we leverage a line graph enhanced encoder (LGESQL) to iteratively update both node and edge features through dual graph message passing and aggregation. On the decoder side, a grammar-based decoder first constructs the equivalent SQL AST and then transforms it into the desired SQL via post-processing. To avoid over-fitting permutation biases, we propose a golden tree-oriented learning (GTL) algorithm to adaptively control the expanding order of AST nodes. The graph encoder and tree decoder are combined into a unified framework through two auxiliary modules. Extensive experiments on various text-to-SQL datasets, including single/multi-table, single/cross-domain, and multilingual settings, demonstrate the superiority and broad applicability.

科研通智能强力驱动
Strongly Powered by AbleSci AI

祝大家在新的一年里科研腾飞
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
19秒前
有点意思发布了新的文献求助10
23秒前
有点意思完成签到,获得积分10
49秒前
自信的易文完成签到,获得积分10
53秒前
小木完成签到,获得积分10
1分钟前
wxn完成签到 ,获得积分10
1分钟前
博弈完成签到 ,获得积分10
1分钟前
2分钟前
dmyc1191发布了新的文献求助10
2分钟前
三心草完成签到 ,获得积分10
2分钟前
彩色的友容完成签到 ,获得积分10
3分钟前
gszy1975完成签到,获得积分10
3分钟前
彩色的忆霜完成签到 ,获得积分10
3分钟前
4分钟前
饼饼发布了新的文献求助10
4分钟前
香蕉觅云应助饼饼采纳,获得10
4分钟前
风华正茂LC完成签到,获得积分10
5分钟前
5分钟前
5分钟前
饼饼发布了新的文献求助10
5分钟前
Moonlight完成签到 ,获得积分10
5分钟前
陈珂完成签到,获得积分10
6分钟前
Michelle完成签到,获得积分10
6分钟前
Fairy完成签到,获得积分10
6分钟前
打打应助liudy采纳,获得10
6分钟前
科研通AI6.2应助饼饼采纳,获得10
6分钟前
思有完成签到 ,获得积分10
7分钟前
饼饼发布了新的文献求助10
7分钟前
blenx完成签到,获得积分10
8分钟前
称心的映容完成签到 ,获得积分10
8分钟前
科研通AI6.2应助饼饼采纳,获得10
8分钟前
8分钟前
文献搬运工完成签到 ,获得积分0
8分钟前
liudy发布了新的文献求助10
8分钟前
wanci应助满意谷波采纳,获得10
9分钟前
9分钟前
10分钟前
gkhsdvkb发布了新的文献求助10
10分钟前
爆米花应助科研通管家采纳,获得10
10分钟前
爆米花应助科研通管家采纳,获得10
10分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea de guyane 2500
Common Foundations of American and East Asian Modernisation: From Alexander Hamilton to Junichero Koizumi 600
Signals, Systems, and Signal Processing 510
Discrete-Time Signals and Systems 510
Campbell Walsh Wein Urology 3-Volume Set 12th Edition 200
Three-dimensional virtual model for robot-assisted partial nephrectomy in totally endophytic renal tumors: a propensity-score matching analysis with a control group 200
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5865913
求助须知:如何正确求助?哪些是违规求助? 6416377
关于积分的说明 15653944
捐赠科研通 4980695
什么是DOI,文献DOI怎么找? 2686276
邀请新用户注册赠送积分活动 1629240
关于科研通互助平台的介绍 1587136