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.
SMU: smooth activation function for deep networks using smoothing maximum technique
深度学习研究人员对提出两种新的激活函数有浓厚的兴趣,它们可以提高网络性能。激活函数的良好选择可以在改善网络性能方面具有显著的效果。手工激活是神经网络模型中最常见的选择。ReLU是深度学习社区中最常见的选择,因为它的简单性,尽管ReLU有一些严重的缺点。在本文中,我们提出了一种新的激活函数,它基于对Leaky ReLU等已知激活函数的近似,我们称之为Smooth Maximum Unit(SMU)。用SMU代替ReLU,我们使用ShuffleNet V2模型在CIFAR100数据集上获得了6.22%的改进。
Toward Improving fNIRS Classification: A Study on Activation Functions in Deep Neural Architectures
Department of Electrical, Computer, & Biomedical Engineering, University of Rhode Island(罗德岛大学电气、计算机与生物医学工程系);St. Jude Children’s Research Hospital(圣 Jude儿童研究医院);Miner School of Computer and Information Sciences at University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校矿学院)