Skip to main content
QUICK REVIEW

[Paper Review] Optimality of Training/Test Size and Resampling Effectiveness of Cross-Validation Estimators of the Generalization Error

Georgios Afendras, Marianthi Markatou|arXiv (Cornell University)|Nov 10, 2015
Statistical Methods and InferenceMathematics23 references12 citations
TL;DR

This paper establishes that for a broad class of loss functions, the optimal training set size in k-fold cross-validation is exactly half the total sample size, minimizing variance of the generalization error estimator. It introduces resampling effectiveness as a metric and derives optimal splitting rules via variance-minimization, validated theoretically and empirically for logistic regression in classification.

ABSTRACT

An important question in constructing Cross Validation (CV) estimators of the generalization error is whether rules can be established that allow "optimal" selection of the size of the training set, for fixed sample size $n$. We define the {\it resampling effectiveness} of random CV estimators of the generalization error as the ratio of the limiting value of the variance of the CV estimator over the estimated from the data variance. The variance and the covariance of different average test set errors are independent of their indices, thus, the resampling effectiveness depends on the correlation and the number of repetitions used in the random CV estimator. We discuss statistical rules to define optimality and obtain the "optimal" training sample size as the solution of an appropriately formulated optimization problem. We show that in a broad class of loss functions the optimal training size equals half of the total sample size, independently of the data distribution. We optimally select the number of folds in $k$-fold cross validation and offer a computational procedure for obtaining the optimal splitting in the case of classification (via logistic regression). We substantiate our claims both, theoretically and empirically.

Motivation & Objective

  • To determine the optimal training set size in cross-validation that minimizes the variance of generalization error estimators.
  • To define and quantify resampling effectiveness as the ratio of limiting variance to empirical variance in random cross-validation.
  • To formulate and solve an optimization problem for optimal training/test size selection under fixed total sample size.
  • To extend results to k-fold cross-validation and provide a computational procedure for classification using logistic regression.
  • To validate theoretical findings through theoretical analysis and empirical simulations.

Proposed method

  • Defines resampling effectiveness as the ratio of the limiting variance of the CV estimator to the estimated variance from data.
  • Uses asymptotic normality of prediction errors to derive joint moments of prediction errors across folds and repetitions.
  • Applies a multivariate normal approximation to the vector of prediction errors, with covariance structure dependent on training size and overlap between folds.
  • Derives the variance of the CV estimator as a function of training size $ n_1 $, using expectations of indicator functions for data point inclusion in training sets.
  • Solves an optimization problem to minimize this variance, showing that the minimum occurs at $ n_1 = n/2 $ for a broad class of loss functions.
  • Proposes a computational algorithm for optimal splitting in classification via logistic regression, based on minimizing estimated variance.

Experimental results

Research questions

  • RQ1What training set size minimizes the variance of cross-validation estimators of generalization error for a fixed total sample size?
  • RQ2How can resampling effectiveness be formally defined and quantified in random cross-validation?
  • RQ3Does the optimal training size depend on the data distribution or loss function, and if so, under what conditions?
  • RQ4Can the optimal number of folds in k-fold cross-validation be derived from variance minimization?
  • RQ5How does the proposed method perform empirically in classification tasks using logistic regression?

Key findings

  • For a broad class of loss functions, the optimal training set size is exactly $ n/2 $, independent of the underlying data distribution.
  • Resampling effectiveness depends on the correlation between test set errors and the number of repetitions in random CV, with higher correlation reducing effectiveness.
  • The variance of the CV estimator is minimized when the training set size is half the total sample size, as shown through asymptotic distributional analysis.
  • The optimal number of folds in k-fold CV is derived from the same variance-minimization framework, with theoretical justification.
  • A computational procedure is provided for selecting optimal splits in classification tasks using logistic regression, based on minimizing estimated variance.
  • Theoretical results are substantiated by empirical simulations, confirming the optimality of $ n_1 = n/2 $ across various settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.