Characterizing Datapoints via Second-Split Forgetting

Pratyush Maini, Saurabh Garg, Zachary C. Lipton, J. Zico Kolter
10/26/2022
cs.LG

Official code: pratyushmaini/ssft (16 stars, Jupyter Notebook, last commit 2023-08-11).

Abstract

Researchers investigating example hardness have increasingly focused on the dynamics by which neural networks learn and forget examples throughout training. Popular metrics derived from these dynamics include (i) the epoch at which examples are first correctly classified; (ii) the number of times their predictions flip during training; and (iii) whether their prediction flips if they are held out.

Show full abstract

However, these metrics do not distinguish among examples that are hard for distinct reasons, such as membership in a rare subpopulation, being mislabeled, or belonging to a complex subpopulation. In this paper, we propose $second$-$split$ $forgetting$ $time$ (SSFT), a complementary metric that tracks the epoch (if any) after which an original training example is forgotten as the network is fine-tuned on a randomly held out partition of the data. Across multiple benchmark datasets and modalities, we demonstrate that $mislabeled$ examples are forgotten quickly, and seemingly $rare$ examples are forgotten comparatively slowly. By contrast, metrics only considering the first split learning dynamics struggle to differentiate the two. At large learning rates, SSFT tends to be robust across architectures, optimizers, and random seeds. From a practical standpoint, the SSFT can (i) help to identify mislabeled samples, the removal of which improves generalization; and (ii) provide insights about failure modes. Through theoretical analysis addressing overparameterized linear models, we provide insights into how the observed phenomena may arise. Code for reproducing our experiments can be found here: https://github.com/pratyushmaini/ssft

View on arXivView PDF

Code Implementations(1)

pratyushmaini/ssftOfficial100%

[NeurIPS'22] Official Repository for Characterizing Datapoints via Second-Split Forgetting

161Jupyter Notebook, PythonOct 28, 20223 years ago

Similar Papers

Cite this paper

@article{maini2022characterizing,
  title  = {Characterizing Datapoints via Second-Split Forgetting},
  author = {Pratyush Maini and Saurabh Garg and Zachary C. Lipton and J. Zico Kolter},
  year   = {2022},
  eprint = {2210.15031},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15031}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.15031.svg)](https://codeofpaper.com/paper/2210.15031)

Discussion