mlsanityData to 7 Oct 2026

Random Label Prediction Heads for Studying Memorization in Deep Neural Networks

arXiv 2607.11541 ↗First posted 13 Jul 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce a straightforward yet effective method to empirically study memorization in deep neural networks for classification tasks. Our approach augments each training sample with auxiliary random labels, which are then predicted by a random label prediction head (RLP-head). RLP-heads can be attached at arbitrary depths of a network, predicting random labels from the corresponding intermediate representation and thereby enabling analysis of how memorization capacity evolves across layers. By interpreting the RLP-head performance as an empirical estimate of Rademacher complexity, we obtain a direct measure of both sample-level memorization and model capacity. We leverage this random label accuracy metric to analyze generalization and overfitting in different models and datasets. Building on this approach, we further propose a novel regularization technique based on the output of the RLP-head, which demonstrably reduces memorization. Interestingly, our experiments reveal that reducing memorization can either improve or impair generalization, depending on the dataset and training setup. These findings challenge the traditional assumption that overfitting is equivalent to memorization and suggest new hypotheses to reconcile these seemingly contradictory results. The source code is available at https://github.com/MarlonBecker/RandomLabelHeads

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 27 of its 37 references that are in the map. First posted on arXiv 13 Jul 2026.

Builds on

27 of 37 references.

References · 27

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  6. 2016Wide Residual Networkscited by 3,057
  7. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  8. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  9. 2017A Closer Look at Memorization in Deep Networkscited by 936
  10. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  11. 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 704
  12. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
15 more
  1. 2018Mitigating Unwanted Biases with Adversarial Learningcited by 663
  2. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
  3. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  4. 2020Early-Learning Regularization Prevents Memorization of Noisy Labelscited by 414
  5. 2019Towards Fairness in Visual Recognition: Effective Strategies for Bias Mitigationcited by 252
  6. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
  7. 2021Deep Learning Through the Lens of Example Difficultycited by 139
  8. 2018Small ReLU networks are powerful memorizers: a tight analysis of memorization capacitycited by 76
  9. 2023Can Neural Network Memorization Be Localized?cited by 66
  10. 2019Do We Train on Test Data? Purging CIFAR of Near-Duplicatescited by 61
  11. 2018Entropy and mutual information in models of deep neural networkscited by 50
  12. 2019Identity Crisis: Memorization and Generalization under Extreme Overparameterizationcited by 33
  13. 2015Text Understanding from Scratchcited by 25
  14. 2019Neural Networks Learning and Memorization with (almost) no Over-Parameterizationcited by 23
  15. 2024The Pitfalls of Memorization: When Memorization Hurts Generalizationcited by 16

Built on by

Not cited yet.