DCMM-SQL:面向Text-to-SQL模型的自动化数据为中心流水线与多模型协作训练
DCMM-SQL: Automated Data-Centric Pipeline and Multi-Model Collaboration Training for Text-to-SQL Model
AI总结:
本文提出DCMM-SQL,一种自动化数据为中心流水线与多模型协作训练方法,通过自适应数据修复、错误数据增强及多模型集成,显著提升Text-to-SQL任务准确率,在轻量级模型中取得第一名。
摘要:
自ChatGPT发布以来,Text-to-SQL任务取得了显著进展。其中,基于智能体的框架在该领域得到了广泛应用。然而,数据为中心的策略对Text-to-SQL任务的影响却鲜有探索。本文中,我们系统性地设计了一个完全自动化的数据为中心流水线,用于Text-to-SQL任务,包括自适应数据修复,该机制能够自动发现并修复训练数据集中的错误;以及错误数据增强,我们专门对初始训练模型预测出的错误数据进行扩散和增强。同时,我们提出了一种多模型协作训练模式,旨在使用不同的增强数据训练多个模型,使它们具备不同的能力并协同工作、相互补充,因为研究发现单个微调模型的能力非常有限。此外,我们利用集成策略整合多个模型的能力来解决一道多项选择题,旨在进一步提高Text-to-SQL任务的准确性。实验结果和消融研究证明了数据为中心流水线以及多模型(MM)交互式迭代策略的有效性,在轻量级Text-to-SQL模型(70B以内)中取得了第一名。
英文摘要:
Text-to-SQL tasks have gained attractive improvements since the release of ChatGPT. Among them, agent-based frameworks have been widely used in this field. However, the impact of data-centric strategies on text-to-SQL tasks has rarely been explored. In this paper, we systemically design a fully automated data-centric pipeline for text-to-SQL tasks, including \emph{adaptive data repair}, which can automatically find and fix errors in the training dataset; and \emph{error data augmentation}, where we specifically diffuse and enhance erroneous data predicted by the initially trained models. Meanwhile, we propose a Multi-Model collaboration training schema, aiming to train multiple models with different augmented data, enabling them to possess distinct capabilities and work together to complement each other, because it has been found that the capability of a single fine-tuned model is very limited. Furthermore, we utilize an ensemble strategy to integrate the capabilities of multiple models to solve a multiple-choice question, aiming to further improve the accuracy of text-to-SQL tasks. The experiment results and ablation study have demonstrated the effectiveness of data-centric pipeline and Multi-Model(MM) interactive iterative strategies, achieving first place in lightweight text-to-SQL models (within 70B).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。