Introduction
Graph Neural Networks (GNNs) have emerged as the state-of-the-art for analyzing relational data, such as social networks, recommendation systems, and chemical structures. However, the computational intensity of GNNs often necessitates outsourcing to cloud environments. This transition introduces significant privacy risks, as graph data is inherently "information-rich," exposing both individual node attributes and sensitive structural relationships.
While secure machine learning has advanced for regular data types like images (CNNs), these methods struggle with the irregular and sparse nature of graphs. A naive approach of encrypting a full adjacency matrix results in $O(N^2)$ complexity, which is computationally prohibitive for large networks. SecGNN addresses this by enabling both privacy-preserving training and inference for GNNs using optimized cryptographic protocols.
Methodology
SecGNN utilizes a three-server (3PC) model based on additive secret sharing. Data is partitioned into "shares" across three non-colluding cloud servers; no single server can reconstruct the original data, yet they can collectively perform computations.
System Workflow
The system is structured into several secure modules to handle the unique requirements of graph data:
- Custom Encrypted Data Structures: To avoid $O(N^2)$ complexity, SecGNN uses padded neighbor ID and edge weight lists. This reduces complexity to $O(N \cdot d_{max})$, protecting the node degree and structure.
- Secure Neighboring States Aggregation: A novel secure array access protocol allows servers to aggregate neighbor states without revealing which specific neighbors are being accessed.
- Iterative Approximations: Since standard cryptographic tools are inefficient for non-linear functions, SecGNN employs the Newton-Raphson algorithm to approximate division, square roots, and Softmax functions within the secret-sharing domain.
- Secure Convergence Evaluation: SecGNN includes a protocol to securely monitor model convergence, allowing training to stop at the optimal point without leaking the underlying loss values.
Experimental Evaluation
The system was evaluated on three standard benchmarks: Citeseer (3,327 nodes), Cora (2,708 nodes), and Pubmed (19,717 nodes). These datasets represent varying levels of sparsity and feature complexity typical in real-world applications.
Key Results
- Accuracy: SecGNN achieves accuracy nearly identical to plaintext training, with a maximum deviation of only 0.12%. On the Pubmed dataset, it matched the plaintext model's 78.6% accuracy exactly.
- Performance: In a LAN environment, training a two-layer GCN on the Cora dataset takes approximately 44 minutes. Secure inference for a single node ranges from 25 to 70 seconds depending on the dataset.
- Efficiency: The proposed array access protocol significantly outperforms prior state-of-the-art methods (e.g., BYK20) by reducing communication rounds and total data transfer.
Limitations and Future Work
SecGNN currently operates under a semi-honest threat model, assuming servers follow the protocol but may attempt to learn information. It does not yet protect against active adversaries who might intentionally corrupt the computation. Future work may explore the integration of Trusted Execution Environments (TEEs) like Intel SGX for hardware acceleration and Local Differential Privacy (LDP) to mitigate risks associated with potential server collusion.
Summary updated