Skip to main content
QUICK REVIEW

[Paper Review] Whitening and second order optimization both destroy information about the dataset, and can make generalization impossible

Neha S. Wadia, Daniel Duckworth|arXiv (Cornell University)|May 4, 2021
Stochastic Gradient Optimization TechniquesComputer Science83 references7 citations
TL;DR

This paper demonstrates that data whitening and certain second-order optimization methods destroy critical information in the sample-sample second moment matrix of a dataset, which is essential for generalization in models with fully connected first layers. In high-dimensional settings, this loss of information can render generalization impossible, though regularized second-order optimization offers a practical tradeoff that preserves some generalization ability.

ABSTRACT

Machine learning is predicated on the concept of generalization: a model achieving low error on a sufficiently large training set should also perform well on novel samples from the same distribution. We show that both data whitening and second order optimization can harm or entirely prevent generalization. In general, model training harnesses information contained in the sample-sample second moment matrix of a dataset. For a general class of models, namely models with a fully connected first layer, we prove that the information contained in this matrix is the only information which can be used to generalize. Models trained using whitened data, or with certain second order optimization schemes, have less access to this information; in the high dimensional regime they have no access at all, resulting in poor or nonexistent generalization ability. We experimentally verify these predictions for several architectures, and further demonstrate that generalization continues to be harmed even when theoretical requirements are relaxed. However, we also show experimentally that regularized second order optimization can provide a practical tradeoff, where training is accelerated but less information is lost, and generalization can in some circumstances even improve.

Motivation & Objective

  • To investigate how data whitening and second-order optimization affect the information available for generalization in machine learning models.
  • To identify the role of the sample-sample second moment matrix as the primary source of generalization-relevant information in models with fully connected first layers.
  • To demonstrate that these techniques can eliminate access to this critical information in high-dimensional regimes, leading to poor or no generalization.
  • To explore whether regularized second-order optimization can mitigate information loss while maintaining training speed advantages.

Proposed method

  • Theoretical analysis is conducted on models with fully connected first layers to establish that generalization depends solely on information in the sample-sample second moment matrix.
  • The paper derives conditions under which data whitening and specific second-order optimization schemes (e.g., natural gradient) reduce or eliminate access to this matrix.
  • High-dimensional asymptotic analysis is used to show that in the limit of high dimensionality, these methods lose all access to the second moment matrix.
  • Empirical validation is performed across multiple architectures to confirm theoretical predictions about generalization failure under whitening and second-order optimization.
  • A regularized variant of second-order optimization is proposed and tested to assess whether it preserves sufficient information for generalization while accelerating training.
  • Experiments compare generalization performance under standard, whitened, and regularized second-order optimization settings across various model architectures.

Experimental results

Research questions

  • RQ1Does data whitening eliminate the information in the sample-sample second moment matrix that is necessary for generalization in fully connected models?
  • RQ2Can second-order optimization methods like natural gradient lead to complete loss of generalization capability in high-dimensional settings?
  • RQ3To what extent does the loss of second moment information correlate with poor test performance in deep learning models?
  • RQ4Can regularized second-order optimization preserve enough information for generalization while still accelerating training?
  • RQ5Under what conditions can generalization be improved or maintained when using second-order optimization with regularization?

Key findings

  • Data whitening and certain second-order optimization schemes destroy access to the sample-sample second moment matrix, which is the sole source of generalization-relevant information in fully connected first-layer models.
  • In the high-dimensional regime, these methods result in no access to the second moment matrix, making generalization impossible.
  • Empirical results confirm that generalization performance degrades significantly under whitened data and standard second-order optimization across multiple architectures.
  • Even when theoretical assumptions are relaxed, generalization remains impaired, indicating the issue is robust across practical settings.
  • Regularized second-order optimization provides a practical tradeoff: it accelerates training while preserving sufficient information for generalization, and in some cases, even improves generalization performance.

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.