LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference

The growth of Graph Convolution Network (GCN) model sizes has revolutionized numerous applications, surpassing human performance in areas such as personal healthcare and financial systems. The deployment of GCNs in the cloud raises privacy concerns due to potential adversarial attacks on client data. To address security concerns, Privacy-Preserving Machine Learning (PPML) using Homomorphic Encryption (HE) secures sensitive client data. However, it introduces substantial computational overhead in practical applications. To tackle those challenges, we present LinGCN, a framework designed to reduce multiplication depth and optimize the performance of HE based GCN inference. LinGCN is structured around three key elements: (1) A differentiable structural linearization algorithm, complemented by a parameterized discrete indicator function, co-trained with model weights to meet the optimization goal. This strategy promotes fine-grained node-level non-linear location selection, resulting in a model with minimized multiplication depth. (2) A compact node-wise polynomial replacement policy with a second-order trainable activation function, steered towards superior convergence by a two-level distillation approach from an all-ReLU based teacher model. (3) an enhanced HE solution that enables finer-grained operator fusion for node-wise activation functions, further reducing multiplication level consumption in HE-based inference. Our experiments on the NTU-XVIEW skeleton joint dataset reveal that LinGCN excels in latency, accuracy, and scalability for homomorphically encrypted inference, outperforming solutions such as CryptoGCN. Remarkably, LinGCN achieves a 14.2x latency speedup relative to CryptoGCN, while preserving an inference accuracy of 75% and notably reducing multiplication depth.

Paper

References (97)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer Y6MP6/10 · confidence 2/52023-07-04

Summary

The paper propose a novel framework called LinGCN, which reduces the multiplication depth and optimize the performance of Homomorphic Encryption based GCN inference. According to the evaluation results, LinGCN shows promising results in both latency speedup and inference accuracy over existing approaches.

Strengths

* The paper is well-written, with illustrative figures on the framework and evaluation results. * I'm not an expert in privacy-preserving computation, but the evaluation results seem promising to me. The proposed framework not only improves the latency speedup but also the inference accuracy. Behind the stage is their proposed differentiable structural linearization, which reduces the multiplication depth in the HE process.

Weaknesses

* The authors should better provide analytical results on the reduced computational cost and the utility loss. I mean although the intuition and the methodology design is convincing, some analytical statements may further support the empirical results. * The authors should also discuss how the security of the HE-based GCN inference process is influenced with the modified designs proposed in the paper.

Questions

See the weakness part above.

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

2: You are willing to defend your assessment, but it is quite likely that you did not understand the central parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

See the weakness part above.

Reviewer KG275/10 · confidence 5/52023-07-05

Summary

To improve the efficiency of HE-based PPML for GCN, in this paper, the authors propose LinGCN, an end-to-end framework for non-linear reduction and polynomial replacement. LinGCN features 3 key elements, including 1) a differentiable structural linearization algorithm, 2) a compact node-wise polynomial replacement policy, and 3) finer-grained operator fusion for node-wise activation functions. The authors demonstrate good improvement over the baseline CryptoGCN.

Strengths

1. The paper is well-written and the motivation is well-explained. 2. The authors demonstrate both higher accuracy and lower latency compared to the baseline CrypoGCN. 3. The ablation experiments is comprehensive.

Weaknesses

1. Only one dataset is shown in the paper. This makes it doubtful for how well the proposed techniques generalize to other datasets, e.g., Cora? 2. Similar techniques have all been proposed by previous method. For example, ReLU linearization and polynomial replacement are widely studied for CNN. The proposed fusion technique is also widely used in plaintext CNN inference. Although the synchronized linearization is unique for GCN, it still makes the proposed method incremental. 3. It is unclear why LinGCN demonstrates better accuracy compared to CryptoGCN. Although KD is helpful, more analysis needs to be provided.

Questions

1. What can LinGCN achieve better accuracy compared to CryptoGCN? What if similar distillation is leveraged for CryptoGCN as well? 2. How are the proposed linearization method different compared to those used for CNNs, like Selective Network Linearization (SNL), RRNet, etc. 3. How does the proposed method generalize to other datasets or tasks?

Rating

5: Borderline accept: Technically solid paper where reasons to accept outweigh reasons to reject, e.g., limited evaluation. Please use sparingly.

Confidence

5: You are absolutely certain about your assessment. You are very familiar with the related work and checked the math/other details carefully.

Soundness

2 fair

Presentation

3 good

Contribution

2 fair

Limitations

N/A

Authorsrebuttal2023-08-17

Dear Reviewer, May we kindly inquire if the responses have sufficiently addressed your concerns, or if further explanations or clarifications are needed? Your time and efforts in evaluating our work are greatly appreciated. Best

Reviewer KG272023-08-19

Thank the author for the clarification. My concern about the novelty of linearization is still not fully addressed. While methods like SNL or RRNet cannot help reduce the multiplication depth, the main reason is on their ReLU pruning pattern, not their methods. There are other papers, e.g., "Making Models Shallow Again: Jointly Learning to Reduce Non-Linearity and Depth for Latency-Efficient Private Inference", which simultaneously reduce the ReLU counts and the depth of the network. The advantages of the proposed method compare with these works are not very clear. Hence, I tend to keep my original score for the paper.

Authorsrebuttal2023-08-20

We very much appreciated your time and further insight and would like to provide our explanation as follows: First, thanks a lot for pointing us to the new reference [1]. However, we notice that [1] is available in arxiv on Apr 26th, and it was published in CVPR 2023 (Jun 18, 2023 – Jun 22, 2023), while this NeurIPS work was submitted on May 11th. Due to the short time, we are unable to (though we would like to) include the comparison with [1] during the paper submission and the rebuttal time right now. Also, according to **the Neurips 2023’s policy on comparisons to recent work**-*”Papers appearing less than **two months** before the submission deadline are generally considered concurrent to NeurIPS submissions. Authors are not expected to compare to work that appeared only a month or two before the deadline”*, [1] is considered as a concurrent work. Second, we would like to further emphasize the technique difference between ours and [1] and why our method outperforms these existing works like [1]: Work [1] removes the whole ReLU layer based on sensitivity to reduce the model depth, and focuses on MPC based PI acceleration. However, the sensitivity is obtained from the original full model, and may lead to inconsistency when nonlinear is aggressively pruned. In principle, the method used by [1] is similar to that of the CryptoGCN [2], of which the key is the nonlinear sensitivity checking and pruning. However, as our comparison results in Figure 1 (page 2) confirm, it is less effective than our LinGCN framework. This is because our LinGCN uses gradient based structural linearization (Section 3.2, page 4-5) with L0 regularization during the training phase, which is different from and also superior to the sensitivity checking based method. We sincerely hope those explanations address your concern. We could include the quantitative comparison and discussion in the updated version based on the reviewer’s further advice. [1] Making Models Shallow Again: Jointly Learning to Reduce Non-Linearity and Depth for Latency-Efficient Private Inference [2] CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference

Reviewer 6Lak5/10 · confidence 3/52023-07-07

Summary

LinGCN optimizes HE-based GCN inference by reducing multiplication levels through a differentiable structural linearization algorithm and a compact node-wise polynomial replacement policy, both guided by a two-level distillation from an all-ReLU teacher model. LinGCN also improves HE solutions for GCN private inference, enabling finer operator fusion for node-wise activation functions.

Strengths

1 Important and well-motivated problem 2 Experiments show a clear improvement in latency and accuracy compared to prior work.

Weaknesses

While the concepts of structural linearization and the replacement of ReLU with a polynomial function are not novel in themselves, their application to Graph Convolutional Networks (GCN) is noteworthy. However, it's important to mention that the degree of novelty in this approach is not particularly significant, given the pre-existing knowledge in this field.

Questions

The curves in Figure 1 is confusing. Why the blue curve encompasses a variety of points (red stars, orange dots, and blue dots)? Similarly, the black curve also exhibits this characteristic.

Rating

5: Borderline accept: Technically solid paper where reasons to accept outweigh reasons to reject, e.g., limited evaluation. Please use sparingly.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

The paper does not discuss the limitations of the current work nor does it discuss any negative societal impact. Concentrating solely on non-linear operations may not be sufficient for achieving PPML-efficient architectures. This is particularly true in light of emerging lighter cryptographic topologies for non-linear operations, such as those discussed in the following work: Huang, Zhicong, et al. "Cheetah: Lean and fast secure {two-party} deep neural network inference." 31st USENIX Security Symposium (USENIX Security 22). 2022.

Reviewer iVPr7/10 · confidence 4/52023-07-08

Summary

This study presents an approach for enhancing the efficiency of private inference ( using homomorphic encryption (HE)) in Spatiotemporal graph convolutional networks through fine-grained and structured pruning/dropping of non-linearity. The proposed method consists of two main steps. Firstly, ReLUs are eliminated by substituting them with identity/linear operations, reducing the multiplicative depth required for HE operations. Subsequently, the remaining non-linearities are replaced with HE-friendly quadratic activations.

Strengths

1. The idea of optimizing ReLUs with a fine-grained and structured approach is promising. Typically, fine-grained optimizations tend to lack structure, which can reduce the overall benefits of optimization. 2. The paper is well-structured and easy to understand. The proposed method is explained clearly and organized, making it accessible to readers. The authors provide detailed explanations and build a strong foundation for their approach, ensuring it can be easily grasped.

Weaknesses

**Limited novelty (compared to CryptoGCN)**: Compared to the CryptoGCN paper (NeurIPS'22), this paper demonstrates limited novelty. Both papers propose techniques to reduce the multiplicative depth in STGCN and replace ReLUs with quadratic activations. However, while CryptoGCN employs fine-tuning to recover the accuracy drop, this paper utilizes logit and feature-based distillation to address the accuracy drop resulting from the reduction in non-linearity. For a fair comparison, particularly regarding the improvement in accuracy, an ablation study should be included in the paper to demonstrate the benefits of logit-based knowledge distillation, feature-based knowledge distillation, and the combined usage of both techniques compared to CryptoGCN. **CKKS implementation is used rather than rotation-free HE** In this paper, the authors used the CKKS implementation of Homomorphic Encryption (HE), which incurs a significant total latency due to the rotation operations. The provided Table 2 in the Appendix demonstrates that **approximately 90%** of the total HE latency is consumed by rotation operation in the 12-STGCN-6-256 model. This highlights the inefficiency of the CKKS implementation for private inference, especially when considering the availability of rotation-free HE techniques [1] and their implementation in Microsoft-SEAL. **Minor corrections** As stated in lines #157 to #161, the optimizations implemented in SNL, DELPHI, and SAFENet are sub-optimal for achieving high efficiency in HE. It is important to note that these optimizations primarily aim to minimize the cost of non-linearity in Multi-Party Computation, under the assumption that intensive HE operations can be carried out offline. 1. Huang et al., "Cheetah: Lean and fast secure two-party deep neural network inference," USENIX Security 2022.

Questions

1. The sensitivity analysis (Figure 5) shows that ReLUs in the penultimate layers (layer 4) are highly effective, which aligns with similar findings in CNN studies like DeepReDuce (ICML'21) and SENet (ICLR'23). What does it imply about feature learning within CNNs vs GCNs? 2. Is the better accuracy of LINGCN over CryptoGCN only due to CryptoGCN's use of two-level Knowledge Distillation? Both these methods use second-degree polynomial activation (instead ReLUs). 3. Does the accuracy mentioned in the paper refer to floating-point accuracy (in plaintext) or fixed-point accuracy (after converting weights/biases and activation to fixed-point for operations in the ciphertext domain)? **Note** I am open to increasing the score if most concerns are addressed in the rebuttal.

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

4 excellent

Contribution

3 good

Limitations

Limitations are not discussed in the paper.

Reviewer iVPr2023-08-11

Rebuttal's response

Thank you for the rebuttal, and I acknowledge the Author's effort in producing results on the new dataset. I'm convinced with the ablation study presented in Figure 6c and Figure 6d, and it is evident that the accuracy benefits (over CryptoGCN) of the proposed method mainly stem from the (relatively) loss-less reduction to multiplicative depth. I have *only one question* about the study presented in Figure 5 (an extension to the previously asked Q1): What is Authro's intuition behind Layer 4's criticality being the highest? Figure 5 is a **good observation**; however, the Authors should have presented the **insights** for the same. In general, the semantic information presented in a layer of a network increases from the initial layer to the deeper layer, and the redundancy in features is higher in the deeper layer.

Authorsrebuttal2023-08-13

Insights and Intuition Behind Figure 5: Importance of Nonlinear Layers

We appreciate your thoughtful comments and your recognition of our efforts. The model in Figure 5 is STGCN (STGCN-3-256), with 3 STGCN layers and 6 nonlinear layers. The nonlinear layers 1-2 reside in the first STGCN layer. Nonlinear layers 3-4 reside in the second STGCN layer. Nonlinear layers 5-6 reside in the last STGCN layers. The STGCN layer employs the GCNConv operator to capture the relationships and information among the node neighbor features [1]. Unlike CNNs which may benefit from deeper layers in most cases, GCNs exhibit a performance limit of how many layers we can stack [1]. Too many stacked GCN layers may lead to node representations becoming too similar. The phenomena is called **over-smoothing** [1]. For GCNs with too deep layers, as each layer aggregates information from neighboring nodes, distant nodes start to influence each other, potentially resulting in loss of model expressiveness and diminished performance [1]. The over-smoothing problem might be exacerbated if nonlinear layers are extremely linearized. Intuitively, it is preferred to preserve nonlinearity for every several linearized GCN layers to prevent the over-smoothing effect from getting worse. In Figure 5, the 4th nonlinear layer is situated at the second (middle) STGCN layer of STGCN-3-256, which may be crucial for mitigating the over-smoothing problem associated with prior deep linearized STGCN layers. During the automatic structural linearization process, the gradient propagation is orchestrated to strike a **balance between two goals**: (i) preserving the feature structural information at the deeper layers, similar to techniques used in CNN based model (SNL[2], DeepReduce[3], and SENet[4]), and (ii) mitigating the **over-smoothing** effect resulting from the deep linearized GCN layers. Consequently, the middle layer's (nonlinear layer 4 in Figure 5) nonlinearity emerges as the most vital component within the STGCN architecture. This phenomenon is also observable in the STGCN-6-256 model nonlinear reduction result, where we observe that the 5th and 6th nonlinear layers (reside within the 3rd STGCN layer) are most important for the network's nonlinearity. We will incorporate this discussion and corresponding references into the final version. [1] Simple and Deep Graph Convolutional Networks, ICML, 2020 [2] Selective Network Linearization for Efficient Private Inference, ICML, 2022 [3] DeepReduce: ReLU Reduction for Fast Private Inference, ICML, 2021 [4] Learning to Linearize Deep Neural Networks for Secure and Efficient Private Inference, ICLR, 2023

Reviewer iVPr2023-08-14

Reply to Author's comment

Thank you for providing the intuition behind the importance of non-linear layers in STGCN. I would like to recommend that the Authors incorporate the following aspects in their subsequent paper iteration: 1) Criticality analysis of non-linear layers on STGCN-6-256. 2) Impact of two-layer KD on the importance of non-linear layers in STGCN. In particular, does the importance of non-linear layers remain the same or alter when employing two levels of KD? 3) A discussion on how the relevance of non-linear layers differs in GCN compared to CNN. Considering that both CNN and GCN's initial layers identify local patterns, why do non-linearities in early STGCN layers appear more crucial than in CNN layers (as shown in DeepReDuce, SNL, and SENet, Stage 1 non-linearity is least critical)? Does this suggest that local patterns captured by the early layers in GCN contribute more to the network's discriminative power compared to those in CNN? After considering the rebuttal and the subsequent discussion, I have raised the score to Accept.

Authorsrebuttal2023-08-14

We are grateful for your insightful remarks. We'll include prior discussions and address those further comments in the final version of the paper. Thank you for helping us improve the quality of the paper!

Reviewer Y6MP2023-08-20

Thank you for the rebuttal. I have read the comments and will keep my score.

Program Chairsdecision2023-09-21

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC