Score: 1

Capacity Matters: a Proof-of-Concept for Transformer Memorization on Real-World Data

Published: June 17, 2025 | arXiv ID: 2506.14704v1

By: Anton Changalidis, Aki Härmä

Potential Business Impact:

Makes AI remember more by changing its brain.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

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.

Repos / Data Links

Page Count
12 pages

Category
Computer Science:
Computation and Language