Skip to main content
QUICK REVIEW

[Paper Review] Capacity allocation analysis of neural networks: A tool for principled architecture design

Jonathan Donier|arXiv (Cornell University)|Feb 12, 2019
Adversarial Robustness in Machine LearningComputer Science24 references3 citations
TL;DR

This paper introduces capacity allocation analysis as a quantitative, computationally efficient method to assess how neural network architectures distribute their modeling capacity across input space, particularly focusing on spatial capacity allocation in linearized models. It demonstrates that capacity can be decomposed across input subspaces, enabling principled comparison of architectures like hierarchical and recurrent networks, with extensions to non-linear settings via feature space mapping.

ABSTRACT

Designing neural network architectures is a task that lies somewhere between science and art. For a given task, some architectures are eventually preferred over others, based on a mix of intuition, experience, experimentation and luck. For many tasks, the final word is attributed to the loss function, while for some others a further perceptual evaluation is necessary to assess and compare performance across models. In this paper, we introduce the concept of capacity allocation analysis, with the aim of shedding some light on what network architectures focus their modelling capacity on, when used on a given task. We focus more particularly on spatial capacity allocation, which analyzes a posteriori the effective number of parameters that a given model has allocated for modelling dependencies on a given point or region in the input space, in linear settings. We use this framework to perform a quantitative comparison between some classical architectures on various synthetic tasks. Finally, we consider how capacity allocation might translate in non-linear settings.

Motivation & Objective

  • To develop a systematic, quantitative method for analyzing and comparing neural network architectures beyond loss function evaluation.
  • To introduce spatial capacity allocation as a way to measure how much modeling capacity a network allocates to different regions of the input space.
  • To provide theoretical foundations for capacity analysis in linear settings, with extension to non-linear settings via feature space mapping.
  • To enable principled neural architecture design by identifying which architectural choices allocate capacity most effectively for specific input dependencies.
  • To offer a complementary framework to empirical search methods, especially in cases where loss functions are poor proxies or perceptual evaluation is required.

Proposed method

  • Formalizes model capacity κ as the effective number of independent parameters in a linear model, derived from the Fisher information matrix.
  • Introduces spatial capacity allocation by decomposing total capacity across input subspaces using orthonormal bases of the parameter influence space.
  • Defines conditional capacity to assess the influence of subsets of parameters on specific input regions.
  • Applies the framework to linearized models and tasks such as Gaussian process regression, using the L² loss and covariance structure Σφ.
  • Extends the analysis to non-linear settings by mapping inputs to a feature space via φ, then computing capacity in the transformed space using Kφ = Σφ ∂A/∂W.
  • Derives input-space capacity as the sum of capacities over basis functions φj, enabling analysis of per-input-component capacity allocation.

Experimental results

Research questions

  • RQ1How can we quantitatively measure the distribution of modeling capacity across different regions of the input space in a neural network?
  • RQ2To what extent do architectural choices like recurrence or hierarchy influence spatial capacity allocation in linear models?
  • RQ3Can capacity allocation analysis provide meaningful insights into model performance beyond the loss function?
  • RQ4How can the concept of capacity allocation be generalized to non-linear neural networks?
  • RQ5What is the relationship between input dimensionality, basis function complexity, and effective capacity allocation?

Key findings

  • Spatial capacity allocation reveals that hierarchical and recurrent architectures exhibit distinct patterns of capacity distribution across input subspaces, with hierarchical models concentrating capacity more locally.
  • In linear settings, total model capacity κ corresponds to the effective number of parameters, which can be decomposed using the Frobenius norm of the projection of input subspaces onto the parameter influence space.
  • For non-linear settings, capacity in the feature space is computed via Σφ and the influence matrix Kφ, enabling analysis in richer function spaces.
  • Input-space capacity is defined as the sum of capacities over basis functions φj, with maximum per-component capacity equal to d, the number of basis functions.
  • The framework provides statistical upper bounds on model error based on spatial capacity allocation, offering theoretical grounding for architectural comparison.
  • The method is computationally efficient and a posteriori, enabling analysis without retraining, making it suitable for guiding architecture search.

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.