Manuscript Offprint

arXiv:2609.06483

How Does Parameter Pruning Reshape DNN Representations? An Interaction-Driven Exploration

Fangbo Li, Junpeng Zhang, Qihan Ren, Quanshi Zhang

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

Abstract

This study focuses on the scientific problem of understanding internal factors that govern the diverse performance degradation of deep neural networks (DNNs) when different parameters are pruned. In order to explain why pruning certain parameters leads to significant performance degradation but pruning other parameters does not, we examine how the pruning operation affects the interaction patterns encoded by the DNN. We find that when we progressively increase the pruning ratio, the interaction patterns encoded by DNNs exhibit a distinct three-phase dynamics, i.e., model performance is not largely affected until the pruning operation begins to remove low-order interactions, and low-order interactions exhibit strong generalizability. Moreover, we find that the high sensitivity of DNN performance to the pruning of certain modules is attributed to whether the pruning operation removes generalizable low-order interaction patterns.

1 Introduction

Many studies on neural network compression [1, 2] have long been centered on the trade off between model performance and parameter efficiency. However, in this study, we do not develop a new compression algorithm. Instead, we hope to explain the effectiveness of model compression, which moves beyond superficial explanations, such as the importance of the pruned parameters. We focus on a new scientific problem, i.e., what internal factors lead to performance degradation in a compressed deep neural network (DNN).

In this study, we no longer regard the performance degradation of a DNN as an indivisible property. We conduct an exploratory attempt towards the new question, i.e., is it plausible to quantitatively examine and interpret the explicit changes in inference patterns encoded by compressed DNNs?

To this end, we are inspired by the recent proof [3, 4] that the complex prediction logic of DNNs can be explained by a small number of interaction patterns. We adopt parameter pruning as a representative lens, and find that the changes in the generalizability of interaction patterns modeled in pruned DNNs can well explain why pruning different parameters leads to diverse performance degradation.

As the background, many theoretical studies [3, 4] and empirical evidence [5, 6] show that the output score of a DNN can be faithfully decomposed into the numerical effects of a small set of interactions. As Figure 1 shows, an interaction represents a nonlinear relationship among input variables encoded by a DNN. For example, given a prompt describing electromagnetic induction, a large language model (LLM) encodes the phrase {"create", "magnetic", "around"} as an interaction, and its numerical effect can be explicitly quantified. Specifically, the interaction contributes 1.88 to increasing the confidence of predicting the next token "conductors". Similarly, in vision models, interactions represent nonlinear

*Email: lifangbo_2003@sjtu.edu.cn †Email: zhangjp63@sjtu.edu.cn ‡Email: renqihan@sjtu.edu.cn §Corresponding author. Email: zqs1022@sjtu.edu.cn

Figure

Figure 1: (a) It is proven [3] that the complex prediction logic can be mathematically decomposed into a small set of AND/OR interactions. (b) Some interactions are removed (shown in light color), while others are preserved (shown in dark color) after pruning. (c) When we progressively increase the pruning ratio, we find that the test accuracy does not decrease noticeably until the pruning operation begins to remove generalizable interactions.

visual patterns among multiple image patches encoded by the model.

Motivated by these findings, in this paper, we follow [7] to distinguish generalizable interactions and non-generalizable interactions, such that we can investigate how parameter pruning gradually affects the generalizability of interactions encoded by a DNN. Our findings can be summarized as follows.

(1) We progressively increase the pruning ratio to prune more parameters from a DNN and measure the changes in interactions during the pruning process. We discover a distinct three-phase dynamics of interactions as the pruning ratio progressively increases. Under low pruning ratios, the pruning operation mainly removes high-order interactions (i.e., complex interactions), and DNN performance remains largely unaffected. Under high pruning ratios, the pruning operation starts to remove low-order (simple) interactions, and DNN performance degrades significantly. These results indicate that the removal of low-order interactions is highly related to DNN performance degradation.

(2) The above findings can be extended to more general pruning scenarios. When we prune insensitive modules (i.e., those do not significantly degrade DNN performance), only high-order interactions are removed. In contrast, when we prune sensitive modules that degrade DNN performance, low-order interactions start to be significantly removed.

(3) In addition, we find that low-order interactions exhibit stronger generalizability than high-order interactions. Moreover, about a half of the high-order interactions exhibit positive effects, while the other half exhibit negative effects. The strong offsetting effects indicate that high-order interactions act like noise patterns, compared to low-order interactions.

References (41)