Neural networks behave as hash encoders: An empirical study
Not on the map. Why?
Abstract (arXiv)
The input space of a neural network with ReLU-like activations is partitioned into multiple linear regions, each corresponding to a specific activation pattern of the included ReLU-like activations. We demonstrate that this partition exhibits the following encoding properties across a variety of deep learning models: (1) it determinism: almost every linear region contains at most one training example. We can therefore represent almost every training example by a unique activation pattern, which is parameterized by a it neural code; and (2) it categorization: according to the neural code, simple algorithms, such as K-Means, K-NN, and logistic regression, can achieve fairly good performance on both training and test data. These encoding properties surprisingly suggest that it normal neural networks well-trained for classification behave as hash encoders without any extra efforts. In addition, the encoding properties exhibit variability in different scenarios. Further experiments demonstrate that it model size, it training time, it training sample size, it regularization, and it label noise contribute in shaping the encoding properties, while the impacts of the first three are dominant. We then define an it activation hash phase chart to represent the space expanded by model size, training time, training sample size, and the encoding properties, which is divided into three canonical regions: it under-expressive regime, it critically-expressive regime, and it sufficiently-expressive regime. The source code package is available at urlhttps://github.com/LeavesLei/activation-code.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 34 of its 54 references that are in the map. First posted on arXiv 14 Jan 2021.
Builds on
34 of 54 references.
References · 34
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2014Two-Stream Convolutional Networks for Action Recognition in Videoscited by 1,067
- 2016Temporal Segment Networks: Towards Good Practices for Deep Action Recognitioncited by 899
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
- 2014Long-term Recurrent Convolutional Networks for Visual Recognition and Descriptioncited by 483
- 2014On the Number of Linear Regions of Deep Neural Networkscited by 378
- 2016On the Expressive Power of Deep Neural Networkscited by 302
22 more
- 2015Unitary Evolution Recurrent Neural Networkscited by 291
- 2016Exponential expressivity in deep neural networks through transient chaoscited by 260
- 2016Understanding Deep Neural Networks with Rectified Linear Unitscited by 253
- 2018Rethinking the Faster R-CNN Architecture for Temporal Action Localizationcited by 194
- 2018Sensitivity and Generalization in Neural Networks: an Empirical Studycited by 187
- 2019Complexity of Linear Regions in Deep Networkscited by 166
- 2017Bounding and Counting Linear Regions of Deep Neural Networkscited by 161
- 2019Deep ReLU Networks Have Surprisingly Few Activation Patternscited by 160
- 2017HashNet: Deep Learning to Hash by Continuationcited by 121
- 2016A Survey on Learning to Hashcited by 119
- 2013On the number of response regions of deep feed forward networks with piece-wise linear activationscited by 94
- 2020Towards a Mathematical Understanding of Neural Network-Based Machine Learning: what we know and what we don'tcited by 94
- 2016Long-term Temporal Convolutions for Action Recognitioncited by 84
- 2020On the Number of Linear Regions of Convolutional Neural Networkscited by 49
- 2015Simultaneous Feature Learning and Hash Coding with Deep Neural Networkscited by 44
- 2020Recent advances in deep learning theorycited by 41
- 2020Empirical Studies on the Properties of Linear Regions in Deep Neural Networkscited by 36
- 2017Exponentially vanishing sub-optimal local minima in multilayer neural networkscited by 19
- 2020Piecewise linear activations substantially shape the loss surfaces of neural networkscited by 19
- 2019Equivalent and Approximate Transformations of Deep Neural Networkscited by 11
- 2020Bounding The Number of Linear Regions in Local Area for Neural Networks with ReLU Activationscited by 4
- 2018Nearly-tight bounds on linear regions of piecewise linear neural networkscited by 2
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 0; 2025: 0; 2026: 1.
3 papers.