Mixture of Chapters: Scaling Learnt Memory in Transformers

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Tibrewal, Tasmay Pankaj, Saha, Pritish, Meda, Ankit, Singh, Kunal, Moturi, Pradeep
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912977519640576
author Tibrewal, Tasmay Pankaj
Saha, Pritish
Meda, Ankit
Singh, Kunal
Moturi, Pradeep
author_facet Tibrewal, Tasmay Pankaj
Saha, Pritish
Meda, Ankit
Singh, Kunal
Moturi, Pradeep
contents Transformers lack an explicit architectural mechanism for storing and organizing knowledge acquired during training. We introduce learnable sparse memory banks: a set of latent tokens, randomly initialized and trained end-to-end, that transformer layers query via cross-attention to retrieve stored knowledge. To scale memory capacity without prohibitive attention costs, we propose chapter-based routing inspired by Mixture-of-Experts architectures, partitioning the memory bank into chapters and training a router to select relevant subsets per input. This enables scaling to 262K memory tokens while maintaining tractable computation. We evaluate our approach against standard transformers (in iso-FLOP settings) on pre-training and instruction fine-tuning across relevant benchmarks. Our models surpass iso-FLOP baselines suggesting scope for a new axis of scaling, demonstrating that explicit associative memory provides complementary capacity to what is captured implicitly in model parameters. Additionally, we observe improved knowledge retention under continued training, with robustness to forgetting when transitioning between training phases (e.g., pretraining to instruction fine-tuning).
format Preprint
id arxiv_https___arxiv_org_abs_2603_21096
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Mixture of Chapters: Scaling Learnt Memory in Transformers
Tibrewal, Tasmay Pankaj
Saha, Pritish
Meda, Ankit
Singh, Kunal
Moturi, Pradeep
Machine Learning
Artificial Intelligence
Computation and Language
Transformers lack an explicit architectural mechanism for storing and organizing knowledge acquired during training. We introduce learnable sparse memory banks: a set of latent tokens, randomly initialized and trained end-to-end, that transformer layers query via cross-attention to retrieve stored knowledge. To scale memory capacity without prohibitive attention costs, we propose chapter-based routing inspired by Mixture-of-Experts architectures, partitioning the memory bank into chapters and training a router to select relevant subsets per input. This enables scaling to 262K memory tokens while maintaining tractable computation. We evaluate our approach against standard transformers (in iso-FLOP settings) on pre-training and instruction fine-tuning across relevant benchmarks. Our models surpass iso-FLOP baselines suggesting scope for a new axis of scaling, demonstrating that explicit associative memory provides complementary capacity to what is captured implicitly in model parameters. Additionally, we observe improved knowledge retention under continued training, with robustness to forgetting when transitioning between training phases (e.g., pretraining to instruction fine-tuning).
title Mixture of Chapters: Scaling Learnt Memory in Transformers
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2603.21096