SpyKing-Privacy-preserving framework for Spiking Neural Networks.

Journal: Frontiers in neuroscience
Published Date:

Abstract

Artificial intelligence (AI) models, frequently built using deep neural networks (DNNs), have become integral to many aspects of modern life. However, the vast amount of data they process is not always secure, posing potential risks to privacy and safety. Fully Homomorphic Encryption (FHE) enables computations on encrypted data while preserving its confidentiality, making it a promising approach for privacy-preserving AI. This study evaluates the performance of FHE when applied to DNNs and compares it with Spiking Neural Networks (SNNs), which more closely resemble biological neurons and, under certain conditions, may achieve superior results. Using the SpyKing framework, we analyze key challenges in encrypted neural computations, particularly the limitations of FHE in handling non-linear operations. To ensure a comprehensive evaluation, we conducted experiments on the MNIST, FashionMNIST, and CIFAR10 datasets while systematically varying encryption parameters to optimize SNN performance. Our results show that FHE significantly increases computational costs but remains viable in terms of accuracy and data security. Furthermore, SNNs achieved up to 35% higher absolute accuracy than DNNs on encrypted data with low values of the plaintext modulus . These findings highlight the potential of SNNs in privacy-preserving AI and underscore the growing need for secure yet efficient neural computing solutions.

Authors

  • Farzad Nikfam
    Very Large Scale Integration Laboratory, Department of Electronics Engineering, Politecnico di Torino, Torino, Italy.
  • Alberto Marchisio
    eBrain Lab, Division of Engineering, New York University, Abu Dhabi, United Arab Emirates.
  • Maurizio Martina
  • Muhammad Shafique
    Faculty of Engineering and Applied Sciences, Riphah International University Islamabad, Islamabad 44000, Pakistan.

Keywords

No keywords available for this article.