Manuscript Offprint

arXiv:2608.30741

Functional Degeneracy in Neural Networks: Measurement and Pruning

Maria Matveev, Pascal Esser, Ayush Bharadwaj, Lucius Bushnaq, Gitta Kutyniok

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A central question in modern machine learning is how much a trained model can be compressed without changing its behavior, to reduce the memory, compute and energy required to deploy it. To study this, we quantify functional degeneracy through the behavioral recovery rank, defined as the number of leading behavioral-Hessian eigendirections required to recover a trained model's performance. Using the behavioral recovery rank as a geometric benchmark for compression, we find that structural and magnitude pruning retain more degrees of freedom, even after the task is saturated. This gap suggests that functional redundancy is distributed across parameter directions and is not exposed by individual weights or neurons.

1 Introduction

Trained neural networks exhibit substantial functional redundancy: many parameter directions can be perturbed or removed with little effect on the function realized by the network [14, 26, 27, 16]. To quantify the extent of this redundancy, we ask:

Q1: How many parameter directions are required to preserve the learned function?

A high degree of degeneracy indicates that the learned function is insensitive to many parameter directions, placing the solution in a broad, approximately flat region associated with generalization and stable optimization [13, 20, 24, 12, 31]. This redundancy also provides the basis for model compression: if many parameters have little influence on the learned function, retaining only a suitable subset may preserve its approximate performance while reducing the memory, compute, and energy required for deployment [17, 11]. Although model sizes continue to grow, achievable compression is still often measured post-hoc by applying a particular method [5]. It therefore becomes increasingly important to assess the available redundancy as a property of the model, and to determine how effectively existing compression methods exploit it. This motivates our second question:

Q2: How much of this redundancy do we actually exploit through pruning?

Contributions. To shed light on these questions, we make the following contributions:

(i) We introduce the behavioral recovery rank, the number of leading behavioral Hessian eigendirections needed to recover a model's performance to a given tolerance. This provides a theoretically grounded way to measure approximate functional degeneracy of a model (Section 2, Appendix D–E).

(ii) We use controlled nonlinear teacher-student experiments, where task complexity is known, to show that the behavioral recovery rank separates capacity-limited from task-saturated regimes. The

Preprint.

Figure

Leading eigendirections k

Hidden width d

Hidden width d

(a) Test MSE for projecting on vary- (b) Behavioral recovery rank extracted from the pro- (c) Pruning and behavioral recovery number of eigendirections. jection curves, mean and std. over 5 runs. ery rank at a fixed loss threshold.

Figure 1: Task-saturated and capacity-limited regimes for non-linear teacher-student regression. Trend-lines (piecewise regression) of both regimes are given in black.

behavioral recovery rank grows with student width and flattens once the student exceeds the teacher width (Figure 1(a)–(b)). On MNIST, it grows sublinearly with width (Figure 2).

(iii) We find that structural and magnitude pruning do not exhibit such flattening, i.e. the parameters they retain keep growing past the teacher's width (Figure 1(c)). Under loss-optimal ordering of directions, both pruning methods retain more parameters than the behavioral recovery rank.

Together, these findings suggest that functional redundancy beyond task saturation is not exposed by weight- or neuron-level structure, and is therefore only partially accessible to standard pruning.

Related Work. Our questions are motivated by several works on degeneracies in neural network parameterizations. Grigsby et al. [14] characterize exact degeneracies, and follow-up work formalizes this perspective through functional dimension, given by the rank of the Jacobian of the realization map on a finite-probe 1^{1} set [15]. However, we argue that, for understanding task performance, the definition of exact symmetry is too narrow: a parameter direction can have only a small effect on the realized behavior of the model without being exactly redundant. This viewpoint is reinforced by the works on intrinsic dimension, showing that many tasks can be solved in subspaces far smaller than the parameter space [28, 1], and by analyses of the loss Hessian, whose spectrum typically shows a large near-zero bulk alongside few outliers [35, 33, 36, 37, 32].

Pruning removes weights or neurons from a trained network while preserving its function. Unstructured methods rank individual weights by magnitude [16] or by a local quadratic model of the loss [27]. Structured methods remove whole neurons and therefore yield computational speed-ups, ranking neurons by norm or by an estimated change in the loss [29, 30]. Both are typically combined with retraining and evaluated by what fraction of the parameter count can be removed while still meeting an accuracy threshold [5]. We expand on these works in Appendix B.

References (34)

  • Intrinsic dimensionality explains the effectiveness of language model fine-tuning
  • Methods of Information Geometry
  • Explaining neural scaling laws
  • Reconciling modern machine-learning practice and the classical bias–variance trade-off
  • What is the state of neural network pruning? In I. Dhillon, D. Papailiopoulos, and V. Sze, editors, Proceedings of Machine Learning and Systems, volume 2, pages 129–146, 2020
  • Using degeneracy in the loss landscape for mechanistic interpretability, 2024
  • Gradient descent on neural networks typically occurs at the edge of stability
  • Spectra of the conjugate kernel and neural tangent kernel for linear-width neural networks
  • The lottery ticket hypothesis: Finding sparse, trainable neural networks
  • Loss surfaces, mode connectivity, and fast ensembling of dnns
  • Deep Learning
  • Hidden symmetries of ReLU networks
  • Functional dimension of feedforward ReLU neural networks
  • Learning both weights and connections for efficient neural network
  • Deep compression: Compressing deep neural network with pruning, trained quantization and huffman coding
  • Optimal brain surgeon: Extensions and performance comparisons
  • Distilling the Knowledge in a Neural Network
  • Flat minima
  • An empirical analysis of compute-optimal large language model training
  • Neural tangent kernel: Convergence and generalization in neural networks
  • Scaling laws for neural language models
  • On large-batch training for deep learning: Generalization gap and sharp minima
  • Adam: A method for stochastic optimization
  • The local learning coefficient: A singularity-aware complexity measure
  • Optimal brain damage
  • Measuring the intrinsic dimension of objective landscapes
  • Pruning filters for efficient convnets
  • Importance estimation for neural network pruning (opens the publisher in a new tab)
  • Exploring generalization in deep learning
  • Super consistency of neural network landscapes and learning rate transfer
  • Vardan Papyan. The full spectrum of deepnet hessians at scale: Dynamics with SGD training and sample size. arXiv preprint arXiv:1811.07062, 2018. (opens arXiv in a new tab)
  • Empirical analysis of the hessian of over-parametrized neural networks, 2018
  • Closed form of the hessian spectrum for some neural networks
  • Analytic insights into structure and rank of neural network hessian maps