Machine learning

overfitting

过拟合

When a model memorizes the accidental details and noise of its training data: near-perfect on the training set, unreliable on new patients. With few cases and many parameters, it is one of the commonest ways medical-imaging models fail.

A network can have tens of millions of parameters, while a medical study may have only a few hundred labeled cases. With that much capacity, a network can memorize every training image: training error keeps falling while validation error, at some point, turns and rises. That divergence is the characteristic pattern of overfitting.

Remedies include more data and data augmentation; regularization such as weight decay or dropout, introduced by Geoffrey Hinton's group in 2012; early stopping at the validation minimum; and transfer learning. AlexNet needed both augmentation and dropout to keep its 60 million parameters in check.

Medical imaging adds subtler versions. Slices from one patient that land in both the training and the test set inflate scores. A model that tests well inside one hospital may falter elsewhere, as John Zech and colleagues found for pneumonia detection on chest radiographs in 2018, partly through shortcut learning. Rigorous evaluation therefore splits data by patient and adds external validation.

Sources
  1. Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R. Dropout: a simple way to prevent neural networks from overfitting. J Mach Learn Res. 2014;15:1929–1958. jmlr.org/papers/v15/srivastava14a.html
  2. Zech JR, Badgeley MA, Liu M, Costa AB, Titano JJ, Oermann EK. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLoS Med. 2018;15(11):e1002683. doi.org/10.1371/journal.pmed.1002683

Key works · 5

Landmark2012NeurIPS 20120 citations

ImageNet Classification with Deep Convolutional Neural Networks

Alex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton

The authors trained a network with five convolutional and three fully connected layers across two GPUs. They used rectified activations to speed training, and data augmentation and dropout to limit overfitting. An ensemble entered in ILSVRC 2012 achieved a top-five test error of 15.3%.

SignificanceThe ImageNet result established large GPU-trained convolutional networks as a practical baseline. VGG cites the work as context for its separate investigation of convolutional depth. NeurIPS recognized the influence of the original AlexNet paper with its 2022 Test of Time Award.

Landmark2014Journal of Machine Learning Research51,743 citations

Dropout: A Simple Way to Prevent Neural Networks from Overfitting

Nitish Srivastava, Geoffrey Hinton … Ruslan Salakhutdinov

Dropout randomly removes units and their connections during training. At test time the method uses one appropriately scaled network to approximate an average over those subnetworks. Experiments on supervised image, speech, and document tasks showed reduced overfitting and improved benchmark performance.

SignificanceDropout became a standard neural-network layer, as documented in PyTorch. The later work on Monte Carlo dropout retained random masks during inference and used repeated predictions to turn this familiar training operation into a method for estimating predictive uncertainty.

Landmark2016ICML 2016 (PMLR 48)7,851 citations

Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning

Yarin Gal, Zoubin Ghahramani

The paper interprets dropout training as a particular approximate Bayesian inference scheme. At test time, repeated predictions under sampled dropout masks are combined to estimate the predictive mean and variation. The authors evaluate the approach in regression and reinforcement learning experiments.

SignificanceThe method made uncertainty estimation accessible for networks already trained with dropout by reusing their forward passes. Bayesian SegNet applies the idea to pixel-level classification, producing spatial maps that show how predictive variation differs across an image.

Key1993Computational Learning Theory 19931,374 citations

Keeping the neural networks simple by minimizing the description length of the weights

Geoffrey E. Hinton, Drew van Camp

The authors introduce adjustable Gaussian noise into neural-network weights and optimize a trade-off between prediction error and the information needed to describe the weights. They derive efficient gradient calculations for a network with nonlinear hidden units and linear outputs and illustrate the approach.

SignificanceThe approach linked distributions over weights to a description-length objective, an early example of optimizing an approximate weight posterior. Bayes by Backprop traces its variational objective to this line of work and allows stochastic gradient estimates with non-Gaussian priors.

Key2019ICLR 201934,582 citations

Decoupled Weight Decay Regularization

Ilya Loshchilov, Frank Hutter

The authors show that adding an L2 penalty to the gradient differs from directly shrinking the weights when an optimizer rescales gradients adaptively. AdamW separates the decay from the adaptive step, and the paper reports improved generalization in its image-classification experiments.

SignificanceDecoupled weight decay gave adaptive optimizers a separately defined regularization step. PyTorch implements AdamW as a distinct optimizer, and the Swin Transformer paper uses AdamW in the ImageNet training recipe for its hierarchical vision backbone.