arXiv AI

In-context superposition: human-like working memory interference in large language models

arXiv:2604. 09670v2 Announce Type: replace-cross Abstract: Intelligent systems must maintain and manipulate task-relevant information online to adapt to dynamic environments and changing goals.

arXiv AI
Oct 16

Language Models Share a Readout Bottleneck in Working Memory

Large language models (LLMs) exhibit a human‑like working‑memory pattern on the N‑back task, with performance dropping as memory load increases and errors mainly on lure items. Two hypotheses—precision limits of softmax attention and interference from competing items—were tested across 15 pretrained LLMs and minimal transformers. Results show that interference, not precision, constrains LLMs’ working‑memory performance, as suppressing non‑target item identities improves sensitivity and larger models benefit more from reducing interference.

By Dongyu Gong
arXiv AI
Sep 21

Decoupling Internal Representational Changes and Causal Importance in Fine-Tuned Large Language Models

Fine‑tuning reshapes internal representations of large language models, affecting attention patterns and layer‑wise activations. The study shows that components identified by EAP as important for task performance cluster in specific layers, yet these layers do not align with those undergoing the largest representational changes. Additionally, overlapping EAP components across different tasks do not guarantee cross‑task transfer and can even degrade performance when tasks differ in nature.

By Lingfang Li, Procheta Sen, Shubham Das, Danushka Bollegala
arXiv AI
Sep 15

How Many Thoughts Can a Vector Hold? The Capacity of Reasoning by Superposition

The paper investigates how continuous latent states in large language models can store multiple reasoning steps through superposition. It challenges the intuition that retaining only the current reasoning frontier is optimal, showing that cumulative superposition of the full reasoning history can actually require fewer representational dimensions. The authors demonstrate that this approach preserves more valid evidence, improves downstream outcome discrimination, and delays unreliability, while also establishing that uniform cumulative weighting of memories is minimax‑optimal for future reasoning.

By Hongyu Gu, Chang Liu, Jingwen Fu
arXiv Machine Learning
6d ago

A single inference process underlies the behavior and neural circuits of working memory

The paper introduces MemGP, a unified theory of working memory that operates as probabilistic inference over a continuous function, balancing memory strength against a Gaussian‑process prior. At the algorithmic level, memory operations are modeled as approximating this posterior with a shared set of inducing points, reproducing behavioral phenomena such as load‑dependent precision loss, attentional benefits, and inter‑item interactions. The theory analytically maps onto a recurrent neural circuit, predicting delay‑dependent drift, center‑surround connectivity, and a blend of persistent activity and synaptic weights, thereby reconciling diverse behavioral and neural observations within a single inference framework.

By Dongyu Gong, Mario Belledonne, Ilker Yildirim
arXiv AI
Nov 5

Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs

The paper examines how Large Language Models’ internal representations become sparser as task difficulty rises, finding that harder inputs lead to more concentrated activation patterns in the last hidden state. This sparsity–difficulty relationship holds across various models and domains, indicating that models learn dense representations for familiar patterns but default to sparse activations for unfamiliar ones. Leveraging this insight, the authors propose Sparsity‑Guided Curriculum In‑Context Learning (SG‑ICL), which selects few‑shot demonstrations based on sparsity and outperforms standard CoT and Auto‑CoT baselines on the MATH‑500 benchmark.

By Mingyu Jin, Yutong Yin, Jingcheng Niu, Qingcheng Zeng, Wujiang Xu, Mengnan Du, Wei Cheng, Zhaoran Wang, Tianlong Chen, Dimitris N. Metaxas
arXiv Machine Learning
Jun 2

Resonant Context Anchoring: Decoupling Attention Routing and Signal Gain at Inference Time

arXiv:2606. 01923v1 Announce Type: cross Abstract: Large Language Models (LLMs) frequently exhibit "contextual disregard" when faced with input evidence that conflicts with their internal parametric memory, leading to persistent factual hallucinations.

By Mingkuan Zhao, Yide Gao, Wentao Hu, Suquan Chen, Tianchen Huang, Zhenhua An, Zetao Chang, Xiayu Sun, Yuheng Min
arXiv AI
Aug 14

From Observation to Intervention: Memory in Brains and Large Language Models

arXiv:2608. 12377v1 Announce Type: cross Abstract: Brains and large language models (LLMs) are fundamentally different memory systems, but they can be compared through shared functional questions: where memory-related information is represented, how partial cues recover broader associations, how new information is written or updated, and how memory-related states can be perturbed.

By Morteza Salehjahromi, Shayan A. Zadegan, Amgad Muneer, Jia Wu