[Paper Review] CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference
CryptoGCN is a fast and scalable homomorphic encryption framework for privacy-preserving graph convolutional network (GCN) inference, leveraging adjacency matrix-aware (AMA) data formatting and sparsity-aware optimization to reduce homomorphic operations by 77.4% and achieve up to 3.10× speedup in latency with only 1–1.5% accuracy loss on the NTU-XVIEW dataset.
Recently cloud-based graph convolutional network (GCN) has demonstrated great success and potential in many privacy-sensitive applications such as personal healthcare and financial systems. Despite its high inference accuracy and performance on cloud, maintaining data privacy in GCN inference, which is of paramount importance to these practical applications, remains largely unexplored. In this paper, we take an initial attempt towards this and develop $ extit{CryptoGCN}$--a homomorphic encryption (HE) based GCN inference framework. A key to the success of our approach is to reduce the tremendous computational overhead for HE operations, which can be orders of magnitude higher than its counterparts in the plaintext space. To this end, we develop an approach that can effectively take advantage of the sparsity of matrix operations in GCN inference to significantly reduce the computational overhead. Specifically, we propose a novel AMA data formatting method and associated spatial convolution methods, which can exploit the complex graph structure and perform efficient matrix-matrix multiplication in HE computation and thus greatly reduce the HE operations. We also develop a co-optimization framework that can explore the trade offs among the accuracy, security level, and computational overhead by judicious pruning and polynomial approximation of activation module in GCNs. Based on the NTU-XVIEW skeleton joint dataset, i.e., the largest dataset evaluated homomorphically by far as we are aware of, our experimental results demonstrate that $ extit{CryptoGCN}$ outperforms state-of-the-art solutions in terms of the latency and number of homomorphic operations, i.e., achieving as much as a 3.10$ imes$ speedup on latency and reduces the total Homomorphic Operation Count by 77.4\% with a small accuracy loss of 1-1.5$\%$.
Motivation & Objective
- Address the critical challenge of high computational overhead in homomorphic encryption (HE)-based GCN inference, especially due to matrix multiplication in graph convolutions.
- Overcome the limitations of existing HE-optimized frameworks that are tailored for CNNs but ineffective for GCNs due to unique computation patterns.
- Reduce the number of homomorphic operations (HOC) and latency in GCN inference while maintaining acceptable accuracy and security levels.
- Enable private inference on large-scale, privacy-sensitive graph data—such as human action recognition datasets—using HE without compromising performance.
- Optimize the trade-off between security, accuracy, and computational cost through model pruning and polynomial approximation in activation modules.
Proposed method
- Propose a novel Adjacency Matrix-Aware (AMA) data formatting technique that reorganizes graph feature maps to exploit sparsity in GCN matrix operations and minimize homomorphic operations.
- Design a patterned sparse matrix partitioning strategy that aligns with the graph structure to reduce redundant HE operations during matrix-matrix multiplication.
- Integrate ciphertext packing via CKKS homomorphic encryption to maximize slot utilization and improve parallelism across mini-batches.
- Implement a co-optimization framework that balances accuracy, security level, and computational cost by pruning activation layers and approximating non-linear functions with low-degree polynomials.
- Leverage the inherent sparsity of spatial-temporal GCNs (e.g., ST-GCN) to avoid unnecessary homomorphic multiplications and additions in inner loops.
- Use batched encryption to process multiple samples in a single ciphertext, enhancing parallelism and reducing per-sample latency as batch size increases.
Experimental results
Research questions
- RQ1How can the computational overhead of homomorphic encryption in GCN inference be significantly reduced despite the high cost of HE operations?
- RQ2To what extent can sparsity in adjacency matrices and feature maps be exploited to minimize homomorphic operations in GCN layers?
- RQ3Can a custom data format like AMA outperform standard row-major formats in terms of HE operation count and inference latency for GCNs?
- RQ4What is the trade-off between model accuracy, security level, and computational cost when optimizing GCN architectures for HE-based inference?
- RQ5Can the proposed framework support large-scale GCN inference (e.g., on the NTU-XVIEW dataset) with orders-of-magnitude lower HE operation counts than prior work?
Key findings
- CryptoGCN reduces the total Homomorphic Operation Count (HOC) by 77.4% compared to state-of-the-art HE-based frameworks like CHET and Fast-HEAR on the 64-STGCN-3 model.
- The framework achieves a maximum 3.10× speedup in average latency when batch size increases from 1 to 16, demonstrating strong scalability.
- With batch size 16, CryptoGCN achieves an average latency of 908.45 seconds, compared to 45,179.33 seconds for row-major format, showing a 3.10× improvement.
- The AMA format reduces PMult and Add operations by 52.5%–66.2% in multi-channel convolutions by eliminating redundant inner-loop operations.
- Pruning one activation layer and using polynomial approximation reduces CMult operations by 40%–50%, further cutting computational cost.
- On the NTU-XVIEW dataset—largest evaluated homomorphically to date—CryptoGCN enables private inference with only 1–1.5% accuracy loss, demonstrating practical viability.
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.