arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.15157cs.CLcs.AI
收藏

FASTTRACK:面向大语言模型的快速准确事实溯源

FASTTRACK: Fast and Accurate Fact Tracing for LLMs

Virginia Tech(弗吉尼亚理工大学);Netflix Eyeline Studios

Si Chen, Feiyang Kang, Ning Yu, Ruoxi Jia

AI总结:

针对现有事实溯源方法难以区分相关样本与支持证据且计算成本高的问题,提出FASTTRACK方法。该方法利用大语言模型验证查询的支持证据,并对训练数据库进行聚类缩减以加速溯源,在准确率和效率上均大幅超越现有方法。

摘要:

事实溯源旨在识别作为给定查询知识来源的特定训练样本。现有的事实溯源方法依赖于评估每个训练样本与查询在特定维度上的相似度,如词法相似度、梯度或嵌入空间。然而,这些方法无法有效区分仅仅是相关的样本与那些实际为查询所寻求信息提供支持证据的样本。这一局限性通常导致效果不佳。此外,这些方法需要对每个查询逐一检查各个训练点的相似度,造成了巨大的计算需求,并为实际应用设置了重大障碍。本文提出了FASTTRACK,这是一种新颖的方法,利用大语言模型(LLMs)的能力来验证查询的支持证据,同时对训练数据库进行聚类以缩减规模,从而便于LLMs进行事实溯源。我们的实验表明,FASTTRACK在准确率和效率上均大幅超越现有方法,其F1分数比最先进的方法提高了100%以上,同时比TracIn快33倍。

英文摘要:

Fact tracing seeks to identify specific training examples that serve as the knowledge source for a given query. Existing approaches to fact tracing rely on assessing the similarity between each training sample and the query along a certain dimension, such as lexical similarity, gradient, or embedding space. However, these methods fall short of effectively distinguishing between samples that are merely relevant and those that actually provide supportive evidence for the information sought by the query. This limitation often results in suboptimal effectiveness. Moreover, these approaches necessitate the examination of the similarity of individual training points for each query, imposing significant computational demands and creating a substantial barrier for practical applications. This paper introduces FASTTRACK, a novel approach that harnesses the capabilities of Large Language Models (LLMs) to validate supportive evidence for queries and at the same time clusters the training database towards a reduced extent for LLMs to trace facts. Our experiments show that FASTTRACK substantially outperforms existing methods in both accuracy and efficiency, achieving more than 100\% improvement in F1 score over the state-of-the-art methods while being X33 faster than \texttt{TracIn}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑