arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.23591cs.LG
收藏

量化数据影响与数据相似性之间的一致性以理解LLM行为

Quantifying the Agreement Between Data-Influence and Data-Similarity to Understand LLM Behavior

RIKEN Center for Advanced Intelligence Project, Tokyo, Japan(日本东京理化学研究所先进智能项目中心);Section of Computer Science, EPFL Lausanne, Switzerland(瑞士洛桑联邦理工学院计算机科学系);Ubiquitous Knowledge Processing Lab (UKP Lab), Department of Computer Science, Technical University of Darmstadt(达姆施塔特工业大学计算机科学系泛在知识处理实验室);National Research Center for Applied Cybersecurity ATHENE, Germany(德国国家应用网络安全研究中心ATHENE);TU Darmstadt & Hessian Center for AI (hessian.AI), Darmstadt, Germany(达姆施塔特工业大学与黑森州人工智能中心)

Christopher J. Anders, Henrique Da Silva Gameiro, Nico Daheim, Mohammad Emtiyaz Khan

AI总结:

通过排序重叠量化数据相似性与数据影响在输出追踪中的一致性和不对称性,并利用不对称性实现成本-精度权衡。

摘要:

理解LLM行为的一种方法是将其输出追溯到训练数据。常用的输出追踪度量有两种:数据相似性和数据影响。前者成本较低,而后者被认为更准确。尽管许多工作已在真实任务上对它们进行了比较,但在输出追踪方面尚无此类比较。在此,我们填补了这一空白,精确量化了这两种度量之间的共性和差异。我们首先根据每种度量对训练文档进行排序,然后计算两个排序之间的重叠。我们的主要发现是,两个排序显著一致,但存在不对称性:数据相似性的顶部文档被数据影响分配的排名比反之更一致。这一结果在涉及OLMo2-1B、Qwen3-1.7B、LlaMa3.2-1B、Gemma3-1B和GPT2的一系列实验中均成立。我们利用这种不对称性,通过使用成本较高的数据影响来细化数据相似性的结果,从而获得有利的成本-精度权衡。

英文摘要:

One way to understand LLM behavior is to trace its output back to the training data. Two types of measures are commonly used for output tracing: data-similarity and data-influence. The former is cheaper while the latter is believed to be more accurate. Even though many works have compared them for ground-truth tasks, no such comparisons exist for output tracing. Here, we fill this gap and precisely quantify the commonalities and differences between the two measures. We do this by first ranking the training documents according to each measure and then computing the overlap between the two rankings. Our main finding is that the two rankings agree significantly, but there is an asymmetry between them: The top documents of data-similarity are assigned more consistent ranks by data-influence than the other way around. This result is valid across a range of experiments involving OLMo2-1B, Qwen3-1.7B, LlaMa3.2-1B, Gemma3-1B, and GPT2. We exploit the asymmetry to obtain a favorable cost-accuracy trade-off by using the costly data-influence to refine the results of data-similarity.

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

↑