Skip to main content
QUICK REVIEW

[Paper Review] Deep frequency principle towards understanding why deeper learning is faster

Zhi‐Qin John Xu, Hanxu Zhou|arXiv (Cornell University)|Jul 28, 2020
Stochastic Gradient Optimization TechniquesComputer Science35 references5 citations
TL;DR

This paper proposes the deep frequency principle, explaining why deeper feedforward neural networks train faster: deeper networks bias the effective target function toward lower frequencies during training, and since deep networks learn low-frequency components faster (per the frequency principle), increased depth accelerates learning. Empirical results on CIFAR-10 and MNIST validate that pre-conditioning via deeper hidden layers shifts the frequency distribution of training data toward lower frequencies, enabling faster optimization.

ABSTRACT

Understanding the effect of depth in deep learning is a critical problem. In this work, we utilize the Fourier analysis to empirically provide a promising mechanism to understand why feedforward deeper learning is faster. To this end, we separate a deep neural network, trained by normal stochastic gradient descent, into two parts during analysis, i.e., a pre-condition component and a learning component, in which the output of the pre-condition one is the input of the learning one. We use a filtering method to characterize the frequency distribution of a high-dimensional function. Based on experiments of deep networks and real dataset, we propose a deep frequency principle, that is, the effective target function for a deeper hidden layer biases towards lower frequency during the training. Therefore, the learning component effectively learns a lower frequency function if the pre-condition component has more layers. Due to the well-studied frequency principle, i.e., deep neural networks learn lower frequency functions faster, the deep frequency principle provides a reasonable explanation to why deeper learning is faster. We believe these empirical studies would be valuable for future theoretical studies of the effect of depth in deep learning.

Motivation & Objective

  • To understand why deeper neural networks train faster despite higher computational cost per epoch.
  • To investigate whether depth influences the frequency composition of the effective target function during training.
  • To provide empirical evidence linking depth, frequency bias, and training speed using Fourier analysis.
  • To explore how pre-conditioning by deeper layers affects the learnability of subsequent components in a deep network.
  • To guide future theoretical studies on depth effects in deep learning through a frequency-domain lens.

Proposed method

  • The network is decomposed into a pre-conditioning component (first l−1 layers) and a learning component (remaining layers), with the output of the former serving as input to the latter.
  • A filtering method is used to characterize the frequency distribution of high-dimensional functions, particularly the transformed training data S^{[l−1]}.
  • Experiments are conducted on ResNet18 variants and fully-connected networks with varying depths, using CIFAR-10 and MNIST datasets.
  • The frequency content of the effective target function S^{[l−1]} is analyzed via radial distribution functions (RDFs) across different training epochs.
  • The analysis compares training speed and frequency bias across networks with different numbers of pre-conditioning layers.
  • Residual connections are used to mitigate vanishing gradient effects in very deep networks, enabling validation of the principle in deeper regimes.

Experimental results

Research questions

  • RQ1Does increasing depth in a deep neural network lead to a lower-frequency bias in the effective target function seen by the learning component?
  • RQ2To what extent does the frequency composition of the transformed input S^{[l−1]} influence the training speed of the learning component?
  • RQ3How does the deep frequency principle hold across different network architectures and datasets, including high-frequency tasks like parity function?
  • RQ4What is the relationship between depth, frequency bias, and the vanishing gradient problem in very deep networks?
  • RQ5Can residual connections preserve the deep frequency principle in extremely deep networks, and if so, under what conditions?

Key findings

  • Deeper pre-conditioning components shift the frequency distribution of the effective training data S^{[l−1]} toward lower frequencies, as confirmed by radial distribution functions (RDFs).
  • The learning component trains faster when the effective target function is dominated by low frequencies, consistent with the well-known frequency principle that low-frequency functions are learned more quickly.
  • The deep frequency principle holds even when learning high-frequency target functions such as the parity function, indicating a general bias toward low-frequency representations in deeper layers.
  • In very deep fully-connected networks (e.g., 80 layers) without residual connections, the frequency bias breaks down, and training slows down due to vanishing gradients, violating the deep frequency principle.
  • With residual connections, the deep frequency principle is preserved even in very deep networks, and training speed remains comparable across depths, indicating a saturation effect where depth no longer accelerates learning.
  • The frequency distribution of S^{[l−1]} becomes increasingly dominated by very low frequencies as depth increases, suggesting a convergence toward a low-frequency representation in deeper hidden layers.

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.