Skip to main content
QUICK REVIEW

[Paper Review] How deep is deep enough? - Optimizing deep neural network architecture

Achim Schilling, Jonas Rietsch|arXiv (Cornell University)|Nov 5, 2018
Machine Learning and Data ClassificationComputer Science37 references5 citations
TL;DR

This paper introduces the Generalized Discrimination Value (GDV), a novel invariant measure to assess class separability across layers in deep neural networks. Applied to a Deep Belief Network on MNIST, GDV reveals optimal depth at layer 30, beyond which performance degrades, establishing GDV as a universal tool for determining optimal network depth across datasets.

ABSTRACT

Deep neural networks use stacked layers of feature detectors to repeatedly transform the input data, so that structurally different classes of input become well separated in the final layer. While the method has turned out extremely powerful in many applications, its success depends critically on the correct choice of hyperparameters, in particular the number of network layers. Here, we introduce a new measure, called the generalized discrimination value (GDV), which quantifies how well different object classes separate in each layer. Due to its definition, the GDV is invariant to translation and scaling of the input data, independent of the number of features, as well as independent of the number and permutation of the neurons within a layer. We compute the GDV in each layer of a Deep Belief Network that was trained unsupervised on the MNIST data set. Strikingly, we find that the GDV first improves with each successive network layer, but then gets worse again beyond layer 30, thus indicating the optimal network depth for this data classification task. Our further investigations suggest that the GDV can serve as a universal tool to determine the optimal number of layers in deep neural networks for any type of input data.

Motivation & Objective

  • To address the critical challenge of selecting optimal network depth in deep neural networks, which significantly impacts performance.
  • To develop a measure that quantifies class separability in each network layer, independent of data scaling, translation, or neuron permutation.
  • To identify the optimal number of layers for deep neural networks using a data-agnostic, invariant metric.
  • To validate the proposed measure on a real-world benchmark dataset (MNIST) using an unsupervised pre-trained Deep Belief Network.

Proposed method

  • Proposes the Generalized Discrimination Value (GDV) as a metric to quantify how well different object classes separate in each network layer.
  • GDV is mathematically defined to be invariant under translation and scaling of input data, and independent of feature count and neuron permutation within a layer.
  • Computes GDV across all layers of a Deep Belief Network pre-trained on the MNIST dataset using unsupervised learning.
  • Analyzes the trend of GDV values across layers to detect the point of maximum class separability.
  • Uses the peak GDV value as an indicator of optimal network depth for the given data and architecture.

Experimental results

Research questions

  • RQ1What is the optimal depth for a deep neural network in terms of maximizing class separability?
  • RQ2Can a metric be developed that quantifies class separability in deep network layers independently of data transformation and network structure?
  • RQ3Does the GDV exhibit a peak at a specific layer count, indicating an optimal depth for a given dataset?
  • RQ4Can GDV be used as a universal tool to guide network depth selection across different types of input data?

Key findings

  • The GDV increases with each successive layer up to layer 30, indicating improved class separability during feature transformation.
  • Beyond layer 30, the GDV begins to decrease, indicating that additional layers degrade class separability and overfit or introduce noise.
  • The peak GDV occurs at layer 30, suggesting this is the optimal depth for the MNIST classification task in the tested Deep Belief Network.
  • The GDV is invariant to input translation, scaling, feature count, and neuron permutation, confirming its robustness as a structural metric.
  • The GDV provides a data-agnostic, universal method for determining optimal network depth across diverse datasets and architectures.

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.