Beyond TVLA: Anderson–Darling Leakage Assessment for Neural Network Side-Channel Leakage Detection
Ján Mikulec, Jakub Breier, Xiaolu Hou · 2026
Read Beyond TVLA: Anderson–Darling Leakage Assessment for Neural Network Side-Channel Leakage Detection by Ján Mikulec, Jakub Breier, Xiaolu Hou (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-18647.txt.
Introduction
Mikulec, Breier, and Hou propose ADLA, a leakage test that looks beyond mean shifts. Standard TVLA relies on a t-test, so it can miss leaks that change a distribution's shape. ADLA uses the two-sample Anderson-Darling test instead. The team derives a threshold that matches the usual TVLA significance level. On a shuffling-protected neural network, ADLA flags clearer and extra leak points. Power analysis at those points recovers a weight exponent byte despite shuffling. Distribution-sensitive tests can thus expose leaks that mean-based checks hide.
Catalog record
| CREATOR | Ján Mikulec, Jakub Breier, Xiaolu Hou |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 31969 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.18647
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Beyond TVLA: Anderson–Darling Leakage Assessment for Neural Network Side-Channel Leakage Detection Ján Mikulec, Jakub Breier, Xiaolu Hou Abstract Test Vector Leakage Assessment (TVLA) based on Welch’s t t -test has become a standard tool for detecting side-channel leakage. However, its mean-based nature can limit sensitivity when leakage manifests primarily through higher-order distributional differences. As our experiments show, this property becomes especially crucial when it comes to evaluating neural network implementations. In this work, we propose Anderson–Darling Leakage Assessment (ADLA), a leakage detection framework that applies the two-sample Anderson–Darling test for leakage detection. Unlike TVLA, ADLA tests equality of the full cumulative distribution functions and does not rely on a purely mean-shift model. We evaluate ADLA on a multilayer perceptron (MLP) trained on MNIST and implemented on a ChipWhisperer-Husky evaluation platform. We consider protected implementations employing shuffling and random jitter countermeasures. Our results show that ADLA can provide improved leakage-detection sensitivity in protected implementations for a low number of traces compared to TVLA. 1 Introduction The deployment of neural networks on embedded and edge platforms has accelerated rapidly, driven by applications ranging from vision and biometrics to industrial monitoring and automotive control. While these deployments enable low-latency inference close to the data source, they also expose implementations to physical attacks [ 1 ] . In particular, side-channel analysis (SCA) [ 3 ] can exploit data-dependent variations in power consumption or electromagnetic emanations to infer sensitive information about intermediate computations, model parameters, or user inputs. As a result, practical countermeasures such as masking [ 11 ] , shuffling [ 25 ] , and jitter-based techniques [ 5 ] are increasingly considered when implementing machine-learning workloads on constrained devices. A widely adopted first step in evaluating side-channel resistance is leakage assessment , which aims to determine whether data-dependent leakage is present without committing to a specific attack strategy [ 16 ] . The de facto standard methodology is Test Vector Leakage Assessment (TVLA) [ 12 ] . TVLA is attractive due to its simplicity and its well-established thresholding practice, however, it is fundamentally a mean-based test. When countermeasures reduce or hide mean shifts (e.g., through shuffling or desynchronization), leakage may persist in the form of higher-order distributional differences that are less visible to a purely mean-sensitive statistic. This motivates the development of complementary leakage assessment techniques that can detect discrepancies beyond the first moment. In this work, we propose Anderson–Darling Leakage Assessment (ADLA) , a leakage detection framework that leverages the two-sample Anderson–Darling test to compare leakage distributions arising from two controlled input conditions. In contrast to TVLA, which tests the equality of means, ADLA evaluates whether the two distributions share the same cumulative distribution function (CDF), thereby providing sensitivity to a broader class of leakage effects. We further derive an explicit decision threshold for ADLA to enable practical use in evaluation workflows. We validate ADLA on a neural-network inference implementation measured on a ChipWhisperer-based side-channel acquisition setup. We evaluate protected implementations employing shuffling and jitter. Our experiments show that ADLA detects leakage with substantially fewer traces than TVLA in this setting, including cases where TVLA remains below its detection threshold. These results indicate that distribution-sensitive assessment can be particularly valuable when countermeasures reduce mean-based leakage signatures. Contributions. This paper makes the following contributions: • We introduce ADLA, a leakage assessment method for neural-network implementations based on the two-sample Anderson–Darling test. • We derive a detection threshold for ADLA, enabling decision-making with a practical significance level to observe leakage. • We experimentally demonstrate that ADLA provides higher leakage-detection sensitivity than TVLA at low trace counts on protected implementations, improving time efficiency in practical evaluation campaigns. Practical relevance. From an evaluation perspective, improved sensitivity at low trace counts directly translates into shorter acquisition campaigns and reduced measurement cost. This is particularly beneficial for certification and testing laboratories, where throughput and time-to-result are critical and collecting very large trace sets may be impractical. 2 Related Work In this section, we review the background relevant to our work. We first introduce neural networks (Subsection 2.1 ), followed by an overview of side-channel analysis attacks on neural network implementations (Subsection 2.2 ). We then discuss existing countermeasures (Subsection 2.3 ) and conclude with a review of leakage assessment methodologies (Subsection 2.4 ). 2.1 Neural Networks Neural networks [ 13 ] are computational models composed of layers of interconnected neurons, whose behavior is governed by trainable parameters, typically weights and biases. During inference, these parameters, together with the chosen activation functions, determine the sequence of linear transformations and nonlinear mappings that produce the network output. A Multilayer Perceptron (MLP) is a fundamental class of feedforward neural networks consisting of an input layer, one or more hidden layers, and an output layer. Each neuron computes a weighted sum of its inputs, adds a bias term, and applies a nonlinear activation function. The network parameters are typically optimized via backpropagation [ 27 ] combined with gradient-based learning algorithms to minimize a task-specific loss function. In a standard fully connected MLP architecture, every neuron in a given layer is connected to all neurons in the subsequent layer. This dense connectivity enables the network to approximate nonlinear functions and makes MLPs suitable for a wide range of classification and regression tasks. 2.2 Side-channel Analysis Attacks on Neural Networks Side-channel analysis (SCA) attacks on neural network implementations typically assume a black-box setting in which the network architecture and model parameters are secret. The adversary observes physical side-channel information, so called side-channel leakages , such as timing behavior, power consumption, or electromagnetic (EM) emissions, during inference or training to gain information about the neural network. For example, differences in activation-function execution time may reveal the type of activation function used [ 3 ] , power/EM side-channel information can leak sensitive input information [ 2 ] , or expose internal architectural features such as layer types [ 33 ] . Of particular relevance to our work is the correlation power analysis (CPA) attack [ 3 , 25 , 18 ] , in which statistical correlation is computed between hypothetical intermediate values (derived from candidate secret parameters) and measured side-channel leakages. By identifying the parameter hypothesis that maximizes the statistical dependence with the observed leakage, an attacker can recover secret model parameters. Such attacks fundamentally rely on the data-dependency of physical leakages and the statistical distinguishability of the resulting distributions. 2.3 Countermeasures Against Side-Channel Analysis Attacks Several countermeasures have been proposed to mitigate SCA attacks on neural network implementations. Desynchronization-based techniques [ 5 ] introduce jitters to the computations to randomize execution time and reduce the effectiveness of timing-based attacks. Masking approaches [ 11 ] randomize intermediate computations to decrease the statistical dependence between the measured leakage and sensitive variables, and have been demonstrated for neural networks with integer weights to hinder correlation power analysis (CPA). However, applying masking across an entire network typically incurs substantial computational and implementation overhead. In this work, we adopt two countermeasures against CPA attacks: shuffling and random jitter. Shuffling randomizes the order of multiplications within a layer to disrupt CPA [ 22 ] , with subsequent work [ 25 ] protecting the shuffled index generation mechanism itself against SCA [ 6 ] . Random jitter introduces random delays into the