RATT: Leveraging Unlabeled Data to Guarantee Generalization

Saurabh Garg, Sivaraman Balakrishnan, J. Zico Kolter, Zachary C. Lipton
5/1/2021
cs.LGstat.ML

Official code: acmi-lab/RATT_generalization_bound (7 stars, Python, Apache-2.0, last commit 2022-08-17).

Abstract

To assess generalization, machine learning scientists typically either (i) bound the generalization gap and then (after training) plug in the empirical risk to obtain a bound on the true risk; or (ii) validate empirically on holdout data. However, (i) typically yields vacuous guarantees for overparameterized models.

Show full abstract

Furthermore, (ii) shrinks the training set and its guarantee erodes with each re-use of the holdout set. In this paper, we introduce a method that leverages unlabeled data to produce generalization bounds. After augmenting our (labeled) training set with randomly labeled fresh examples, we train in the standard fashion. Whenever classifiers achieve low error on clean data and high error on noisy data, our bound provides a tight upper bound on the true risk. We prove that our bound is valid for 0-1 empirical risk minimization and with linear classifiers trained by gradient descent. Our approach is especially useful in conjunction with deep learning due to the early learning phenomenon whereby networks fit true labels before noisy labels but requires one intuitive assumption. Empirically, on canonical computer vision and NLP tasks, our bound provides non-vacuous generalization guarantees that track actual performance closely. This work provides practitioners with an option for certifying the generalization of deep nets even when unseen labeled data is unavailable and provides theoretical insights into the relationship between random label noise and generalization.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code and results accompanying our paper titled RATT: Leveraging Unlabeled Data to guarantee generalization at ICML 2021 (Long Talk)

70PythonNov 6, 20214 years agoApache-2.0
deep-learninggeneralizationgeneralization-errormachine-learning

Similar Papers

Cite this paper

@article{garg2021ratt,
  title  = {RATT: Leveraging Unlabeled Data to Guarantee Generalization},
  author = {Saurabh Garg and Sivaraman Balakrishnan and J. Zico Kolter and Zachary C. Lipton},
  year   = {2021},
  eprint = {2105.00303},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.00303}
}

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/2105.00303.svg)](https://codeofpaper.com/paper/2105.00303)

Discussion