[Paper Review] Deep Neural Network Capacity
This paper proposes 'total valid bits' as a novel, quantifiable measure of deep neural network capacity, leveraging decimal weight regularization and 8-bit quantization during training, along with adaptive-bitwidth and non-uniform quantization during inference to simultaneously reduce model size and estimate capacity. The method demonstrates that total valid bits effectively predicts network performance and reveals insights into architectural and training technique impacts.
In recent years, deep neural network exhibits its powerful superiority on information discrimination in many computer vision applications. However, the capacity of deep neural network architecture is still a mystery to the researchers. Intuitively, larger capacity of neural network can always deposit more information to improve the discrimination ability of the model. But, the learnable parameter scale is not feasible to estimate the capacity of deep neural network. Due to the overfitting, directly increasing hidden nodes number and hidden layer number are already demonstrated not necessary to effectively increase the network discrimination ability. In this paper, we propose a novel measurement, named "total valid bits", to evaluate the capacity of deep neural networks for exploring how to quantitatively understand the deep learning and the insights behind its super performance. Specifically, our scheme to retrieve the total valid bits incorporates the skilled techniques in both training phase and inference phase. In the network training, we design decimal weight regularization and 8-bit forward quantization to obtain the integer-oriented network representations. Moreover, we develop adaptive-bitwidth and non-uniform quantization strategy in the inference phase to find the neural network capacity, total valid bits. By allowing zero bitwidth, our adaptive-bitwidth quantization can execute the model reduction and valid bits finding simultaneously. In our extensive experiments, we first demonstrate that our total valid bits is a good indicator of neural network capacity. We also analyze the impact on network capacity from the network architecture and advanced training skills, such as dropout and batch normalization.
Motivation & Objective
- To address the lack of a quantitative measure for deep neural network capacity despite its critical role in model performance.
- To overcome the limitations of parameter count and overfitting in estimating network capacity.
- To develop a method that simultaneously estimates capacity and enables model compression.
- To investigate how architectural design and training techniques affect network capacity.
Proposed method
- Apply decimal weight regularization during training to promote integer-oriented weight representations.
- Use 8-bit forward quantization during training to constrain network representations to discrete, low-precision values.
- Implement adaptive-bitwidth quantization in inference to dynamically assign bitwidths per layer, including zero for pruning.
- Introduce non-uniform quantization to optimize bit allocation based on layer importance and information content.
- Combine training and inference techniques to extract the total valid bits as a capacity metric.
- Use zero bitwidth in adaptive quantization to enable model reduction and capacity estimation in parallel.
Experimental results
Research questions
- RQ1How can deep neural network capacity be quantitatively measured beyond parameter count or depth/width?
- RQ2To what extent do architectural choices and training techniques like dropout and batch normalization affect network capacity?
- RQ3Can a unified metric be derived that reflects both model capacity and enables efficient model compression?
- RQ4How does adaptive-bitwidth quantization with zero bitwidth support both capacity estimation and model size reduction?
Key findings
- Total valid bits serves as a strong indicator of neural network capacity, correlating with model performance across various architectures.
- The proposed method successfully estimates capacity while enabling model compression through adaptive bitwidth assignment.
- Network capacity is significantly influenced by architectural design, with deeper or wider networks showing higher valid bit counts.
- Advanced training techniques such as batch normalization and dropout have measurable impacts on the total valid bits, indicating their role in enhancing information retention.
- The use of zero bitwidth in adaptive quantization allows for effective channel pruning and model reduction without sacrificing capacity estimation accuracy.
- Empirical results confirm that total valid bits captures the true information-discriminative capacity better than parameter count or depth/width alone.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.