Uncovering Memorization in Timeseries Imputation models: LBRM Membership Inference and its link to attribute Leakage
Authors: Faiz Taleb, Ivan Gazeau, Maryline Laurent
Organizations: EDF SAMOVAR, Télécom SudParis, Institut Polytechnique de Paris, 91120 Palaiseau, France · EDF, 91120 Palaiseau, France · SAMOVAR, Télécom SudParis, Institut Polytechnique de Paris
Deep learning models for time series imputation are now essential in fields such as healthcare, the Internet of Things (IoT), and finance. However, their deployment raises critical privacy concerns. Beyond the well-known issue of unintended memorization, which has been extensively studied in generative models, we demonstrate that time series models are vulnerable to inference attacks in a black-box setting. In this work, we introduce a two-stage attack framework comprising: (1) a novel membership inference attack based on a reference model that improves detection accuracy, even for models robust to overfitting-based attacks, and (2) the first attribute inference attack that predicts sensitive characteristics of the training data for timeseries imputation model. We evaluate these attacks on attention-based and autoencoder architectures in two scenarios: models that are trained from scratch, and fine-tuned models where the adversary has access to the initial weights. Our experimental results demonstrate that the proposed membership attack retrieves a significant portion of the training data with a tpr@top25% score significantly higher than a naive attack baseline. We show that our membership attack also provides a good insight of whether attribute inference will work (with a precision of 90% instead of 78% in the genral case).
Figures & tables
Figure 1: Illustrative overview of the LBRM attack pipeline: the attacker compares predictions from the target and reference models to infer membership.
Scenario 1
Scenario 2
LSMEC
ASHRAE
LSMEC
ASHRAE
Public O
2226
590
3340
887
Private P
2226
590
1113
295
Test
1113
295
1113
295
Table 1: Division of datasets in different scenarios
Scenario 1
Scenario 2
MAE
SAITS
Transformer
iTransformer
AE
SAITS
Transformer
iTransformer
AE
Model
T
R
T
R
T
R
T
R
T
R
T
R
T
R
T
R
Data Train
0.175
0.18
0.70
0.75
0.51
0.48
0.15
0.17
0.19
0.185
0.68
0.65
0.48
0.49
0.15
0.17
Data Test
0.20
0.21
0.81
0.85
0.55
0.52
0.20
0.21
0.24
0.21
0.75
0.74
0.55
0.52
0.20
0.21
Table 2: Performance Evaluation of SAITS, AE, iTransformer, and Transformer Models Based on Mean Absolute Error (MAE)
Figure 2: MIA + AIA pipeline. The attacker computes LBRM on the seen portion to obtain a series-level risk score, ranks series, selects the Top- q% high-risk set, and runs AIA on unseen regions of those series.
Model
Recall (avg ± std)
Precision (avg ± std)
Transformer
Target
0.87 ± 0.05
0.75 ± 0.06
Evaluation
0.48 ± 0.08
0.40 ± 0.05
SAITS
Target
0.90 ± 0.04
0.78 ± 0.05
Evaluation
0.55 ± 0.07
0.43 ± 0.05
Table 6: Average and standard deviation of recall and precision across all sliding windows (mask size = 24) for the three attention-based architectures. Target and Evaluation models share identical hyperparameters but are trained on disjoint sample sets.
Model
Rec. (r)
p-val
Prec. (r)
p-val
Transformer
-0.10
0.73
0.57
0.03
SAITS
0.18
0.51
0.64
0.02
iTransformer
0.26
0.34
0.71
0.01
Table 7: Correlation between LBRM membership scores (computed on the attacker-visible portion) and AIA performance (evaluated on unseen regions).
Figure 3: AIA precision on unseen parts of the time series. “Top - 25%” indicates selecting whole sequences based on their LBRM score computed from the part accessible to the attacker.
Modern AI models are not static. They go through multiple updates in their lifecycles. We propose to design Sequential Membership Inference (SeMI) attacks leading to tighter privacy audits by exploiting the sequence of models and injecting a target canary at a controlled insertion time. First, for empirical mean computation, we develop SeMI*, an {optimal SeMI attack to identify the presence of a target inserted at a specific insertion step}. We derive the power of SeMI* to show that accessing the model sequence yields more powerful MI attacks than scrutinising only the final model. SeMI* exhibits an isolation property -- its power depends on the statistics obtained right before and after insertion of the target. Leveraging this insight, we develop practical white-box (accessing model gradients) and black-box (accessing loss) SeMI attacks against models trained with (DP-)SGD. Across datasets and models trained with (DP-)SGD, our experiments show that SeMI attacks achieve higher powers than snapshot-independent baselines, and yield tighter privacy audits thanks to (a) control over the insertion time and (b) observations across the model sequence.
Thomas Michel, Debabrota Basu, Emilie Kaufmann
Univ. Lille, Inria, CNRS, Centrale Lille UMR 9189-CRIStAL, France
Membership inference attacks expose whether individual records were used to train a model, yet existing attacks on diffusion models are largely heuristic and can require substantial query budgets. We introduce DIME (Denoiser Ideal Membership Error), a theoretically grounded and query-efficient framework for membership inference on diffusion models. Our starting point is an exact characterization of the optimal diffusion denoiser for a finite training set, which reveals that membership leakage is governed by the denoiser's implicit reconstruction error. This error decomposes into two complementary signals: a bias term, capturing reconstruction accuracy, and a previously unexplored local crowding term, capturing the geometry of nearby training examples. Both admit efficient estimators using only model queries, yielding a practical attack with as few as two queries. Across CIFAR-10/100, STL10-U, CelebA, and ImageNet, DIME consistently outperforms prior attacks at comparable or substantially lower query cost, improving TPR at 1% FPR by up to 3×; remarkably, its two-query variant can outperform existing 30-query baselines. Finally, we suggest, discuss, and evaluate specific defenses to counteract such powerful membership tests.
All prior membership inference attacks for fine-tuned language models use hand-crafted heuristics (e.g., loss thresholding, Min-K%, reference calibration), each bounded by the designer's intuition. We introduce the first transferable learned attack, enabled by the observation that fine-tuning any model on any corpus yields unlimited labeled data, since membership is known by construction. This removes the shadow model bottleneck and brings membership inference into the deep learning era: learning what matters rather than designing it, with generalization through training diversity and scale. We discover that fine-tuning language models produces an invariant signature of memorization detectable across architectural families and data domains. We train a membership inference classifier exclusively on transformer-based models. It transfers zero-shot to Mamba (state-space), RWKV-4 (linear attention), and RecurrentGemma (gated recurrence), achieving 0.963, 0.972, and 0.936 AUC respectively. Each evaluation combines an architecture and dataset never seen during training, yet all three exceed performance on held-out transformers (0.908 AUC). These four families share no computational mechanisms, their only commonality is gradient descent on cross-entropy loss. Even simple likelihood-based methods exhibit strong transfer, confirming the signature exists independently of the detection method. Our method, Learned Transfer MIA (LT-MIA), captures this signal most effectively by reframing membership inference as sequence classification over per-token distributional statistics. On transformers, LT-MIA achieves 2.8× higher TPR at 0.1% FPR than the strongest baseline. The method also transfers to code (0.865 AUC) despite training only on natural language texts. Code and trained classifier available at https://github.com/JetBrains-Research/learned-mia.
David Ilić, Kostadin Cvejoski, David Stanojević +1