arXiv:2610.13186cs.LGOct 2026

Manuscript Offprint

arXiv:2610.13186

WaSA: Wavelet Scattering Autoencoders for Unsupervised Offline Detection of Malicious Clients in Federated Learning

Alessandro Licciardi

Alessandro Licciardi

Department of Mathematical Sciences, Politecnico di Torino, Turin, IT

National Institute of Nuclear Physics (INFN), Sezione di Torino, Turin, IT

alessandro.licciardi@polito.it

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.

Keywords—Federated Learning, Wavelet Scattering Transform, Malicious Clients Detection, Robust Federated Learning

I. INTRODUCTION

Federated Learning (FL) enables decentralized model training without exposing raw data [1], [2]. This privacy guarantee, however, introduces a structural vulnerability: malicious or faulty clients can inject poisoned local datasets, silently degrading global model performance [3]–[5]. Proactively detecting these clients before training begins is critical, but remains an open challenge when attack signatures are unknown.

Most defenses operate during active training, weaving anomaly detection into the synchronous aggregation loop—a coupling that introduces computational bottlenecks and leaves the global model exposed to contamination before any attacker can be isolated [6]. An offline alternative bypasses both issues: screening clients before the first communication round separates defensive computation from optimization entirely. Introducing auxiliary data to establish expected baselines [7], [8] allows the server to filter malicious participants at “round zero,” ensuring training commences with a sanitized client pool.

While one-shot offline detection outperforms reactive strategies, existing methods often rely on supervised classifiers trained with simulated attack labels [9]. The implicit requirement that the server knows the attack type in advance, however, rarely holds. Real-world corruptions such as sensor degradation or novel adversarial perturbations emerge without warning, meaning a detector tied to specific attack signatures must be constantly retrained whenever the threat model shifts.

This work. We present WaSA (Wavelet Scattering Autoencoder), a fully unsupervised, attack-agnostic framework. Rather than relying on labeled attacks, WaSA trains a denoising autoencoder exclusively on clean spectral prototypes derived from an auxiliary dataset. Since this step precedes federated training entirely, it incurs no overhead on the active FL rounds. At detection time, clients whose Wavelet Scattering Transform (WST) embeddings deviate from the learned benign manifold receive a high normalized reconstruction error Ek\mathcal{E}_k and are flagged. To ensure robustness, WaSA avoids theoretically unstable spectral components (e.g., Fourier branches [10]) in favor of pure WST, and introduces a Boltzmann sampling strategy for probabilistic client participation.

Related Work. Robust aggregation methods (e.g., Krum [11], TrimmedMean [4], FLTrust [5]) mitigate malicious updates without explicit identification, but fail theoretically when attackers exceed 50% [11]. Online detection methods [12], [13] identify attackers via multi-round update consistency. This reactive paradigm demands sustained communication overhead—a significant burden in IoT deployments—and leaves the model transiently contaminated. Offline detection circumvents these limits; in particular, WAFFLE [9] filters clients before the FL training begins, using spectral embeddings computed with WST and Fourier Transform but requires a supervised classifier. WaSA extends this offline direction to a fully unsupervised setting.

Contributions.

• We propose WaSA, the first unsupervised offline detector for FL. A denoising autoencoder trained on clean WST embeddings detects anomalous clients at round zero via a normalized reconstruction error Ek\mathcal{E}_k, requiring no prior attack knowledge.

• We introduce a GPU-accelerated, SVD-based spectral prototype that efficiently compresses a client’s data dis-

979-8-3195-0489-0/26/$31.00 ©2026 IEEE tribution into a single privacy-preserving image.

• We propose a statistical mechanics-inspired Boltzmann sampling strategy for FL client selection, interpolating between hard exclusion and uniform sampling via a temperature parameter T.

References (27)