Grammar-based parsers have achieved high performance in the cross-domain text-to-SQL parsing task, but suffer from low decoding efficiency due to the much larger number of actions for grammar selection than that of tokens in SQL queries. Meanwhile, how to better align SQL clauses and question segments has been a key challenge for parsing performance. Therefore, this paper proposes clause-level parallel decoding and alignment loss to enhance two high-performance grammar-based parsers, i.e., RATSQL and LGESQL. Experimental results of two parsers show that our method obtains consistent improvements both in accuracy and decoding speed.
翻译:以语法为基础的剖析员在跨域文本到SQL的剖析任务中取得了很高的成绩,但是由于在SQL查询中用于语法选择的行动数量远多于符号,因此解码效率较低。 同时,如何更好地统一SQL条款和问题部分是评析业绩的一个关键挑战。因此,本文件提议在条款一级平行解码和调整损失,以加强两个高性能语法解析员,即RATSQL和LGESQL。 两位剖析员的实验结果表明,我们的方法在准确性和解码速度方面都得到了一致的改进。