cs.LGOct 18, 2025

Memorizing Long-tail Data Can Help Generalization Through Composition

Authors: Mo Zhou, Haoyang Ma, Rong Ge

Organizations: University of Washington · Duke University

Abstract

Deep learning has led researchers to rethink the relationship between memorization and generalization. In many settings, memorization does not hurt generalization due to implicit regularization and may help by memorizing long-tailed examples. In this paper, we consider the synergy between memorization and simple composition -- the ability to make correct prediction on a combination of long-tailed features. Theoretically, we show that for a linear setting, memorization together with composition can help the model make correct predictions on rare test examples that require a combination of long-tailed features, even if such combinations were never observed in the training data. Experiments on neural network architecture on simple data show that the theoretical insight extends beyond the linear setting, and we further observe that the composition capability of the model depends on its architecture.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. On the Dynamics & Transferability of Latent Generalization during Memorization

    Mar 20, 2026Simran Ketha, Venkatakrishnan RamaswamyNeural Network GeneralizationNeural Network Memorization

  2. Memorization in image classification: test set behavior and scaling laws

    Oct 12, 2026Jeevesh Attri, Florentin GuthNeural Network MemorizationNeural Network Training Dynamics