通过无人工融合提高文本到SQL演示多样性
Improving Demonstration Diversity by Human-Free Fusing for Text-to-SQL
AI总结:
本文提出衡量文本到SQL演示多样性的指标,并设计无人工迭代融合方法Fused构建高多样性演示池,在多个数据集上平均提升3.2%至5.0%,降低标注成本。
摘要:
目前,基于大型语言模型(LLM)的上下文学习方法已成为文本到SQL研究的主流。以往工作讨论了如何从人工标注的演示池中选择与用户问题相关的演示。然而,人工标注存在多样性不足和标注开销高的局限。因此,本文探讨如何衡量和提高文本到SQL演示的多样性。我们提出一个衡量演示多样性的指标,并通过实验分析现有标注数据的不足。基于上述发现,我们提出迭代融合演示(Fused)方法,通过无人工多轮迭代合成构建高多样性演示池,提高多样性并降低标注成本。我们的方法在多个主流数据集上,在有和无人标注情况下分别平均提升3.2%和5.0%,证明了Fused的有效性。
英文摘要:
Currently, the in-context learning method based on large language models (LLMs) has become the mainstream of text-to-SQL research. Previous works have discussed how to select demonstrations related to the user question from a human-labeled demonstration pool. However, human labeling suffers from the limitations of insufficient diversity and high labeling overhead. Therefore, in this paper, we discuss how to measure and improve the diversity of the demonstrations for text-to-SQL. We present a metric to measure the diversity of the demonstrations and analyze the insufficient of the existing labeled data by experiments. Based on the above discovery, we propose fusing iteratively for demonstrations (Fused) to build a high-diversity demonstration pool through human-free multiple-iteration synthesis, improving diversity and lowering label cost. Our method achieves an average improvement of 3.2% and 5.0% with and without human labeling on several mainstream datasets, which proves the effectiveness of Fused.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。