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

选择还是投影?评估用于LLM训练数据解释的低维向量

Select or Project? Evaluating Lower-dimensional Vectors for LLM Training Data Explanations

Faculty of Computer Science, University of Vienna(维也纳大学计算机科学系);UniVie Doctoral School Computer Science, University of Vienna(维也纳大学计算机科学博士学院);Faculty of Philological and Cultural Studies, University of Vienna(维也纳大学文学与文化研究系)

Lukas Hinterleitner, Loris Schoenegger, Benjamin Roth

AI总结:

本文通过对比选择和投影方法,发现有针对性的组件选择在LLM训练数据解释中更有效且计算更高效。

摘要:

基于梯度的方法用于大型语言模型(LLMs)的实例解释受到模型梯度巨大维度的阻碍。在实践中,影响估计被限制在模型参数的子集上以使计算变得可行,但这个子集通常任人取舍,很少经过系统性评估。本文研究了是否通过选择一小部分具有架构信息的模型组件来创建低维表示,还是通过将完整梯度投影到低维空间更优。使用一个新颖的基准测试,我们证明了通过贪心选择的组件子集在检索任务中比完整梯度或随机投影更能捕捉训练数据影响的信息。我们进一步发现,这种方法比随机投影更具计算效率,证明了有针对性的组件选择是使大型模型的实例解释更具计算可行性的实用策略。

英文摘要:

Gradient-based methods for instance-based explanation for large language models (LLMs) are hindered by the immense dimensionality of model gradients. In practice, influence estimation is restricted to a subset of model parameters to make computation tractable, but this subset is often chosen ad hoc and rarely justified by systematic evaluation. This paper investigates if it is better to create low-dimensional representations by selecting a small, architecturally informed subset of model components or by projecting the full gradients into a lower-dimensional space. Using a novel benchmark, we show that a greedily selected subset of components captures the information about training data influence needed for a retrieval task more effectively than either the full gradient or random projection. We further find that this approach is more computationally efficient than random projection, demonstrating that targeted component selection is a practical strategy for making instance-based explanations of large models more computationally feasible.

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

↑