Capacity Matters: a Proof-of-Concept for Transformer Memorization on Real-World Data
By: Anton Changalidis, Aki Härmä
Potential Business Impact:
Makes AI remember more by changing its brain.
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.
Similar Papers
Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers
Machine Learning (CS)
Makes computers remember facts or solve new problems.
Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architectures
Machine Learning (CS)
Helps computers remember more, like humans.
Memory Limitations of Prompt Tuning in Transformers
Machine Learning (CS)
Computers forget things when given too much information.