Abstract
Compressed-TinyML pipelines apply distillation, quantization and pruning to fit lightweight anomaly detectors onto resource-constrained sensor nodes. Such frameworks are routinely called privacy-aware on the strength of on-device inference or noisy federated updates rather than any measured guarantee, yet that assumption is rarely tested with a membership-inference attack. Across six multivariate time-series datasets (sensor, facility and finance) and four compact reconstruction-autoencoder architectures (84 experimental cells), a detector accurate enough to deploy (detection AUC 0.878) is vulnerable to a reconstruction-error membership-inference attack (attack AUC 0.688; true-positive rate 0.074 at a 1% false-positive rate). A gradient-noise defense (gradient clipping with additive Gaussian noise) reduces measured leakage to near chance (attack AUC 0.508 as scored, 0.517 oriented away from chance, not exact chance; TPR cut 4.8-fold) at a utility cost of 0.054 in detection AUC (paired Cohen’s for the leakage drop, bootstrap 95% CI ), consistently across all datasets (one-sided paired Wilcoxon ), while the utility change is nominal (, ). Exported and executed as a real INT8 ONNX artifact, the model shrinks 3.2× but shows no evidence of improved privacy (mean leakage rises slightly; improvement test , worsening test , neither significant) and runs slower on average on a desktop CPU, so quantization is a storage optimization only. The primary attack is the loss-threshold attack; a shadow-model check on a subset reaches the same qualitative conclusion. The defense is not formal differential privacy, but the finding is clear: on-device processing does not imply privacy; the privacy of a compressed sensor detector must be measured, not assumed.
1. Introduction
Networks of temperature, vibration, current and flow sensors increasingly run anomaly detection on the device itself, close to where the data is produced, to cut latency and bandwidth and to avoid streaming raw telemetry to the cloud. Such telemetry can encode intimate operational and behavioral patterns, for example when a dwelling is occupied, how a patient moves, or when an industrial process is active, so security and privacy are recognized as first-order concerns for edge-computing-assisted IoT [1]. Against this backdrop, on-device processing is routinely presented as a privacy benefit in its own right: if the raw signal never leaves the node, the reasoning goes, privacy is preserved. Compressed-TinyML pipelines apply distillation, quantization and pruning to fit lightweight anomaly detectors onto resource-constrained sensor nodes [2,3]. Recent lightweight anomaly-detection frameworks make this argument explicitly, describing themselves as privacy-aware on the strength of on-device inference or noisy federated updates [4].
This reasoning has a gap that is rarely examined. A trained model is itself a function of its training data, so an adversary who can query it, or merely observe its anomaly scores, may recover which records it was trained on. Membership-inference attacks formalize exactly this threat [5,6]: given a data point and access to a model, the attacker decides whether that point was in the training set. For a sensor anomaly detector, the concern is concrete rather than abstract. The dominant on-device design is a reconstruction-based detector, the mainstay of unsupervised sensor anomaly detection [7,8], which scores a window by how poorly it reconstructs it; because training windows are reconstructed better than unseen ones [9], the very quantity the detector publishes, the reconstruction error that serves as its anomaly score, also functions as a membership signal.
Two considerations make this worth measuring now rather than taking on trust. First, a broad survey of TinyML security counts the published literature and concludes that fewer than 5% of TinyML publications address security at all, and fewer still address TinyML-specific vulnerabilities, calling this a critical gap as such devices proliferate [10]. Second, where privacy and compression have been studied together, the evidence comes from image models. Quantization-aware training has been reported as a membership-inference defense on image classifiers [11]. Post-training quantization of ResNet-scale vision models reduces leakage at 2-bit and 1.58-bit, while 4-bit PTQ is essentially leakage-neutral relative to full precision [12]. Neither line covers sensor time series, reconstruction-based anomaly detection, or the dynamic INT8 export path used for on-device deployment. The result is that lightweight sensor detectors are shipped with privacy asserted structurally but never measured.
This paper closes that gap with a controlled, reproducible measurement. Its contributions are as follows.
- On six multivariate time-series datasets (sensor, facility and finance) and four compact reconstruction-autoencoder architectures, a detector accurate enough to deploy (detection AUC 0.878) is at the same time vulnerable to a reconstruction-error membership-inference attack (attack AUC 0.688; true-positive rate 0.074 at 1% false-positive rate). On-device processing therefore does not, by itself, make the detector private.
- A gradient-noise mechanism reduces measured leakage to near chance (attack AUC 0.508 as scored, 0.517 oriented away from chance; TPR at 1% FPR cut 4.8-fold; leakage drop with paired Cohen’s , bootstrap 95% CI ) at a utility cost of 0.054 in detection AUC. The privacy reductions are consistent across all six datasets (), and the utility cost is a nominal one ( unadjusted, ; not significant after Bonferroni correction), aggregated at the dataset level. A clip-only control and a noise-multiplier sweep on a subset confirm that the reported point is not an isolated fortunate one.
- Exporting and executing real INT8 ONNX artifacts shrinks the model 3.2× but provides no evidence of improved membership privacy: mean attack AUC rises slightly, the one-sided improvement test is far from significant () and the one-sided worsening test is not significant (), so INT8 is leakage-neutral to slightly worse, with no demonstrated privacy benefit in the evaluated setting. It does not accelerate mean inference on the tested desktop CPU.
- The study covers the reconstruction-error (loss-threshold) membership attack, cross-checked with a pipeline-matched shadow-model attack on a subset, and a gradient-noise defense that is not formally differentially private, and deployment cost is reported as measured resource-envelope screening on a desktop CPU, not as demonstrated microcontroller execution.
The remainder of the paper is organized as follows. Section 2 reviews on-device anomaly detection, membership inference, privacy under compression, and benchmark reliability, and positions the gap. Section 3 describes the detectors, the attack, the gradient-noise defense, the edge-deployment measurement, and the evaluation protocol, including the safeguards that make a membership measurement trustworthy. Section 4 details the datasets and the functional-detector selection criterion. Section 5 reports the privacy–utility–cost results. Section 6 discusses implications and threats to validity, and Section 7 concludes.
2. Related Work
Prior work is organized here along four axes, namely on-device anomaly detection, membership inference and its measurement, privacy under model compression, and benchmark reliability, against which this study is then positioned.
2.1. On-Device and Reconstruction-Based Anomaly Detection
Reconstruction-based detectors, namely autoencoders and their recurrent and convolutional variants, are the mainstay of unsupervised multivariate sensor anomaly detection: a model is trained to reconstruct normal windows and flags any window whose reconstruction error is high [7,8]. The broader field also spans graph-based and embedding-based multivariate detectors [13,14] and is the subject of several recent reviews and comprehensive evaluations [15,16,17]. Their appeal on the edge is threefold: they need no anomaly labels, they are compact enough to compress onto a microcontroller, and they emit a single scalar score per window. Recent industrial-edge frameworks push this further by distilling and quantizing such detectors for deployment on constrained hardware and, in doing so, describe themselves as privacy-aware [4]. The property that makes these detectors practical, namely exposing reconstruction error as the anomaly score, is precisely the property that turns them into a membership oracle: because a model reconstructs its training windows better than unseen ones, the score it publishes is also a membership signal. This is the reconstruction analog of the observation that generative models leak membership through the quality of what they produce [18].
2.2. Membership Inference and Its Measurement
Membership-inference attacks decide whether a specific record was in a model’s training set [5], and range from black-box shadow-model attacks to white-box attacks that exploit gradients and internal activations [19]; the threat is now well surveyed and its mechanisms catalogued [20]. The leakage is closely tied to overfitting and the generalization gap [9], and it has been demonstrated even in machine-learning-as-a-service settings where the adversary sees only query outputs [21]. Two methodological points shape the evaluation in this paper. First, Carlini et al. [6] showed that average-case metrics such as AUC systematically understate privacy risk: an attack that confidently identifies even a handful of training records at a low false-positive rate is a genuine breach, so the true-positive rate at a fixed low false-positive rate is the metric that matters. TPR at a 1% false-positive rate is therefore reported alongside AUC throughout, and the former is treated as primary. Second, a membership measurement is only trustworthy if members and non-members are otherwise exchangeable; if the two sets differ for any reason other than training membership, an attack can separate them without learning anything about memorization. This condition is enforced and verified explicitly (Section 3), a safeguard often left implicit.
2.3. Privacy Under Model Compression
Whether compression helps or harms privacy depends on the operator, the bit-width and the domain. Quantization-aware training has been proposed as a membership-inference defense on image classifiers, on the grounds that reduced numerical precision perturbs the memorized signal [11]. Zhang et al. [12] study a different operator—algorithmic post-training quantization (AdaRound, BRECQ, OBC) of ResNet-scale vision models—and evaluate it with LiRA at 4-bit, 2-bit and 1.58-bit. Their 4-bit models are essentially leakage-neutral relative to full precision, with accuracy preserved; 2-bit and especially 1.58-bit PTQ then reduce membership leakage, at a growing utility cost. The two lines are not opposed, but they are produced by different regimes: Famili and Lao apply quantization during training, so the model adapts to reduced precision, and their reported leakage reductions appear already at 8-bit (though the effect is architecture-dependent); Zhang’s algorithmic PTQ edits a trained model after the fact and is leakage-neutral at the deployment-realistic 4-bit width. Neither setting is the post-training dynamic INT8 export this study executes. Crucially, all of this evidence is drawn from image classifiers with standard integer quantization [22], one technique among the many compression and quantization methods surveyed for efficient inference [2,3]; none of it covers sensor time series, reconstruction-based anomaly detection, or the dynamic INT8 ONNX export path used for on-device deployment. The present study measures that missing case. The principled defense against membership leakage is differentially private training via gradient clipping and noise addition [23], grounded in the formal guarantees of differential privacy [24] and supported by current practical guidance for training under a differential-privacy budget and for evaluating the resulting guarantee [25,26], but its utility cost on the tiny reconstruction models used at the sensor edge has not been characterized. This study measures both the compression–privacy interaction and a gradient-noise defense directly in the sensor-anomaly-detection setting that the existing literature omits.
2.4. Benchmark Reliability and Evaluation
Time-series anomaly-detection benchmarks have been shown to be flawed and to create an illusion of progress, with many popular datasets solvable by trivial one-line rules [27]. This has motivated curated replacements with corrected labels and realistic anomaly assumptions [28], from which the datasets used here are drawn. Because the privacy of a detector that cannot actually detect is meaningless, dataset inclusion is additionally gated on a held-out functional-detector criterion (Section 4), so that every reported leakage measurement is made on a detector that genuinely works.
2.5. Positioning
Table 1 summarizes how this study relates to the closest prior work. The pattern is consistent: privacy in the compressed-edge setting is either claimed structurally (from on-device processing or noisy updates) without an attack-based measurement, or measured but only on image models and without the edge-deployment cost that a sensor node must pay. To the best of current knowledge, no prior work jointly (i) measures membership leakage of a functional sensor anomaly detector with a low-FPR metric, (ii) quantifies the privacy–utility cost of a defense on that detector, and (iii) reports the measured edge-deployment cost of the same artifact.
Table 1.
Positioning against the closest prior work. Priv. measured? = privacy quantified with an actual attack (vs. asserted structurally); Compr.? = model compression studied; Defense? = a privacy defense evaluated; Edge cost? = deployment cost (size/latency) measured on a real artifact. ✓ yes, ✗ no, ∼ partial.
3. Method
This study measures three quantities for one on-device detector under four deployment configurations: how well it detects (utility), how much it leaks about its training data (privacy), and what it costs to deploy (cost). This section defines the detector families (Section 3.1), the membership split and the safeguard that makes a membership measurement trustworthy (Section 3.2), the attack and its low-FPR metric (Section 3.3), the gradient-noise defense (Section 3.4), the real INT8 edge measurement (Section 3.5), and the resource-envelope screening (Section 3.6). Figure 1 overviews the pipeline.
Figure 1.
Overview of the measurement pipeline. Each sensor stream is cut into non-overlapping windows and split into members (used to train the detector) and held-out non-members, after an exchangeability guard rejects any split that is distinguishable before training. Each detector—trained with or without the gradient-noise defense—is then scored on three axes: detection utility on held-out labeled windows, membership privacy via the loss-threshold attack, and deployment cost via a real executed INT8 ONNX artifact. Results populate the privacy–utility–cost table.
3.1. Detector Families and Training
A detector consumes a length-L window of C standardized sensor channels () and outputs a reconstruction . Its anomaly score is the mean squared reconstruction error
so a window that reconstructs poorly is flagged as anomalous. Four compact reconstruction-autoencoder families are studied, spanning the architectural choices made at the sensor edge: a fully connected autoencoder (Dense), a 1-D convolutional autoencoder (Conv), a recurrent autoencoder (LSTM), and a causal dilated temporal convolutional autoencoder (TCN). Causality in the TCN is enforced with left-only padding, so no output at time t depends on an input after t; this is verified in code. All families share a hidden width of 64, a code dimension of 16, and ReLU activations on feed-forward and convolutional layers (LSTM gates use the framework default tanh/sigmoid). Parameter counts range from (Conv on the narrowest stream) to (Dense on the widest); Table 2 gives the layer recipe, kernel, dilation and the observed parameter range. Each detector is trained by Adam on the mean squared error of Equation (1) over normal windows only, which is both the standard reconstruction-detector recipe and, as explained next, a necessary confound control.
Table 2.
Architecture details shared by every cell. Hidden width , code dimension 16, window . Parameter ranges are over the six datasets (after dropping constant channels). LSTM parameters follow the PyTorch convention (two bias vectors per gate).
An anomalous window reconstructs poorly regardless of whether the model trained on it. If the member and non-member sets carried different fractions of anomalies, their mean error would differ for reasons unrelated to memorization, and a membership attack would score that difference. Both training and the membership evaluation are therefore restricted to normal windows, so that any residual error difference between members and non-members reflects memorization rather than anomaly content. Detection utility, in contrast, is measured on the full label-bearing window set where anomalies belong.
3.2. Membership Split and Its Exchangeability Safeguard
A membership-inference measurement is meaningful only if members and non-members are exchangeable: identically distributed, differing solely in whether the detector was trained on them. Each stream is cut into non-overlapping windows, so that no raw sample appears in two windows and therefore never on both sides of the split, and whole windows are assigned to the member and non-member sets uniformly at random. Random assignment of i.i.d.-treated windows makes the two sets exchangeable by construction.
This is not merely assumed but tested. Before any attack, a random-forest classifier is trained to separate members from non-members using only summary statistics of the raw windows over 200 label permutations, and its cross-validated AUC is standardized against the label-permuted null. If the absolute standardized score exceeds 3 (; a classifier significantly below is equally distinguishable after score reversal), that is, the two sets are distinguishable from the raw data before any detector exists, the split is declared leaky and the cell is discarded, because any subsequent “leakage” would merely be that distributional difference. This guard is run for every cell and any cell that fails it is discarded before training. A related preprocessing hazard is a channel that is constant over the training window (e.g., a binary actuator that never toggles): dividing by its near-zero standard deviation amplifies held-out variation by orders of magnitude. The standardizer detects and drops such channels rather than amplifying them.
3.3. Attack and Metric
Because a reconstruction detector reconstructs its training windows better than unseen ones, the reconstruction error of Equation (1) is itself a membership signal. The loss-threshold attack assigns each window a membership score , since members are expected to have lower error, and no auxiliary data or shadow models are required, which matches the realistic threat in which an adversary observes only the published anomaly score. This is a black-box, score-only threat: the attacker does not see weights or gradients and does not train shadow models for the main grid. A stronger adversary with auxiliary data could train shadow models (calibrated likelihood-ratio attack) or, with white-box access, exploit gradients [6,19]. Those stronger calibrated black-box or white-box attacks may reveal additional leakage in either the undefended or defended detector that the loss-threshold attack does not capture. We therefore cross-check the gradient-noise near-chance result with a shadow-model attack on a subset (Section 5). The attack is evaluated in two ways. Its area under the ROC curve (AUC) summarizes average-case separability. More importantly, following Carlini et al. [6], the true-positive rate at a fixed false-positive rate (TPR@FPR) is reported, the regime in which confident identification of individual training records constitutes a real breach, and this low-FPR figure is treated as the primary privacy metric. TPR at FPR is reported as supplementary evidence only: 24 of 84 cells have fewer than 1000 non-members, so that threshold is ROC-interpolated rather than directly resolved. For each cell, a null control is also computed, with the same metrics on random scores, so that a small TPR@FPR can be read against what noise produces at that sample size. The entire attack path is validated with a positive control: on a model constructed to memorize a tiny training set, the attack recovers membership at AUC , confirming that the implemented attack can detect strong planted memorization; it does not rule out leakage detectable by stronger attacks.
3.4. Gradient-Noise Defense
As a practical, low-overhead defense, training uses the DP-SGD-style mechanism of per-example gradient clipping followed by additive Gaussian noise [23]: each per-sample gradient of a batch of size B is clipped to an norm bound , and Gaussian noise is added to their sum, yielding the noisy update
with clip and noise multiplier as the main-grid operating point. Clipping is genuinely per-example (implemented with microbatches), not per-batch. The main-grid defense applies clipping and noise together, so a sensitivity sweep on a three-dataset, two-architecture subset reports three arms: the undefended baseline (no clip, no noise), clip-only (, ), and clip plus . That separates the regularizer from the noise and lets the reported trade-off be read as a curve rather than a single point (Section 5).
This is deliberately called a gradient-noise defense, not differential privacy. It has no privacy accountant, uses shuffling rather than Poisson subsampling, and therefore carries no guarantee. Its effect on attack success is measured directly, and that measured effect, not a formal bound, is what this paper reports.
3.5. Executed INT8 Edge-Deployment Measurement
The deployment-cost measurement follows the standard integer-quantized edge-deployment path [22]. Each trained detector is exported to ONNX and quantized to INT8, and both the FP32 and the dynamically quantized graphs are executed in ONNX Runtime, a production edge-inference runtime, rather than merely inspected. Dynamic quantization yields a mixed-precision graph—integer operators (MatMulInteger, ConvInteger, DynamicQuantizeLSTM) where the runtime supports them, floating-point elsewhere (e.g., ConvTranspose)—so “INT8” denotes the standard dynamic-INT8 export path rather than a uniformly 8-bit graph. Artifact size is the on-disk byte count of the real exported file; latency is the median of single-sample, single-threaded, batch-one inferences, which is how a sensor node scores one window at a time. Crucially, utility and privacy for the INT8 configuration are computed from errors produced by the executed dynamically quantized graph, not copied from the FP32 model, so any effect of quantization on either axis is genuinely measured.
3.6. Resource-Envelope Criteria
To place the measured cost in a deployment context, each artifact is screened against three representative device classes: an MCU-tiny (64 kB flash, 20 kB SRAM, ≤10 ms), an MCU-mid (512 kB, 128 kB, ≤5 ms) and an MPU-edge class (8 MB, 1 MB, ≤2 ms). On such hardware, the binding constraint is on-chip memory rather than arithmetic: contemporary surveys of microcontroller-class deployment report that the available SRAM and flash, not arithmetic throughput, are what determine whether a model fits at all [29]. Flash is therefore checked against the real INT8 artifact size, SRAM against the largest single intermediate activation tensor measured by forward hooks (a lower bound on peak working memory), and latency against the measured batch-one figure. This is termed resource-envelope screening: it establishes which artifacts pass a device class on size and activation-memory lower bound, treating desktop-measured latency as indicative only (deadline compliance requires on-target validation). It is not a demonstration of on-microcontroller execution, and is not presented as one; on-target profiling of true peak SRAM and energy is future work.
Algorithm 1 states the per-cell measurement procedure exactly as implemented. For one (dataset, architecture, seed) cell, it builds an exchangeable member/non-member split, trains the base and gradient-noise detectors, and returns the three axes for all four deployment configurations. The base and clip-and-noise detectors are trained separately and differ only in whether the update of Equation (2) is used; each INT8 configuration is the executed quantized artifact of that run’s weights, so INT8 is never a third training. Algorithm 2 is the end-to-end evaluation around that cell: dataset gating, the 84-cell grid, aggregation, the sweep and the shadow-model check.
Across all cells, utility, privacy and cost are aggregated to the dataset level (seeds averaged within a dataset) and compared with one-sided paired Wilcoxon signed-rank tests, so that datasets, not correlated seeds, are the units of replication (Section 5).
| Algorithm 1 Per-cell privacy–utility–cost measurement. |
|
| Algorithm 2 End-to-end privacy–utility–cost evaluation. |
|
4. Experimental Setup
4.1. Datasets and the Functional-Detector Gate
Multivariate time-series streams are drawn from the curated TSB-AD-M benchmark [28], which corrects the labeling and triviality problems of earlier collections [27]. Because the privacy of a detector that cannot detect is meaningless, a dataset is admitted only if the base detector is genuinely functional on it, using a held-out functional-detector gate: for each candidate, a probe detector is trained and its detection AUC measured on held-out non-member windows, keeping datasets with AUC . Candidate streams are additionally de-duplicated by MD5, since the source benchmark contains byte-identical recordings that would otherwise inflate the apparent evidence. The gate yields six datasets spanning sensor, facility and finance domains, with 9 to 37 channels (Table 3); the excluded low-utility streams (e.g., two GHL and one LTDB series with AUC –) are reported for transparency. Gating on functional detectors is the scientifically relevant population—privacy of a detector that cannot detect is moot—but it is a selection: streams on which a reconstruction autoencoder already fits well may also be those on which it memorizes more. The reported leakage should therefore be read as applying to deployable detectors, not to every sensor stream. The three excluded series are those on which the probe detector itself fails (AUC –). An additional compression-study run on two of them (GHL, LTDB) shows only weak membership signal (attack AUC –), so the gate did not hide a private-but-functional detector; it dropped detectors that fail the task. Two screening details are stated for transparency. First, candidates are pre-filtered before the probe (20,000–400,000 rows, ≥3 channels, ≥800 windows, at most two series per source, MD5 de-duplicated, capped at 16), so the gate inspects ten candidate series rather than every TSB-AD-M stream; all probe utilities are persisted with the results. Second, the probe is evaluated on the seed-0 held-out partition, which also contributes to the reported seed-0 results; inclusion is therefore partly selected on an evaluation set. The margin between admitted (≥0.74) and excluded (≤0.61) probe utilities makes it unlikely that an independent gate would change the admitted set, although reported utility remains conditional on this selection.
Table 3.
The six datasets admitted by the held-out functional-detector gate (base detection AUC ). Channels are after dropping constant channels; is the number of normal member windows; is the held-out non-member normal windows, reported as the mean over seeds (and, for CATSv2, over its two series), rounded to the nearest window. Base utility is the mean detection AUC of the uncompressed detector.
4.2. Design and Protocol
Each detector consumes length-64 windows and is trained for 200 epochs with Adam (learning rate ) on 200 normal member windows, a hidden width of 64 and a code dimension of 16. The gradient-noise defense uses clip and noise multiplier . Training uses batch size 64 without drop-last; with the final batch holds eight windows and, because the noise is divided by the actual batch size, that batch receives a heavier-noise update; the drop-last control in Section 5 shows this does not drive the defense effect. The six datasets contribute seven evaluation series (CATSv2 provides two disjoint series); every (series, architecture, seed) combination is run for the four families of Section 3.1 and three seeds, giving cells. Within each cell, the base detector and the clip-and-noise detector are trained separately; each INT8 configuration is the executed quantized artifact of that run’s weights, not a third training. Results are aggregated to the dataset level and tested as described in Section 5. All randomness is seeded, and all dataset MD5 checksums are recorded, so the study reproduces exactly. The exchangeability guard was recomputed for every (series, seed) split in the main grid: all 21 splits pass (maximum , on one SWaT seed), none is discarded.
ONNX size and latency are measured on a desktop AMD Ryzen 5 5500GT (6 cores/12 threads, Ubuntu 24.04.4 LTS) running ONNX Runtime 1.27.0 with the CPUExecutionProvider, intra_op_num_threads=1 and inter_op_num_threads=1, PyTorch 2.5.1 (CPU), ONNX 1.22.0 and Python 3.12.3. Each latency figure is the median of 120 single-sample inferences after 30 warmup runs. This is the same integer-graph runtime class as TFLite/LiteRT; it is not on-microcontroller execution.
5. Results
Table 4 is the paper’s central object: the four deployment configurations scored on utility, privacy and cost, averaged over the six datasets. Three findings follow, each tested at the dataset level () with one-sided paired Wilcoxon signed-rank tests. The two privacy tests (attack AUC and TPR@1%FPR) and the utility-cost test are treated as one family of three primary comparisons; under a Bonferroni correction at the per-test threshold is , which the two privacy results () clear. With only paired samples, the smallest attainable one-sided p is , so a significant Wilcoxon result means only that all six datasets point in the same direction, not that an effect size has been tightly estimated. Alongside each p-value, we therefore report the paired mean difference with a dataset-resampled bootstrap 95% confidence interval (20,000 replicates) and paired Cohen’s d. Error bars in Figure 2 show one standard deviation across cells within each dataset, pooling architecture, seed and, for CATSv2, series variability. Unless noted otherwise, error bars in subsequent figures show one standard deviation across the six dataset-level means, within each architecture where applicable. These bars describe spread, not confidence intervals.
Table 4.
Privacy–utility–cost of the four deployment configurations, mean ± sample SD (ddof = 1) over six datasets (the unit of replication). Utility: detection AUC on held-out labeled windows (higher is better). Attack AUC and TPR@1%FPR: membership-inference success (lower is safer; chance is and ). Size/Latency: real executed ONNX artifact. The gradient-noise rows differ from base only in the defense; the INT8 rows are the executed quantized artifacts of the same weights. Bold attack-AUC and TPR@1%FPR values mark the gradient-noise defense.
Figure 2.
Membership leakage before and after the gradient-noise defense, per dataset. (a) Attack AUC; (b) true-positive rate at a false-positive rate (the primary low-FPR privacy metric). Bars are dataset-level means; error bars are one standard deviation across cells (architecture × seed). Hatched bars (base) versus dotted bars (defense) are color-independent. The defense reduces both metrics to near-chance levels on every dataset; dashed lines indicate the exact chance reference rates.
The uncompressed detector detects well (utility 0.878) yet is vulnerable: the reconstruction-error attack reaches AUC 0.688 and, more tellingly, a true-positive rate of 0.074 at a false-positive rate, roughly seven times the chance rate of . Leakage is present on every dataset (Figure 2a). Ranked by the primary low-FPR metric, the most exposed is CreditCard (TPR@FPR ; dataset-level attack AUC ), with an individual Dense cell reaching AUC ; ranked by attack AUC the highest is PSM (). The -FPR figure is fully resolvable in every cell and is treated as primary. At a false-positive rate the dataset-level mean true-positive rate is still chance (Figure 3), but that operating point is supplementary: 24 of 84 cells (the 12 Exathlon cells plus the 12 cells of the shorter CATSv2 series, ) have too few non-members to resolve FPR exactly and are ROC-interpolated there. On-device processing does not make the detector private.
Figure 3.
True-positive rate at three false-positive rates (log scale, mean ± SD over six datasets). The -FPR point is fully resolvable in every cell and is the primary metric; at FPR, 24 of 84 cells have too few non-members to resolve the threshold exactly and are ROC-interpolated, so that bar is supplementary. The gradient-noise defense returns leakage to near chance at every operating point that can be read directly.
The gradient-noise defense drives measured leakage to near chance on every dataset: mean attack AUC falls to 0.508 (a drop of 0.181, bootstrap 95% CI , paired Cohen’s ) and TPR@1%FPR to 0.016, a 4.8-fold reduction (Figure 2; TPR difference , 95% CI , ). The privacy reductions are consistent across all six datasets, with one-sided paired Wilcoxon for both attack AUC and TPR@1%FPR—the smallest p attainable at , i.e., every dataset moves in the same direction. This safety costs 0.054 AUC of detection utility (a nominal reduction, unadjusted, 95% CI , ; not significant after Bonferroni correction). Figure 4 shows the effect directly: every dataset moves downward to near-chance leakage; detection utility decreases on five datasets and is essentially unchanged on Exathlon. The effect is not an average artifact: across all 84 cells the base attack AUC spans – (seven cells sit near chance, all of them LSTM or a modest-leakage Exathlon/GECCO seed) while gradient-noise cells concentrate near chance (range –; Figure 5). As scored, 29 of 84 defended cells fall below ; orienting each AUC away from chance—the conservative reading, since an adversary could flip the score—gives a defended dataset-level mean of 0.517, still near chance.
Figure 4.
Privacy–utility trade-off. Each arrow runs from a dataset’s base detector (orange) to its gradient-noise counterpart (blue). Defended attack AUCs lie near the exact chance reference line at AUC = 0.5. Detection utility decreases on five datasets and is essentially unchanged on Exathlon.
Figure 5.
Distribution of the membership attack AUC over all 84 cells. Base leakage is broad and often large (seven cells sit near chance); under the clip-and-noise defense, cells concentrate near chance (range –), showing the protection is not an averaging artifact. Horizontal bars are means.
Figure 6 breaks the result down by architecture. All four families leak in the base configuration (attack AUC –) and all four are driven to near chance by the defense, so protection is consistent across all four evaluated architectures. What differs is the price: the recurrent (LSTM) and convolutional (Conv) detectors retain and of their utility under the defense, against for the dilated-convolutional (TCN) detector, while the fully connected (Dense) detector, though it retains , is about three times larger ( KB INT8 vs. KB for Conv). This is reported as a utility- and size-efficiency ranking, not a single multi-objective optimum.
Figure 6.
Per-architecture breakdown. (a) All families leak in the base configuration, and all are driven to near chance by the defense—protection is consistent across all four evaluated architectures. Error bars are one SD across the six datasets. (b) Utility retained under the defense, with INT8 artifact size labeled; recurrent and convolutional detectors are the most utility- and size-efficient. Hatch patterns distinguish conditions independently of color.
Figure 7 contrasts the FP32 and INT8 artifacts. INT8 shrinks the model 3.2× on average (mean 329 KB → 102 KB; Dense , LSTM , TCN , Conv only , so the headline ratio is Dense-dominated) with a negligible utility change ( AUC). It gives no evidence of a privacy improvement: mean attack AUC in fact rises, from 0.688 to (paired difference , 95% CI , ). The one-sided Wilcoxon test for an INT8 improvement is far from significant (); the test for INT8 leaking more than FP32 gives (marginal, not significant at ) and the two-sided test , so INT8 is best read as leakage-neutral to slightly worse, with no demonstrated privacy benefit in the evaluated setting. That reading is consistent with Zhang et al.’s 4-bit PTQ result on image CNNs [12]—the closest bit-width they report to the INT8 export used here—and does not contradict their finding that 2-bit and -bit PTQ do reduce leakage, because those widths are outside this deployment path. Most datasets sit on the FP32 equality line, and none fall clearly below it (Figure 8); on Exathlon leakage rises substantially, from to . That dataset-level jump is seed-dependent rather than a stable property of the stream: seed 0 moves Conv and TCN , seed 1 moves both part-way, and seed 2 is almost unchanged ( Conv, TCN). Exathlon also has the smallest evaluation set of the six datasets (mean over seeds, versus 1048–2711 for the others; only the shorter CATSv2 series, at 765, is smaller) and the easiest detection task (utility ). One possible explanation is that quantization perturbs the ordering of member and non-member reconstruction errors on Exathlon; the mechanism underlying this seed-dependent increase was not separately tested. The threshold is fully resolvable at this . On the tested CPU, INT8 is in fact slower on average: median batch-one latency rises from to ms (dataset-level SD; Figure 7b). The rise is driven by the Conv and TCN families, where the INT8–FP32 gap exceeds the within-architecture SD. Dense and LSTM run slightly faster under INT8, but that gain is more than offset by Conv and especially TCN, so quantization does not accelerate the mean artifact and its only reliable benefit here is storage.
Figure 7.
Edge-deployment cost. (a) Artifact size (log scale) against the MCU-tiny and MCU-mid flash envelopes; INT8 shrinks models on average (Dense , Conv only ) but Dense, LSTM and TCN exceed the 64 kB class, while only Conv partially fits it. (b) Batch-one latency: INT8 is slower than FP32 on average. Error bars are one SD across datasets; the dataset-level slowdown is driven by Conv and TCN, while Dense and LSTM are slightly faster under INT8.
Figure 8.
INT8 quantization does not reduce membership leakage: most datasets’ attack AUCs under the executed INT8 artifacts lie near the FP32 equality line, with no dataset showing a meaningful reduction, while Exathlon rises substantially (from to ). Quantization is a storage optimization, not a privacy mechanism.
5.1. Resource-Envelope Screening
Against the three device classes of Section 3.6, all 84 INT8 artifacts pass the MCU-mid (512 kB) and MPU-edge screening on size and activation-memory lower bound; desktop-measured latencies clear the class deadlines but are indicative only, since deadline compliance on MCU silicon requires on-target validation. Only 12 of 84 pass the MCU-tiny 64 kB-flash size bound: Dense artifacts (∼196 kB) and the larger LSTM/TCN artifacts exceed 64 kB, so only Conv cells partially clear that envelope (Figure 7a and Figure 9). This is envelope screening: it establishes feasibility on the measured axes and does not substitute for on-microcontroller profiling of true peak SRAM and energy.
Figure 9.
Resource-envelope screening: percentage of INT8 artifacts (per architecture) that fit each device class on size, activation-memory lower bound and desktop-measured latency. All architectures pass the MCU-mid and MPU-edge size/memory screening (desktop latency indicative only); only the Conv detector partially passes the 64 kB MCU-tiny class.
5.2. Noise-Multiplier Sensitivity and a Second Attack
The main-grid defense uses a single hyperparameter point , which applies per-example clipping and Gaussian noise together. To test whether that point is an isolated fortunate one, a three-dataset subset (CreditCard, PSM, Exathlon) and two architectures (Conv, Dense), seed 0, was evaluated in three arms: the undefended baseline (no clip, no noise); clip-only (, ); and clip plus . The resulting privacy–utility curves (Figure 10) show a consistent pattern. On CreditCard and PSM, leakage reaches near chance by – (CreditCard Dense: attack AUC ; PSM Dense: ). On Exathlon, where undefended Conv already leaks only modestly (), residual leakage sits near ; Dense drops from to . Further noise beyond yields little additional privacy; on PSM Conv it does cost utility ( drops detection AUC from to ). Clip-only (, ) leaves leakage essentially unchanged relative to the undefended baseline on every subset cell (CreditCard Dense ; PSM Dense ; Conv cells move by at most ), so the drop to near chance requires the Gaussian noise, not the clip. A drop-last control (batch 64, skipping the eight-window final batch) repeats the pattern on the subset (undefended attack AUC –; defended –), so the defense effect is not an artifact of the small final batch’s heavier noise. The reported point therefore sits on the flat, low measured-leakage region of the curve rather than at a fragile operating point, and it is not the strongest noise level we tested.
Figure 10.
Clip-and-noise sweep on a three-dataset, two-architecture subset: undefended, clip-only (triangles; , ), and with clip held at 1. Each polyline is one (dataset, architecture) pair; markers distinguish Conv (circles) from Dense (squares). On CreditCard and PSM, leakage reaches near chance by –; Exathlon Dense drops from to . The main-grid point lies on the near-chance attack-AUC plateau rather than at a fragile operating point. Color encodes the dataset and is redundant with the point labels.
A smaller subset (CreditCard and PSM, Conv, seed 0) was re-attacked with a pipeline-matched shadow-model likelihood-ratio attack (four shadows, Gaussian fit in log-error space, shadows trained with the same defense and the same budget as the victim; Table 5). Both attacks agree on AUC: the undefended detector leaks (CreditCard vs. ; PSM vs. ), and gradient noise at returns both attacks to near-chance AUC (–). In this subset, the shadow attack also yields near-chance defended AUCs, supporting the loss-threshold AUC finding. This limited cross-check provides supporting evidence that the observed near-chance AUC is not solely due to the use of an uncalibrated loss score. Four shadows are a modest calibration budget; a larger LiRA-style attack could still raise the undefended numbers, and stronger attacks could still reveal residual leakage not captured by the present evaluation.
Table 5.
Loss-threshold versus pipeline-matched shadow attack (Conv, seed 0, four shadows). Attack AUC (TPR@FPR in parentheses). Chance is ().
6. Discussion
6.1. On-Device Processing Does Not Ensure Privacy, and Mitigation Is Low-Cost
The principal result corrects a common assumption. A sensor anomaly detector that never transmits raw data can still disclose which windows it was trained on: its published anomaly score is a membership signal, and on the six datasets studied that signal is readily recovered (attack AUC 0.688; TPR 0.074 at the primary 1% false-positive rate, approximately seven times the chance rate). Data locality is therefore not, by itself, a privacy property. Equally important, the mitigation is inexpensive: adding gradient clipping and noise during training reduces measured leakage to near chance, not exact chance, on every dataset under the evaluated attacks, for a utility cost of 0.054 in detection AUC, and it does so without any change to the deployed artifact: the defended detector exports and executes exactly as the undefended one. The privacy cost is incurred at training time rather than at inference time, which is favorable for a resource-constrained node.
6.2. Privacy Should Be Measured, Not Inferred from Compression
The second point is methodological. Compression is frequently entangled with privacy claims, either as an assumed benefit or as an assumed harm, yet on sensor detectors, INT8 quantization is simply orthogonal to membership leakage: the executed INT8 artifact leaks as much as its FP32 source (Figure 8). That is consistent with Zhang et al.’s 4-bit PTQ result on image CNNs [12] and does not conflict with their 2-bit/-bit reductions, which use a different operator (AdaRound/BRECQ/OBC rather than dynamic INT8 export), a different domain (classification CNNs rather than reconstruction autoencoders), and bit-widths this study does not ship. Quantization earns its place in this system for what it actually does, a storage reduction, not for a privacy property it does not have. More broadly, the privacy of a compressed edge model should be measured with an attack, as done here, rather than inferred from the compression scheme or from data locality.
6.3. Alignment with Industry Standards
The gap quantified here is exactly the one that emerging IoT security and privacy standards ask practitioners to close, which is why measuring it matters beyond the laboratory. Baseline consumer-IoT security requirements such as ETSI EN 303 645 [36] and the foundational device-cybersecurity activities of NIST IR 8259 [37] call for data protection to be demonstrated rather than asserted, and ISO/IEC 27400:2022, the IoT security-and-privacy guidelines, frames privacy risk as something to be identified and treated over the device life cycle [38]. A detector whose anomaly scores leak training membership is a concrete, previously unmeasured instance of such a risk. Under a data-protection regime like Regulation (EU) 2016/679 (GDPR) [39], which remains the applicable framework, recoverable membership is empirical evidence that training records can be singled out, in the sense of Recital 26. The EDPB has stated that whether an AI model trained on personal data is itself personal data is a case-by-case question of identifiability, including identifiability via attacks [40]; the CJEU likewise treats identifiability as turning on all means reasonably likely to be used, not on the data being anonymous on its face [41]. Demonstrating a successful membership-inference attack therefore supports, but does not by itself constitute, a legal determination that the trained detector is personal data or that a controller has disclosed personal data. The leakage reported here is a technical finding that such a determination may need to consider. Finally, the defense evaluated here is the empirical, gradient-noise form of the mechanism that NIST SP 800-226 treats as the basis for a formal differential-privacy guarantee [26]; this study measures its effect directly but stops short of the accountant-backed statement that the standard prescribes, which is an explicit next step toward standards-conformant privacy, discussed below. Table 6 maps each instrument to the specific provision this measurement speaks to and to how this study addresses it; every provision cited was checked against the primary source.
Table 6.
Alignment of the measured-privacy approach with IoT security and data-protection standards. Each row names the standard, the specific provision most relevant to model-level membership leakage (verified against the primary document), what it requires, and how this study addresses it. NIST IR 8259r1 (Apr. 2026) supersedes the withdrawn 2020 edition.
6.4. Threats to Validity
Attack: (a) The evaluated threat is the reconstruction-error (loss-threshold) membership attack, which matches what a deployed detector actually exposes. (b) Stronger shadow-model and white-box attacks [6,19] could narrow the apparent safety margin of the undefended detector; they cannot create privacy that the loss-threshold attack has already broken. (c) A pipeline-matched shadow-model check on a two-dataset subset (Section 5) is included so that the gradient-noise “near-chance” result is not carried by a single attack. Stronger attacks could still reveal residual leakage not captured by the present evaluation. (d) The positive control (planted memorization recovered at AUC ) establishes only that the attack path is sound, not that no stronger attack exists. Defense: (a) The gradient-noise mechanism is not formally differentially private: it has no privacy accountant and uses shuffling rather than Poisson subsampling, so no claim is made and only measured attack success is reported. (b) A single point is used for the primary comparison; a subset sweep over the undefended, clip-only and four clip-plus-noise () arms (Section 5) is reported so that this point can be read on a curve. Cost: (a) Deployment cost is resource-envelope screening on a desktop CPU (AMD Ryzen 5 5500GT, ONNX Runtime 1.27.0, single-thread CPUExecutionProvider), using real artifact size, an activation-memory lower bound, and measured batch-one latency. (b) This is not on-microcontroller execution; true peak SRAM and energy on target silicon are future work. Scope of data: (a) Six datasets, admitted by a stated functional-detector gate, support dataset-level significance but not a claim of universality. (b) The gate selects deployable detectors and may enrich for streams that a reconstruction model fits—and therefore might memorize—well; it should not be read as a random sample of all sensor time series. (c) With , Wilcoxon is the smallest attainable one-sided value and is reported together with bootstrap CIs and paired Cohen’s d rather than as a powered effect-size estimate. (d) The effect’s consistency across domains (sensor, facility, finance) is nonetheless notable.
7. Conclusions
Lightweight sensor anomaly detectors are increasingly shipped as privacy-aware on the strength of on-device processing, yet that claim is rarely tested. This paper tested it. Across six multivariate time-series datasets spanning sensor, facility and finance domains and four compact reconstruction-autoencoder architectures, a detector accurate enough to deploy leaks membership through its anomaly scores (attack AUC 0.688, and a true-positive rate of 0.074, roughly seven times chance, at a false-positive rate), so on-device processing does not by itself confer privacy. Those datasets were admitted by a held-out functional-detector gate, so the conclusions concern functional reconstruction detectors rather than an ungated sample of all sensor streams. A gradient-noise defense reduces measured leakage to near chance on every dataset (attack AUC → 0.508 as scored, 0.517 oriented away from chance, not exact chance; one-sided paired Wilcoxon , the smallest one-sided value attainable at ) for a utility cost of 0.054 in detection AUC. INT8 edge quantization shrinks the artifact but shows no demonstrated privacy benefit and increases mean inference latency on the tested desktop CPU; its demonstrated overall benefit in this evaluation is reduced storage.
The practical recommendation follows directly: treat the privacy of a compressed on-device detector as something to be measured with an attack and defended at training time, not inferred from data locality or from the compression recipe. The resource-envelope analysis is screening based on desktop measurements of artifact size, an activation-memory lower bound, and indicative latency; it is not evidence of actual microcontroller execution. The clearest next steps are to extend the evaluation to stronger, shadow-model and white-box attacks that could still reveal residual leakage not captured here, to replace the empirical gradient-noise defense with an accountant-backed differentially private mechanism carrying an guarantee, and to confirm the resource-envelope screening with on-target microcontroller profiling of peak memory and energy.
Author Contributions
M.S.P., conceptualization, methodology, software, data curation, writing—original draft; A.K. (Aman Kataria), formal analysis, investigation, project administration, writing—review and editing; S.R. and A.K. (Aditi Kataria), validation, writing—review and editing; V.P., validation, visualization, writing—review and editing. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable. This study did not involve humans or animals; all experiments were conducted on publicly available benchmark datasets.
Informed Consent Statement
Not applicable.
Data Availability Statement
No new datasets were generated. All time-series streams are from the public TSB-AD-M benchmark [28] (https://github.com/TheDatumOrg/TSB-AD (accessed on 1 September 2026)), drawn from the datasets listed in Table 3 and verified by recorded MD5 checksums. The measurement protocol is stated as Algorithms 1 and 2. An independent reader with TSB-AD-M on disk can regenerate the reported measurements by following Algorithm 2.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Alwarafy, A.; Al-Thelaya, K.A.; Abdallah, M.; Schneider, J.; Hamdi, M. A Survey on Security and Privacy Issues in Edge-Computing-Assisted Internet of Things. IEEE Internet Things J. 2021, 8, 4004–4022. [Google Scholar] [CrossRef] [Scilit]
- Deng, L.; Li, G.; Han, S.; Shi, L.; Xie, Y. Model Compression and Hardware Acceleration for Neural Networks: A Comprehensive Survey. Proc. IEEE 2020, 108, 485–532. [Google Scholar] [CrossRef] [Scilit]
- Gholami, A.; Kim, S.; Dong, Z.; Yao, Z.; Mahoney, M.W.; Keutzer, K. A Survey of Quantization Methods for Efficient Neural Network Inference. In Low-Power Computer Vision; Chapman and Hall/CRC: Boca Raton, FL, USA, 2022; pp. 291–326. [Google Scholar] [CrossRef] [Scilit]
- Sun, Y.; Qin, Y.; Chen, W.; Zhao, W.; Sun, H. EPC-TinyAD: An Energy- and Privacy-Aware Compressed TinyML Framework for Reliable Industrial Anomaly Detection on Resource-Constrained Edge Devices. Electronics 2026, 15, 2879. [Google Scholar] [CrossRef] [Scilit]
- Shokri, R.; Stronati, M.; Song, C.; Shmatikov, V. Membership Inference Attacks Against Machine Learning Models. In Proceedings of the 2017 IEEE Symposium on Security and Privacy (SP); IEEE: Piscataway, NJ, USA, 2017; pp. 3–18. [Google Scholar] [CrossRef] [Scilit]
- Carlini, N.; Chien, S.; Nasr, M.; Song, S.; Terzis, A.; Tramer, F. Membership Inference Attacks From First Principles. In Proceedings of the 2022 IEEE Symposium on Security and Privacy (SP); IEEE: Piscataway, NJ, USA, 2022; pp. 1897–1914. [Google Scholar] [CrossRef] [Scilit]
- Su, Y.; Zhao, Y.; Niu, C.; Liu, R.; Sun, W.; Pei, D. Robust Anomaly Detection for Multivariate Time Series through Stochastic Recurrent Neural Network. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2019; pp. 2828–2837. [Google Scholar] [CrossRef] [Scilit]
- Audibert, J.; Michiardi, P.; Guyard, F.; Marti, S.; Zuluaga, M.A. USAD: UnSupervised Anomaly Detection on Multivariate Time Series. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2020; pp. 3395–3404. [Google Scholar] [CrossRef] [Scilit]
- Yeom, S.; Giacomelli, I.; Fredrikson, M.; Jha, S. Privacy Risk in Machine Learning: Analyzing the Connection to Overfitting. In Proceedings of the 2018 IEEE 31st Computer Security Foundations Symposium (CSF); IEEE: Piscataway, NJ, USA, 2018; pp. 268–282. [Google Scholar] [CrossRef] [Scilit]
- Huckelberry, J.; Zhang, Y.; Sansone, A.; Mickens, J.; Beerel, P.; Janapa Reddi, V. TinyML Security: Attacks, Defenses, and Open Challenges in Resource-Constrained Machine Learning Systems. ACM Comput. Surv. 2026, 3793197. [Google Scholar] [CrossRef] [Scilit]
- Famili, A.; Lao, Y. Deep Neural Network Quantization Framework for Effective Defense against Membership Inference Attacks. Sensors 2023, 23, 7722. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, C.; Qu, T.; Li, Z.; Zhang, T.; Pang, J.; Mauw, S. Bits for Privacy: Evaluating Post-Training Quantization via Membership Inference. In Proceedings of the 2025 IEEE 24th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom); IEEE: Piscataway, NJ, USA, 2025; pp. 853–860. [Google Scholar] [CrossRef] [Scilit]
- Deng, A.; Hooi, B. Graph Neural Network-Based Anomaly Detection in Multivariate Time Series. Proc. Aaai Conf. Artif. Intell. 2021, 35, 4027–4035. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Zhao, Y.; Han, J.; Su, Y.; Jiao, R.; Wen, X.; Pei, D. Multivariate Time Series Anomaly Detection and Interpretation using Hierarchical Inter-Metric and Temporal Embedding. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2021; pp. 3220–3230. [Google Scholar] [CrossRef] [Scilit]
- Ruff, L.; Kauffmann, J.R.; Vandermeulen, R.A.; Montavon, G.; Samek, W.; Kloft, M.; Dietterich, T.G.; Müller, K.R. A Unifying Review of Deep and Shallow Anomaly Detection. Proc. IEEE 2021, 109, 756–795. [Google Scholar] [CrossRef] [Scilit]
- Blázquez-García, A.; Conde, A.; Mori, U.; Lozano, J.A. A Review on Outlier/Anomaly Detection in Time Series Data. ACM Comput. Surv. 2021, 54, 56. [Google Scholar] [CrossRef] [Scilit]
- Schmidl, S.; Wenig, P.; Papenbrock, T. Anomaly Detection in Time Series: A Comprehensive Evaluation. Proc. VLDB Endow. 2022, 15, 1779–1797. [Google Scholar] [CrossRef] [Scilit]
- Hayes, J.; Melis, L.; Danezis, G.; De Cristofaro, E. LOGAN: Membership Inference Attacks Against Generative Models. Proc. Priv. Enhancing Technol. 2019, 2019, 133–152. [Google Scholar] [CrossRef] [Scilit]
- Nasr, M.; Shokri, R.; Houmansadr, A. Comprehensive Privacy Analysis of Deep Learning: Passive and Active White-box Inference Attacks against Centralized and Federated Learning. In Proceedings of the 2019 IEEE Symposium on Security and Privacy (SP); IEEE: Piscataway, NJ, USA, 2019; pp. 739–753. [Google Scholar] [CrossRef] [Scilit]
- Hu, H.; Salcic, Z.; Sun, L.; Dobbie, G.; Yu, P.S.; Zhang, X. Membership Inference Attacks on Machine Learning: A Survey. ACM Comput. Surv. 2022, 54, 235. [Google Scholar] [CrossRef] [Scilit]
- Truex, S.; Liu, L.; Gursoy, M.E.; Yu, L.; Wei, W. Demystifying Membership Inference Attacks in Machine Learning as a Service. IEEE Trans. Serv. Comput. 2021, 14, 2073–2089. [Google Scholar] [CrossRef] [Scilit]
- Jacob, B.; Kligys, S.; Chen, B.; Zhu, M.; Tang, M.; Howard, A.; Adam, H.; Kalenichenko, D. Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2018; pp. 2704–2713. [Google Scholar] [CrossRef] [Scilit]
- Abadi, M.; Chu, A.; Goodfellow, I.; McMahan, H.B.; Mironov, I.; Talwar, K.; Zhang, L. Deep Learning with Differential Privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security; Association for Computing Machinery: New York, NY, USA, 2016; pp. 308–318. [Google Scholar] [CrossRef] [Scilit]
- Dwork, C.; Roth, A. The Algorithmic Foundations of Differential Privacy. Found. Trends Theor. Comput. Sci. 2014, 9, 211–487. [Google Scholar] [CrossRef] [Scilit]
- Ponomareva, N.; Hazimeh, H.; Kurakin, A.; Xu, Z.; Denison, C.; McMahan, H.B.; Vassilvitskii, S.; Chien, S.; Thakurta, A.G. How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacy. J. Artif. Intell. Res. 2023, 77, 1113–1201. [Google Scholar] [CrossRef] [Scilit]
- Near, J.P.; Darais, D.; Lefkovitz, N.; Howarth, G. Guidelines for Evaluating Differential Privacy Guarantees; Technical Report NIST SP 800-226; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2025. [Google Scholar] [CrossRef] [Scilit]
- Wu, R.; Keogh, E.J. Current Time Series Anomaly Detection Benchmarks are Flawed and are Creating the Illusion of Progress (Extended Abstract). In Proceedings of the 2022 IEEE 38th International Conference on Data Engineering (ICDE); IEEE: Piscataway, NJ, USA, 2022; pp. 1479–1480. [Google Scholar] [CrossRef] [Scilit]
- Liu, Q.; Paparrizos, J. The Elephant in the Room: Towards A Reliable Time-Series Anomaly Detection Benchmark. In Proceedings of the Advances in Neural Information Processing Systems 37 (NeurIPS), Datasets and Benchmarks Track; Neural Information Processing Systems Foundation, Inc. (NeurIPS): San Diego, CA, USA, 2024; pp. 108231–108261. [Google Scholar] [CrossRef] [Scilit]
- Lin, J.; Zhu, L.; Chen, W.M.; Wang, W.C.; Han, S. Tiny Machine Learning: Progress and Futures. IEEE Circuits Syst. Mag. 2023, 23, 8–34. [Google Scholar] [CrossRef] [Scilit]
- Fleith, P. Controlled Anomalies Time Series (CATS) Dataset; Zenodo: Geneva, Switzerland, 2023. [Google Scholar] [CrossRef]
- Dal Pozzolo, A.; Caelen, O.; Johnson, R.A.; Bontempi, G. Calibrating Probability with Undersampling for Unbalanced Classification. In Proceedings of the 2015 IEEE Symposium Series on Computational Intelligence; IEEE: Piscataway, NJ, USA, 2015; pp. 159–166. [Google Scholar] [CrossRef] [Scilit]
- Jacob, V.; Song, F.; Stiegler, A.; Rad, B.; Diao, Y.; Tatbul, N. Exathlon: A Benchmark for Explainable Anomaly Detection over Time Series. Proc. VLDB Endow. 2021, 14, 2613–2626. [Google Scholar] [CrossRef] [Scilit]
- Moritz, S.; Rehbach, F.; Chandrasekaran, S.; Rebolledo, M.; Bartz-Beielstein, T. GECCO Industrial Challenge 2018 Dataset: A Water Quality Dataset for the “Internet of Things: Online Anomaly Detection for Drinking Water Quality” Competition at the Genetic and Evolutionary Computation Conference (GECCO), Kyoto, Japan; Zenodo: Geneva, Switzerland, 2018. [Google Scholar] [CrossRef]
- Abdulaal, A.; Liu, Z.; Lancewicki, T. Practical Approach to Asynchronous Multivariate Time Series Anomaly Detection and Localization. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2021; pp. 2485–2494. [Google Scholar] [CrossRef] [Scilit]
- Goh, J.; Adepu, S.; Junejo, K.N.; Mathur, A. A Dataset to Support Research in the Design of Secure Water Treatment Systems. In Proceedings of the Critical Information Infrastructures Security (CRITIS 2016); Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2017; pp. 88–99. [Google Scholar] [CrossRef] [Scilit]
- ETSI EN 303 645; V2.1.1: Cyber Security for Consumer Internet of Things—Baseline Requirements. European Telecommunications Standards Institute: Valbonne–Sophia Antipolis, France, 2020. Available online: https://www.etsi.org/deliver/etsi_en/303600_303699/303645/ (accessed on 1 September 2026).
- Fagan, M.; Megas, K.N.; Cuthill, B.; Marron, J.; Hoehn, B. Foundational Cybersecurity Activities for IoT Product Manufacturers; Technical Report NIST IR 8259r1; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2026. [Google Scholar] [CrossRef] [Scilit]
- ISO/IEC 27400:2022; Cybersecurity—IoT Security and Privacy—Guidelines. International Organization for Standardization: Geneva, Switzerland, 2022. Available online: https://www.iso.org/standard/44373.html (accessed on 1 September 2026).
- European Parliament and Council. Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data (General Data Protection Regulation). Off. J. Eur. Union 2016, L119, 1–88. Available online: https://eur-lex.europa.eu/eli/reg/2016/679/oj (accessed on 1 September 2026).
- European Data Protection Board. Opinion 28/2024 on Certain Data Protection Aspects Related to the Processing of Personal Data in the Context of AI Models; Technical Report Opinion 28/2024; EDPB: Brussels, Belgium, 2024; Available online: https://www.edpb.europa.eu/our-work-tools/our-documents/opinion-board-art-64/opinion-282024-certain-data-protection-aspects_en (accessed on 1 September 2026).
- Court of Justice of the European Union. Case C-582/14, Patrick Breyer v Bundesrepublik Deutschland. ECLI:EU:C:2016:779. 2016. Available online: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:62014CJ0582 (accessed on 1 September 2026).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









