Proceedings

Estimation and Comparison of Linear Regions for ReLU Networks

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 3544-3550.

https://doi.org/10.24963/ijcai.2022/492

Abstract

We study the relationship between the arrangement of neurons and the complexity of the ReLU-activated neural networks measured by the number of linear regions. More specifically, we provide both theoretical and empirical evidence for the point of view that shallow networks tend to have higher complexity than deep ones when the total number of neurons is fixed. In the theoretical part, we prove that this is the case for networks whose neurons in the hidden layers are arranged in the forms of 1x2n, 2xn and nx2; in the empirical part, we implement an algorithm that precisely tracks (hence counts) all the linear regions, and run it on networks with various structures. Although the time complexity of the algorithm is quite high, we verify that the problem of calculating the number of linear regions of a ReLU network is itself NP-hard. So currently there is no surprisingly efficient way to solve it. Roughly speaking, in the algorithm we divide the linear regions into subregions called the "activation regions", which are convex and easy to propagate through the network. The relationship between the number of the linear regions and that of the activation regions is also discussed.

  1. [Google, 2016] Google. Tensorflow playground. https:// playground.tensorflow.org/, 2016. Accessed: 2022-05-08. Link
  2. [Hanin and Rolnick, 2019a] Boris Hanin and David Rolnick. Complexity of linear regions in deep networks. Interna- tional Conference on Machine Learning (ICML), 2019.
  3. [Hanin and Rolnick, 2019b] Boris Hanin and David Rolnick. Deep relu networks has surprisingly few activation pat- terns. Neural Information Processing Systems (NIPS), 2019.
  4. [Hunter et al., 2012] David Hunter, Hao Yu, Michael S. Puk- ish, Janusz Kolbusz, and Bogdan M. Wilamowski. Selec- tion of proper neural network sizes and architectures-a comparative study. IEEE Transactions on Industrial In- formatics, 8(2):228-240, 2012.
  5. [LeCun et al., 2010] Yann LeCun, Corinna Cortes, and CJ Burges. MNIST handwritten digit database. ATT Labs [Online]. Available: http://yann.lecun.com/exdb/mnist, 2, 2010. Link
  6. [Lei et al., 2020] Na Lei, Zhongxuan Luo, Shing-Tung Yau, and David Xianfeng Gu. Geometric understanding of deep learning. Engineering, 2020.
  7. [Montúfar et al., 2014] Guido Montúfar, Razvan Pascanu, Kyunghyun Cho, and Yoshua Bengio. On the number of linear regions of deep neural network. Neural Information Processing Systems (NIPS), 2014.
  8. [Raghu et al., 2017] Maithra Raghu, Ben Poole, Jon Klen- berg, Surya Ganguli, and Jascha Sohl Dickstein. On the expressive power of deep neural networks. International Conference on Machine Learning (ICML), 2017.
  9. [Serra et al., 2018] Thiago Serra, Christian Tjandraatmadja, and Srikumar Ramalingam. Bounding and counting linear regions of deep neural networks. International Conference on Machine Learning (ICML), 2018.
  10. [Sopena et al., 1999] Josep M. Sopena, Enrique Romero, and René Alquezar. Neural networks with periodic and monotonic activation functions: a comparative study in classification problems. Ninth International Conference on Artificial Neural Networks (ICANN 99), 1999.
  11. [Xiong et al., 2020] Huan Xiong, Lei Huang, Mengyang Yu, Li Liu, Fan Zhu, and Ling Shao. On the number of linear regions of convolutional neural networks. International Conference on Machine Learning (ICML), 2020.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards