<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>PrivShap: A Finer-Granularity Network Linearization Method for Private Inference</title></titleStmt>
			<publicationStmt>
				<publisher>Transactions on Machine Learning Research, Aug 2025</publisher>
				<date>08/01/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10706051</idno>
					<idno type="doi"></idno>
					<title level='j'>Transactions on machine learning research</title>
<idno>2835-8856</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>X Xu</author><author>Z Wang</author><author>R Ning</author><author>C Xin</author><author>H Wu</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Private inference applies cryptographic techniques like homomorphic encryption, garble circuit and secret sharing to keep both sides privacy in a client-server setting during inference. It is often hindered by the high communication overheads, especially at non-linear activation layers such as ReLU. Hence ReLU pruning has been widely recognized as an efficient way to accelerate private inference. Existing approaches to ReLU pruning typically rely on coarse hypothesis, which assume an inverse correlation between the importance of ReLU and linear layers or shallow activation layers have less importance for universal models, to assign the budgets according to the layer while preserving the inference accuracy. However, these assumptions are based on limited empirical evidence and can fail to generalize to diverse model architectures. In this work, we introduce a finer-granularity ReLU budget assignment approach by assessing the layer-wise importance of ReLU with the Shapley value. To address the computational burden of exact Shapley value calculation, we propose a tree-trimming algorithm for fast estimation. We provide both theoretical guarantees and empirical validation of our method. Our extensive experiments show that we achieve better efficiency and accuracy than the state-of-the-art across diverse model architectures, activation functions, and datasets. Specifically, we only need ∼2.5× fewer ReLU operations to achieve a similar inference accuracy and gains up to ∼8.13% increase on inference accuracy with similar ReLU budgets.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The growth of AI-driven client-server technologies <ref type="bibr">Xing &amp; Zhao (2024a;</ref><ref type="bibr">b;</ref><ref type="bibr">c)</ref>; <ref type="bibr">Wang et al. (2024)</ref>; <ref type="bibr">Zhu et al. (2025)</ref>; <ref type="bibr">Xu et al. (2024a;</ref><ref type="bibr">2025)</ref>; <ref type="bibr">Bai et al. (2025)</ref>, has significantly advanced Machine Learning as a Service (MLaaS) <ref type="bibr">Xu et al. (2024c;</ref><ref type="bibr">b)</ref>; <ref type="bibr">Mishra et al. (2020)</ref>; <ref type="bibr">Rathee et al. (2020)</ref> in academia and industry. However, privacy concerns have led to the emergence of cryptographic techniques for private inference (PI), where the server processes encrypted client input while retaining the machine learning model, ensuring data privacy throughout the inference process.</p><p>Existing private inference frameworks often involve cryptographic techniques such as Homomorphic Encryption (HE) <ref type="bibr">Fan &amp; Vercauteren (2012)</ref>; <ref type="bibr">Cheon et al. (2017)</ref>, Garbled Circuits (GC) <ref type="bibr">Bellare et al. (2012)</ref>, and Secret Sharing (SS) to maintain the privacy of both the client and the server. For example, <ref type="bibr">Crypt-Flow2 Rathee et al. (2020)</ref> uses HE for convolutional computations and SS for non-linearity computations, while Gazelle <ref type="bibr">Juvekar et al. (2018)</ref> employs GC for ReLU operations. Compared to linear computations, the use of GC and SS in non-linear functions like ReLU requires significantly higher communication costs and bandwidth. This increased overhead leads to longer communication latency during client-server interactions in privacy-preserving inference, making efficiency a significant concern.</p><p>This challenge has prompted a range of efforts to develop more efficient privacy-preserving models by reducing the number of ReLU operations, thereby decreasing communication and latency overhead in secure client-server interactions. A series of network linearization works that utilizing various methods are summaried in Table .1. Notably, CryptoNAS <ref type="bibr">Ghodsi et al. (2020)</ref> and Sphynx <ref type="bibr">Cho et al. (2022a)</ref> use the neural architecture search (NAS) technique to find the optimum network architecture. However, such methods usually lead to significant accuracy drops. To rectify such shortcomings, gradient-based and manual methods, such as SNL <ref type="bibr">Cho et al. (2022b)</ref> and DeepReDuce <ref type="bibr">Jha et al. (2021)</ref>, are proposed to prune pixel-wise ReLU operations by adding l 1 regularizations during training. However, these methods assume a uniform importance distribution of ReLU operations across different layers, which leads to only a suboptimal balance point between accuracy and communication efficiency. Moreover, it requires extra-long training epochs to reach a low ReLU operation budget. To find a better trade-off between accuracy and efficiency, SENet <ref type="bibr">Kundu et al. (2023)</ref> proposes the hypothesis that the importance of ReLU layers is inversely correlated with the corresponding linear layers based on the sensitivity measured by accuracy loss when pruned. Based on this hypothesis, they propose customized layerwise allocation of ReLU budgets based on inferred ReLU importance, which is calculated by one minus the linear layer gradient. Arguably, this hypothesis is only based on limited empirical evidence and not guaranteed to be generalizable to diverse model architectures and settings.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Our contributions:</head><p>We introduce PrivShap, a Shapley Value (SV)-based ReLU pruning method, which provides fine-grained and accurate ReLU importance estimation and assigns ReLU budgets based on this estimation. To the best of our knowledge, this is the first work to estimate the layer-wise importance of ReLU operations using Shapley values <ref type="bibr">Shapley (1953)</ref>, challenging the ReLU importance hypothesis presented in the SOTA <ref type="bibr">Kundu et al. (2023)</ref>. To alleviate the computational cost of exact Shapley value calculation with O(2 n ) time complexity, we propose a double-trimming strategy for fast estimation. This method effectively reduces the number of coalitions by trimming the less important subsets of ReLU layer combinations that contribute marginally to the final SV results. Moreover, unlike related works that use l 1 regularization to implicitly reduce ReLU operations, PrivShap employs a projected gradient descent pruning strategy to enforce the layer-wise ReLU operations within certain budgets. This approach enables more precise control over the optimization goal during pruning and helps maintain accuracy. We conduct extensive experiments on various models with various activation functions like SiLU/ReLU, including ResNet <ref type="bibr">He et al. (2016) and</ref><ref type="bibr">Wide Residual Networks Zagoruyko (2016)</ref>, on CIFAR-10, CIFAR100, and Tiny-ImageNet. Experimental results show that our SV-based ReLU budget can yield the best accuracy-efficiency trade-off. We only need up to &#8764;2.5&#215; fewer ReLUs to achieve similar accuracy and gain up to &#8764;8.13% accuracy improvement with a similar ReLU budget compared to prior arts and can be applied to activation functions and models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Cryptographic primitives</head><p>We briefly describe the relevant cryptographic primitives in this section. Homomorphic Encryption: HE is a public key encryption scheme that allows computations to be performed on ciphertexts, enabling the results to be decrypted without needing to access the plaintexts. The encryption function E produces a ciphertext t from a plaintext message m using a public key pk, expressed as t = E(m, pk). In PI, the results of linear operations can be obtained homomorphically through <ref type="bibr">sk)</ref>, where &#8226; represents a linear operation, &#8902; is its corresponding homomorphic operation, and t 1 and t 2 are the ciphertexts of m 1 and m 2 , respectively.</p><p>Garbled Circuits: GC facilitate secure two-party computation of a Boolean function f without revealing private inputs. The function is represented as a Boolean circuit C.The process begins with the garbler, who generates an encoded circuit C and corresponding input labels using the Garble(C) to send C and the labels to the other party who acts as an evaluator. The evaluator evaluates the garbled circuit with the provided labels via Eval( C). Finally, the garbler decrypts the labels to get the plain results to share with the evaluator.</p><p>Additive secret sharing. Given an original message m at party P &#8712; {0, 1}, one of the two Additive Secret Shares (ASS) is constructed by uniformly sampling randomness r and setting &#10216;m&#10217; P = r, while the other share is formed as &#10216;m&#10217; 1-P = m -r. To reconstruct the message, one can simply add two shares m = &#10216;m&#10217; P + &#10216;m&#10217; 1-P .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Private Inference</head><p>Similar to previous works <ref type="bibr">Mishra et al. (2020)</ref>; <ref type="bibr">Cho et al. (2022b)</ref>; <ref type="bibr">Kundu et al. (2023)</ref>, our method follows the two-party semi-honest threat model. Specifically, the client C and the server S follow the protocol but attempt to infer each other's input, namely the client's input data and the server's model parameters, during the inference process. To mitigate various threats, existing cryptographic-based inference frameworks often employ an online-offline topology. In this architecture, the client's data-independent components are precomputed during the offline phase. For linear computations, such as matrix multiplication, HE is commonly utilized in the offline stage, as it allows operations like multiplication on ciphertexts without the need for decryption. To ensure the correctness of decryption, ciphertexts must be refreshed after a limited number of operations, which can be accomplished through techniques such as bootstrapping <ref type="bibr">Chillotti et al. (2016)</ref> or re-encryption <ref type="bibr">Rathee et al. (2020)</ref>. However, the computationally intensive nature of non-linear functions in GC results in high costs for operations like ReLU, even in the online phase. For SS-based customized privacy-preserved activation protocols, the frequent communication via Oblivious Transfer cryptographic primitives imposes prolonged inference times. This highlights a critical challenge in balancing efficiency and security in cryptographic computations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Shapley Value</head><p>Shapley Value is a key concept in cooperative game theory, which assumes a set of players collaborate to achieve a total gain, and measures each player's contribution by averaging its marginal contribution across all possible coalitions. Shapley value has been widely applied to model explanation <ref type="bibr">Sundararajan &amp; Najmi (2020)</ref>, data evaluation <ref type="bibr">Ghorbani &amp; Zou (2019)</ref>, and model compression <ref type="bibr">Ghorbani &amp; Zou (2020)</ref> as it has the following desirable properties:</p><p>&#8226; Zero/Negative Contribution: The player with zero (or negative) contribution to the model accuracy can be measured if &#8704;S &#8838; N/{i} : U (S &#8746; {i}) &#8804; U (S), which means adding the element to the subset of other layers does not change or reduce the model performance metric (N denote the complete set, S denote a coalition of elements, and U denote the utility function). The proof is shown in appendix B.1 in <ref type="bibr">Ghorbani &amp; Zou (2020)</ref>.</p><p>&#8226; Efficiency: The sum of the Shapley values of all ReLU layers equals the value of the grand coalition, so that all the gain is distributed among the ReLU layers: i&#8712;N SV (i) = SV (N ), where SV (N ) denotes as the value of grand coalition. The proof is shown in appendix B.1 and B.2 in <ref type="bibr">Ghorbani &amp; Zou (2020)</ref>.</p><p>However, the calculation of exact SV requires exponential computational costs to enumerate all possible coalitions, and existing works use Monte Carlo sampling (MCs) <ref type="bibr">Ghorbani &amp; Zou (2019)</ref> or Multi-Armed Bandit (MAB) <ref type="bibr">Ghorbani &amp; Zou (2020)</ref> to approximate it. However, such works still need an extra long time to converge via a large number of random samples.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">ReLU linearization in Private Inference</head><p>Existing approaches to reduce ReLU operations in neural networks for private inference focus on either redesigning models or optimizing architectures. SAFENet <ref type="bibr">Lou et al. (2021)</ref> achieves finer control by applying channel-wise substitutions and mixed-precision activations, measuring activation importance via l 1 normalization from preceding layers. CryptoNAS <ref type="bibr">Ghodsi et al. (2020)</ref> redesigns networks using evolutionary NAS to minimize ReLU operations, while Sphynx <ref type="bibr">Cho et al. (2022a)</ref> enhances this with differentiable NAS for more efficient privacy-preserving models. DeepReDuce Jha et al. ( <ref type="formula">2021</ref>) takes a manual approach, pruning redundant ReLU layers from standard models. Recent efforts <ref type="bibr">Cho et al. (2022b)</ref> also apply l 1 regularization to reduce ReLU operations, optimizing the trade-off between accuracy and non-linearity. However, these methods are sensitive to hyperparameters, often leading to suboptimal solutions and failing to meet specific ReLU budget targets. Furthermore, those works overlook the potentially different importances of ReLU operations across layers and only assign a global ReLU budget for the entire model.</p><p>SENet <ref type="bibr">Kundu et al. (2023)</ref>, on the other hand, designs a fine-grained, layerwise ReLU budget allocation strategy. Their method is based on a hypothesis that the importance of each activation layer is inversely correlated with the pruning sensitivity<ref type="foot">foot_0</ref> of its corresponding layer with weight and bias parameters. They then assign the ReLU budget by measuring the pruning sensitivity. However, this hypothesis is only based on their empirical observation in a small experiment of training ResNet18 on CIFAR-100. It is not convincing that this is a generalizable rule in other datasets and model variants without further verification. Furthermore, they define the importance of ReLU layers as the accuracy of retaining only one ReLU layer at a time and removing all others, which overlooks the natural interactions between different ReLU layers in a model. Shapley value provides a compelling alternative to measure layerwise ReLU importance rigorously and directly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Method</head><p>In this section, we introduce our PrivShap method for fine-granularity network linearization method that includes two parts. First, Sec. 3.1 introduces our method uses SV as indicators and tree-trimming method to allocate a ReLU budget across layers. Second, Sec. 3.2 introduces gradient-projection pruning to remove activations at a finer granularity. To better formulate the interactions and cooperation of different ReLU layers, we treat them as cooperative players and assess their averaged marginal contribution to preserving the inference accuracy. More formally, let N denote the set of all ReLU layers, S denote a coalition of ReLU layers (i.e., a subset of ReLU layers), and U denote the performance assessment function, specifically assessing the model accuracy of preserving only a coalition of ReLU layers and replacing all other ReLU layers as identity function<ref type="foot">foot_1</ref> . The Shapley value of the i-th ReLU layer is then defined as:</p><p>The Shapley value takes into account the interactions between the ReLU layers. As a simple example, suppose that two layers improve performance only if they are both present but harm performance if they are present individually, estimating their importance by preserving each of them at a time (as Kundu et al.</p><p>(2023) did) might give misleading results. Shapley value, on the other hand, considers all possible coalitions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Fine-grained ReLU importance Estimation</head><p>However, the exact SV measurement for the ReLU layers works for the model with a few layers. The computational complexity grows quickly as the model goes deeper, becoming prohibitively expensive even for ResNet-18. This is mainly due to an exponential number of coalitions S, and computing the marginal contribution for all of them is extremely time-consuming. Existing works have employed methods such as Figure <ref type="figure">1</ref>: The process of calculating the estimated shapley value of 3rd ReLU layer in a given example 5-ReLU layer model, the dashed branches are trimmed as the remaining accuracy below pre-defined threshold (&lt; 5%). Each iteration will generate one layer of child subsets with removing one element.</p><p>MCs and MAB algorithms to approximate the SV of data points or neurons once specific convergence criteria are met. Although MCs and MAB algorithms can provide approximate solutions, they do not eliminate the inherent computational burden associated with effectively estimating SV.</p><p>To avoid an exponential subset search space, the MCs and MAB first sample subsets of ReLU layers based on the given model architecture. After the candidate model architecture is determined, the model is trained via hundreds of epochs to converge on the given datasets. Then the layer-wise SVs are updated with the new model accuracy data point. Such a sampling process is repeated until the calculated SVs are converged or within a given small threshold, as shown in Fig. <ref type="figure">2</ref> left. Therefore, the sampling trials and heavy training process within each trials are inevitably leading to an unacceptably long training process.</p><p>To reduce heavy computational cost, we propose a tree-trimming method to estimate the SV of each ReLU layer, as shown in Fig. <ref type="figure">2</ref> right. Our method is based on an observation that all the ReLU layers have positive contributions to the total accuracy and there are few "free-riders" layers. An intuitive explanation for this is that even if ReLU operations at some certain pixels might be harmful to the model accuracy <ref type="bibr">Li et al. (2022)</ref>, an entire layer (i.e., a set of pixel-wise ReLU operations), can be less likely to have a negative contribution. This is also aligned with our empirical observation: the accuracy can plummet to a very low number even if only removing few ReLU layers from a trained model. This also makes such low accuracy model irreversible to high accuracy model by just adding one important activation layer. We start with a model trained in a standard, non-ReLU pruning manner. After the model is trained, we calculate the (approximated) SV for its i-th ReLU layer by building a tree, where each node denotes an inference. The root node represents all ReLU layers excluding the i-th one (i.e., N \ {i}), and each node represents a coalition of ReLU layers containing one fewer ReLU layer than its father node. At each node with the corresponding coalition S, we calculate the marginal contribution of the i-th layer to inference accuracy, denoted as U (S &#8746; {i}) -U (S). Importantly, we trim all the child nodes of S if U (S) is below a certain threshold, as the marginal contributions in these coalitions (i.e., child nodes of S) are even lower, resulting in a negligible perturbation of the SV. Figure <ref type="figure">1</ref> illustrates this trimming process, where the dashed nodes denote those trimmed. Since each ReLU layer makes similar contribution and those layers are minority in mainstream models, the valid nodes are bounded within very few iterations. Thus, we gain time efficiency by eliminating the heavy training and unbounded sampling trials, which makes our method suited for solving network linearization issue. The detailed runtime comparison is shown in Sec. 4.3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Preliminary Theoretical Analysis</head><p>To demonstrate the accuracy of our approximation, we provide a preliminary theoretical analysis. We aim to show that given a coalition of ReLU layers S where its utility U (S) is below a certain pruning threshold &#945;, pruning S and all its subsets will only have a negligible perturbation to the overall SV. We start with a natural observation that &#8704;S &#8242; &#8838; S and U (S) &#8804; &#945;, then the marginal gain satisfies U (S &#8242; &#8746; i) -U (S &#8242; ) &#8804; &#946;, where &#946; &#8810; &#945;. The perturbation caused by pruning S and all its subsets can be formulated as:</p><p>Even when pruning at the nodes close to higher level of the tree, this perturbation remains negligible, as &#946; is typically two orders of magnitude smaller than the pruning threshold &#945;.</p><p>Algorithm 1 Layer-wise ReLU importance Estimation Input: one-layer subsets N , the set of ReLU layers S, model M. Output: ReLU importance (SV) for each relu layer sv. 1: sv = 0 2: queue &#8592; init with &#8709; 3: subsets &#8592; generating all subsets of N &#9655; in elements descending order 4: queue &#8592; subsets 5: while queue is not &#8709; do 6: mask &#8592; pop the mask combination f rom queue 7: U _s &#8592; get accuracy of masked model 8: all_mask &#8592; add the candidate layer 9: U _si &#8592; get accuracy of all_masked model 10: if U _si &gt; threshold then 11: for child in f ind_subsets(mask) do &#9655; one element less subsets 12: if child not in queue then 13: queue.push(child) 14: end if 15: end for 16: end if 17: sv = sv + (U _si -U _s)/ N-1 |S| 18: end while 19: sv = sv/|S|</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Gradient-Projection Pruning Strategy</head><p>After obtaining the approximated SV for each ReLU layer, we normalize these values and multiply them by the total ReLU budget to get the layer-wise ReLU budget. To avoid conflicts, we ensure that the allocated budget does not exceed the number of pixel-wise ReLU operations that each layer can provide. We finetune the pre-trained standard model (i.e., all ReLU persevered) and prune ReLU layers during fine-tuning. Practically, we consider x i &#8712; R d&#215;m&#215;n to denote the feature map before the i-th ReLU layer, where d, m, n denote the number of channel, width and length, respectively. We attach a binary mask c i with the same shape as x i to the i-th ReLU layer. The output feature map of the masked ReLU layer can be formulated as</p><p>The masks at every layer are initialized as all-ones as we start with a standard model with all ReLU operation preserved.</p><p>Previous works, such as SNL, use the l 1 norm to increase the sparsity of c i , given as</p><p>, where W denotes the weights and C = {c 1 , c 2 , .., c b }, b denotes the total number of ReLU layers for a given model. However, it experience a significant drop in accuracy when targeting a low ReLU budget since the optimization goal has been shifted from improving accuracy to increasing sparsity. This causes model performance degradation. To address this, we propose a gradientprojection strategy, which remove the l 1 norm from the objective function and attach a pruning process after every gradient descent step. To be more specific, we calculate the gradient for c i , which yields a ranking of importance for the d &#215; m &#215; n pixel-wise ReLU operations on that layer, where a larger gradient magnitude indicates a higher importance of the ReLU operation at the corresponding location. Next, we retain the top-k important ReLU operations, where k is the layer-wise ReLU budget determined by the approximated Shapley value. The mask c i is updated accordingly, where pruned ReLU operations are set to 0 and others to 1. This strategy ensures that the layerwise ReLU budget is always met during the entire fine-tuning process. Moreover, the objective function is the sum of cross-entropy loss (to fit ground truth labels) and Kullback-Leibler (KL) divergence loss (to approximate the original model), which ensures the optimization is only focused on improving model performance. The overall pipeline is depicted in Fig. <ref type="figure">3</ref>. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Evaluation</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Experiment Setup</head><p>To evaluate our method and align with SOTA evaluation setting for clear comparison, we apply PrivShap to models such as ResNet18, ResNet34 with SiLU activation function, and WideResNet-22 in three benchmark datasets: CIFAR-10, CIFAR-100 and Tiny-ImageNet. CIFAR-10 and CIFAR-100 both have images with a resolution of 32&#215;32. CIFAR-10 contains 10 classes with 5,000 training images and 1,000 test images per class, whereas CIFAR-100 includes 100 classes, with 500 training images and 100 test images per class. Tiny-ImageNet has a larger image resolution of 64&#215;64 and consists of 200 classes, each with 500 training and 50 validation images. The experiments are conduct on two servers with an AMD EPYC 7413 24-core Processor 64GB RAM, under WAN (1 GBps, 1 ms latency) and LAN (300MBps, 5 ms latency).</p><p>We first train the all-ReLU (AR) models on CIFAR-10, CIFAR-100, and Tiny-ImageNet datasets using the SGD optimizer with an initial learning rate of 0.1, momentum of 0.9, and weight decay of 0.0005. The learning rate decays by a factor of 0.1 at 80 and 120 epochs for CIFAR-10/100, using a batch size of 256. For Tiny-ImageNet, we train for 200 epochs with the same hyperparameters. After this, we apply gradientprojection pruning for partial-ReLU (PR) models with a trimming threshold of 5% and an initial learning rate of 0.001 using the Adam optimizer. Finally, the ReLU masks are frozen and the model parameters are fine-tuned following the distillation process of <ref type="bibr">Kundu et al. (2023)</ref>.</p><p>We follow the latency measurement method of <ref type="bibr">Cho et al. (2022b)</ref> and break down the sources of latency into two categories: ciphertext linear operations and GC-based ReLU operations. As the SNL follows the DELPHI framework, the ciphertext linear computation is moved to offline and use BFV scheme for HE with default 4096-slots cryptographic parameter of SEAL library. We set 15 bit-length share for model and 31 bit share for ReLU protocol. For ReLU latency, the wall-clock time for 1000 ReLU operations is measured as t = 0.021 seconds per 1000 ReLUs. We compare our method with multiple baselines including SNL <ref type="bibr">Cho et al. (2022b)</ref>  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">PrivShap achieves better inference accuracy-efficency trade-off</head><p>To demonstrate our method to model performance and inference acceleration on pruned model, we compare our method with gradient-based ReLU pruning (SNL), ReLU budget allocation (SENet), and other SOTA, as shown in Fig. <ref type="figure">4</ref>. Our method achieves up to an 8.13% accuracy improvement over SENet on ResNet-34 in CIFAR-100 with a ReLU budget of 150k and 5.5% accuracy boost on 7k lower ReLU budget. On Tiny-ImageNet, we observe an improvement in accuracy of 3.1% to 4% in various ReLU budgets. For CIFAR-10, the accuracy gain is around 2%, likely due to the simpler 10-class classification task and high baseline accuracy.   <ref type="table">3</ref>. Our method also maintains higher accuracy at higher ReLU budgets (&gt; 100k) compared to other approaches, achieving around 3.2% more accuracy in ResNet-18 with CIFAR-100, shown in Table <ref type="table">2</ref>. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Tree-trimming algorithm outperforms other SV estimation methods</head><p>To evaluate the accuracy of our SV estimation using the tree-trimming algorithm, we compare the estimated values with the exact SV. Given the high computational complexity of exact SV calculation, we performed our experiments on a lightweight model, ResNet-9, which consists of eight ReLU layers, on the CIFAR-100 dataset. We use inference accuracy as the utility function and a threshold of 5% in tree-trimming estimation.</p><p>Table shows the estimated and exact SVs of all ReLU layers, which align with each other, achieving a Pearson correlation of 0.997. We compare with other SV estimation methods, including MC <ref type="bibr">Ghorbani &amp; Zou (2019)</ref> and <ref type="bibr">MAB Ghorbani &amp; Zou (2020)</ref>. They show slightly lower correlations.</p><p>Notably, both the exact and estimated SVs show a fluctuating importance trend on ReLU importance, and the last two ReLU layers appear to be the least important compared to the former ones. Previous works, such as SENet, SNL, and DeepReDuce, often assume a consistent trend of layerwise importance. These results are counterexamples, implying that these assumptions might be oversimplified and not able to generalize to different model architectures and downstream tasks.</p><p>Moreover, we evaluate the computational efficiency and the accuracy of pruned models using different SV estimation methods across various model architectures and datasets (Table <ref type="table">5</ref>). For fair comparison, the MCs and MAB methods calculate the approximated SV for each ReLU pixel in a single run and keep the top-k budget of ReLU pixels based on normalized SV importance. Results show that MC and MAB take 2&#215; to 4.7&#215; more wall-clock time (which denotes the sum of time of calculating the SV for each ReLU layer) than our tree-trimming method. Our method achieves 2.8% to 4.6% higher model accuracy, while only costing about half of the wall-clock time. All these results provide strong evidence that the tree-trimming algorithm we proposed outperforms other SV estimation methods in both accuracy and efficiency.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Trimming threshold sensitivity</head><p>As detailed in Sec. 3, our tree-trimming algorithm has a hyperparameter, the threshold for tree-trimming. We now discuss the sensitivity of this threshold. We estimate the SV per ReLu layer with trimming thresholds of 5%, 10%, and 15%, different thresholds on various models and datasets (See Figure <ref type="figure">5</ref><ref type="figure">6</ref><ref type="figure">7</ref><ref type="figure">8</ref>). In general, the estimated SVs show consistent trends across different thresholds.</p><p>Furthermore, we evaluated how this threshold affects the ultimate inference accuracy. With a 150k ReLU budget, we plot inference accuracy as a function of trimming threshold across different models and datasets in Fig. <ref type="figure">9</ref>. Not surprisingly, the inference accuracy drops with threshold increases, as a higher threshold leads to inaccurate SV estimation (see details in Sec. 3.1). However, the gradient is reasonably small between 5% and 20%, which implies that the model's performance remains stable if the trimming threshold is chosen from this range.     While lack of further experiments on larger model and more complex dataset, our method can be generalized to such scenarios as those models follow similar structure. 2) Our method can be sensitive to the threshold choice to make the optimized trade-off between estimation accuracy and estimation efficiency for specific models. The threshold choice and theoretical analysis remain to be explored in future study. 3) Our method can be limited to apply to linear layers pruning, since linear parameters increase exponentially in each layer and hard to mask out. We plan to explore such issue in future study.</p><p>Published in Transactions on Machine Learning Research (08/2025) Sergey Zagoruyko. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016. Kongshang Zhu, Jiuyun Xu, Liang Zhou, Xiaowen Li, Yingzhi Zhao, Xiangrui Xu, and Shibao Li. Dmaf: data-model anti-forgetting for federated incremental learning. Cluster Computing, 28(1):30, 2025.   </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.2">Evidence of Marginal Gain</head><p>To provide some evidence for U (S &#8242; &#8746; i) -U (S &#8242; ) &#8804; &#946;, where &#946; &#8810; &#945; in Section. 3.1, we sample 100 descendant subset's the marginal utility gain U (S &#8242; &#8746; i) -U (S &#8242; ) under an ancestor node that satisfies U (S) &lt; 5% for ResNet-9, 18, 34 models in CIFAR 100. The Fig. <ref type="figure">13</ref>, 15 and 17 show that the marginal utility can be smaller in two order of magnitude of U (S).      </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>Pruning sensitivity denotes the accuracy reduction caused by pruning a certain ratio of parameters from it<ref type="bibr">Ding et al. (2019)</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>All the layers with weight and biases are preserved</p></note>
		</body>
		</text>
</TEI>
