Methods for analyzing representations in neural systems have become a popular tool in both neuroscience and mechanistic interpretability. Having measures to compare how similar activations of neurons are across conditions, architectures, and species, gives us a scalable way of learning how information is transformed within different neural networks. In contrast to this trend, recent investigations have revealed how some metrics can respond to spurious signals and hence give misleading results. To identify the most reliable metric and understand how measures could be improved, it is going to be important to identify specific test cases which can serve as benchmarks. Here we propose that the phenomena of compositional learning in recurrent neural networks (RNNs) allows us to build a test case for dynamical representation alignment metrics. By implementing this case, we show it enables us to test whether metrics can identify representations which gradually develop throughout learning and probe whether representations identified by metrics are relevant to computations executed by networks. By building both an attractor- and RNN-based test case, we show that the new Dynamical Similarity Analysis (DSA) is more noise robust and identifies behaviorally relevant representations more reliably than prior metrics (Procrustes, CKA). We also show how test cases can be used beyond evaluating metrics to study new architectures. Specifically, results from applying DSA to modern (Mamba) state space models, suggest that, in contrast to RNNs, these models may not exhibit changes to their recurrent dynamics due to their expressiveness. Overall, by developing test cases, we show DSA's exceptional ability to detect compositional dynamical motifs, thereby enhancing our understanding of how computations unfold in RNNs.
Compositional Reasoning with Transformers, RNNs, and Chain of Thought
Courant Institute of Mathematical Sciences(Courant数学科学研究所);New York University(纽约大学);Center for Data Science(数据科学中心);Center for Computational Mathematics(计算数学中心);Flatiron Institute(Flatiron研究所)
Generalization without systematicity: On the compositional skills of sequence-to-sequence recurrent networks
Dept. of Psychology and Center for Data Science, New York University(纽约大学心理学系和数据科学中心);Facebook Artificial Intelligence Research(Facebook人工智能研究院)
人类可以毫不费力地理解和产生新的话语,这要归功于他们的组合技能。一旦一个人学会了一个新动词“dax”的意思,他或她就能立即理解“dax两次”或“sing and dax”的意思。在本文中,我们介绍了SCAN域,它由一组简单的组合导航命令和相应的动作序列组成。然后,我们测试了各种循环神经网络(RNN)的zero-shot泛化能力的SCAN训练序列到序列的方法。我们发现,当训练和测试命令之间的差异很小时,RNN可以成功地进行zero-shot概括,从而可以应用“混合匹配”策略来解决任务。然而,当泛化需要系统的组合技能时(如上面的“dax”示例),RNN会失败。我们以神经机器翻译的概念验证实验作为结论,表明缺乏系统性可能是神经网络臭名昭著的训练数据饥渴的部分原因。
Structuring Multiple Simple Cycle Reservoirs with Particle Swarm Optimization
International Research Center for Neurointelligence, The University of Tokyo(国际神经智能研究中心,东京大学);School of Computer Science, University of Birmingham(伯明翰大学计算机科学学院);Graduate School of Medicine, The University of Tokyo(东京大学医学研究生院);Department of Computer Science, Graduate School of Engineering, Nagoya Institute of Technology(名古屋工业大学工学研究生院计算机科学系)
Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training
Boston University(波士顿大学);Ecole Polytechnique Fédérale de Lausanne(洛桑联邦理工学院);Johns Hopkins University(约翰霍普金斯大学);University of California San Diego(加州大学圣地亚哥分校)
Developing a Foundation of Vector Symbolic Architectures Using Category Theory
Cheriton School of Computer Science University of Waterloo(滑铁卢大学切尔顿计算机科学学院);Centre for Theoretical Neuroscience Systems Design Engineering University of Waterloo(滑铁卢大学理论神经科学中心系统设计工程学院);Department of Psychology University of Waterloo(滑铁卢大学心理学系)
本文首次将范畴论应用于向量符号架构,将向量推广为余预层,并把 VSA 操作形式化为外部张量积的右 Kan 扩展,通过示例验证了该形式化并为 VSA 新设计提供思路。
Simple Recurrent Neural Networks is all we need for clinical events predictions using EHR data
School of Biomedical Informatics, University of Texas Health Science Center at Houston(德克萨斯大学休斯顿健康科学中心生物医学信息学院);School of Public Health, University of Texas Health Science Center at Houston(德克萨斯大学休斯顿健康科学中心公共卫生学院);School of Computer Science and Technology, Dalian University of Technology(大连理工大学计算机科学与技术学院);Computer Science Department, School of Engineering, Rice University(莱斯大学工程学院计算机科学系)
Generalization Analysis and Method for Domain Generalization for a Family of Recurrent Neural Networks
Department of Electrical and Computer Engineering at the University of Manitoba(曼尼托巴大学电气与计算机工程系);Department of Computer Science, Toronto Metropolitan University(多伦多 Metropolitan 大学计算机科学系)