Skip to main content
QUICK REVIEW

[Paper Review] Training behavior of deep neural network in frequency domain

Zhi‐Qin John Xu, Yaoyu Zhang|arXiv (Cornell University)|Jul 3, 2018
Neural Networks and ApplicationsComputer Science29 references49 citations
TL;DR

DNN training follows a Frequency Principle: models first capture dominant low-frequency components and then gradually fit high-frequency ones, across datasets, architectures, and optimizers, providing insight into generalization and early stopping.

ABSTRACT

Why deep neural networks (DNNs) capable of overfitting often generalize well in practice is a mystery [#zhang2016understanding]. To find a potential mechanism, we focus on the study of implicit biases underlying the training process of DNNs. In this work, for both real and synthetic datasets, we empirically find that a DNN with common settings first quickly captures the dominant low-frequency components, and then relatively slowly captures the high-frequency ones. We call this phenomenon Frequency Principle (F-Principle). The F-Principle can be observed over DNNs of various structures, activation functions, and training algorithms in our experiments. We also illustrate how the F-Principle help understand the effect of early-stopping as well as the generalization of DNNs. This F-Principle potentially provides insights into a general principle underlying DNN optimization and generalization.

Motivation & Objective

  • Motivate understanding of why over-parameterized DNNs can generalize well despite potential overfitting.
  • Characterize the training dynamics of DNNs in the frequency domain for synthetic and real data.
  • Identify a bias in optimization that explains generalization and the effectiveness of early stopping.
  • Demonstrate the consistency of the Frequency Principle across architectures and activation functions.

Proposed method

  • Analyze DNN training in the frequency domain using 1-D functions and real datasets (MNIST, CIFAR-10).
  • Compute Fourier transforms along the first principal component of inputs to study frequency components.
  • Track relative convergence of selected frequency components during training.
  • Experiment with different network architectures (fully connected tanh, CNN), and optimizers (SGD, Adam).
  • Use mean-squared error loss with Gaussian initialization and Adam optimizer to compare dynamics.

Experimental results

Research questions

  • RQ1Does a Frequency Principle govern how DNNs learn from data, and if so, is it observable across datasets and network types?
  • RQ2How does the order of frequency component fitting relate to generalization and early stopping?
  • RQ3What role do initialization and architecture play in the emergence of the Frequency Principle?

Key findings

  • DNNs tend to learn dominant low-frequency components first and high-frequency components later in training.
  • The Frequency Principle is observed across networks of varying width and depth, and with different activation functions and optimizers.
  • Early stopping can prevent fitting high-frequency noise, improving generalization in noisy settings.
  • Small initialization tends to promote better generalization under the Frequency Principle, whereas large initialization can lead to overfitting.
  • The principle provides a plausible mechanism linking optimization dynamics to generalization behavior in DNNs.

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.