[Paper Review] LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference
LinGCN proposes a structured, node-wise linearization and teacher-guided polynomial replacement to reduce multiplication depth in CKKS-based encrypted GCN inference, achieving substantial latency speedups with competitive accuracy compared to CryptoGCN.
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.
Motivation & Objective
- Address privacy concerns in cloud-based GCN inference using Homomorphic Encryption (HE).
- Reduce multiplication depth and HE latency in STGCN-based models without large accuracy losses.
- Introduce a differentiable structural linearization method for node-wise non-linear location selection.
- Develop a teacher-guided, node-wise polynomial replacement to replace ReLU activations.
- Provide an optimized HE workflow with operator fusion to further save HE computation depth.
Proposed method
- Differentiable structural linearization with an auxiliary parameter h_w and a structural polarization algorithm to enforce synchronized, node-wise non-linear reduction (Algorithm 1).
- Learning objective combines accuracy loss with an L0 penalty on remaining non-linear operators, optimized via straight-through estimation (STE) for gradients (Eq. 3).
- Node-wise trainable polynomial activation σ_n(x)=c·w2·x^2 + w1·x + b with a two-stage distillation from a ReLU teacher model (Eq. 4, Eq. 5).
- Two-level distillation using a teacher ReLU model to guide the polynomial student, with KL-divergence and feature-map alignment terms in the loss (Eq. 5).
- Algorithm 2 describes the LinGCN workflow: pretrain ReLU teacher, iteratively learn structural linearization, freeze indicators, replace ReLU with polynomials, and finish with polynomial-training iterations.
- Enhanced HE workflow enabling finer-grained operator fusion by fusing plaintext polynomial weights into convolution layers to save multiplication depth (AMA packing and fusion flow).
- Demonstrate end-to-end viability on CKKS-based encrypted STGCN with NTU-XView data, including scalability tests on deeper models.
Experimental results
Research questions
- RQ1Can structural, node-wise linearization reduce multiplication depth in CKKS-based STGCN without significant accuracy loss?
- RQ2Does a teacher-guided, node-wise polynomial replacement outperform layer-wise polynomial strategies in private GCN inference?
- RQ3How much latency improvement can be achieved over CryptoGCN while maintaining acceptable accuracy on skeleton-based action recognition data?
- RQ4How scalable is LinGCN to deeper STGCN architectures under HE constraints?
Key findings
- LinGCN achieves up to 14.2x latency speedup over CryptoGCN at comparable accuracy (~75%).
- Structural linearization with node-wise, synchronized non-linear reduction maintains accuracy while reducing HE level consumption.
- Teacher-guided, node-wise polynomial replacement with distillation improves convergence and preserves or improves accuracy compared with layer-wise polynomial strategies.
- LinGCN demonstrates competitive accuracy and substantial latency reductions across STGCN-3-128, STGCN-3-256, and STGCN-6-256 configurations on NTU-XView, including up to 85.78% accuracy with 6371.39s latency on deeper models.
- The approach preserves accuracy under non-linear layer reductions and shows favorable Pareto frontiers relative to CryptoGCN across latency ranges.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.