Predicting privacy leakage from weight spectral density: WeightWatcher spectral metrics as proxies for membership inference attack vulnerabilityPredicting Privacy Leakage from Weight Spectral Density
The authors relate WW spectral metrics to LiRA risk in MLPs: on CIFAR-10, stable rank and AUC have ρ of 0.87.
- Trusted research environments must audit member privacy before releasing models. Membership inference methods like LiRA rely on many shadow models, which is hard to run per candidate when there are many. The authors ask: can WeightWatcher spectrum metrics computed from weights alone proxy this leakage, and are they more informative than the generalization gap.
- Train 44 MLPs each on CIFAR-10 and Volkert (100 epochs). Privacy side uses online LiRA with 64 shadow models, reporting AUC and [email protected]. WW spectral metrics and generalization gap are used for correlation, regression, and model-level binary classification.
- Stable rank with AUC: CIFAR-10 ρ=0.87, Volkert ρ=0.60, higher than the generalization gap. Log α-Norm with [email protected] is −0.55 and −0.41. Joint R² for predicting AUC is 0.82 and 0.62, and at low FPR only 0.19 and 0.16.
- The authors state that correlation is not causation, and observations are only on CIFAR-10 and Volkert MLPs (100 epochs) with LiRA; regressions with 44 models per set are not conclusive, and no held-out or cross-dataset validation was performed. Statistics are Spearman, OLS, and model-level ROC-AUC.
- Evaluated models
- MLP-1×4096MLP-2×1024MLP-2×2048MLP-3×512MLP-3×1024MLP-3×2048MLP-4×1024MLP-4×2048MLP-4×4096MLP-8×512MLP-8×1024
- Benchmarks
- CIFAR-10Volkert (OpenML ID 41166)
- Metrics
- LiRA AUC[email protected]Spearman ρR²ROC-AUC
The study finds that WeightWatcher spectral metrics from the heavy-tailed self-regularization framework can replace expensive shadow models for assessing membership inference attack (MIA) risk in machine learning models. On image and tabular classification tasks, stable rank is strongly positively correlated with overall MIA success, Log alpha-Norm is consistently negatively correlated with MIA vulnerability in the low false-positive region, and both associations are stronger than those given by the generalization gap. This indicates that neural network spectra contain privacy leakage information not captured by conventional overfitting metrics, offering a new direction for scalable privacy auditing.
Paper analysis
What problem does this paper attempt to solve?
Can weight-only spectral metrics proxy LiRA leakage without training shadow models?
The question is: can the weight spectrum of a trained model alone proxy the membership inference leakage measured by LiRA, thereby avoiding the need to train shadow models.
- Audit scenario: Models on sensitive data are often trained in trusted research environments (TREs) and must demonstrate before release that they do not leak individuals from the training set (Jefferson et al., 2022). Membership inference is used as an overall risk audit, and SACRO-ML places it in the disclosure control pipeline. The authors state that LiRA and RMIA require training reference (shadow) models, which is too costly when there are many candidate models.
- Gap in existing proxies: Generalization gap does not require retraining models; a large gap usually makes membership inference easier. The paper cites Nasr et al. [2019]: under white-box access, generalization error does not predict privacy risk well, and memory of a single record can be absent from overall held-out performance. Other reference-free estimates still require held-out data or training trajectories, or give only coarse model-level numbers.
- The authors' conjecture: If WeightWatcher (WW) can distinguish generalization from memorization, it might proxy privacy leakage. The authors' intuition is: a spectrum close to random indicates parameters have not yet organized around training samples; a strong power law may indicate organization in a way an attacker can recover. The authors also state this relationship is not obvious and has not been empirically tested before.
- What was done: On image and tabular MLPs, they compare α, Log α-Norm, Log spectral norm, stable rank against online LiRA's AUC, [email protected], and generalization gap. The authors state this is the first empirical study of weight spectrum metrics and MIA vulnerability, and state spectrum metrics are complementary to the gap and can also turn high-risk models into binary classification.
What related research exists?
Literature is divided into HT-SR, reference-model MIA, reference-free estimation, and cheap proxies; spectra and LiRA have not been directly measured before.
The authors organize the literature into four groups and state that the relationship between spectral metrics and LiRA vulnerability has not been directly measured before.
HT-SR and WeightWatcher
- Martin and Mahoney [2021]: Use heavy-tailed self-regularization (HT-SR) to analyze the empirical spectral density of per-layer weight correlation matrices. The spectra of generalizable networks often show heavy-tailed power laws, interpreted as implicit self-regularization. The paper recounts six spectral phases, from near-random to rank collapse; smaller batch sizes typically show stronger self-regularization.
- Data-free quality prediction: Martin et al. [2021] predict network quality trends with WW without accessing training or test data. Prakash and Martin [2025] use HT-SR to discuss grokking and generalization collapse. Power et al. [2022] cited in the introduction describe: long after loss convergence, models transition from memorization to generalization.
Reference-Model Attacks
- LiRA (Carlini et al., 2022): Trains shadow models with and without the target record, fits Gaussians to IN/OUT losses, and performs likelihood ratio tests. The paper states it is widely regarded as the closest practical approximation to true per-record vulnerability; usable estimates typically require dozens of condition-matched shadow models.
- Fewer reference models: RMIA (Zarifzadeh et al., 2024) instead performs pairwise comparisons with a large population sample, using a small number of reference models and unlabeled population data to normalize likelihood ratios; the paper states it uses fewer reference models than LiRA with comparable power. Galichin et al. [2025] train shadows with knowledge distillation and claim superiority over LiRA and related loss-trajectory attacks on image classification, but training remains the main cost.
Reference-Free Estimation
- White-box and single training: Nasr et al. [2019] use gradients and state that later-layer gradients are more membership-informative than activations or outputs, and that generalization gap does not predict this leakage well. The same group includes Li et al. [2024], Liu et al. [2024], Liu et al. [2023] on Jacobian norms, OSLO (Peng et al., 2024), GLiR (Leemann et al., 2023), Suri et al. [2024] on inverse Hessians, and Steinke et al. [2023] and Andrew et al. [2024] on single-training audits.
- Still needing auxiliary data or trajectories: QMIA (Bertran et al., 2023) performs quantile regression on held-out data, setting thresholds per input; the paper states sparse regions may be poor. Zhang et al. [2024] use a similar idea to detect document membership in language models. LT-IQR (Pollock et al., 2025) uses loss trajectories for relative ranking, typically less than calibrated probabilities.
- Dodd et al. [2025]: Estimate model-level disclosure from the separation of training and test loss tails, without training reference models. The paper states this is closest to WW: both avoid training reference models, but only give aggregate quantities, not per-record vulnerability.
Cheap Proxies and Experimental Controls
- Generalization gap: Yeom et al. [2018] and Shokri et al. [2017] treat it as a coarse proxy without retraining. The paper cites Nasr et al. [2019], stating that under white-box access, generalization error does not predict privacy risk well.
- Preen and Smith [2026]: For tree classifiers, construct model-level metrics from structure and predictions, yielding high-precision, low-recall vulnerability indicators, thus avoiding reference-model MIA.
- Baselines in experiments: Controls are generalization gap and test accuracy, not success rates of other attacks; data are CIFAR-10 and Volkert; privacy ground truth is online LiRA from SACRO-ML (AUC and [email protected]).
Section 2.3 positions: reference-model attacks are costly; reference-free methods either need extra data and training, full trajectories, or only coarse aggregate quantities. The generalization gap remains the most common, but its relationship with MIA vulnerability is inconsistent. The authors state that WW requires no evaluation data at all, is cheaper than the gap, and no prior work has tested whether spectral metrics track LiRA or carry information beyond the gap.
How does the paper address this problem?
Compare WW layer spectral statistics against online LiRA AUC and [email protected] on 44 MLPs.
The authors use WeightWatcher (WW) to extract spectral statistics from trained weights, then compare them against online LiRA membership inference readings on the same set of MLPs, to see whether spectra can proxy leakage and whether they are stronger than the generalization gap. WW does not use training or test data.
Three Metrics
- Each target model records generalization, spectral complexity, and LiRA leakage, summarized in Table 1.
- Generalization includes training accuracy, test accuracy, and ϵgap=ϵtest−ϵtrain. The authors follow the existing expectation that a large gap indicates memorization of training samples and thus higher susceptibility to MIA.
- Privacy uses online LiRA with 64 shadow models. AUC treats 0.5 as random guessing and 1.0 as a perfect attacker; [email protected] is the true positive rate when the false positive rate is fixed at 0.001. The authors claim the latter metric corresponds to a more realistic low false-positive setting.
- Table 1 states: WW is computed directly from weights; target model metrics and MIA metrics require data and/or shadow models.
Four Spectral Statistics
- For each layer weight W, WW takes the empirical spectral density of the correlation matrix X = W⊤W, fits the tail to a truncated power law, and forms layer-aggregated metrics. The paper says layer-aggregated but does not specify the aggregation operator.
- α is the negative of the slope of the spectral tail on a log–log plot. Under HT-SR, smaller α indicates stronger implicit self-regularization; α in [2, 4] is considered healthy, below 2 corresponds to overfitting and rank collapse, above 4 to undertraining or near-random layers.
- Log α-Norm uses both shape and scale, to compare across hyperparameters and depths. Log spectral norm is the log of the largest singular value of W, for rough comparison across depths.
- stable rank is defined as R(W)=|W|F2/|W|22, representing effective dimension, more robust to noise than matrix rank. The authors claim that when it is higher, the layer is more random, implicit self-regularization is weaker, and excess capacity makes the model more prone to memorization.
Data and Training Grid
- CIFAR-10: 10 classes, 60,000 32×32×3 images, standard 50,000/10,000 split. Volkert (OpenML ID 41166): 10-class tabular, 58,310 instances, 180 numeric features, zero mean unit variance, random stratified 80–20%. The authors claim they avoid the 50–50 split common in MIA comparisons to be closer to real audit data volumes.
- Models are all feedforward MLPs: ReLU, no dropout, no normalization, 10-class linear output, cross-entropy with implicit softmax. 11 depth×width configurations: (1, 4096), (2, 1024), (2, 2048), (3, 512), (3, 1024), (3, 2048), (4, 1024), (4, 2048), (4, 4096), (8, 512), (8, 1024) (Table 2).
- Each architecture is combined with learning rates {0.001, 0.01} and weight decay {0, 0.0005} (Table 2 writes 5×10−4), giving 44 target models. Optimization is SGD, momentum 0.9, batch size 32, Kaiming uniform, evaluated after 100 epochs. All data is used, no augmentation, label noise 0.
- Table 2 notes include: dropout and normalization removed to avoid confounding with weight decay; two learning rates correspond to high and low implicit regularization; 100 epochs cover underfitting and overfitting. Activation, optimizer, and batch size are all fixed.
Correlation, Regression, and High-Risk Flagging
- The main analysis is model-level Spearman rank correlation. Each dataset has 44 points, variables are the four WW metrics or generalization metrics, and objects are LiRA AUC and [email protected].
- Complementarity uses ordinary least squares with standardized predictors. For predicting AUC, the text first includes ϵgap and stable rank together; Table 4 changes to ϵgap and log stable rank. For predicting TPR, first take the log, then include ϵgap and Log α-Norm; logging is because raw TPR is right-skewed, consistent with the log axes in Figure 1 and Figure 2.
- The screening experiment flags models as fragile or safe: LiRA [email protected] above 0.015. The authors claim this is 15 times random guessing. Each metric is evaluated with ROC-AUC alone, then logistic regression combines ϵgap and Log α-Norm, repeated at 10× and 20×. This is model-level flagging, not per-record membership determination.
What experiments did the paper conduct?
Stable rank correlates with AUC more strongly than the generalization gap, and Log α-Norm corresponds to leakage at low FPR.
Spearman correlations of spectral metrics with LiRA for 44 MLPs per dataset, then regression and binary classification to see if high-leakage models can be flagged.
Experimental Setup
- Models and Data: The 11 ReLU MLPs from Table 2, learning rates 0.001 or 0.01, weight decay 0 or 0.0005, 44 models per dataset. CIFAR-10 has 60,000 images, split 50,000/10,000; Volkert (OpenML 41166) has 58,310 instances, 180 dimensions, randomly stratified 80–20%, and zero mean unit variance.
- Training: SGD, momentum 0.9, batch size 32, Kaiming uniform, 100 epochs; no dropout, no normalization, no augmentation, no label noise. Only the 100th epoch is used.
- LiRA: Online version from SACRO-ML, 64 shadow models. AUC where 0.5 is random and 1.0 is a perfect attacker; another metric is TPR at FPR=0.001. The paper does not separately specify shadow epochs or learning rates.
- Spectra and Baselines: Layer-aggregated α, Log α-Norm, Log spectral norm, stable rank. Baseline signals are ϵgap and test accuracy. WW uses only weights.
- Statistics: Spearman with 44 models as points (Table 3); standardized OLS (Table 4, n=44); high-risk ROC-AUC (Table 5). The paper does not report multiple random seeds.
Main Results
The table below shows Spearman ρ from Table 3, 44 models per dataset. Figure 1 and Figure 2 are corresponding scatter plots, with TPR on a log axis.
Pairing CIFAR-10 Volkert stable rank vs AUC 0.87 (p=0.00) 0.60 (p=0.00) ϵgap vs AUC 0.68 (p=0.00) 0.54 (p=0.00) Log α-Norm vs [email protected] −0.55 (p=0.00) −0.41 (p=0.01) ϵgap vs [email protected] 0.04 (p=0.78) −0.34 (p=0.03) α vs AUC −0.08 (p=0.61) 0.61 (p=0.00) stable rank vs [email protected] 0.02 (p=0.88) −0.44 (p=0.00) Log spectral norm vs AUC −0.55 (p=0.00) −0.27 (p=0.08) Log α-Norm vs AUC −0.50 (p=0.00) 0.10 (p=0.52) - The authors claim stable rank tracks overall attack success and that this association is stronger than ϵgap; Log α-Norm tracks low FPR, while ϵgap is weak and inconsistent in that region. The text writes ϵgap vs AUC on CIFAR-10 as 0.67 and Log α-Norm vs TPR on Volkert as −0.40; these two are taken from the table as 0.68 and −0.41.
- α vs AUC has opposite directions on the two datasets. The authors argue different spectral statistics correspond to different facets of leakage. Under the paper's HT-SR formulation, lower stable rank and smaller α indicate stronger self-regularization; the authors argue that in this grid stable rank mainly behaves like capacity, with larger matrices having higher stable rank.
- The authors claim no correlation between stable rank and [email protected] on CIFAR-10, but a negative correlation on Volkert. In the table, Volkert's Log α-Norm and Log spectral norm vs AUC have p-values 0.52 and 0.08.
Spectral Metrics and Generalization Indicators
- What was measured: Figure 3, Figure 4, and Table 3 put ϵgap, test accuracy alongside LiRA and with Log α-Norm, stable rank.
- Numbers: ρ of stable rank vs test accuracy is 0.73 (CIFAR-10) and 0.57 (Volkert), both p=0.00; vs ϵgap is 0.49 (p=0.00) and 0.16 (p=0.29). Log α-Norm vs ϵgap is −0.39 (p=0.01) and −0.08 (p=0.62); vs test accuracy is −0.22 (p=0.15) and 0.44 (p=0.00). ϵgap vs training accuracy is 0.62 and 0.47 (both p=0.00), vs test accuracy only 0.23 (p=0.13) and −0.09 (p=0.58).
- Authors' interpretation: Stable rank, which accompanies higher AUC, also accompanies higher test accuracy. Log α-Norm has weaker correlations with both generalization indicators, and its sign with test accuracy is opposite across datasets. The authors argue that in this grid ϵgap is driven mainly by training accuracy, with differences between models being more about memorization than held-out performance, so the gap is noisier than stable rank.
Joint Regression
- AUC (Table 4, n=44): Predictors are standardized ϵgap and log stable rank. CIFAR-10: individual R² 0.43 and 0.68, joint 0.82; β 0.03 and 0.04, both p=0.00. Volkert: individual R² 0.38 and 0.32, joint 0.62; β 0.03 and 0.02, both p=0.00. The authors claim they are complementary, not redundant.
- Non-logged baseline only in text: Joint R² of raw stable rank and ϵgap is 0.71 on CIFAR-10 (individual 0.43 and 0.47; β=0.032 and 0.035, both p<0.001),Volkert 为 0.57(单独 0.38 与 0.26;β=0.026 与 0.020,均 p<0.001)。此时 Volkert 上 ϵgap 的系数大于 stable rank,与 CIFAR-10 相反。作者称改用 log stable rank 后这一排序被消除,且其权重大于或等于差距。Table 4 里 Volkert 仍是 βgap=0.03、βlog stable rank=0.02。
- log [email protected](Table 4): CIFAR-10 联合 R²=0.19,Log α-Norm 单独 0.16,ϵgap 单独 0.00;β 为 −0.80(p=0.00)和 −0.33(p=0.21)。Volkert 联合 R²=0.16,单独为 0.07 与 0.09;β 为 −0.44(p=0.08)和 −0.50(p=0.05)。作者称低 FPR 的可解释方差低于 AUC,占优变量也会换边。正文把 CIFAR-10 上 ϵgap 的单独 R² 写成 0.001,p 写成 0.004、0.21、0.075、0.045。
高风险二分类
- 15 倍(正文): [email protected]>0.015 as fragile, n=44. ROC-AUC for Log α-Norm and α: CIFAR-10 0.79 and 0.75, Volkert 0.70 and 0.74. ϵgap: 0.47 and 0.79; stable rank: 0.67 and 0.29. 0.29 is below 0.5. The authors claim α and Log α-Norm separate high and low risk on both datasets, while ϵgap and stable rank do not maintain the same performance across datasets.
- Table 5 (10× / 15× / 20×): On CIFAR-10, Log α-Norm is 0.74, 0.79, 0.83; ϵgap is 0.50, 0.47, 0.40; logistic regression combined is 0.73, 0.77, 0.82. On Volkert, Log α-Norm is 0.70, 0.70, 0.61; ϵgap is 0.82, 0.79, 0.84; combined is 0.81, 0.77, 0.81.
- Authors' claims vs table: The authors report that in 10× and 20× repeats, α's ROC-AUC is 0.70–0.77; ϵgap is 0.40–0.50 on CIFAR-10 and 0.79–0.84 on Volkert. They claim the combined model improves on Volkert and is roughly unchanged on CIFAR-10, citing that at 20× Log α-Norm goes from 0.61 vs 0.83 to combined 0.81 vs 0.82. In Table 5, CIFAR-10 combined values are lower than Log α-Norm alone at all three thresholds. The paper does not report the number of models flagged as fragile at each threshold.
Other Ablations and Analyses
- Test accuracy vs AUC: CIFAR-10 ρ=0.77 (p=0.00), Volkert ρ=0.40 (p=0.01); vs [email protected]: −0.13 (p=0.41) and −0.37 (p=0.01) (Table 3).
- α vs [email protected]: −0.36 (p=0.02) and −0.37 (p=0.01); Log spectral norm vs [email protected]: −0.45 (p=0.00) and −0.18 (p=0.25) (Table 3).
- The paper does not report ρ or R² separately by learning rate, weight decay, or individual D×W.
What are some points that can be further explored?
The authors state that correlation is not causation, and extrapolation to other architectures, modalities, and attacks is unclear.
The authors limit the existing results to correlations between MLPs and LiRA on two datasets.
Limitations and Future Directions Noted by the Authors
- Only CIFAR-10 and Volkert are used, both with MLPs trained for 100 epochs. The authors state it is unclear whether the relationship extends to ResNets, Transformers, or other modalities such as text (Limitations).
- The attack is only evaluated with LiRA. The authors state that other attack forms may have different relationships with spectral properties (Limitations).
- Each dataset has only 44 models; the regression should be seen as suggestive, not definitive. The authors state that no cross-dataset transfer was performed, and no held-out validation of the fitted models (Limitations).
- The observed relationship is correlation. The authors state that no causal relationship between spectral properties and privacy leakage was established (Conclusions).
- The working hypothesis is that WW indirectly proxies privacy risk via generalization and overfitting. The authors consider this hypothesis possibly incomplete, because the association between WW and LiRA is stronger than that between ϵgap and LiRA; future work should examine whether spectral measures directly correspond to the loss distributions exploited by likelihood attacks (Conclusions).
- Currently only pairwise combinations and monotonic relationships are considered. The authors state that if all WW metrics were placed into a richer multivariate or nonlinear combination, the low FPR region might be predicted better. They also state that the results indicate WW is a promising indicator of LiRA risk, rather than establishing its general applicability across architectures, datasets, and attacks (Conclusions and Limitations).
Experimental Coverage
- Target models are the 11 MLP-D×W variants in Table 2; two learning rates, two weight decay values; 44 per dataset; SGD (momentum 0.9), batch size 32, 100 epochs, Kaiming uniform, ReLU, no dropout or normalization, no augmentation, no label noise (Section 3.2).
- Splits are CIFAR-10's 50,000/10,000, and Volkert's random stratified 80–20% (58,310 instances, 180-dimensional features). Privacy side is online LiRA with 64 shadow models, reporting model-level AUC and [email protected] (Section 3.1–3.2).
- Statistics are Spearman on these 44 models (Table 3), OLS with n=44 (Table 4), and ROC-AUC relative to random guessing at 10×, 15×, 20× (Table 5). Joint models only use ϵgap with stable rank (or log stable rank), and ϵgap with Log α-Norm.
- The paper does not report the specific algorithm for layer aggregation, the number of models at each risk threshold, the number of training repetitions, or whether shadow models match targets hyperparameter-by-hyperparameter (Section 3 only states online LiRA and 64 shadow models).
- Regression and logistic regression are fitted on all 44 models; the authors state in Limitations that no held-out validation or cross-dataset transfer was performed.
Summarize the main content of the paper
The authors argue that spectral metrics and generalization gap are complementary and could be useful for data-free model-level screening.
The authors examine on MLPs whether WeightWatcher spectrum statistics move in the same direction as online LiRA, in order to do model-level membership risk screening without looking at data or training shadow models.
Pre-release auditing needs to know whether training members can be recognized. LiRA relies on many shadow models, which is hard to run per candidate when there are many. The generalization gap is cheap, but at low false positive rates it often misaligns with attack success.
The grid varies only depth, width, learning rate, and weight decay. CIFAR-10 uses 50,000/10,000, Volkert uses stratified 80–20%, each with 44 ReLU MLPs, trained for 100 epochs. Privacy readings come from online LiRA with 64 shadow models: AUC, and TPR at FPR=0.001. On the spectrum side are α, Log α-Norm, log spectral norm, and stable rank.
- In Table 3, stable rank's ρ with AUC is 0.87 (CIFAR-10) and 0.60 (Volkert), higher than the generalization gap's 0.68 and 0.54 in the same table.
- Log α-Norm with [email protected] is −0.55 and −0.41; the gap corresponds to 0.04 and −0.34.
- In Table 4, the gap and log stable rank predict AUC with R² of 0.82 and 0.62 (each n=44). The joint R² for predicting log TPR is only 0.19 and 0.16, with the dominant coefficient swapping across datasets.
- When TPR is 15 times above random guessing, Log α-Norm's ROC-AUC is 0.79 and 0.70, the gap is 0.47 and 0.79, and stable rank is 0.29 on Volkert. In Table 5, the combined ROC-AUC on CIFAR-10 is lower than Log α-Norm alone.
The authors conclude that spectrum statistics and the generalization gap carry complementary information, so model-level screening from weights alone may be possible. They state this is correlation, not causation, that regression on 44 MLPs is not conclusive, and that it does not show the same would hold for other architectures, modalities, or attacks.
Related papers
- Leave-one-out Distinguishability in Machine LearningAnalysis / interpretabilityarXiv
- Extracting Training Data from Diffusion ModelsAttacksarXiv