arXiv Machine Learning

MLPs are Hebbians: Constructing Efficient Fact-Storing MLPs for Transformers

arXiv:2607. 10034v1 Announce Type: new Abstract: Large language models (LLMs) store factual knowledge in their parameters.

arXiv Computation and Language
4d ago

Geometric Factual Recall in Transformers

The paper investigates how transformer language models store factual associations, proposing a geometric memorization framework where embeddings encode relational structure and a small MLP functions as a selector. In a controlled experiment, a single‑layer transformer can memorize random bijections between subjects and attributes using only a logarithmic embedding dimension, with subject embeddings representing linear superpositions of attribute vectors. The authors extend this to multi‑hop relational queries, demonstrating a capacity–depth tradeoff and providing both theoretical proofs and empirical evidence that the MLP learns a generic selection mechanism rather than acting as a key‑value memory.

By Shauli Ravfogel, Gilad Yehudai, Joan Bruna, Alberto Bietti
arXiv Computation and Language
Nov 4

Representational Acquisition Under Bounded Resources

The paper investigates how a learner’s need to keep acquired knowledge usable creates a trade‑off between storage and access costs, identifying precise endpoints that dictate different physical data organizations. For exact concept‑learning tasks, the authors derive a storage‑read curve within a constant factor, showing that one‑read compound queries require answer‑specific cells and incur exponentially costly updates, whereas one‑bit, order‑independent updates necessitate fact‑specific cells. The study further establishes robust bounds on expected distance from a coordinate encoding under uniform content distribution, limits the information inaccessible to a one‑read consumer, and explores how preservation constraints and distributed encodings affect update strategies, ultimately explaining how distinctions, uses, and update constraints jointly determine resource costs and organization.

By Yiling Wu (BridgeM, Inc.)
arXiv AI
Jun 4

L$^3$: Large Lookup Layers

arXiv:2601. 21461v3 Announce Type: replace-cross Abstract: Modern sparse language models typically achieve sparsity through Mixture-of-Experts (MoE) layers, which dynamically route tokens to dense MLP "experts.

By Albert Tseng, Christopher De Sa
arXiv Computation and Language
Oct 8

EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional Memory

EngramEdit introduces a method for decoupled knowledge updates in large language models using conditional memory architectures. By computing target memory representations that align with updated facts across multiple expressions, it jointly adjusts shared n‑gram embeddings while penalizing frequent ones to preserve unrelated knowledge. Experiments demonstrate near‑perfect editing success, improved multi‑hop reasoning, and strong performance under chain‑of‑thought prompting, all while maintaining general capabilities.

By Hongru Cai, Ran Wei, Wenjie Wang, Chengfa Wu, Ning Song, Yongqi Li, Wenjie Li
arXiv AI
Jun 19

Efficiently Representing Algorithms With Chain-of-Thought Transformers

arXiv:2606. 19697v1 Announce Type: cross Abstract: The increasing popularity of \emph{reasoning} models -- language models that output a series of reasoning or thought tokens before producing an answer -- is justified, in part, by theoretical results showing that chain-of-thought (CoT) transformers can simulate Turing machines, and thus perform arbitrary computation.

By Yanhong Li, Anej Svete, Ashish Sabharwal, William Merrill
arXiv AI
Jul 14

Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models

arXiv:2601. 07372v2 Announce Type: replace-cross Abstract: While Mixture-of-Experts (MoE) scales capacity via conditional computation, Transformers lack a native primitive for knowledge lookup, forcing them to inefficiently simulate retrieval through computation.

By Xin Cheng, Rui Tian, Wangding Zeng, Damai Dai, Qinyu Chen, Bingxuan Wang, Zhenda Xie, Kezhao Huang, Xingkai Yu, Chengqi Deng, Shangyan Zhou, Chenggang Zhao, Zhewen Hao, Yukun Li, Han Zhang, Zhengyan Zhang, Yixu Wei, M. Y Xu, Huishuai Zhang, Dongyan Zhao, Wenfeng Liang