Large language models (LLMs) reproduce a human working-memory signature on the N-back task: performance declines as memory load N increases, and errors concentrate on lures, items that repeat the current stimulus at a neighboring but incorrect serial position. We ask whether this shared behavioral signature reflects a shared mechanism. The literature offers two candidate accounts. On a precision account, softmax attention cannot concentrate its weight on the item N positions back, so adjacent items are retrieved instead. On an interference account, attention selects the correct item, but the content of competing items corrupts the decision. We dissociate these accounts in 15 pretrained LLMs from three families (70 million to 14 billion parameters) and in minimal transformers trained from scratch. In all three families, the attention heads that carry the task attend to the target on most missed matches. Linear probes decode near-perfectly whether a matching letter occurred at the target or at a lure position, even on trials where the model false-alarms to the lure, although its own decisions barely distinguish the two. Sharpening attention yields negligible gains, whereas suppressing the letter identity of non-target items improves sensitivity (d') in nearly all model-by-load conditions. In larger models the task is spread over more heads, and removing interference helps more. In minimal transformers, precision limits a single attention layer, but a second layer removes this constraint. The working-memory limit of LLMs therefore lies in reading items out under interference rather than in locating them, consistent with interference accounts of human working memory.
In-context superposition: human-like working memory interference in large language models
School of Psychological and Brain Sciences, Georgia Tech(佐治亚理工学院心理与脑科学学院);Department of Psychology, New York University(纽约大学心理学系);Department of Cognitive Science, Indiana University Bloomington(印第安纳大学布卢明顿分校认知科学系);Honda Research Institute(本田研究所);Center of Excellence for Computational Cognition, Georgia Tech(佐治亚理工学院计算认知卓越中心);Departments of Neuroscience and Psychology, The University of Texas at Austin(德克萨斯大学奥斯汀分校神经科学和心理学系)
Department of Computing, Imperial College London, UK(伦敦帝国学院计算机系);Department of Mathematics, Imperial College London, UK(伦敦帝国学院数学系);London School of Geometry(几何与数论研究所)
Exploring Information Processing in Large Language Models: Insights from Information Bottleneck Theory
College of Computer and Data Science, Fuzhou University(福州大学计算机与数据科学学院);Leiden University(莱顿大学);SCITIX (SGP) TECH PTE. LTD(SCITIX (SGP)科技私人有限公司);SmartMore(思谋科技);College of Computer Science and Technology, Chongqing University of Technology(重庆理工大学计算机科学与技术学院)
Beyond Context Limits: Subconscious Threads for Long-Horizon Reasoning
MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Subconscious Systems Technologies, Inc.(Subconscious Systems Technologies公司);Princeton University(普林斯顿大学);Tel Aviv University(特拉维夫大学)
Airbus Central Research & Technology(空客中央研究与技术中心);Department of Computer Science(计算机科学系);University of Pisa, Italy(意大利比萨大学);Bielefeld University, Germany(德国比勒菲尔德大学)
Readout-Side Bypass for Residual Hybrid Quantum-Classical Models
Department of Engineering Management and Systems Engineering, George Washington University, USA(工程管理与系统工程系,乔治华盛顿大学);Department of Computer Science, University of Warwick, UK(计算机科学系,沃林汉姆大学);Department Computer Science, Kent State University, USA(计算机科学系,肯特州立大学);Department of Computer Science, Information, and Engineering Technology, Youngstown State University, USA(计算机科学、信息与工程技术系,扬斯敦州立大学)