Lune

AAAI2020Top-tier venue

Empirical Bounds on Linear Regions of Deep Rectifier Networks

Thiago Serra, Srikumar Ramalingam

Abstract

We can compare the expressiveness of neural networks that use rectified linear units (ReLUs) by the number of linear regions, which reflect the number of pieces of the piecewise linear functions modeled by such networks. However, enumerating these regions is prohibitive and the known analytical bounds are identical for networks with same dimensions. In this work, we approximate the number of linear regions through empirical bounds based on features of the trained network and probabilistic inference. Our first contribution is a method to sample the activation patterns defined by Re-LUs using universal hash functions. This method is based on a Mixed-Integer Linear Programming (MILP) formulation of the network and an algorithm for probabilistic lower bounds of MILP solution sets that we call MIPBound, which is considerably faster than exact counting and reaches values in similar orders of magnitude. Our second contribution is a tighter activation-based bound for the maximum number of linear regions, which is particularly stronger in networks with narrow layers. Combined, these bounds yield a fast proxy for the number of linear regions of a deep neural network.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Combinatorial Brain Surgeon: Pruning Weights That Cancel One Another in Neural Networks cites Scaling Up Exact Neural Network Compression by ReLU Stability
  • The Combinatorial Brain Surgeon: Pruning Weights That Cancel One Another in Neural Networks cites On the Number of Linear Regions of Convolutional Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. On the Number of Linear Regions of Convolutional Neural NetworksHuan Xiong, Lei Huang, Mengyang Yu, Li Liu et al.ICML 2020 · 80 citations
  2. Towards Lower Bounds on the Depth of ReLU Neural NetworksChristoph Hertrich, Amitabh Basu, Marco Di Summa, Martin SkutellaNeurIPS 2021 · 70 citations
  3. The Combinatorial Brain Surgeon: Pruning Weights That Cancel One Another in Neural NetworksXin Yu, Thiago Serra, Srikumar Ramalingam, Shandian ZheICML 2022 · 60 citations
  4. Scalable Neural Network Verification with Branch-and-bound Inferred Cutting PlanesDuo Zhou, Christopher Brix, Grani A. Hanasusanto, Huan ZhangNeurIPS 2024 · 49 citations
  5. Scaling Up Exact Neural Network Compression by ReLU StabilityThiago Serra, Xin Yu, Abhinav Kumar, Srikumar RamalingamNeurIPS 2021 · 31 citations

Related papers

  1. The Computational Complexity of Counting Linear Regions in ReLU Neural NetworksMoritz Stargalla, Christoph Hertrich, Daniel ReichmanNeurIPS 2025 · 11 citations
  2. On the Expected Complexity of Maxout NetworksHanna Tseran, Guido MontúfarNeurIPS 2021 · 19 citations
  3. Compelling ReLU Networks to Exhibit Exponentially Many Linear Regions at Initialization and During TrainingMax Milkert, David Hyde, Forrest J. LaineICML 2025
  4. TropEx: An Algorithm for Extracting Linear Terms in Deep Neural NetworksMartin Trimmel, Henning Petzka, Cristian SminchisescuICLR 2021 · 15 citations
  5. Empirical Studies on the Properties of Linear Regions in Deep Neural NetworksXiao Zhang, Dongrui WuICLR 2020 · 44 citations
Dusk over the sea between two cliffs drawn in fine vertical lines