Fast convergence rates of deep neural networks for classification

Yongdai Kim, Ilsang Ohn, Dongha KimNeural Networks 2018

Abstract

We derive the fast convergence rates of a deep neural network (DNN) classifier with the rectified linear unit (ReLU) activation function learned using the hinge loss. We consider three cases for a true model: (1) a smooth decision boundary, (2) smooth conditional class probability, and (3) the margin condition (i.e., the probability of inputs near the decision boundary is small). We show that the DNN classifier learned using the hinge loss achieves fast rate convergences for all three cases provided that the architecture—specifically the number of layers, nodes, and sparsity—is carefully selected. An important implication is that DNN architectures are remarkably flexible for use in various cases without significant modification. Additionally, we analyze DNN classifiers learned by minimizing cross-entropy, showing they achieve fast convergence when conditional class probabilities are sufficiently close to zero or one, a common characteristic of image recognition tasks. Our theoretical findings are supported by a numerical study comparing hinge loss and cross-entropy.

Introduction

In machine learning theory, a fundamental question is the convergence rate of the excess risk: how much data is required to approach the best possible error rate? While deep learning has achieved massive empirical success, the theoretical understanding of these rates for classification has historically lagged behind regression. This paper provides a theoretical "seal of approval" for DNNs, proving that ReLU-based architectures achieve fast convergence rates across various data distributions and explaining why standard industry practices, such as using cross-entropy loss, are so effective.

Theoretical Framework and Methods

The authors employ a rigorous mathematical framework to analyze DNNs with ReLU activations, focusing on three primary areas:

  • Approximation Theory: Demonstrating that DNNs can accurately mimic complex, even discontinuous, functions using a parsimonious number of parameters.
  • Statistical Risk Analysis: Utilizing "Tsybakov noise conditions" to quantify classification difficulty based on the amount of "noise" or overlap near the decision boundary.
  • Loss Function Comparison: Deriving convergence rates for both the hinge loss (which targets the classifier boundary directly) and the logistic loss/cross-entropy (which estimates class probabilities).
  • Complexity Measures: Using entropy and covering numbers to bound the capacity of the neural network function space, ensuring the model generalizes well from training data.

Key Insights: Flexibility and the Curse of Dimensionality

One of the paper's most significant contributions is identifying DNNs as the "Swiss Army Knife" of classifiers. With appropriately tuned depth, width, and sparsity, a single DNN architecture can achieve fast convergence in three distinct scenarios: smooth boundaries, smooth conditional probabilities, and cases with a "margin" (where data is sparse near the boundary).

Furthermore, the research addresses the Curse of Dimensionality. In high-dimensional spaces, convergence usually slows down significantly. However, the authors show that under the Margin Condition, the convergence rate becomes almost independent of the input dimension $d$. If the data density is very low near the decision boundary, the rate depends primarily on the noise level rather than the complexity of the input space. This explains why deep learning excels at high-dimensional tasks like image recognition where classes are often well-separated.

The Logic of Logistic Loss

While cross-entropy (logistic loss) is technically "sub-optimal" for general classification because it attempts to estimate exact probabilities rather than just the boundary, the authors prove it achieves fast rates if the true probabilities are "extreme" (close to 0 or 1). Since humans are highly proficient at recognizing most images, real-world image datasets likely satisfy this condition, justifying the widespread use of cross-entropy in the field.

Empirical Validation

To validate these theoretical findings, the authors conducted numerical studies on three classic benchmarks, simplified into binary classification tasks:

  1. MNIST: Handwritten digits ('5' vs. '7').
  2. SVHN: Street View House Numbers ('4' vs. '9').
  3. CIFAR10: General objects ('cat' vs. 'dog').

The experiments showed empirical parity between loss functions. For example, on CIFAR10 with 5,000 samples per class, the hinge loss achieved 87.60% accuracy compared to 87.88% for logistic loss. This confirms that the choice of loss function is less critical when classes are well-separated, as the theory predicts.

Limitations and Future Work

Despite these advances, a gap remains between statistical theory and computational practice. This paper assumes the ability to find the global minimizer of empirical risk, whereas actual DNN training involves non-convex optimization that may settle in local minima. Additionally, while the authors provide fast rates for smooth decision boundaries, they acknowledge that these rates are not yet proven to be minimax optimal. Future research may focus on bridging the gap between "statistical existence" and "computational reachability," as well as developing algorithms that adaptively select network architecture and sparsity patterns during training.

Summary updated

BibTeX
@inproceedings{kim2018fast,
  author = {Yongdai Kim and Ilsang Ohn and Dongha Kim},
  title = {{Fast convergence rates of deep neural networks for classification}},
  booktitle = {Neural Networks},
  year = {2018},
  url = {https://openreview.net/forum?id=lPKVuXsn4W0},
}
Figure