Optimization Variance: Exploring Generalization Properties of DNNs

Xiao Zhang, Dongrui Wu, Haoyi Xiong, Bo Dai
6/3/2021
cs.LGcs.AI

Official code: ZhangXiao96/OptimizationVariance (4 stars, Python, last commit 2020-09-29).

Abstract

Unlike the conventional wisdom in statistical learning theory, the test error of a deep neural network (DNN) often demonstrates double descent: as the model complexity increases, it first follows a classical U-shaped curve and then shows a second descent. Through bias-variance decomposition, recent studies revealed that the bell-shaped variance is the major cause of model-wise double descent (when the DNN is widened gradually).

Show full abstract

This paper investigates epoch-wise double descent, i.e., the test error of a DNN also shows double descent as the number of training epoches increases. By extending the bias-variance analysis to epoch-wise double descent of the zero-one loss, we surprisingly find that the variance itself, without the bias, varies consistently with the test error. Inspired by this result, we propose a novel metric, optimization variance (OV), to measure the diversity of model updates caused by the stochastic gradients of random training batches drawn in the same iteration. OV can be estimated using samples from the training set only but correlates well with the (unknown) \emph{test} error, and hence early stopping may be achieved without using a validation set.

View on arXivView PDF

Code Implementations(1)

This repository is the official implementation of "Optimization Variance: Delve into the Epoch-Wise Double Descent of DNNs"

41PythonAug 10, 20206 years ago
deep-learningdnndouble-descentgeneralizationoptimization+1 more

Similar Papers

Cite this paper

@article{zhang2021optimization,
  title  = {Optimization Variance: Exploring Generalization Properties of DNNs},
  author = {Xiao Zhang and Dongrui Wu and Haoyi Xiong and Bo Dai},
  year   = {2021},
  eprint = {2106.01714},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.01714}
}

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

Discussion