The Rules-and-Facts Model for Simultaneous Generalization and Memorization in Neural Networks
Not on the map. Why?
Abstract (arXiv)
A key capability of modern neural networks is their capacity to simultaneously learn underlying rules and memorize specific facts or exceptions. Yet, theoretical understanding of this dual capability remains limited. We introduce the Rules-and-Facts (RAF) model, a minimal solvable setting that enables precise characterization of this phenomenon by bridging two classical lines of work in the statistical physics of learning: the teacher-student framework for generalization and Gardner-style capacity analysis for memorization. In the RAF model, a fraction 1 - varepsilon of training labels is generated by a structured teacher rule, while a fraction varepsilon consists of unstructured facts with random labels. We characterize when the learner can simultaneously recover the underlying rule - allowing generalization to new data - and memorize the unstructured examples. Our results quantify how overparameterization enables the simultaneous realization of these two objectives: sufficient excess capacity supports memorization, while regularization and the choice of kernel or nonlinearity control the allocation of capacity between rule learning and memorization. Experiments on a CIFAR10-based RAF task show that the qualitative trade-off persists for fixed kernels, whereas representations learned by deeper neural networks substantially mitigate it, preserving factual recall while improving generalization. The RAF model provides a theoretical foundation for understanding how modern neural networks can infer structure while storing rare or non-compressible information.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 5 of its 62 references that are in the map. First posted on arXiv 26 Mar 2026.
Builds on
5 of 62 references.
References · 5
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 270
- 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 40
- 2025Memorization to Generalization: Emergence of Diffusion Models from Associative Memorycited by 36
- 2024Mixture of Parrots: Experts improve memorization more than reasoningcited by 21
- 2025Memorizing Long-tail Data Can Help Generalization Through Compositioncited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers
- 2023On information captured by neural networks: connections with memorization and generalization
- 2026On the Dynamics & Transferability of Latent Generalization during Memorization
- 2026On the Memorization of Consistency Distillation for Diffusion Models
- 2023What do larger image classifiers memorise?
- 2025Bigger Isn't Always Memorizing: Early Stopping Overparameterized Diffusion Models
- 2026How Learning Governs Unlearning across the Memorization-Generalization Spectrum
- 2025Provable Separations between Memorization and Generalization in Diffusion Models