Many papers have shown that attention heads work in conjunction with each other to perform complex tasks. It's frequently assumed that communication between attention heads is via the addition of specific features to token residuals. In this work we seek to isolate and identify the features used to effect communication and coordination among attention heads in GPT-2 small. Our key leverage on the problem is to show that these features are very often sparsely coded in the singular vectors of attention head matrices. We characterize the dimensionality and occurrence of these signals across the attention heads in GPT-2 small when used for the Indirect Object Identification (IOI) task. The sparse encoding of signals, as provided by attention head singular vectors, allows for efficient separation of signals from the residual background and straightforward identification of communication paths between attention heads. We explore the effectiveness of this approach by tracing portions of the circuits used in the IOI task. Our traces reveal considerable detail not present in previous studies, shedding light on the nature of redundant paths present in GPT-2. And our traces go beyond previous work by identifying features used to communicate between attention heads when performing IOI.
How a Bilingual LM Becomes Bilingual: Tracing Internal Representations with Sparse Autoencoders
MBZUAI(穆萨大学人工智能研究所);SOKENDAI(神户大学);NINJAL(日本国家研究所);Tohoku University(东北大学);RIKEN(日本研究机构);NII LLMC(日本信息处理学会大语言模型中心);University of Tokyo(东京大学);Nagoya Institute of Technology(名古屋技术大学)
Towards Robust Knowledge Tracing Models via k-Sparse Attention
Think Academy International Education(学而思国际教育);TAL Education Group(好未来教育集团);Guangdong Institute of Smart Education(广东省智慧教育研究院);Jinan University(暨南大学);City University of Hong Kong(香港城市大学);College of Cyber Security(网络空间安全学院)
How Do Linear Probes Emerge? A Circuit-Tracing Framework with Concept-Targeted Attribution
University of Toronto(多伦多大学);Vector Institute(矢量研究院);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);ELLIS Institute Tübingen(图宾根ELLIS研究所)
Expert-Aware Causal Tracing of Factual Recall in Sparse MoE Language Models
Center for Information and Language Processing (CIS)(信息与语言处理中心);Ubiquitous Knowledge Processing Lab (UKP)(无所不在的知识处理实验室);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心)
Sparse Probabilistic Circuits via Pruning and Growing
UCLA(加州大学洛杉矶分校)
概率电路(PC)是一种易于处理的概率分布表示,允许精确和有效地计算似然和边缘。最近在提高PC的规模和表现力方面取得了重大进展。然而,PC训练性能随着模型大小的增加而趋于稳定。我们发现,在现有的大型PC结构的大部分容量是浪费:全连接的参数层,只有稀疏使用。我们提出了两个操作:修剪和增长,利用PC结构的稀疏性。具体地,修剪操作移除PC的不重要的子网络用于模型压缩,并且具有理论保证。增长操作通过增加潜在空间的大小来增加模型容量。通过交替应用修剪和增长,我们增加了有意义地使用的容量,使我们能够显着扩展PC学习。从经验上讲,与其他PC学习器和不太容易处理的深度生成模型(如基于流的模型和变分自编码器(VAE))相比,我们的学习器在MNIST系列图像数据集和Penn Tree Bank语言数据上实现了最先进的可能性。
RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning
Beijing University of Posts and Telecommunications(北京邮电大学);University of Hong Kong(香港大学);Nanyang Technological University(南洋理工大学);China Aerospace Science and Industry Corporation(中国航天科工集团)
Tracing the Thought of a Grandmaster-level Chess-Playing Transformer
Shanghai Innovation Institute, Shanghai, China(上海创新研究院);School of Computer Science, Fudan University, Shanghai, China(复旦大学计算机科学技术学院);School of Mathematics and Statistics, Xi’an Jiaotong University(西安交通大学数学与统计学院)
Data Augmentation for Sparse Multidimensional Learning Performance Data Using Generative AI
Institute for Intelligent Systems, University of Memphis(孟菲斯大学智能系统研究所);Arkansas State University(阿肯色州立大学);Human-Computer Interaction Institute, Carnegie Mellon University(卡内基梅隆大学人机交互研究所);Faculty of Education, The University of Hong Kong(香港大学教育学院);Centre for Learning Analytics, Faculty of Information Technology, Monash University(莫纳什大学信息技术学院学习分析中心);Department of Applied Social Sciences, Hong Kong Polytechnic University(香港理工大学应用社会科学系)
Neuronal Attention Circuit (NAC) for Representation Learning
Department of Automation, University of Science \& Technology of China, Hefei, China;Institute of Artificial Intelligence, Hefei Comprehensive National Science Center
QuantumSEA: In-Time Sparse Exploration for Noise Adaptive Quantum Circuits
University of Texas at Austin(德克萨斯大学奥斯汀分校);Massachusetts Institute of Technology(麻省理工学院);Rutgers University(罗格斯大学);University of Chicago(芝加哥大学);Arizona State University(亚利桑那州立大学)
Columbia University(哥伦比亚大学);Kavli Institute of Brain Science(卡弗里脑科学研究所);Göttingen Campus Institute for Dynamics of Biological Networks(哥廷根校区生物网络动力学研究所);Max Planck Institute for Dynamics and Self-Organization(马克斯·普朗克动力学与自组织研究所);Georg-August-Universität Göttingen(哥廷根大学);Bernstein Center for Computational Neuroscience(伯恩斯坦计算神经科学中心)
Exhaustive Circuit Mapping of a Single-Cell Foundation Model Reveals Massive Redundancy, Heavy-Tailed Hub Architecture, and Layer-Dependent Differentiation Control
Department of Computer Science, University of Tübingen(图宾根大学计算机科学系)
Scaling Probabilistic Circuits via Monarch Matrices
Department of Computer Science, University of California, Los Angeles(加州大学洛杉矶分校计算机科学系);Department of Computer Science, Stanford University(斯坦福大学计算机科学系)