Efficient and Encrypted Inference using Binarized Neural Networks within In-Memory Computing Architectures

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rajendran, Gokulnath, Deb, Suman, Chattopadhyay, Anupam
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912672029605888
author Rajendran, Gokulnath
Deb, Suman
Chattopadhyay, Anupam
author_facet Rajendran, Gokulnath
Deb, Suman
Chattopadhyay, Anupam
contents Binarized Neural Networks (BNNs) are a class of deep neural networks designed to utilize minimal computational resources, which drives their popularity across various applications. Recent studies highlight the potential of mapping BNN model parameters onto emerging non-volatile memory technologies, specifically using crossbar architectures, resulting in improved inference performance compared to traditional CMOS implementations. However, the common practice of protecting model parameters from theft attacks by storing them in an encrypted format and decrypting them at runtime introduces significant computational overhead, thus undermining the core principles of in-memory computing, which aim to integrate computation and storage. This paper presents a robust strategy for protecting BNN model parameters, particularly within in-memory computing frameworks. Our method utilizes a secret key derived from a physical unclonable function to transform model parameters prior to storage in the crossbar. Subsequently, the inference operations are performed on the encrypted weights, achieving a very special case of Fully Homomorphic Encryption (FHE) with minimal runtime overhead. Our analysis reveals that inference conducted without the secret key results in drastically diminished performance, with accuracy falling below 15%. These results validate the effectiveness of our protection strategy in securing BNNs within in-memory computing architectures while preserving computational efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2510_23034
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient and Encrypted Inference using Binarized Neural Networks within In-Memory Computing Architectures
Rajendran, Gokulnath
Deb, Suman
Chattopadhyay, Anupam
Cryptography and Security
Artificial Intelligence
Binarized Neural Networks (BNNs) are a class of deep neural networks designed to utilize minimal computational resources, which drives their popularity across various applications. Recent studies highlight the potential of mapping BNN model parameters onto emerging non-volatile memory technologies, specifically using crossbar architectures, resulting in improved inference performance compared to traditional CMOS implementations. However, the common practice of protecting model parameters from theft attacks by storing them in an encrypted format and decrypting them at runtime introduces significant computational overhead, thus undermining the core principles of in-memory computing, which aim to integrate computation and storage. This paper presents a robust strategy for protecting BNN model parameters, particularly within in-memory computing frameworks. Our method utilizes a secret key derived from a physical unclonable function to transform model parameters prior to storage in the crossbar. Subsequently, the inference operations are performed on the encrypted weights, achieving a very special case of Fully Homomorphic Encryption (FHE) with minimal runtime overhead. Our analysis reveals that inference conducted without the secret key results in drastically diminished performance, with accuracy falling below 15%. These results validate the effectiveness of our protection strategy in securing BNNs within in-memory computing architectures while preserving computational efficiency.
title Efficient and Encrypted Inference using Binarized Neural Networks within In-Memory Computing Architectures
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2510.23034