基于耦合与解耦的NL2SQL生成特征表示学习
Feature Representation Learning for NL2SQL Generation Based on Coupling and Decoupling
AI总结:
针对NL2SQL任务中忽略子句间显式关联及子任务隐式关联特征的问题,提出CFCDC模型,通过参数级解耦与多任务学习架构分离并整合特征,在WikiSQL数据集上显著提升了逻辑精度与执行准确率。
摘要:
NL2SQL任务涉及将自然语言语句解析为SQL查询。尽管大多数最先进的方法将NL2SQL视为槽位填充任务并使用特征表示学习技术,但它们忽略了SELECT和WHERE子句之间的显式关联特征,以及单个子句内子任务之间的隐式关联特征。为解决此问题,我们提出了子句特征关联解耦与耦合(CFCDC)模型,该模型使用特征表示解耦方法在参数级别分离SELECT和WHERE子句。接着,我们引入多任务学习架构,以解耦特定子句中不同SQL任务之间的隐式关联特征表示。此外,我们提出改进的特征表示耦合模块,以整合SELECT和WHERE子句中解耦的任务并预测最终SQL查询。我们提出的CFCDC模型在WikiSQL数据集上表现优异,在逻辑精度和执行准确率方面均有显著提升。该模型的源代码将在GitHub上公开。
英文摘要:
The NL2SQL task involves parsing natural language statements into SQL queries. While most state-of-the-art methods treat NL2SQL as a slot-filling task and use feature representation learning techniques, they overlook explicit correlation features between the SELECT and WHERE clauses and implicit correlation features between sub-tasks within a single clause. To address this issue, we propose the Clause Feature Correlation Decoupling and Coupling (CFCDC) model, which uses a feature representation decoupling method to separate the SELECT and WHERE clauses at the parameter level. Next, we introduce a multi-task learning architecture to decouple implicit correlation feature representation between different SQL tasks in a specific clause. Moreover, we present an improved feature representation coupling module to integrate the decoupled tasks in the SELECT and WHERE clauses and predict the final SQL query. Our proposed CFCDC model demonstrates excellent performance on the WikiSQL dataset, with significant improvements in logic precision and execution accuracy. The source code for the model will be publicly available on GitHub
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。