Transformer机制在基于人类工作记忆任务训练时模拟额纹状体门控操作
Transformer Mechanisms Mimic Frontostriatal Gating Operations When Trained on Human Working Memory Tasks
AI总结:
研究发现,在人类工作记忆任务上训练的vanilla Transformer的自注意力机制会涌现出特化现象,模拟了人脑额纹状体的输入与输出门控机制,揭示了现代AI架构与脑模型间的计算相似性。
摘要:
基于Transformer神经网络架构的模型在多种任务上取得了成功,这些任务似乎需要复杂的“认知分支”——即在完成其他目标的同时保持对一个目标的追求。在认知神经科学中,此类任务的成功被认为依赖于复杂的额纹状体选择性门控机制,该机制能够实现角色可寻址的更新以及随后从记忆的不同“地址”(以神经元簇的形式)读取信息。然而,Transformer模型并没有刻意内置此类机制。因此,Transformer如何解决此类任务,以及为帮助其解决任务而涌现出的机制是否与人脑中的门控机制存在相似之处,仍是一个开放性问题。在本研究中,我们分析了一个仅包含普通注意力机制的vanilla Transformer在简单序列建模任务上训练后涌现的机制,该任务受计算认知神经科学中为研究工作记忆门控而明确设计的任务启发。我们发现,作为训练的结果,Transformer内的自注意力机制发生特化,其方式映射了早期更具生物启发性的架构中明确引入的输入和输出门控机制。这些结果为未来研究现代AI架构与人脑模型之间的计算相似性提供了机会。
英文摘要:
Models based on the Transformer neural network architecture have seen success on a wide variety of tasks that appear to require complex "cognitive branching" -- or the ability to maintain pursuit of one goal while accomplishing others. In cognitive neuroscience, success on such tasks is thought to rely on sophisticated frontostriatal mechanisms for selective \textit{gating}, which enable role-addressable updating -- and later readout -- of information to and from distinct "addresses" of memory, in the form of clusters of neurons. However, Transformer models have no such mechanisms intentionally built-in. It is thus an open question how Transformers solve such tasks, and whether the mechanisms that emerge to help them to do so bear any resemblance to the gating mechanisms in the human brain. In this work, we analyze the mechanisms that emerge within a vanilla attention-only Transformer trained on a simple sequence modeling task inspired by a task explicitly designed to study working memory gating in computational cognitive neuroscience. We find that, as a result of training, the self-attention mechanism within the Transformer specializes in a way that mirrors the input and output gating mechanisms which were explicitly incorporated into earlier, more biologically-inspired architectures. These results suggest opportunities for future research on computational similarities between modern AI architectures and models of the human brain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。