Manuscript Offprint
arXiv:2609.06483How Does Parameter Pruning Reshape DNN Representations? An Interaction-Driven Exploration
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 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.
2.1 Preliminaries: interactions
Let denote a scalar function of a DNN, and let denote an input sample, where represents the input variable at index , with the variable index set . The scalar
Following the experimental settings in [3], for the image classification task, a variable is defined as an image patch, while for the language modeling task, a variable is defined as one or more tokens that correspond to a word.
function can be defined in different ways. For classification tasks, it is typically defined as the prediction confidence score [3, 8]:
where denotes the predicted classification probability of the ground-truth category .
We can construct the following logical function . It is proven that can well match the shape of the DNN function , and is therefore considered as a faithful surrogate function of the DNN [3, 4].
where a tiny scalar ensures the fidelity of using the logical function to approximate the DNN function on all masked states of the input in . In each masked state , only the variables in are retained, while other variables in are masked. and denote the set of AND interactions and the set of OR interactions, respectively. Scalar weights and , and a scalar bias are learned using the method of [4] (please see Appendix D for details).
The binary trigger function detects the logical AND relationship over a subset of input variables. It returns 1 if all variables in are present (i.e., not masked in , and 0 otherwise. The binary trigger function detects the logical OR relationship over a subset of input variables. It returns 1 if any variable in is present (i.e., not masked in , and 0 otherwise.
The fidelity of using the logical function to explain has been theoretically proven [4] (see Appendix M for details), and supported by extensive empirical evidence [5, 6, 9].
Sparsity of interactions. It is proven that the number of interactions encoded by a DNN for a given input is theoretically bounded [3] and empirically observed to be relatively small (around 50-150). Theoretical proofs and empirical validation are provided in Appendix K and Appendix L, respectively.
A video demo of interaction-based explanations is provided in the supplementary materials.
2.2 Quantifying the changes in interactions during progressive parameter pruning
In this study, we aim to move beyond the conventional studies [10, 11] that treat the DNN's generalization ability as a holistic property. Instead, we seek to investigate the underlying mechanisms that determine the generalization ability of DNNs.
To this end, we adopt parameter pruning as a representative lens to study the intricate mechanisms underlying changes in DNN generalization, beyond the broad empirical observation that pruning more parameters leads to more significant performance degradation. Why does pruning some parameters lead to a sharp drop in model performance, but pruning other parameters does not? This question requires a more fine-grained perspective.
To this end, as mentioned in Section 2.1, Ren et al. [3] have proven that: (1) the DNN's output score for a given input can be faithfully decomposed into only 50-150 interactions, and (2) these interactions can well match the DNN's complex inference logic for this input with theoretically guaranteed high fidelity.
Therefore, we treat interactions as the primitive inference patterns that directly affect the generalization ability of a DNN. And we design a set of metrics to measure the changes in interactions caused by parameter pruning, so that we can establish a correlation between the changes in interactions and the changes in model performance after different pruning operations.
The masking of the i-th variables is implemented as setting to a baseline values. Please see Appendix E.4 for details.

Figure 2: Illustration of removed, preserved, and emerged interactions after pruning.
Preserved, removed, and emerged interactions after parameter pruning. We categorize the changed interactions after parameter pruning into two distinct types: removed interactions and emerged interactions. Let and denote the sets of AND interactions and OR interactions encoded by the original DNN , respectively. Similarly, let and denote the sets of interactions encoded by the pruned DNN , whose parameters are pruned at a pruning ratio of .
Definition 2.1 For an AND interaction encoded by the original DNN for the input (), if this interaction is also encoded by the pruned DNN () and produces a consistent effect (i.e., ), then this interaction is considered to be preserved after the pruning operation; otherwise, it is considered to be removed. For an AND interaction encoded by the pruned DNN for the input (), if this interaction is not a preserved interaction in the original DNN , then this interaction is considered to have emerged during the pruning operation. Thus, we can use the following binary metrics , and to identify the preserved, removed and emerged AND interactions after the pruning operation, respectively.
In the way, we obtain the relations and . Metrics for the preserved, removed, emerged OR interactions, , and , are defined similarly.
For example, as Figure 2 shows, the interactions and are encoded only by the original DNN and is removed after the pruning operation. The interactions and are encoded by both the original DNN and the pruned DNN , and is preserved after the pruning operation. The interaction is encoded only by the pruned DNN , and has emerged during the pruning operation.
In this way, interactions provide a new perspective for understanding DNN's generalization ability. We can naturally consider that interactions that emerge after parameter pruning (without training) often represent non-generalizable noise patterns. On the other hand, if many generalizable interactions are removed after pruning, then the DNN generalization is supposed to be significantly affected.
Distribution of interactions over different orders (complexities). To further characterize which interactions are more likely to be generalizable, we introduce interaction complexity as a key structural metric. It is because Zhou et al. [6], Liu et al. [12] have found that complex interactions are less generalizable and more perturbation-sensitive than simple interactions, which will be verified in later experiments in Section 2.5.
The pruning ratio is defined as the percentage of parameters that are pruned.

Figure 3: Changes in the distributions of removed interaction and and the distributions of preserved interaction and when the pruning ratio increases. These changes can be divided into three phases. The four selected checkpoint pruning ratios correspond to the inflection points of the accuracy curve, and represent the boundaries of the three phases in the progressive parameter pruning process. Please see Appendix F.1 for results on more pruning ratios.
Thus, we define the complexity of a single interaction as its order, given as order(S) = |S|. The order of an interaction represents the number of variables involved in the interaction. Furthermore, we define and quantify the distribution of interaction effects over different orders in Definition 2.2, so as to represent the overall complexity of all interactions encoded by the DNN.
Definition 2.2 (Distribution of interactions over different orders) Given the sets of AND/OR interactions and , the distribution of interactions is represented by the total strength of all positive interactions over all the orders , and the total strength of all negative interactions over all the orders . The interaction strength of each -th order is quantified as follows [7].
(4)
Thus, we can further use this definition to quantify the distribution of the removed interactions , and the preserved interactions , where the interaction sets and are determined by the metrics of , and , .
Metric 1: Ratio of preserved low/high-order interactions. Considering the strong connection between the complexity and generalizability of interactions [6, 12] (verified in Section 2.5), we measure the ratio of low-order (1-st to 3-rd order) interactions that are preserved after pruning, denoted by , and the preserved ratio of high-order (4-th to n-th order) interactions .
Definition 2.3 (Ratio of preserved interactions) The ratio of preserved low-order interactions to all low-order interactions and the ratio of preserved high-order interactions to all high-order interactions are defined as follows.

Figure 4: (left) Changes in the ratio of preserved low/high-order interactions and the classification accuracy when the pruning ratio increases. (right) Changes in the offsetting ratio of removed interactions and the classification accuracy when the pruning ratio increases.
Based on the interaction generalizability across different orders, we define interactions of orders 1-3 with high generalizability as low-order interactions, and interactions of other orders as high-order interactions. Please see Section 2.5 and Appendix H for detailed discussions.
Metric 2: offsetting ratio of the removed interaction effects. The offsetting ratio of interaction effects is another typical metric to evaluate the representation efficiency of a DNN. As Figure 38 shows, given an input sample, if lots of removed positive interaction effects and negative interaction effects offset each other, then such removed interactions can be considered as redundant noise-like patterns without producing a clear classification signal. Therefore, we measure the ratio of offsetting interaction effects among all removed interaction effects to evaluate the changes in DNN representation quality after the pruning operation.
Definition 2.4 (Offsetting ratio of removed interaction effects) Given the sets of AND/OR interactions and , the offsetting ratio of all removed interactions is defined as follows [7].
Additionally, the high-order interactions that are removed during progressive parameter pruning often exhibit a spindle-shaped distribution over different orders and greatly offset each other. Specifically, a half of removed high-order interactions produce positive effects and boost the classification score, while the other half produce negative effects and reduce the classification score.
2.3 Three-phase dynamics of interactions during progressive pruning
In order to explore the mechanistic interactions that cause generalization degradation, we use the metrics proposed in the previous section to continuously track and evaluate the changes in interactions when we progressively increase the pruning ratio.
We progressively increase the pruning ratio (from 1.2% to 50.2% for ResNet-56 [13] and from 3.6% to 99.2% for VGG-19 [14]), thereby incrementally removing more parameters to examine how parameter pruning degrade model performance. Without loss of generality, we apply the generic method DepGraph [2] to prune ResNet-56 and VGG-19 for image classification on the CIFAR-10 dataset [15].
Please see Appendix E.2 for detailed settings. In Section 2.4, we will further verify our findings under other generic pruning settings.
In this way, we analyze how the ratio of preserved low-order/high-order interactions and the offsetting ratio of removed interactions are related to the classification accuracy. Experimental results are mainly shown in the following three figures. (1) Figure 3 compares the changes in the distribution of all removed interactions (denoted by and ) and the distribution of all preserved interactions (denoted by and ) as the pruning ratio progressively increases. (2) Figure 4 (left) compares the curve of classification accuracy, the curve of preserved low-order interaction ratio , and the curve of preserved high-order interaction ratio . Besides, we also measure the offsetting ratio of the removed interactions when we progressively increase the pruning ratio. (3) Figure 4 (right) shows the curve of offsetting ratio after progressive parameter pruning.
Three-phase dynamics
Just as the observation of three-phase interaction dynamics during the model-training process [7], we find that the evolution of interactions during progressive parameter pruning can also be divided into three phases, although these interaction dynamics are measured under two fundamentally different experimental settings.
-
Phase 1: When the pruning ratio is low (below 14.6% for ResNet-56 and below 59.8% for VGG-19), pruning operations do not affect model performance (the accuracy remains around 92.1%). Most removed interactions are high-order interactions (over a half of the high-order interactions are removed in this phase, i.e., while ) and exhibit strong offsetting effects (nearly all removed interactions offset each other, i.e., ). These offsetting interactions act like noise patterns and therefore are considered not generalizable.
-
Phase 2: When the pruning ratio increases (to 39.7% for ResNet-56 and to 77.4% for VGG-19), model performance starts to degrade (the accuracy drops to around 10.3%). Low-order interactions start to be noticeably removed (over 4/5 of the low-order interactions are removed in this phase, i.e., and after this phase). And the removed interactions exhibit poorer offsetting effects than in the first phase (around 3/4 of the removed interactions offset each other, i.e., ). It means that non-offsetting interactions, which actually contribute to the final prediction, start to be removed in this phase.
-
Phase 3: When the pruning ratio is even higher (to 50.2% for ResNet-56 and to 99.2% for VGG-19), model performance remains extremely low under excessive parameter pruning (the accuracy remains around 10.0%). Both low-order and high-order interactions show only minor changes (nearly all interactions have already been removed, i.e., and ).
Note that the removal of the highly offsetting high-order interactions usually does not affect the test accuracy, which is supported by existing studies on interaction-based explanations: Zhou et al. [6] have found that high-order interactions are less generalizable to testing samples than low-order interactions. And Liu et al. [12] have found that high-order interactions are more sensitive to feature perturbations. The poor generalizability of high-order interactions is also observed in Section 2.5.
In sum, when the pruning ratio is low (during Phase 1), parameter pruning mainly removes high-order interactions, which barely affects the performance of DNNs. In contrast, when the pruning ratio is high (during Phases 2 and 3), low-order interactions start to be removed, which explains the performance degradation of DNNs. Table 2 shows the analytical results of the three-phase dynamics from multiple perspectives. Detailed results on more pruning ratios can be found in Appendix F.
2.4 Specificity of removed interactions under generic pruning settings
In the previous subsection, we have identified a strong correlation between DNN performance degradation and the changes in interactions by using a classical parameter pruning method [2]. However, compared

Figure 5: (top) The ratio of preserved low/high-order interactions after pruning each module. (bottom) The offsetting ratio of removed interactions after pruning. After pruning sensitive modules, low-order interactions are significantly removed, and the removed interactions exhibit poorer offsetting ratio. Please see Appendix G.2 for more results.
to smaller models, large language models (LLMs) are usually much more sensitive to even mild pruning. In particular, the pruning strategies adopted by state-of-the-art LLM compression methods [16–18] are often coupled with post-hoc finetuning to recover performance. Joint analysis of parameter pruning and post-hoc finetuning significantly complicates the narrative of this study.
Therefore, we extend our empirical studies to more general parameter-pruning settings, instead of state-of-the-art methods, and conduct experiments on more advanced and complex models. Without loss of generality, we apply two typical module-level pruning settings: (1) pruning a single residual block, and (2) pruning the hidden feature dimensions. Detailed experimental settings are provided in Appendix E.3.
Sensitive modules vs. insensitive modules. Based on the above module settings, we categorize all pruned modules into two types: (1) sensitive modules, and (2) insensitive modules, according to the increase in test cross-entropy (CE) loss caused by pruning. Specifically, if pruning a module leads to a test CE loss increase greater than a predefined threshold , the corresponding module is regarded as sensitive; otherwise, it is regarded as insensitive. In general, the threshold is empirical chosen to ensure that an increase in test CE loss greater than indicates substantial performance degradation. The exact values are reported in the Appendix E.3.
Distinct changes in interactions after pruning sensitive modules and insensitive modules. We find that the pruning of sensitive modules and that of insensitive modules drives interaction representations in fully different directions, in terms of both interaction complexity and the offsetting ratio of interactions, thereby explaining the root cause of DNN performance degradation after pruning. Specifically, for each pruned module , we measure the changes in interactions after pruning, including the ratios of preserved low-order interactions and high-order interactions (denoted by and , respectively), and the offsetting ratio of removed interactions (denoted by ).
In Figure 5, each dot represents the effect of pruning a specific module. The horizontal axis indicates the increase in test loss caused by the pruning operation, while the vertical axis shows the ratio of preserved low/high-order interactions in the top row, and the offsetting ratio of removed interactions in the bottom row.
We finding that the removal of low-order interactions leads to performance degradation. Pruning insensitive modules (blue dots on the left with relatively small ) mainly removes high-order interactions (i.e., while ), and the removed interactions exhibit strong offsetting effects (i.e., ). Pruning sensitive modules (red dots on the right with relatively large )
This also applies to other transformer-based models, for which no well-established pruning algorithm can remove parameters without affecting performance in the absence of post-hoc finetuning.

Figure 6: The distributions of generalizable interactions (denoted by and ) and all interactions (denoted by and ) over different orders. Low-order interactions exhibit stronger generalizability than high-order ones. Please see Appendix H for results on more DNNs.
removes both low-order and high-order interactions are significantly removed (i.e., and ), and the removed interactions exhibit poorer offsetting effects than pruning insensitive modules (i.e., ). Therefore, the removal of non-offsetting low-order interactions is the direct cause of DNN performance degradation.
2.5 How do removed interactions correlate with DNN generalization degradation?
In the previous subsections, we have found the close connection between the changes in interactions and DNN performance degradation. Therefore, in this subsection, we aim to validate our finding by explicitly quantifying the generalizability of each removed interaction.
Defining the generalizability of interactions. We follow He et al. [7] to define the generalizability of each interaction as follows. Specifically, we use another DNN , which is trained on testing/unseen samples and is referred to as a reference . Given an AND interaction encoded by the target DNN ( ), if this interaction is also encoded by the reference DNN ( ), and produces a consistent effect (i.e., ), then we consider this interaction to be generalizable. The generalizable OR interactions are defined in a similar manner. All such generalizable interactions can be considered transferable to testing samples, because all interactions encoded by the reference DNN are learned from the testing samples. Thus, we use the following binary metrics to identify generalizable AND/OR interactions.
(7)
Verifying that low-order interactions exhibit stronger generalizability. Figure 6 shows the distribution of all interactions (denoted by and in Definition 2.2) and the distribution of generalizable interactions (denoted by and encoded by the DNN before pruning, where and ). We find that generalizable interactions are mainly concentrated at low orders.
Verifying that pruning sensitive modules removes much more generalizable interactions than pruning insensitive modules. In order to better understand the different influence of pruning sensitive modules and pruning insensitive modules, we tentatively prune each different module from the DNN, and quantify the ratio of the generalizable interactions that are removed, denoted by .
For each DNN, the pruned modules include (1) a single residual block, and (2) the hidden feature dimensions in the DNN. Please see Appendix E.3 and Appendix E.5 for details about the pruned modules.
Please see Appendix E.5 for detailed settings of reference DNNs.
Here, denotes the interaction effect encoded by the reference DNN.

Figure 7: (left) The ratio of removed generalizable interactions after pruning each module. Pruning insensitive modules removes much less generalizable interactions than pruning sensitive modules. Please see Appendix G for results on more DNNs. (right) The ratio of removed generalizable interactions when the pruning ratio progressively increases. The removal of generalizable interactions leads to DNN performance degradation.
and the settings of reference DNNs.
Figure 7 (left) shows the ratio of removed generalizable interactions after the pruning of each module. Pruning insensitive modules barely removes any generalizable interactions compared to pruning sensitive modules. Specifically, pruning insensitive modules only removes very few generalizable interactions (i.e., ), whereas pruning sensitive modules significantly removes generalizable interactions (i.e., ).
In addition, we extend the experiments in Section 2.3 by measuring the ratio of removed generalizable interactions when we progressively increase the pruning ratio. As shown in Figure 7 (right), when the pruning ratio is low (during Phase 1), both DNN performance and generalizable interactions remain unaffected after the pruning operation. When the pruning ratio is high (during Phase 2 and 3), DNN performance degrades significantly, and generalizable interactions are significantly removed.
In sum, these observations consistently indicate that the removal of generalizable interactions is a primary factor driving DNN performance degradation. We also find that generalizable interactions are mainly concentrated in low orders, which further supports the finding in previous subsections that the removal of low-order interactions is closely related to DNN performance degradation.
3 Conclusion
In this paper, we focus on the scientific problem of identifying the underlying causes of DNN performance degradation after parameter pruning. Specifically, we have discovered that DNN performance degradation can be largely attributed to the removal of generalizable low-order interactions. We validate our scientific hypothesis across twelve DNNs, including four LLMs and eight image classification models. As a limitation, a rigorous mathematical proof explaining why low-order interactions are far more robust against pruning remains lacking. Our findings further advance the understanding of parameter pruning and extend the boundary of existing knowledge in this area.
The validation of our scientific hypothesis is of considerable application value. In preliminary follow-up work, we find that co-training two DNNs while penalizing non-transferable interactions between them can significantly boost the generalizability of interactions. It enables the DNNs to maintain their performance at higher pruning ratios. Please see Appendix C for details.
References
[1] Song Han, Huizi Mao, and William J Dally. Deep compression: Compressing deep neural network with pruning, trained quantization and huffman coding. In International Conference on Learning Representations, 2016.
[2] Gongfan Fang, Xinyin Ma, Mingli Song, Michael Bi Mi, and Xinchao Wang. Depgraph: Towards any structural pruning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 16091–16101, 2023.
[3] Qihan Ren, Jiayang Gao, Wen Shen, and Quanshi Zhang. Where we have arrived in proving the emergence of sparse interaction primitives in dnns. In International Conference on Learning Representations, 2024.
[4] Lu Chen, Siyu Lou, Benhao Huang, and Quanshi Zhang. Defining and extracting generalizable interaction primitives from dnns. In International Conference on Learning Representations, 2024.
[5] Mingjie Li and Quanshi Zhang. Does a neural network really encode symbolic concepts? In International Conference on Machine Learning, pages 20452–20469. PMLR, 2023.
[6] Huilin Zhou, Hao Zhang, Huiqi Deng, Dongrui Liu, Wen Shen, Shih-Han Chan, and Quanshi Zhang. Explaining generalization power of a dnn using interactive concepts. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 17105–17113, 2024.
[7] Yuxuan He, Junpeng Zhang, Hongyuan Zhang, and Quanshi Zhang. Technical report: Quantifying and analyzing the generalization power of a dnn. arXiv preprint arXiv:2505.06993, 2025.
[8] Huiqi Deng, Qihan Ren, Hao Zhang, and Quanshi Zhang. Discovering and explaining the representation bottleneck of dnns. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=iRCU1gmdfHJ.
[9] Lei Cheng, Junpeng Zhang, Qihan Ren, and Quanshi Zhang. Revisiting generalization power of a dnn in terms of symbolic interactions. arXiv preprint arXiv:2502.10162, 2025.
[10] Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. Advances in Neural Information Processing Systems, 31, 2018.
[11] Peter L Bartlett, Dylan J Foster, and Matus J Telgarsky. Spectrally-normalized margin bounds for neural networks. Advances in Neural Information Processing Systems, 30, 2017.
[12] Dongrui Liu, Huiqi Deng, Xu Cheng, Qihan Ren, Kangrui Wang, and Quanshi Zhang. Towards the difficulty for a deep neural network to learn concepts of different complexities. In Advances in Neural Information Processing Systems, volume 36, pages 41283–41304, 2023.
[13] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
[14] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015. URL https://arxiv.org/abs/1409.1556.
[15] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. URL https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf.
[16] Elias Frantar and Dan Alistarh. Sparsegpt: Massive language models can be accurately pruned in one-shot. In International Conference on Machine Learning, pages 10323–10337. PMLR, 2023.
[17] Mingjie Sun, Zhuang Liu, Anna Bair, and J. Zico Kolter. A simple and effective pruning approach for large language models. arXiv preprint arXiv:2306.11695, 2023.
[18] Xinyin Ma, Gongfan Fang, and Xinchao Wang. Llm-pruner: On the structural pruning of large language models. In Advances in Neural Information Processing Systems, volume 36, pages 21702–21720, 2023.
[19] Justin Singh Kang, Yigit Efe Erginbas, Landon Butler, Ramtin Pedarsani, and Kannan Ramchandran. Learning to understand: Identifying interactions via the móbius transform. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 46160–46202. Curran Associates, Inc., 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/520b379123d16e41f85472e766846486-Paper-Conference.pdf.
[20] Che-Ping Tsai, Chih-Kuan Yeh, and Pradeep Ravikumar. Faith-shap: The faithful shapley interaction index. Journal of Machine Learning Research, 24(94):1–42, 2023.
[21] Mukund Sundararajan, Kedar Dhamdhere, and Ashish Agarwal. The shapley taylor interaction index. In International Conference on Machine Learning, pages 9259–9268. PMLR, 2020.
[22] Jie Ren, Zhanpeng Zhou, Qirui Chen, and Quanshi Zhang. Can we faithfully represent absence states to compute shapley values on a DNN? In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=YV8tP7bW6Kt.
[23] Jie Ren, Die Zhang, Yisen Wang, Lu Chen, Zhanpeng Zhou, Yiting Chen, Xu Cheng, Xin Wang, Meng Zhou, Jie Shi, et al. Towards a unified game-theoretic view of adversarial perturbations and robustness. Advances in Neural Information Processing Systems, 34:3797–3810, 2021.
[24] Qihan Ren, Huiqi Deng, Yunuo Chen, Siyu Lou, and Quanshi Zhang. Bayesian neural networks avoid encoding complex and perturbation-sensitive concepts. In International Conference on Machine Learning, pages 28889–28913. PMLR, 2023.
[25] Bolei Zhou, David Bau, Aude Oliva, and Antonio Torralba. Interpreting deep visual representations via network dissection. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(9): 2131–2145, 2019. doi: 10.1109/TPAMI.2018.2858759.
[26] Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in gpt. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 17359–17372. Curran Associates, Inc., 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/6f1d43d5a82a37e89b0665b33bf3a182-Paper-Conference.pdf.
[27] Kevin Ro Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, and Jacob Steinhardt. Interpretability in the wild: a circuit for indirect object identification in GPT-2 small. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=NpsVSN6o4ul.
[28] Junpeng Zhang, Qing Li, Guoxi Zhang, and Quanshi Zhang. Understanding dnn overfitting through interactions. arXiv preprint, 2026.
[29] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C.J. Burges, L. Bottou, and K.Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012. URL https://proceedings.neurips.cc/paper_files/paper/2012/file/c399862d3b9d6b76c8436e924a68c45b-Paper.pdf.
[30] Ya Le and Xuan Yang. Tiny imagenet visual recognition challenge. https://tinyimagenet.stanford.edu/, 2015.
[31] Mingjie Li and Quanshi Zhang. Defining and quantifying and-or interactions for faithful and concise explanation of dnns. arXiv preprint arXiv:2304.13312, 2023.
[32] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models, 2023. URL https://arxiv.org/abs/2302.13971.
[33] Aaron Grattafori et al. The llama 3 herd of models, 2024. URL https://arxiv.org/abs/2407.21783.
[34] DeepSeek-AI et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning, 2025. URL https://arxiv.org/abs/2501.12948.
[35] Qwen, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tianyi Tang, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. Qwen2.5 technical report, 2024. URL https://arxiv.org/abs/2412.15115.
[36] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=YicbFdNTTy.
[37] Ross Wightman. Pytorch image models (timm), 2019–present. URL https://github.com/huggingface/pytorch-image-models.
[38] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C Berg, and Li Fei-Fei. Imagenet large scale visual recognition challenge. International Journal of Computer Vision (IJCV), 115(3): 211–252, 2015.
[39] Ross Wightman, Hugo Touvron, and Hervé Jégou. Resnet strikes back: An improved training procedure in timm. In NeurIPS 2021 Workshop on ImageNet: Past, Present, and Future, 2021. URL https://arxiv.org/abs/2110.00476. Workshop paper.
[40] Andreas Peter Steiner, Alexander Kolesnikov, Xiaohua Zhai, Ross Wightman, Jakob Uszkoreit, and Lucas Beyer. How to train your vit? data, augmentation, and regularization in vision transformers. Transactions on Machine Learning Research, 2022. ISSN 2835-8856. URL https://openreview.net/forum?id=4nPswr1KcP.
[41] Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In International Conference on Machine Learning, pages 3319–3328. PMLR, 2017.
[42] Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. In International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=Byj72udxe.
[43] William S Cleveland. Robust locally weighted regression and smoothing scatterplots. Journal of the American statistical association, 74(368):829–836, 1979.
[44] John C Harsanyi. A simplified bargaining model for the n-person cooperative game. International Economic Review, 4(2):194–220, 1963.
A Related work on interaction-based explanations
Using interactions to explain the detailed inference logic encoded by a DNN. Prior works on interaction-based explanations [19, 5, 20, 21] proposed to explain the inference logic of a DNN by quantifying the interactions among input variables encoded by the DNN. Building on this, Ren et al. [3] further proved that networks producing relatively smooth outputs across different input perturbations typically encode a small number of interactions. Chen et al. [4] developed an algorithm to extract interactions that were commonly encoded by multiple different neural networks. Ren et al. [22] further improved a method to optimize the baseline value, which was used for interaction extraction.
Using interactions to explain the generalization ability of a DNN. Futhermore, interaction-based explanation research explains a DNN's generalization ability as the overall generalization ability of its compositional interactions. Zhou et al. [6] found that high-order interactions usually generalize worse to testing samples than lower-order interactions. Ren et al. [23] further found that these higher-order interactions also showed poorer adversarial robustness. Ren et al. [24] found that mean-field Bayesian neural networks typically struggled more than regular neural networks in modeling higher-order interactions.
Although interaction-based explanations offers a powerful strategy to explain the inference logic of DNNs and their generalization ability across different data domains, existing studies still leave a blank in the field of post-training interventional techniques. To this end, by investigating parameter pruning techniques, this paper bridges a crucial gap between interaction-based explanations theory and parameter pruning techniques, and offers a new perspective for understanding how interventional techniques, such as parameter pruning operations, reshape network representation quality and generalization ability.
Comparison with mechanistic interpretability. Mechanistic interpretability treats a neural network as a collection of distinct components rather than a single black box [25–27]. It studies the roles of individual neurons, attention heads, or subnetworks, and how these parts work together to produce the model's overall behavior. Instead of physically dividing a neural network into sub-components, interaction-based explanations treats a neural network as a whole and explains the inference logic equivalently encoded by the network using a set of AND-OR interactions.
B Related work on parameter pruning
Parameter pruning has been widely studied as an effective approach for compressing deep neural networks (DNNs). Early works mainly focused on reducing model redundancy through weight pruning, quantization, and coding techniques to improve storage and inference efficiency. For example, Han et al. [1] proposed a classical pruning pipeline that combines parameter pruning, quantization, and Huffman coding for compact model representation. More recent studies have further extended pruning techniques to modern architectures and large language models (LLMs). Representative methods include one-shot pruning approaches such as SparseGPT [16] and Wanda [17], as well as structural pruning methods that explicitly consider dependency relationships among network components [2, 18].
Most existing studies on parameter pruning primarily focus on developing more effective compression algorithms, pruning criteria, or acceleration strategies. Although these methods demonstrate strong empirical performance, their understanding of why pruning causes performance degradation often remains relatively superficial, typically emphasizing the importance or sensitivity of the pruned parameters themselves. In contrast, our work investigates a different scientific problem: what internal factors lead to performance degradation in compressed DNNs. Rather than proposing a new pruning algorithm, we aim to reveal the intrinsic mechanisms underlying pruning-induced performance degradation from the perspective of internal interactions within DNNs.
C Practical value of our findings
According to our findings, low-order generalizable interactions are removed at higher pruning ratios than high-order non-generalizable interactions. Based on this observation, and inspired by Zhang et al. [28], we penalize the strength of all non-generalizable interactions during DNN training. This method encourages the DNN to encode more generalizable interactions. Specifically, we co-train two DNNs initialized with different random seeds, and explicitly penalize non-transferable interactions between them. Since the co-training procedure is performed entirely on the training set, it does not introduce additional information from the test data.
We trained VGG-16 [14] and AlexNet [29] on the training split of the TinyImageNet dataset [30], with and without the proposed penalty.
As shown in Figure 8, when pruned using the DepGraph method [2], DNNs trained with this penalty maintain their performance under higher pruning ratios compared to those trained without it.


Figure 8: Top-5 classification accuracy of pruned VGG-16 and pruned AlexNet on TinyImageNet under different pruning ratio.
D Details of extracting the sparsest AND-OR interactions
A method is proposed [4, 31] to simultaneously extract AND interactions and OR interactions from the network output. Given a masked sample , [31] proposed to learn a decomposition towards the sparsest interactions. The component was explained by AND interactions, and the component was explained by OR interactions. Specifically, they decomposed into and , where is a set of learnable variables that determine the decomposition. In this way, the AND interactions and OR interactions can be computed according to Equation 2, i.e., , and .
The parameters were learned by minimizing the following LASSO-like loss to obtain sparse interactions:
The following pseudocode 1 outlines the core procedure of extracting AND-OR interactions.
Algorithm 1 Computing AND-OR interactions
1: Input: Input sample , the DNN 2: Output: A set of interactions and 3: for , do 4: For each masked sample , compute the confidence score based on Eq. (1); 5: end for 6: for , do 7: Given for all combinations , , compute each AND interaction effect and each OR interaction effect via ; 8: end for 9: return ,
Furthermore, in terms of evaluating the interaction transferability across multiple DNNs (e.g., the original DNN and the pruned DNN ), Chen et al. [4] have found that people must solve the sensitivity of interactions to parameters , which hurts the stability of the evaluation. Thus, we follow the typical algorithm in [4] to extract a set of stable interactions that are shared by two DNNs, as follows.
Removing small noises. A small noise in the network output may significantly affect the extracted interactions, especially for high-order interactions. Thus, Li et al. [31] proposed to learn to remove a small noise term from the computation of AND-OR interactions. Specifically, the decomposition was rewritten as and . Thus, the parameters and are simultaneously learned by minimizing the loss function in Eq. (9). The values of were constrained in where .
E Experimental detail
E.1 Training settings
In this paper, we followed Fang et al. [2] and trained ResNet-56 [13] and VGG-19 [14] on the CIFAR-10 dataset [15] for 200 epochs using stochastic gradient descent (SGD) with a learning rate of 0.1, momentum of 0.9, and a weight decay of . The learning rate was decayed by a factor of 0.1 at epochs 120, 150, and 180. We used a batch size of 128 in all experiments.
All experiments were conducted on a compute node equipped with dual Intel Xeon Silver 4310 CPUs (48 logical cores) and a combination of four NVIDIA A800 and two NVIDIA A100 GPUs (each with 80GB memory).
E.2 Pruning settings in Section 2.3
We used DepGraph [2] to prune ResNet-56 [13] and VGG-19 [14] on the CIFAR-10 dataset [15]. For ResNet-56, we progressively increase the pruning ratio from 1.2% to 50.2%. And for VGG-19, we progressively increase the pruning ratio from 3.6% to 99.2%. All other pruning settings followed the original settings in [2], respectively. No post-pruning finetuning was performed.
E.3 Pruning settings in Section 2.4
We prune four LLMs (including LLaMA-7B [32], LLaMA-3.1-8B [33], DeepSeek-R1-Distill-LLaMA-8B [34], Qwen-2.5-7B [35]). Additionally, we conduct experiments on models from the ResNet and ViT families, including ResNet-50/101/152 [13] and ViT-Small/Base/Large [36], respectively. All models are taken from the timm library [37] and pretrained on ImageNet-1k [38]. For ResNet models, we use the a1 / a1h pretrained variants [39], and for ViT models we use the augreg2-in21k-ft-in1k pretrained variants [40].
In each experiment, we prune a single module from the original model. We apply two typical module-level pruning settings: (1) Residual block pruning. We prune a single residual block by skipping its computation on all hidden features, while keeping the rest of the network intact. For the ResNet family, each block consists of three convolutional layers. For Transformer-based models, including ViT family and large language models (LLMs), each block consists of a self-attention layer followed by a multi-layer perceptron (MLP). (2) Hidden feature dimension pruning. Rather than pruning within a single residual block, we remove selected dimensions from all hidden features, and apply the same dimensionality reduction to all subsequent computations (including, in ResNet models, convolutional channel dimensions and corresponding normalization layers; and in transformer-based models, the hidden size of all attention and MLP projections, along with normalization layers), ensuring consistency across the entire network. The pruned dimensions are randomly selected for each experiment, with 3% to 15% of the total hidden dimensionality being removed.
Threshold selection for module sensitivity. Based on the above module settings, we categorize all pruned modules into two types: (1) sensitive modules, and (2) insensitive modules, based on the increase of test cross-entropy loss caused by the pruning. If pruning a module leads to a significant increase in test loss greater than a predefined threshold , then the corresponding module is regarded as a sensitive module; otherwise, it is regarded as an insensitive module.
The threshold is selected according to the increase in test cross-entropy (CE) loss induced by parameter pruning. Empirically, we consider a test CE loss increase of roughly 0.5 as indicating substantial degradation. Because different DNN architectures exhibit different CE loss magnitudes, is adjusted slightly on a per-model basis to ensure a consistent notion of significant degradation across models. Table 1 lists the resulting threshold values.
Table 1: Threshold used for different DNNs.
| Model | |
|---|---|
| LLaMA-7B | 0.60 |
| LLaMA-3.1-8B | 1.00 |
| DeepSeek-R1-Distill-LLaMA-8B | 0.70 |
| Qwen-2.5-7B | 0.70 |
| ResNet-50 | 0.50 |
| ResNet-101 | 0.45 |
| ResNet-152 | 0.30 |
| ViT-Small | 0.80 |
| ViT-Base | 1.00 |
| ViT-Large | 0.25 |
E.4 Details about how to calculate interactions for different DNNs
-
For experiments on image classification models, since the computational cost of interactions was intolerable, we applied a sampling-based approximation method to calculate AND-OR interactions. Specifically, we considered the feature map after the low-layer as intermediate-layer features of DNNs. We uniformly split each intermediate-layer feature map into patches, and sampled 10 patches based on the highest significance values computed via Integrated Gradients [41]. For ResNet-56 and VGG-19 on CIFAR-10, . For ResNet family and ViT family on ImageNet-1k, . These selected patches were considered as input variables for the corresponding intermediate-layer feature. We replace variables with a baseline vector determined by following the method in [4] to mask the variables when computing interactions. The duration of the experiments ranges from 4 to 8 hours.
-
For experiments on large language models, we manually collected 100 sentences for interaction extraction, which cover topics such as corporate restructuring, science and technology, economic policy, global trade, geopolitics, public health, political developments, cryptocurrency collapse, monetary policy, and climate and energy equity. The test cross-entropy loss analysis is performed on WikiText2 dataset [42]. And the cross-entropy loss is averaged over all tokens. We considered the one or multiple token embeddings that correspond to a single word as an input variable. And we randomly sampled 10 words for each sentence, which must have a specific meaning and not be stop words, to calculate interactions. We replace variables with a baseline vector determined by following the method in [4] to mask the variables when computing interactions. The duration of the experiments ranges from 6 to 8 hours.
Specifically, we empirically considered the first 4 convolutional layer of VGG-19 as the low layers, and considered all the other 13 layers as the high layers. For ResNet-56, we consider the first 3 convolution layers as low layers. For ResNet family, we consider the first 2 residual stages as low layers. For ViT family, we consider the first convolution layer as low layers. Typically, we compute the mean distribution of interactions over 100 samples for ResNet-56 on the CIFAR-10 dataset. We compute the mean distribution of interactions over 100 samples for all models.
E.5 Settings of reference DNNs
According to He et al. [7], we need to train reference DNNs from scratch on the testing samples. However, for large-scale models, it is usually infeasible to determine which data samples were used for training
VGG-19 for CIFAR-10 [15] has been simplified compared to the original VGG-19 architecture designed for ImageNet, by replacing the multi-layer perceptron (MLP) classifier with a single fully connected layer and adapting the input resolution. The total number of layers, including both convolutional and fully connected layers, remains 17 in the simplified VGG-19 model for CIFAR-10.
and which were not. More importantly, retraining the model from scratch is impractical. Therefore, we use other classic models that are independently trained as the reference DNNs.
We use ResNet-56 and VGG-19 as reference models for each other. For the ResNet family, we adopt ViT-Large as the reference model, while for the ViT family, we use ResNet-152 as the reference model. For LLMs, we pair Qwen-2.5-7B with DeepSeek-R1-Distill-LLaMA-8B, and LLaMA-3.1-8B with LLaMA-7B as mutual reference models.
To ensure comparability across architectures, we align the spatial (or token) locations of sampled variables. Specifically, for ResNet-56 and VGG-19, we partition each image into patches, while for the ResNet and ViT families we use patches. For LLMs, words are naturally segmented into tokens. This unified partitioning ensures that the sampled variables are aligned across models, making the comparing between intersection sets mathematically well-defined.
E.6 Licenses of Used Assets
We list the licenses and terms of use for all assets used in this paper, including datasets and pre-trained models.
Datasets.
-
CIFAR-10 — publicly available dataset without an explicit license; used in accordance with standard academic usage and citation requirements
-
ImageNet-1k — used under the official Terms of Access for non-commercial research; images are collected from third-party sources and may be subject to individual licenses
-
WikiText-2 — Creative Commons Attribution-ShareAlike license (CC BY-SA), derived from Wikipedia text
Pre-trained Models.
-
LLaMA-7B — released under Meta's original LLaMA research license with restricted access and non-commercial use conditions
-
LLaMA-3.1-8B — released under the LLaMA 3.1 Community License Agreement, subject to its terms of use and acceptable use policy
Qwen-2.5-7B — Apache License 2.0
DeepSeek-R1-Distill-LLaMA-8B — released under the MIT License, while incorporating components subject to the LLaMA license
• ResNet-50/101/152 — implemented using the timm library under the Apache License 2.0
• ViT-Small/Base/Large — implemented using the timm library under the Apache License 2.0
All assets are used in accordance with their respective licenses and terms of use. Detailed license terms can be found on the official websites of the respective providers.
F Detailed results of the three-phase dynamics of interactions during progressive parameter pruning
We provide additional results on interaction distributions after each pruning operation, and further summarize the changes in interactions during parameter pruning in a table for clarity.
F.1 The distributions of interactions during progressive parameter pruning
We provide additional results on interaction distributions of ResNet-56 and VGG-19 after each pruning operation.
F.1.1 The distribution of interactions encoded by ResNet-56 during progressive parameter pruning

Figure 9: The distributions of removed interactions and and preserved interactions and over different orders encoded by pruned ResNet-56 at different pruning ratios. The distributions are arranged in ascending order of the pruning ratio.
F.1.2 The distribution of interactions encoded by VGG-19 during progressive parameter pruning

Figure 10: The distributions of removed interactions ( and ) and preserved interactions ( and ) over different orders encoded by pruned VGG-19 at different pruning ratios. The distributions are arranged in ascending order of the pruning ratio.
F.2 Quantify the changes in interactions during progressive parameter pruning
We quantify the changes in interactions after pruning from different perspectives, including the ratio of preserved low-order/high-order interactions , the offsetting ratio of removed interaction effects , and the ratio of removed generalizable interactions . For completeness, we include in this appendix some content that is identical to the main paper to ensure the appendix is self-contained and easy to follow.
F.2.1 The ratio of preserved low-order/high-order interactions
Figure 11 shows the ratio of preserved low-order/high-order interactions during progressive parameter pruning on different DNNs.


Figure 11: The ratio of preserved low-order/high-order interactions during progressive parameter pruning on different DNNs.
F.2.2 The offsetting ratio of removed interactions
Figure 12 shows the offsetting ratio of removed interactions during progressive parameter pruning on different DNNs.


Figure 12: The offsetting ratio of removed interactions during progressive parameter pruning on different DNNs.
F.2.3 The ratio of removed generalizable interactions
Figure 13 shows the ratio of removed generalizable interactions during progressive parameter pruning on different DNNs.

Figure 13: The ratio of removed generalizable interactions during progressive parameter pruning on different DNNs.
F.3 Analysis of three-phase dynamics of interactions during parameter pruning
Table 2 summarizes the changes in interactions during progressive parameter pruning from different perspectives.
Table 2: Analysis of three-phase dynamics of interactions from different perspectives.
| Perspectives | Phase 1 | Phase 2 | Phase 3 |
|---|---|---|---|
| Testing accuracy | barely affected | significantly decreased | remains low |
| Low-order interactions | slightly removed | significantly removed | most have been removed |
| High-order interactions | significantly removed | significantly removed | most have been removed |
| Offsetting of the removed | extremely high | comparatively low | comparatively low |
| Generalizability of the removed | slightly increase | significantly increase | most have been removed |
G Detailed results of pruning sensitive/insensitive modules
We provide additional results on interaction distributions after each pruning operation, and further quantify the changes in interactions after pruning on more DNNs.
G.1 The distributions of interactions after the pruning of each module
We provide additional results on interaction distributions of four LLMs, three ResNet models and three ViT models after each pruning operation.
G.1.1 The distribution of interactions encoded by LLaMA-7B after the pruning of each module

Figure 14: The distributions of removed interactions and and and over different orders encoded by LLaMA-7B after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 15: The distributions of removed interactions and and preserved interactions and over different orders encoded by LLaMA-7B after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.2 The distribution of interactions encoded by LLaMA-3.1-8B after the pruning of each module

Figure 16: The distributions of removed interactions ( and ) and preserved interactions ( and ) over different orders encoded by LLaMA-3.1-8B after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 17: The distributions of removed interactions and and preserved interactions and over different orders encoded by LLaMA-3.1-8B after pruning each sensitive/in-sensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.3 The distribution of interactions encoded by DeepSeek-R1-Distill-LLaMA-8B after the pruning of each module

Figure 18: The distributions of removed interactions and and preserved interactions and over different orders encoded by DeepSeek-R1-Distill-LLaMA-8B after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 19: The distributions of removed interactions and and preserved interactions and over different orders encoded by DeepSeek-R1-Distill-LLaMA-8B after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.4 The distribution of interactions encoded by Qwen-2.5-7B after the pruning of each module

Figure 20: The distributions of removed interactions and ) and preserved interactions and over different orders encoded by Qwen-2.5-7B after pruning each sensitive/in-sensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 21: The distributions of removed interactions and and preserved interactions and over different orders encoded by Qwen-2.5-7B after pruning each sensitive/in-sensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.5 The distribution of interactions encoded by ResNet-50 after the pruning of each module

Figure 22: The distributions of removed interactions and ) and preserved interactions and over different orders encoded by ResNet-50 after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 23: The distributions of removed interactions ( and ) and preserved interactions ( and ) over different orders encoded by ResNet-50 after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.6 The distribution of interactions encoded by ResNet-101 after the pruning of each module

Figure 24: The distributions of removed interactions and and preserved interactions and over different orders encoded by ResNet-101 after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 25: The distributions of removed interactions and ) and preserved interactions and over different orders encoded by ResNet-101 after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.7 The distribution of interactions encoded by ResNet-152 after the pruning of each module

Figure 26: The distributions of removed interactions and and preserved interactions and over different orders encoded by ResNet-152 after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 27: The distributions of removed interactions ( and ) and preserved interactions ( and ) over different orders encoded by ResNet-152 after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.8 The distribution of interactions encoded by ViT-Small after the pruning of each module

Figure 28: The distributions of removed interactions and and preserved interactions and over different orders encoded by ViT-Small after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 29: The distributions of removed interactions and ) and preserved interactions and over different orders encoded by ViT-Small after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.9 The distribution of interactions encoded by ViT-Base after the pruning of each module

Figure 30: The distributions of removed interactions and and preserved interactions and over different orders encoded by ViT-Base after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 31: The distributions of removed interactions and ) and preserved interactions and over different orders encoded by ViT-Base after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.1.10 The distribution of interactions encoded by ViT-Large after the pruning of each module

Figure 32: The distributions of removed interactions and and preserved interactions and over different orders encoded by ViT-Large after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the first of two subsets of results.

Figure 33: The distributions of removed interactions ( and ) and preserved interactions ( and ) over different orders encoded by ViT-Large after pruning each sensitive/insensitive module. The distributions are arranged in ascending order of the increase in test loss after pruning. For clarity, this figure presents the second of two subsets of results.
G.2 Quantify the changes in interactions after the pruning of each module
We provide additional results quantifying the changes in interactions after pruning each module from multiple perspectives, including the ratio of preserved low-order/high-order interactions , the offsetting ratio of removed interaction effects , and the ratio of removed generalizable interactions . In addition, the reported curves are obtained by applying the LOWESS smoothing algorithm [43] to the individual data points.
G.2.1 The ratio of preserved low-order/high-order interactions
Figure 34 shows the ratio of preserved low-order/high-order interactions after pruning sensitive/insensitive modules on different DNNs.

Figure 34: The ratio of preserved low-order/high-order interactions after pruning sensitive/insensitive modules on different DNNs.
G.2.2 The offsetting ratio of removed interactions
Figure 35 shows the offsetting ratio of removed interactions after pruning sensitive/insensitive modules on different DNNs.

Figure 35: The offsetting ratio of removed interactions after pruning sensitive/insensitive modules on different DNNs.
G.2.3 The ratio of removed generalizable interactions
Figure 36 shows the ratio of removed generalizable interactions after pruning sensitive/insensitive modules on different DNNs.

Figure 36: The ratio of removed generalizable interactions after pruning sensitive/insensitive modules on different DNNs.
H Distributions of generalizable interaction
Figure 37 shows the distributions of interactions and generalizable interactions , , and encoded by twelve DNNs. Generalizable interactions are primarily concentrated at lower orders.

Figure 37: The distributions of interactions and generalizable interactions , , and encoded by twelve DNNs. Interactions of different orders exhibit different generalizability. Low-order interactions exhibit stronger generalizability than high-order ones.
Categorizing low-order and high-order interactions. In Figure 37, we observe a clear disparity in the generalizability of interactions across different orders. Specifically, nearly all generalizable interactions are concentrated within the 1st-3rd orders, whereas interactions of orders 4 to n are almost entirely non-generalizable. Motivated by this pronounced difference, we categorize interactions of orders 1-3 as low-order interactions, and those of orders 4 to n as high-order interactions.
I Offsetting of removed interaction effects
Figure 38 shows the distributions of removed interactions , encoded by ResNet-56 and VGG-19. Removed interactions exhibit strong offsetting effects.

Figure 38: The distributions of removed interactions , at the end of Phase 1. Interactions of different orders exhibit different generalizability. Removed interactions exhibit strong offsetting effects.
J Properties of the AND interaction
The Harsanyi interaction [44] (referred to as the AND interaction in this work) has been a conventional metric for measuring the effect of the AND relationship that a DNN encodes among input variables. In this section, we introduce several desirable axioms that the AND interaction adheres to. These properties further underscore the reliability of using AND interactions to explain the inference score of a DNN.
(1) Efficiency axiom (proven by [44]). The output score of a model can be decomposed into interaction effects of different patterns, i.e. .
(2) Linearity axiom. If we merge output scores of two models and as the output of model , i.e. , , then their interaction effects and can also be merged as .
(3) Dummy axiom. If a variable is a dummy variable, i.e. , then it has no interaction with other variables, .
(4) Symmetry axiom. If input variables cooperate with other variables in the same way, , then they have same interaction effects with other variables, .
(5) Anonymity axiom. For any permutations on , we have , where , and the new model is defined by . This indicates that interaction effects are not changed by permutation.
(6) Recursive axiom. The interaction effects can be computed recursively. For and , the interaction effect of the pattern is equal to the interaction effect of with the presence of minus the interaction effect of with the absence of , i.e. . denotes the interaction effect when the variable is always present as a constant context, i.e. .
(7) Interaction distribution axiom. This axiom characterizes how interactions are distributed for “interaction functions” [21]. An interaction function parameterized by a subset of variables is defined as follows. , if , ; otherwise, . The function models pure interaction among the variables in , because only if all variables in are present, the output value will be increased by . The interactions encoded in the function satisfies , and , .
K Common conditions for sparse interactions
[3] have proved three sufficient conditions for the sparsity of AND interactions.
Condition 1. The DNN does not encode extremely high-order interactions: , .
Condition 1 is common because extremely high-order interactions usually represent very complex and over-fitted patterns, which are unlikely to be learned by a well-trained DNN in real scenarios.
Condition 2. Let denote the average classification confidence of the DNN over all masked samples with unmasked input variables. This average classification confidence monotonically increases when increases: .
Condition 2 implies that a well-trained DNN is likely to have higher average classification confidence for less masked input samples.
Condition 3. Given the average classification confidence of samples with unmasked input variables, there is a polynomial lower bound for the average classification confidence with unmasked input variables: , where is a constant.
Condition 3 suggests that the classification confidence of the DNN remains relatively stable even when presented with masked input samples. In real-world applications, the classification or detection of masked or occluded samples frequently occurs. As a result, a well-trained DNN typically develops the ability to classify such masked inputs by leveraging local information, which can be derived from the visible portions of the input. Consequently, the model should not produce a substantially reduced confidence score for masked samples.
L Empirical validation of sparsity property
As defined by Equation 2, the AND-OR logical model comprises a set of AND interactions and a set of OR interactions, denoted as and . The primary objective of this experiment is to demonstrate the sparsity property of these interactions, that is, to validate that both and are sufficiently small relative to the total possible interactions.

Figure 39: Sorted interaction strength distribution on different input samples. Most interactions exhibit negligible strength.
We conducted experiments to validate the sparsity property of interactions. Given a well-trained DNN and an input sample , we calculated AND interactions and OR interactions for all possible subsets. To this end, we employed the same network architecture and dataset described in Appendix E. Figure 39 shows the strength of all AND-OR interactions extracted from 100 different samples in descending order. The results demonstrate that the size of the interaction set is relatively small, typically no more than 5000 for all 100 sample (i.e., 50 for each sample), across different networks and tasks.
M Proof of Equation 2
Proof M.1 (1) Universal matching property of AND interactions.
We will prove that output component on all masked samples could be universally explained by all interactions in , i.e., . In particular, we define (i.e., we attribute output on an empty sample to AND interactions).
Specifically, the AND interaction is defined as . To compute the sum of AND interactions , we first exchange the order of summation of the set and the set . That is, we compute all linear combinations of all sets containing with respect to the model outputs given a set of input variables , i.e., . Then, we compute all summations over the set .
In this way, we can compute them separately for different cases of . In the following, we consider the cases (1) , and (2) , respectively.
(1) When , the linear combination of all subsets containing with respect to the model output is .
(2) When , the linear combination of all subsets containing with respect to the model output is . For all sets , let us consider the linear combinations of all sets with number for the model output , respectively. Let , , then there are a total of combinations of all sets of order . Thus, given , accumulating the model outputs corresponding to all , then . Please see the complete derivation of
the following formula.
Thus, we have .
(2) Universal matching property of OR interactions.
According to the definition of OR interactions, we will derive that , where we define (recall that in Step (1), we attribute the output on empty input to AND interactions).
Specifically, the OR interaction is defined as . Similar to the above derivation of the universal matching theorem of AND interactions, to compute the sum of OR interactions , we first exchange the order of summation of the set and the set . That is, we compute all linear combinations of all sets containing with respect to the model outputs given a set of input variables , i.e., . Then, we compute all summations over the set .
In this way, we can compute them separately for different cases of . In the following, we consider the cases (1) , (2) , (3) , and (4) , respectively.
(1) When , the linear combination of all subsets containing with respect to the model output is . For all sets
(then ), let us consider the linear combinations of all sets with number for the model output , respectively. Let , , then there are a total of combinations of all sets of order . Thus, given , accumulating the model outputs corresponding to all , then .
(2) When (then ), the linear combination of all subsets containing with respect to the model output is .
(3) When , the linear combination of all subsets containing with respect to the model output is . For all sets , let us consider the linear combinations of all sets with number for the model output , respectively. Let us split into and , i.e., , where , (then ) and . In this way, there are a total of combinations of all sets of order . Thus, given , accumulating the model outputs corresponding to all , then .
(4) When , the linear combination of all subsets containing with respect to the model output is . Similarly, let us split into and , i.e., , where , (then ) and . In this way, there are a total of combinations of all sets of order . Thus, given , accumulating the model outputs corresponding to all , then .
Please see the complete derivation of the following formula.
(3) Universal matching property of AND-OR interactions.
With the universal matching theorem of AND interactions and the universal matching theorem of OR interactions, we can easily get , thus, we obtain the universal matching theorem of AND-OR interactions.
N Illustration of And-Or logical model
The following four figures show the logical models that mathematically represent the inference logic of DeepSeek-R1-Distill-LLaMA-8B model and Qwen-2.5-7B on two input prompts, respectively.

Figure 40: The logical model representing the inference logic of the DeepSeek-R1-Distill-LLaMA-8B model on the input prompt “New York Department of Health recommends that all people should wear N95, KN95, or KF94 masks in all public.” The predicted next word is “settings.”
AND-OR Logical Model ("settings" | x)

Figure 41: The logical model representing the inference logic of the Qwen-2.5-7B model on the input prompt "New York Department of Health recommends that all people should wear N95, KN95, or KF94 masks in all public." The predicted next word is "settings."

Figure 42: The logical model representing the inference logic of the DeepSeek-R1-Distill-LLaMA-8B model on the input prompt "On June 11, 2018, OpenAI researchers and engineers published a paper introducing the first generative pre-trained." The predicted next word is "transformer."
AND-OR Logical Model ("transformer" | x)

Figure 43: The logical model representing the inference logic of the Qwen-2.5-7B model on the input prompt "On June 11, 2018, OpenAI researchers and engineers published a paper introducing the first generative pre-trained." The predicted next word is "transformer."
The following four figures show the logical models that mathematically represent the inference logic of DeepSeek-R1-Distill-LLaMA-8B model (before and after pruning operation) on two input prompts, respectively.
AND-OR Logical Model ("carbon dioxide" | x)

Figure 44: The logical model representing the inference logic of the original DeepSeek-R1-Distill-LLaMA-8B model on the input prompt "Earth's greenhouse effect would be too weak to keep temperature above freezing without." The predicted next word is "carbon dioxide."
AND-OR Logical Model ("carbon dioxide" | x)

Figure 45: The logical model representing the inference logic of the pruned DeepSeek-R1-Distill-LLaMA-8B model (under a pruning ratio of 41.01) on the input prompt “Earth’s greenhouse effect would be too weak to keep temperature above freezing without.” The predicted next word is “carbon dioxide.”
AND-OR Logical Model ("bonds" | x)

Figure 46: The logical model representing the inference logic of the original DeepSeek-R1-Distill-LLaMA-8B model on the input prompt “The government borrows money by selling financial products called.” The predicted next word is “bonds.”
AND-OR Logical Model ("bonds" | )

Figure 47: The logical model representing the inference logic of the pruned DeepSeek-R1-Distill-LLaMA-8B model (under a pruning ratio of 41.01) on the input prompt “The government borrows money by selling financial products called.” The predicted next word is “bonds.”
O Declaration of Large Language Model usage
In this work, large language models (LLMs) were used solely as a general-purpose writing assistant to polish the grammar and improve the clarity of the text. No part of the research ideation, experiment design, data analysis, or substantive content generation relied on LLMs. The authors take full responsibility for the content of the paper.