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

论深度神经网络中的功能激活

On Functional Activations in Deep Neural Networks

Andrew S. Nencka, L. Tugan Muftuler, Peter LaViolette, Kevin M. Koch

AI总结:

本研究将功能神经影像学技术应用于 Facebook Galactica-125M 模型,通过任务提示探测其内部重叠的功能网络,发现这些网络具有可重复性并能准确识别任务,为模型对齐、输出调节和微调目标权重提供了新方法。

摘要:

背景:深度神经网络已被证明是用于建模、预测和生成的强大计算工具。然而,这些模型的工作机制通常是不透明的。最近的研究表明,某些模型的性能受模型内部连接的重叠功能网络调节。在此,将功能神经影像学技术应用于一个典型的大型语言模型,以探究其功能结构。方法:生成了一系列基于块设计的任务提示序列,用于探测 Facebook Galactica-125M 模型。任务包括与政治学、医学影像、古生物学、考古学、病理学相关的提示,以及以关/开/关模式呈现的关于其他随机主题的随机字符串。对于每个输出 token 的生成,保存所有层的输出值以创建有效时间序列。对数据拟合一般线性模型,以识别与任务同时激活的层输出值。结果:在每个任务中都识别出了独特的重叠网络。在医学影像和病理学网络之间观察到最大的重叠。这些网络在重复执行相关任务时具有可重复性,并且所识别的功能网络与未用于定义功能网络的任务中的激活之间的对应关系表明,能够准确识别所呈现的任务。结论:功能神经影像学技术可应用于深度神经网络,作为探究其工作机制的手段。所识别的功能网络具有用于模型对齐、调节模型输出以及识别微调中目标权重的潜力。

英文摘要:

Background: Deep neural networks have proven to be powerful computational tools for modeling, prediction, and generation. However, the workings of these models have generally been opaque. Recent work has shown that the performance of some models are modulated by overlapping functional networks of connections within the models. Here the techniques of functional neuroimaging are applied to an exemplary large language model to probe its functional structure. Methods: A series of block-designed task-based prompt sequences were generated to probe the Facebook Galactica-125M model. Tasks included prompts relating to political science, medical imaging, paleontology, archeology, pathology, and random strings presented in an off/on/off pattern with prompts about other random topics. For the generation of each output token, all layer output values were saved to create an effective time series. General linear models were fit to the data to identify layer output values which were active with the tasks. Results: Distinct, overlapping networks were identified with each task. Most overlap was observed between medical imaging and pathology networks. These networks were repeatable across repeated performance of related tasks, and correspondence of identified functional networks and activation in tasks not used to define the functional networks was shown to accurately identify the presented task. Conclusion: The techniques of functional neuroimaging can be applied to deep neural networks as a means to probe their workings. Identified functional networks hold the potential for use in model alignment, modulation of model output, and identifying weights to target in fine-tuning.

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

↑