GPU-Accelerated Secure Inference for Deep Neural Networks

Authors

  • Ekanta Kuruvilla Department of Computer Science, University of Alabama at Birmingham, Birmingham, AL, USA.
  • Asher Farland School of Computing, Clemson University, Clemson, SC, USA.
  • Aulikki Ojala Department of Computer Science, University of North Texas, Denton, TX, USA.
  • Willow Funnell Department of Computer Science, Colorado State University, Fort Collins, CO, USA.

Keywords:

secure inference; homomorphic encryption; secure multi-party computation; graphics processing units; privacy-preserving machine learning; system architecture; governance; sustainability

Abstract

GPU-accelerated secure inference for deep neural networks sits at the intersection of privacy-preserving cryptography, high-performance computing, and production machine learning infrastructure. The central promise is that a model provider or cloud operator can evaluate a neural network on sensitive client data without exposing either the input or the model weights in plaintext. Achieving this promise requires more than porting cryptographic primitives onto graphics processing units. It demands a system-level rethinking of dataflow, memory hierarchy, kernel orchestration, cryptographic preprocessing, deployment governance, and lifecycle sustainability. This paper examines the structural trade-offs that arise when secure inference is accelerated on GPUs. It reviews foundational secure computation approaches, including homomorphic encryption, secure multi-party computation, and hybrid protocols, and then analyzes how GPU parallelism changes the economics of privacy-preserving inference. Particular attention is given to bottlenecks in memory bandwidth, kernel launch overhead, nonlinear activation evaluation, and secure comparison. The paper also considers deployment architectures across cloud, edge, and hybrid environments, with implications for key management, attestation, multi-tenancy, and regulatory compliance. It argues that GPU-accelerated secure inference should be understood as a socio-technical infrastructure rather than a purely cryptographic optimization problem. Robustness, fairness, auditability, and environmental cost are therefore treated as first-order design concerns. The conclusion outlines an interdisciplinary research agenda that links hardware acceleration, protocol design, institutional governance, and equitable access to privacy-enhancing computation.

References

1. Rivest, R. L., Adleman, L., & Dertouzos, M. L. (1978). On data banks and privacy homomorphisms. In R. A. DeMillo, D. P. Dobkin, A. K. Jones, & R. J. Lipton (Eds.), Foundations of secure computation (pp. 169-180). Academic Press.

2. Yao, A. C. (1982). Protocols for secure computations. In 23rd Annual Symposium on Foundations of Computer Science (pp. 160-164). IEEE.

3. Goldreich, O., Micali, S., & Wigderson, A. (1987). How to play any mental game. In Proceedings of the 19th Annual ACM Symposium on Theory of Computing (pp. 218-229). ACM.

4. Gentry, C. (2009). Fully homomorphic encryption using ideal lattices. In Proceedings of the 41st Annual ACM Symposium on Theory of Computing (pp. 169-178). ACM.

5. Gilad-Bachrach, R., Dowlin, N., Laine, K., Lauter, K., Naehrig, M., & Wernsing, J. (2016). CryptoNets: Applying neural networks to encrypted data with high throughput and accuracy. In Proceedings of the 33rd International Conference on Machine Learning (Vol. 48, pp. 201-210). PMLR.

6. Liu, J., Juuti, M., Lu, Y., & Asokan, N. (2017). Oblivious neural network predictions via MiniONN transformations. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security (pp. 619-631). ACM.

7. Mohassel, P., & Zhang, Y. (2017). SecureML: A system for scalable privacy-preserving machine learning. In 2017 IEEE Symposium on Security and Privacy (pp. 19-38). IEEE.

8. Riazi, M. S., Weinert, C., Tkachenko, O., Songhori, E. M., Schneider, T., & Koushanfar, F. (2018). Chameleon: A hybrid secure computation framework for machine learning applications. In Proceedings of the 2018 on Asia Conference on Computer and Communications Security (pp. 707-721). ACM.

9. Juvekar, C., Vaikuntanathan, V., & Chandrakasan, A. (2018). GAZELLE: A low latency framework for secure neural network inference. In 27th USENIX Security Symposium (pp. 1651-1669). USENIX Association.

10. Mishra, P., Lehmkuhl, R., Srinivasan, A., Zheng, W., & Popa, R. A. (2020). Delphi: A cryptographic inference service for neural networks. In 29th USENIX Security Symposium (pp. 2505-2522). USENIX Association.

11. Rathee, D., Rathee, M., Kumar, N., Chandran, N., Gupta, D., Rastogi, A., & Sharma, R. (2020). CrypTFlow2: Practical 2-party secure inference. In Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security (pp. 325-342). ACM.

12. Knott, B., Venkataraman, S., Hannun, A., Sengupta, S., Ibrahim, M., & van der Maaten, L. (2021). CrypTen: Secure multi-party computation meets machine learning. In Advances in Neural Information Processing Systems (Vol. 34, pp. 4961-4973). Curran Associates.

13. Watson, J.-L., Wagh, S., & Popa, R. A. (2022). Piranha: A GPU platform for secure computation. In 31st USENIX Security Symposium (pp. 827-844). USENIX Association.

14. Keller, M. (2020). MP-SPDZ: A versatile framework for multi-party computation. In Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security (pp. 1575-1590). ACM.

15. Peng, H., Huang, S., Zhou, T., Luo, Y., Wang, C., Wang, Z., ... & Ding, C. (2023, October). Autorep: Automatic relu replacement for fast private network inference. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV) (pp. 5155-5165). IEEE.

16. Tan, S., Knott, B., Tian, Y., & Wu, D. J. (2021). CryptGPU: Fast privacy-preserving machine learning on the GPU. In 2021 IEEE Symposium on Security and Privacy (pp. 1021-1038). IEEE.

17. Wagh, S., Gupta, D., & Chandran, N. (2019). SecureNN: 3-party secure computation for neural network training. Proceedings on Privacy Enhancing Technologies, 2019(3), 26-49.

18. Patra, A., Schneider, T., Suresh, A., & Yadav, S. (2021). ABY2.0: Improved mixed-protocol secure two-party computation. In 30th USENIX Security Symposium (pp. 2165-2182). USENIX Association.

19. Dalskov, A., Escudero, D., & Keller, M. (2020). Secure evaluation of quantized neural networks. Proceedings on Privacy Enhancing Technologies, 2020(4), 355-375.

20. Kairouz, P., McMahan, H. B., Avent, B., Bellet, A., Bennis, M., Bhagoji, A. N., ... & Zhao, S. (2021). Advances and open problems in federated learning. Foundations and Trends in Machine Learning, 14(1-2), 1-210.

Downloads

Published

2026-11-10