Faster and Better Grammar-Based Text-to-SQL Parsing via Clause-Level Parallel Decoding and Alignment Loss

NATURAL LANGUAGE PROCESSING AND CHINESE COMPUTING, NLPCC 2022, PT II(2022)

引用 0|浏览31
暂无评分
摘要
As a mainstream approach, grammar-based models have achieved high performance in text-to-SQL parsing task, but suffer from low decoding efficiency since the number of actions for building SQL trees are much larger than the number of tokens in SQL queries. Meanwhile, intuitively it is beneficial from the parsing performance perspective to incorporate alignment information between SQL clauses and question segments. This paper proposes clause-level parallel decoding and alignment loss to enhance two high-performance grammar-based parsers, i.e., RATSQL and LGESQL. Experiments on the Spider dataset show our approach improves the decoding speed of RATSQL and LGESQL by 18.9% and 35.5% respectively, and also achieves consistent improvement in parsing accuracy, especially on complex questions.
更多
查看译文
关键词
Text-to-SQL parsing, Grammar-based parser, Clause-level alignment, Parallel decoding
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要