Measuring Generalization with Optimal Transport

Ching-Yao Chuang, Youssef Mroueh, Kristjan Greenewald, Antonio Torralba, Stefanie Jegelka
6/7/2021
cs.LGstat.ML

Official code: chingyaoc/kV-Margin (28 stars, Python, MIT, last commit 2021-09-29).

Abstract

Understanding the generalization of deep neural networks is one of the most important tasks in deep learning. Although much progress has been made, theoretical error bounds still often behave disparately from empirical observations.

Show full abstract

In this work, we develop margin-based generalization bounds, where the margins are normalized with optimal transport costs between independent random subsets sampled from the training distribution. In particular, the optimal transport cost can be interpreted as a generalization of variance which captures the structural properties of the learned feature space. Our bounds robustly predict the generalization error, given training data and network parameters, on large scale datasets. Theoretically, we demonstrate that the concentration and separation of features play crucial roles in generalization, supporting empirical results in the literature. The code is available at \url{https://github.com/chingyaoc/kV-Margin}.

View on arXivView PDF

Code Implementations(1)

MIT

NeurIPS 2021, Code for Measuring Generalization with Optimal Transport

281PythonJun 5, 20215 years agoMIT

Similar Papers

Cite this paper

@article{chuang2021measuring,
  title  = {Measuring Generalization with Optimal Transport},
  author = {Ching-Yao Chuang and Youssef Mroueh and Kristjan Greenewald and Antonio Torralba and Stefanie Jegelka},
  year   = {2021},
  eprint = {2106.03314},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03314}
}

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

Discussion