Constructing Complexity Metrics for Measuring Generalization Ability of Deep Learning Models
Deep neural networks have achieved tremendous success in many applications, but their generalization ability remains unexplained. Understanding this can enhance their use in safety-critical applications and guide better model design. A key aspect of this is studying model complexity, which is related to generalization. This paper proposes a technique for constructing complexity metrics to measure the generalization of deep learning models, focusing on convolutional neural networks for image classification tasks. Firstly, we consider complexity metrics based on model structure from statistical learning theory and use them as baseline metrics. Secondly, we summarize and generalize previous metrics based on model parameter norms and outputs. Thirdly, we propose a complexity metric based on the sharpness of model solutions, combining PAC-Bayesian theory to measure the expected sharpness of model local minima. Finally, experiments on two model sets are conducted to verify the effectiveness of each metric by examining the relationship between complexity and model generalization, thereby constructing the final set of model complexity metrics. We then analyze the correlation between these candidate metrics and the model's generalization gap, selecting highly correlated metrics to construct a complexity indicator set. Experimental results demonstrate that the proposed metrics based on sharpness and PAC-Bayes theory achieve the best correlation results on two model sets, PGDL-CIFAR10 and PGDL-SVHN.
Authors
- Wenjun Ke (ORCID: https://orcid.org/0000-0002-8836-3257)
- Wei Wen (ORCID: https://orcid.org/0000-0002-7911-9068)
- Xin‐Qing Sheng (ORCID: https://orcid.org/0000-0002-8136-3705)
- Zhewei Xu (ORCID: https://orcid.org/0000-0003-4718-6175)
- Shaotong Liu (ORCID: https://orcid.org/0000-0001-9056-0113)
- Jianhong Feng
Institutions
- Beijing Institute of Technology (CN)
- Southeast University (CN)
Publication Details
- Published
- 2024-10-25
- DOI
- https://doi.org/10.1109/bigdia63733.2024.10808837
- Primary Topic
- Machine Learning and Data Classification
- Type
- article
- Field-Weighted Citation Impact
- 0.00