WaSA: Wavelet Scattering Autoencoders for Unsupervised Offline Detection of Malicious Clients in Federated Learning
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: Today's paper: "WaSA: Wavelet Scattering Autoencoders for Unsupervised Offline Detection of Malicious Clients in Federated Learning".
Jane: The gist The WaSA framework proposes a fully unsupervised,
Tom: First, who's behind it and why it matters.
Paper summary: Tom: To summarize the WaSA framework, it operates in two distinct phases, an offline phase and a subsequent online evaluation phase.
Jane: In that offline phase, the server approximates the compact manifold of benign client data by minimizing a denoising empirical risk objective over synthetic wavelet scattering transform embeddings derived from an auxiliary dataset.
Lu: Before federated training begins, clients perform a locally optimal rank-reduced projection of their data using a wavelet scattering operator.
Tom: The server then evaluates these representations by computing their reconstruction error, which formally quantifies their structural deviation from the expected benign distribution.
Jane: The core idea is that this setup allows for client detection regardless of the specific type of corruption because it learns what 'clean' looks like based only on clean data.
Meng: It claims this method requires no attack labels, generalizes to unseen anomalies, and introduces a Boltzmann sampling strategy for client selection that interpolates between hard exclusion and uniform sampling via a temperature parameter T.
Jane: That Boltzmann strategy is important because it lets you tune how strictly you filter clients based on their anomaly scores.
Tom: The evaluation shows that embeddings mapping near the learned benign manifold yield an anomaly score E k less than or equal to one, while anomalous embeddings yield E k greater than one.
Lu: And experimental validation across MNIST, CIFAR-ten and CIFAR-one hundred under various attack scenarios demonstrates consistent improvements over supervised baselines.
Jane: Specifically, they show the WaSA-WST backbone yields a clear spectral separation between benign clients and all four corruption types, including structurally subtle attacks like Gaussian blur.
Tom: The results are pretty strong; they achieve ninety-eight point eight percent F1 and one hundred percent recall on CIFAR-ten under the sixty percent corruption scenario when using WaSA-Boltz with T equals zero point five.
Meng: That's a high recall number, but I gotta ask, what about deploying this at scale?
Jane: That's where the next part of the paper gets interesting; it shows that if you use Boltzmann sampling, it recovers near-oracle sampling behavior even when the clean client pool is small.
Conclusion: Tom: So we've looked at the WaSA paper, which is titled "WaSA: Wavelet Scattering Autoencoders for Unsupervised Offline Detection of Malicious Clients in Federated Learning," and the authors are Alessandro Licciardi and his team.
Jane: The main implication here is that we can move away from defenses that depend on knowing exactly what kind of poison attack you're dealing with.
Tom: WaSA shifts the focus to learning the geometry of benign data—the manifold—and scoring clients based on their distance from that learned structure.
Lu: It’s about using unsupervised learning to create a universal filter for client participation in federated learning.
Jane: The Boltzmann sampling strategy is key because it gives you control over the trade-off between being super strict and letting more potentially clean clients participate.
Tom: This framework allows the defense to generalize to attacks that the authors haven't even seen during training, which is a significant step forward in making federated learning more robust in open settings.
Alessandro Licciardi
Department of Mathematical Sciences, Politecnico di Torino · National Institute of Nuclear Physics (INFN), Sezione di Torino
cs.LG
Submitted: 2026-10-09
Updated: 2026-10-09
Comments: Accepted at IEEE International Conference on Omni-Layer Intelligent Systems (COINS) 2026, Bologna, Italy; September 7-9, 2026
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
Importance score: 80/100
The gist: The gist The WaSA framework proposes a fully unsupervised, offline framework for malicious client detection in Federated Learning by training a denoising autoencoder on clean spectral prototypes to
Key concepts
- Denoising Autoencoder
- This is a neural network trained to reconstruct clean data after it has been intentionally corrupted or 'denoised'. In WaSA, it learns the essential features of benign client data by trying to reconstruct these prototypes. The bottleneck forces the network to capture only the core, low-dimensional structure of normal client embeddings.
- Spectral Prototypes
- These are summaries of clean spectral data created using variance-weighted principal directions from a rank-reduced Singular Value Decomposition (SVD). These prototypes represent the most important features of benign client data. They serve as the 'ground truth' examples used to train the autoencoder to define what 'normal' looks like.
- Wavelet Scattering Transform (WST)
- The WST is a mathematical transformation applied to client data embeddings. It helps project the high-dimensional data into a representation where structural deviations caused by malicious clients become more easily measurable. The final client embedding is derived from the coefficients of this transform, capturing how the data scatters across different frequencies.
Terminology
Summary
The gist The WaSA framework proposes a fully unsupervised, offline framework for malicious client detection in Federated Learning by training a denoising autoencoder on clean spectral prototypes to score clients based on their deviation from the learned benign manifold.
Methodology Overview
WaSA operates in two distinct phases: an offline phase and a subsequent online evaluation phase The server approximates the compact manifold of benign client data by minimizing a denoising empirical risk objective over synthetic WST embeddings derived from an auxiliary dataset Before the federated training starts, clients perform a locally optimal rank-reduced projection of their data, transforming it via wavelet scattering operator The server subsequently evaluates these representations by computing their reconstruction error, which formally quantifies their structural deviation from the expected benign distribution
Client-Side Representation and Transformation
The client-side process involves generating a privacy-preserving summary of the local data using spectral prototypes This prototype is constructed as the variance-weighted superposition of the empirical principal directions derived from a rank-reduced SVD To ensure stability against local geometric deformations, this prototype is projected through a Wavelet Scattering Transform The final client embedding zk is formed by vectorizing the first-order scattering coefficients of the transform
Offline Manifold Learning
The core of the offline detection is a fully unsupervised denoising autoencoder This autoencoder is trained exclusively on clean spectral prototypes derived from an auxiliary dataset The network's encoder compresses the WST embedding into a strict bottleneck, compelling it to learn only the intrinsic low-dimensional manifold of benign representations Training minimizes the expected empirical reconstruction error over noise-corrupted batches
Client Evaluation and Filtering
Prior to FL communication, clients transmit their embeddings zk to the server for evaluation The server computes the scale-free normalized anomaly score Ek using the formula Ek = zk − fϕ(zk) squared / (2d · Lfinal) Embeddings mapping near the learned benign manifold yield Ek ≲ 1, while anomalous embeddings yield Ek ≫ 1 WaSA utilizes these scores to govern participation via two strategies: Deterministic Thresholding, where clients with Ek ≤ τ are verified participants, or Boltzmann Sampling, which assigns a selection probability πk = exp(-Ek/T) / P
Experimental Validation and Performance
Experiments on MNIST, CIFAR-10, and CIFAR-100 under diverse attack scenarios demonstrate consistent improvements over supervised baselines The WaSA-WST backbone yields a clear spectral separation between benign clients and all four corruption types, including structurally subtle attacks like Gaussian blur The Boltzmann sampling strategy recovers near-oracle sampling behavior without ground-truth labels when the clean client pool is small WaSA outperforms both WAFFLE-FT and WAFFLE-WST on every metric in the client detection evaluation The model achieves 98.8% F1 and 100% recall on CIFAR-10 under the 60% corruption scenario using WaSA-Boltz with T = 0.5
Conclusion
WaSA advances offline FL defense from a supervised, threat-specific paradigm to a fully unsupervised, attack-agnostic one by grounding client screening in the geometry of a learned benign WST manifold This design choice enables generalization to unseen and composite corruptions without retraining The Boltzmann sampling strategy further decouples defensive filtering from hard exclusion, gracefully sustaining convergence when the clean client pool is critically small This work presents WaSA, the first unsupervised offline detector for FL. The contributions advance offline FL defense from a supervised, threat-specific paradigm to a fully unsupervised, attack-agnostic one
ACKNOWLEDGMENT A.L. is a member of GNFM-INdAM and was supported by the PNRR-NGEU project of the Italian MUR (DM 117/2023), and thanks Prof. Lamberto Rondoni for valuable discussions
REFERENCES [1] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y Arcas, “Communication-efficient learning of deep networks from decentralized data,” in Artificial intelligence and statistics, pp. 1273–1282, PMLR, 2017.[3] T. Li, A. K. Sahu, M. Zaheer, M. Sanjabi, A. Talwalkar, and V. Smith, “Federated optimization in heterogeneous networks,” Proceedings of Machine learning and systems, vol. 2020., pp. 429–450.[8] D. Goswami, S. Magistri, K. Wang, B. Twardowski, A. D. Bagdanov, and J. van de Weijer, “Covariances for free: Exploiting mean distributions for training-free federated learning,” in The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.[9] A. Licciardi, D. Leo, and D. Carbone, “Wavelet scattering transform and fourier representation for offline detection of malicious clients in federated learning,” IEEE Internet of Things Journal, 2026.[10] S. Mallat, “Group invariant scattering,” Communications on Pure and Applied Mathematics, vol. 65, no. 10, pp. 1331–1398, 2012.[14] C. Eckart and G. Young, “The approximation of one matrix by another of lower rank,” Psychometrika, vol. 1, no. 3, pp. 211–218, 1936.[15] G. Golub and W. Kahan, “Calculating the singular values and pseudoinverse of a matrix,” Journal of the Society for Industrial and Applied Mathematics, Series B: Numerical Analysis, vol. 2, no. 2, pp. 205–224, 1965.[16] J. Bruna and S. Mallat, “Invariant scattering convolution networks,” IEEE transactions on pattern analysis and machine intelligence, vol. 35, no. 8, pp. 1872–1886, 2013.[17] P. Vincent, H. Larochelle, I. Lajoie, Y. Bengio, P.-A. Manzagol, and L. Bottou, “Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion.,” Journal of machine learning research, vol 11, no 12, 2010.[18] G. Strang, Linear algebra and its applications. Belmont, CA: Thomson, Brooks/Cole, 2006.[19] G. Gallavotti, Statistical mechanics: A short treatise. Springer Science & Business Media, 2013.[27] M. Andreux et al., “Kymatio: Scattering transforms in python,” Journal of Machine Learning Research, vol 21, no 60, pp 1–6, 2020. [24] M. Fang et al., “Local model poisoning attacks to Byzantine-Robust federated learning,” in 29th USENIX security symposium (USENIX Security 20), pp. 1605–1622, 2020.[31] Y. LeCun, “The mnist database of handwritten digits,” http://yann. lecun.com/exdb/mnist/, 1998.[32] A. Krizhevsky, G. Hinton, et al., “Cifar-10 (canadian institute for advanced research),” [2610.13186] A. Krizhevsky, G. Hinton, et al., “Learning multiple layers of features from tiny images,” 2009.[33] A. Krizhevsky, G. Hinton, et al.
Improvements for AI systems
-
No prior attack labels are required for client detection, as WaSA
train[s] a denoising autoencoder exclusively on clean spectral prototypes derived from an auxiliary dataset.
This enables the system to beattack-agnostic,
generalizing to novel corruptions without needing retraining when threat models shift. -
The system implements a mechanism that
smoothly interpolates between hard exclusion and standard aggregation
through a Boltzmann sampling strategy, allowing the server togracefully sustain convergence when the clean client pool is critically small.
-
The detection framework provides a clear geometric boundary for benign behavior, as anomalous embeddings that deviate from this manifold
cannot be accurately reconstructed from the latent space,
thereby exposing malicious clients via anormalized reconstruction error Ek.
Abstract
Federated Learning (FL) enables collaborative model training without exposing raw data, yet remains vulnerable to malicious clients injecting poisoned datasets. Existing defenses are typically reactive (operating during training) or supervised (requiring prior knowledge of attack types) - assumptions that rarely hold in open-ended IoT deployments. We propose WaSA, a fully unsupervised, offline framework for malicious client detection. Before training, each client transmits a single, privacy-preserving spectral summary of its data to the server. A denoising autoencoder, trained solely on clean auxiliary data, scores clients based on their deviation from the learned benign manifold, identifying corruptions regardless of the attack type. WaSA requires no attack labels, generalizes to unseen anomalies, and introduces a Boltzmann sampling strategy for client selection that smoothly interpolates between hard exclusion and standard aggregation. Experiments on MNIST, CIFAR-10, and CIFAR-100 under diverse attack scenarios (up to 90 % malicious clients) demonstrate consistent improvements over supervised baselines and robust aggregation methods, with negligible communication overhead. Code is available at https://github.com/alelicciardi99/wavelet autoencoders malicious.
Sources
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks