arXiv:2610.39688cs.CROct 2026

Manuscript Offprint

arXiv:2610.39688

Hardware-Aware Model Inversion in Memristive Spiking Neural Networks

Pablo Sorrentino, Fernando M. Quintana, Erika Covi, Fatih Turkmen

Pablo Sorrentino

University of Groningen

Groningen, The Netherlands

p.f.a.sorrentino@rug.nl

Fernando M. Quintana

Technical University of Munich

Munich, Germany

fernando.quintana@tum.de

Erika Covi

Technical University of Munich

Munich, Germany

erika.covi@tum.de

Fatih Turkmen

University of Groningen

Groningen, The Netherlands

f.turkmen@rug.nl

Abstract

Hardware-accelerated spiking neural networks (SNNs) implemented on memristive crossbar arrays offer significant gains in energy efficiency, while device variability and analog noise are sometimes assumed to hinder information extraction. However, whether these hardware effects improve, preserve, or degrade privacy after deployment remains largely unexplored. Therefore, we ask whether model-inversion leakage characterized on an SNN remains representative after the same model is mapped to a non-ideal memristive substrate, and how hardware non-idealities and reliability faults affecting synapses, neuron thresholds, and spike processing reshape that leakage. To study this problem, we introduce Spiking Domain Model Inversion (SDMI), an inversion method that combines Expectation over Transformation (EOT) with surrogate gradients to optimize inputs through stochastic analog behavior and non-differentiable spiking dynamics. We use SDMI consistently across the SNN model, its memristive SNN, and the same memristive SNN under additional hardware perturbations.

Across four datasets, reconstruction leakage does not vary monotonically with model accuracy or hardware variability. At comparable accuracy levels, neuron-threshold perturbations increase reconstruction fidelity, measured by SSIM, by up to 51.8%, whereas spike-level perturbations primarily degrade utility without consistently improving reconstruction. Weight noise, in contrast, reduces leakage under the same inversion procedure. These results show that hardware variability is not inherently privacy-preserving: model-inversion leakage in memristive SNNs depends on the hardware state and cannot be inferred from model accuracy alone.

Keywords

Spiking Neural Networks, Model Inversion, Memristive Computing, ReRAM, Neuromorphic Security, Privacy, Reliability