Manuscript Offprint

arXiv:2610.10909

Power Side-Channel Membership Inference Attack on Embedded Machine Learning

Sahan Sanjaya, Prabhat Mishra

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sahan Sanjaya, Student Member, IEEE and Prabhat Mishra, Fellow, IEEE

Abstract—Membership inference attacks (MIAs) threaten the privacy of machine learning (ML) training data by determining whether a sample was used to train a target model. Existing MIAs rely on model outputs, ranging from prediction probabilities to predicted labels, an assumption that can be restrictive for on-device ML systems with limited or inaccessible outputs. However, suppressing model outputs does not eliminate the data-dependent computations that produce them, which may remain observable through physical side channels.

We present PSCMIA, a power side-channel membership inference attack against embedded ML models that can infer membership directly from power traces without requiring prediction probabilities or even the predicted labels. We evaluate PSCMIA across multiple datasets (MNIST, FMNIST, CIFAR10, CINIC10), fully connected (FC) and convolutional neural network (CNN) architectures, and two embedded platforms (STM32F3, XMEGA). PSCMIA achieves ROC-AUC values of up to 0.907 on FC models. For CNN models, the ROC-AUC gap between PSCMIA and probability vector-based shadow MIA ranges from 0.006 to 0.116. Across the FC and CNN evaluations, PSCMIA outperforms label-only MIA in 11 of 16 model-dataset-hardware configurations, demonstrating that physical execution can expose membership information even when conventional model outputs are unavailable through unintended power side-channel leakage.

Index Terms—Membership Inference Attack, Power Side-channel, Hardware Security, Embedded Machine Learning.

I. INTRODUCTION

The rapid advancement of machine learning (ML) has enabled its adoption across a wide range of applications, including privacy-sensitive domains, such as healthcare, finance, and defense. Developing an ML model requires a training dataset, which may contain sensitive or confidential information. Although the training data are not exposed to users during inference, determining whether a particular sample was included in the training set can itself reveal sensitive information. This privacy risk has motivated the development of membership inference attacks (MIAs), which aim to determine whether a given sample was used to train a target model [1].

MIAs exploit the observation that an ML model may exhibit distinguishable behavior for training samples compared with previously unseen samples. Early MIAs commonly employed shadow models that approximate the behavior of the target model in an adversary-controlled environment, allowing the adversary to learn membership-dependent characteristics from model outputs. Subsequent work has demonstrated that membership information can be inferred from several output-derived properties, including the prediction probability vector, prediction confidence, entropy, prediction correctness, and distance to the decision boundary. As defenses have increasingly restricted access to detailed model outputs, MIA techniques have evolved from attacks requiring the complete prediction probability vector to more restrictive settings in which only the predicted label is available.

On-device inference is popular in embedded systems where ML models execute locally rather than relying on cloud-based inference services. Local execution reduces communication overhead and enables ML deployment in latency-sensitive and intermittently connected applications. However, deploying ML models on embedded devices introduces stringent constraints on memory, computation, and energy consumption. Embedded ML systems and resource-efficient inference frameworks such as TinyML [2] and BitNetMCU [3] address these constraints through compact model architectures, quantization, and optimized embedded implementations.

Embedded devices are well known to leak information through physical side-channels, including power consumption, electromagnetic emanations, timing, and acoustic signals. Although side-channel attacks were historically developed primarily to recover cryptographic secrets, recent studies have demonstrated that physical leakage can also reveal non-cryptographic information, including executed instructions, user activity, program behavior, and properties of ML computations [4]. In particular, power side-channel analysis of embedded ML implementations has been shown to expose information about model architectures, implementation parameters, and processed inputs. These observations raise an important question: Can the power side-channel generated during embedded ML inference reveal whether an input was part of the model's training set?

This question is particularly relevant for embedded ML systems because the assumptions underlying conventional output-based MIAs may not hold. An adversary targeting a remote ML service may obtain prediction probabilities, confidence scores, or at least the predicted label through an exposed inference interface. In contrast, an embedded ML model may expose only a restricted application-level output, or may not externally reveal the model prediction at all. Consequently, directly applying conventional output-based MIAs can be difficult or impossible in such settings.

Restricting access to the model output does not eliminate the underlying information exploited by MIAs. The prediction probability and other output-derived properties are not independent artifacts generated only at the inference interface. Rather, they arise from a sequence of data-dependent computations that modulate the instantaneous power consumption of the processor. We hypothesize that power traces collected

S. Sanjaya and P. Mishra are with the Department of Computer & Information Science & Engineering, University of Florida, USA. Email: {ssanjaya, prabhat}@ufl.edu.

during inference can retain membership-dependent information correlated with the internal computations that determine the model output, even when detailed model outputs are unavailable to the adversary.

In this paper, we investigate this hypothesis by introducing a power side-channel membership inference attack (PSCMIA) against embedded ML models. Instead of relying on prediction probabilities or confidence scores exposed by the model interface, the proposed attack extracts membership information directly from power traces collected during inference. Our results show that the power side-channel of an execution of an embedded ML model contains sufficient information to distinguish training members from non-members, establishing physically measured power traces as a new membership-inference channel for embedded ML systems.

Contributions. The main contributions are as follows:

• We introduce PSCMIA, a power side-channel membership inference attack for embedded ML that infers membership without access to prediction probabilities, confidence scores, or even the predicted label.

• We evaluate PSCMIA across multiple datasets, two model architectures, and two hardware platforms, and compare it with probability vector-based shadow MIA and label-only MIA. PSCMIA achieves ROC-AUC values of up to 0.9065, outperforming label-only MIA in most evaluated settings while approaching shadow MIA performance in several cases.

• We show that PSCMIA effectiveness correlates with target-model vulnerability to probability vector-based shadow MIA, with highly vulnerable models exhibiting stronger power side-channel membership leakage.

• We characterize membership-relevant leakage in inference-time power traces, showing that the traces expose information correlated with predicted class, correctness, confidence, and margin. We further localize stronger member/non-member separation near the final decision computations.

• We develop an end-to-end profiling-based attack framework that combines shadow-model profiling, leakage localization, feature extraction, and membership classification using power traces.

• We evaluate the impact of varying levels of target-model overfitting and prediction correctness on PSCMIA and attack model transferability across datasets.

To the best of our knowledge, this work presents the first MIA against embedded ML models that relies solely on physically measured power traces, without requiring access to any target-model outputs. The remainder of this paper is organized as follows. Section II provides relevant background and surveys related efforts. Section III describes the proposed attack methodology. Section IV outlines the experimental setup followed by the experimental results in Section V. Section VI discusses several limitations of the proposed attack. Finally, Section VII concludes the paper.

References (50)