arXiv Analytics

Sign in

arXiv:2008.03703 [cs.LG]AbstractReferencesReviewsResources

What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation

Vitaly Feldman, Chiyuan Zhang

Published 2020-08-09Version 1

Deep learning algorithms are well-known to have a propensity for fitting the training data very well and often fit even outliers and mislabeled data points. Such fitting requires memorization of training data labels, a phenomenon that has attracted significant research interest but has not been given a compelling explanation so far. A recent work of Feldman (2019) proposes a theoretical explanation for this phenomenon based on a combination of two insights. First, natural image and data distributions are (informally) known to be long-tailed, that is have a significant fraction of rare and atypical examples. Second, in a simple theoretical model such memorization is necessary for achieving close-to-optimal generalization error when the data distribution is long-tailed. However, no direct empirical evidence for this explanation or even an approach for obtaining such evidence were given. In this work we design experiments to test the key ideas in this theory. The experiments require estimation of the influence of each training example on the accuracy at each test example as well as memorization values of training examples. Estimating these quantities directly is computationally prohibitive but we show that closely-related subsampled influence and memorization values can be estimated much more efficiently. Our experiments demonstrate the significant benefits of memorization for generalization on several standard benchmarks. They also provide quantitative and visually compelling evidence for the theory put forth in (Feldman, 2019).

Related articles: Most relevant | Search more
arXiv:2405.06627 [cs.LG] (Published 2024-05-10)
Conformal Validity Guarantees Exist for Any Data Distribution
arXiv:2203.11556 [cs.LG] (Published 2022-03-22)
VQ-Flows: Vector Quantized Local Normalizing Flows
arXiv:1709.04073 [cs.LG] (Published 2017-09-12)
Linear Stochastic Approximation: Constant Step-Size and Iterate Averaging