Transformers Use Causal World Models in Maze-Solving Tasks
Imperial College London(伦敦帝国学院);Colorado School of Mines(科罗拉多矿业学院);University of Manchester(曼彻斯特大学);National Institute of Informatics(信息学研究所)
Alex F. Spies, William Edwards, Michael I. Ivanitskiy, Adrians Skapars, Tilman Räuker, Katsumi Inoue, Alessandra Russo, Murray Shanahan
备注:
Main paper: 9 pages, 9 figures. Supplementary material: 10 pages, 17 additional figures. Code and data will be available upon publication. Corresponding author: A. F. Spies (afspies@imperial.ac.uk)
Recent studies in interpretability have explored the inner workings of transformer models trained on tasks across various domains, often discovering that these networks naturally develop highly structured representations. When such representations comprehensively reflect the task domain's structure, they are commonly referred to as "World Models" (WMs). In this work, we identify WMs in transformers trained on maze-solving tasks. By using Sparse Autoencoders (SAEs) and analyzing attention patterns, we examine the construction of WMs and demonstrate consistency between SAE feature-based and circuit-based analyses. By subsequently intervening on isolated features to confirm their causal role, we find that it is easier to activate features than to suppress them. Furthermore, we find that models can reason about mazes involving more simultaneously active features than they encountered during training; however, when these same mazes (with greater numbers of connections) are provided to models via input tokens instead, the models fail. Finally, we demonstrate that positional encoding schemes appear to influence how World Models are structured within the model's residual stream.
ACTIVA: Amortized Causal Effect Estimation via Variational Autoencoders
Learning and Reasoning Group(学习与推理组);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学);Leiden Institute of Advanced Computer Science (LIACS)(莱顿先进计算机科学研究所);Leiden University(莱顿大学);Informatics Institute & Institute for Logic, Language and Computation(信息研究所及逻辑、语言与计算研究所);University of Amsterdam(阿姆斯特丹大学)
TTCD:Transformer Integrated Temporal Causal Discovery from Non-Stationary Time Series Data
Department of Information Systems(信息系统系);University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校);Department of Data Science(数据科学系);University of North Texas(北德克萨斯大学);Climate Science Section(气候科学组);Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室)
Causal-Transformer with Adaptive Mutation-Locking for Early Prediction of Acute Kidney Injury
School of Electrical and Information Engineering, Tianjin University(天津大学电气与信息工程学院);Department of Nephrology, TEDA Hospital, Tianjin University(天津大学TEDA医院肾内科);Tianjin Medical University General Hospital(天津医科大学总医院);Department of Nephrology, First Teaching Hospital of Tianjin University of Traditional Chinese Medicine(天津中医药大学第一教学医院肾内科)
Causality-Induced Positional Encoding for Transformer-Based Representation Learning of Non-Sequential Features
Department of Computer Science, Emory University(埃默里大学计算机科学系);School of Statistics and Mathematics, Zhongnan University of Economics and Law(中南财经政法大学统计与数学学院);School of Medicine, Department of Human Genetics, Emory University(埃默里大学医学院人类遗传学系)
Demystifying amortized causal discovery with transformers
Institute of Science and Technology Austria(奥地利科学与技术研究所);Chan Zuckerberg Initiative(查纳·泽克伯格倡议);Mila - Quebec AI Institute and Université de Montréal(蒙特利尔AI研究所和蒙特利尔大学)
CaTs and DAGs: Integrating Directed Acyclic Graphs with Transformers for Causally Constrained Predictions
Kivira Health(Kivira健康公司);The Sense Innovation and Research Center, CHUV, Lausanne, Switzerland(The Sense创新与研究中心,CHUV,洛桑,瑞士);Centre for Vision, Speech and Signal Processing, University of Surrey, U.K.(视觉、语音和信号处理中心,萨里大学,英国);Institute of Psychology, University of Lausanne, Switzerland(心理学研究所,洛桑大学,瑞士);EPFL, Switzerland(瑞士联邦理工学院)
Contextual Counting: A Mechanistic Study of Transformers on a Quantitative Task
New York University(纽约大学);Flatiron Institute(弗莱伦研究所);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);University of Cambridge(剑桥大学);The University of Tokyo(东京大学);University of Colorado Boulder(科罗拉多大学博尔德分校);Prescient Design, Genentech(基因泰克公司Prescient Design部门);Princeton University(普林斯顿大学)