arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.00509cs.LGcs.AI
收藏

经验影响函数用于理解微调的逻辑

Empirical influence functions to understand the logic of fine-tuning

University of Pennsylvania(宾夕法尼亚大学);Johns Hopkins University Applied Physics Laboratory(约翰斯·霍普金斯大学应用物理实验室)

Jordan K. Matelsky, Lyle Ungar, Konrad P. Kording

AI总结:

本文使用经验影响函数研究微调如何影响模型输出,发现简单卷积网络和现代LLM均违反了语义距离等期望特性,但提示可部分缓解,揭示了流行模型泛化与逻辑能力的局限。

摘要:

理解神经网络中的学习过程对于提升其性能和解释其行为至关重要。这可以通过询问当我们在新训练样本上进行微调时,模型输出如何受到影响来近似理解。这种影响有一些期望特性,如随语义距离增加影响减小、稀疏性、噪声不变性、传递因果性和逻辑一致性。这里我们使用通过微调测量的经验影响来展示单个训练样本如何影响输出。我们表明,对于简单的卷积网络和现代LLM,这些期望特性都被违反了。我们还说明了提示如何部分挽救这种失败。我们的论文提出了一种高效且实用的方法来量化神经网络从微调刺激中学习的效果。我们的结果表明,流行的模型无法像表面那样进行泛化或执行逻辑。

英文摘要:

Understanding the process of learning in neural networks is crucial for improving their performance and interpreting their behavior. This can be approximately understood by asking how a model's output is influenced when we fine-tune on a new training sample. There are desiderata for such influences, such as decreasing influence with semantic distance, sparseness, noise invariance, transitive causality, and logical consistency. Here we use the empirical influence measured using fine-tuning to demonstrate how individual training samples affect outputs. We show that these desiderata are violated for both for simple convolutional networks and for a modern LLM. We also illustrate how prompting can partially rescue this failure. Our paper presents an efficient and practical way of quantifying how well neural networks learn from fine-tuning stimuli. Our results suggest that popular models cannot generalize or perform logic in the way they appear to.

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

↑