A General Computational Framework to Measure the Expressiveness of Complex Networks using a Tight Upper Bound of Linear Regions

Yutong Xie, Gaoxiang Chen, Quanzheng LiOpenReview 2020

TL;DR

This paper introduces a novel and tighter upper bound for measuring the expressiveness of deep neural networks (DNNs) by quantifying the number of linear regions they partition. Their generalized computational framework can handle complex architectures like those with skip connections and residual structures, offering a more accurate way to understand and design efficient neural networks.

What Problem Does This Paper Address?

Deep neural networks (DNNs) have achieved remarkable success, but understanding why they perform so well, especially with their generalization capabilities, remains an active research area. One perspective is to analyze their "expressiveness," which is often quantified by the number of linear regions a network partitions. A higher number of linear regions implies a more complex piecewise-linear function, thus greater expressive power. However, directly counting these regions is computationally infeasible. Existing methods rely on upper bounds, but these can be loose. This paper aims to provide a tighter, more practical upper bound that can be computed for a wider range of complex network architectures, going beyond simple fully-connected networks.

Methods

The core of this work is a new computational framework for calculating a tighter upper bound on the number of linear regions in a ReLU DNN. This framework builds upon existing matrix computation approaches, particularly the work by Hinz & Van de Geer (2019). The authors introduce a recursive formula for a key parameter, $\gamma$, which is crucial for constructing this tighter bound. They also propose a more accurate initial value for $\gamma$, leading to improved bounds for deep fully-connected networks. Crucially, they extend their framework to accommodate various network structures, including skip connections, pooling layers, and residual structures, by defining how these components affect the space dimension histogram. This allows for the computation of upper bounds for architectures like U-Nets.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and computational framework development, with experiments using synthetic data generated by the framework itself to compare bounds.

Key Insights and Ideas

  • Tighter Bounds Matter: A more accurate upper bound on linear regions provides a better proxy for a network's expressive power, leading to a deeper understanding of its capabilities.
  • Generalization is Key: The proposed framework's ability to handle complex architectures (skip connections, residuals) is a significant step towards analyzing modern, sophisticated neural networks.
  • Architectural Impact: Skip connections and residual structures demonstrably enhance the upper bound of linear regions, providing a theoretical basis for their effectiveness in improving network performance and expressiveness.
  • Partition Efficiency: The paper hints that while the upper bound is important, the practical number of regions and how efficiently hyperplanes partition them also plays a role, especially in cases where the upper bound doesn't change drastically.

Key Results

  • The proposed upper bound is shown to be tighter than existing methods (e.g., Serra et al., 2018) through theoretical analysis and experimental comparisons.
  • Experiments demonstrate that network structures like skip connections and residual structures generally increase the upper bound on linear regions, confirming their role in enhancing expressiveness.
  • The framework successfully computes upper bounds for architectures like Auto-Encoders (AEs) and U-Nets, showcasing its generalizability.
  • The paper provides a theoretical explanation for why certain architectural choices lead to increased expressiveness.

Limitations and Future Work

  • Approximation of Convolutional Layers: For complex architectures like U-Nets, convolutional layers are treated as fully-connected layers for the purpose of computation. This is an approximation that might limit the precision for truly convolutional operations.
  • Memory Constraints: The computation of $\gamma$ can be memory-intensive, limiting the size of networks that can be analyzed in experiments.
  • Imperfect Partition: The paper acknowledges that the assumption of all hyperplanes partitioning all regions might not always hold in practice, leading to a gap between the upper bound and the actual number of linear regions.
  • Future Work: The authors suggest that a more accurate initial value for $\gamma$ could lead to even tighter bounds. They also propose that their framework can be extended to analyze other network structures and architectures, potentially guiding the design of more efficient neural networks. Further investigation into the "partition efficiency" of skip connections and other structures is also suggested.

Summary updated

Abstract

The expressiveness of deep neural network (DNN) is a perspective to understand the surprising performance of DNN. The number of linear regions, i.e. pieces that a piece-wise-linear function represented by a DNN, is generally used to measure the expressiveness. And the upper bound of regions number partitioned by a rectifier network, instead of the number itself, is a more practical measurement of expressiveness of a rectifier DNN. In this work, we propose a new and tighter upper bound of regions number. Inspired by the proof of this upper bound and the framework of matrix computation in \citet{hinz2019framework}, we propose a general computational approach to compute a tight upper bound of regions number for theoretically any network structures (e.g. DNN with all kind of skip connections and residual structures). Our experiments show our upper bound is tighter than existing ones, and explain why skip connections and residual structures can improve network performance.
BibTeX
@misc{xie2020general,
  author = {Yutong Xie and Gaoxiang Chen and Quanzheng Li},
  title = {{A General Computational Framework to Measure the Expressiveness of Complex Networks using a Tight Upper Bound of Linear Regions}},
  year = {2020},
  url = {https://openreview.net/forum?id=iG_Cg6ONjX},
  howpublished = {OpenReview},
}
Figure