Capacity Matters: a Proof-of-Concept for Transformer Memorization on Real-World Data
Not on the map. Why?
Abstract (arXiv)
This paper studies how the model architecture and data configurations influence the empirical memorization capacity of generative transformers. The models are trained using synthetic text datasets derived from the Systematized Nomenclature of Medicine (SNOMED) knowledge graph: triplets, representing static connections, and sequences, simulating complex relation patterns. The results show that embedding size is the primary determinant of learning speed and capacity, while additional layers provide limited benefits and may hinder performance on simpler datasets. Activation functions play a crucial role, and Softmax demonstrates greater stability and capacity. Furthermore, increasing the complexity of the data set seems to improve the final memorization. These insights improve our understanding of transformer memory mechanisms and provide a framework for optimizing model design with structured real-world data.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 17 Jun 2025.
Builds on
18 of 28 references.
References · 18
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2015Empirical Evaluation of Rectified Activations in Convolutional Networkcited by 519
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 270
- 2024What Matters in Transformers? Not All Attention is Neededcited by 84
- 2023A Study on ReLU and Softmax in Transformercited by 53
- 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 40
- 2024Strategic Data Ordering: Enhancing Large Language Model Performance through Curriculum Learningcited by 28
- 2025Transcoders Beat Sparse Autoencoders for Interpretabilitycited by 25
- 2025Dynamic Loss-Based Sample Reweighting for Improved Large Language Model Pretrainingcited by 16
- 2023Breaking through the learning plateaus of in-context learning in Transformercited by 8
6 more
- 2024SurgBox: Agent-Driven Operating Room Sandbox with Surgery Copilotcited by 6
- 2023Neural Characteristic Activation Analysis and Geometric Parameterization for ReLU Networkscited by 5
- 2021ChunkFormer: Learning Long Time Series with Multi-stage Chunked Transformercited by 4
- 2025Comprehensive Modeling and Question Answering of Cancer Clinical Practice Guidelines using LLMscited by 2
- 2023The Disharmony between BN and ReLU Causes Gradient Explosion, but is Offset by the Correlation between Activationscited by 1
- 2024Empirical Capacity Model for Self-Attention Neural Networkscited by 1
Built on by
Not cited yet.