Measuring Model Complexity of Neural Networks with Curve Activation Functions
Xia Hu, Weiqing Liu, Jiang Bian, Jian Pei
Abstract
It is fundamental to measure model complexity of deep neural networks. A good model complexity measure can help to tackle many challenging problems, such as overfitting detection, model selection, and performance improvement. The existing literature on model complexity mainly focuses on neural networks with piecewise linear activation functions. Model complexity of neural networks with general curve activation functions remains an open problem. To tackle the challenge, in this paper, we first propose linear approximation neural network (LANN for short), a piecewise linear framework to approximate a given deep model with curve activation function. LANN constructs individual piecewise linear approximation for the activation function of each neuron, and minimizes the number of linear regions to satisfy a required approximation degree. Then, we analyze the upper bound of the number of linear regions formed by LANNs, and derive the complexity measure based on the upper bound. To examine the usefulness of the complexity measure, we experimentally explore the training process of neural networks and detect overfitting. Our results demonstrate that the occurrence of overfitting is positively correlated with the increase of model complexity during training. We find that the L1 and L2 regularizations suppress the increase of model complexity. Finally, we propose two approaches to prevent overfitting by directly constraining model complexity, namely neuron pruning and customized L1 regularization.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers3
- Piecewise Linear Transformation - Propagating Aleatoric Uncertainty in Neural NetworksThomas Krapf, Michael Hagn, Paul Miethaner, Alexander Schiller et al.AAAI 2024 · 5 citations
- Tuning Stable Rank Shrinkage: Aiming at the Overlooked Structural Risk in Fine-tuningSicong Shen, Yang Zhou, Bingzheng Wei, Eric I-Chao Chang et al.CVPR 2024 · 1 citation
- PCAT: Functionality and Data Stealing from Split Learning by Pseudo-Client AttackXinben Gao, Lan ZhangUSENIX Security 2023
Related papers
- Improved Bounds on Neural Complexity for Representing Piecewise Linear FunctionsKuan-Lin Chen, Harinath Garudadri, Bhaskar D. RaoNeurIPS 2022 · 36 citations
- Compelling ReLU Networks to Exhibit Exponentially Many Linear Regions at Initialization and During TrainingMax Milkert, David Hyde, Forrest J. LaineICML 2025
- Reproducibility of predictive networks for mouse visual cortexPolina Turishcheva, Max F. Burg, Fabian H. Sinz, Alexander S. EckerNeurIPS 2024 · 5 citations
- Effects of Data Geometry in Early Deep LearningSaket Tiwari, George KonidarisNeurIPS 2022 · 14 citations
- Neural Complexity MeasuresYoonho Lee, Juho Lee, Sung Ju Hwang, Eunho Yang et al.NeurIPS 2020 · 13 citations
