Attention, Anomalies! Handling Attention Layers in Unsupervised Federated Outlier Detection

📅 2026-08-05
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the lack of effective aggregation methods for memory-augmented autoencoders (MemAEs) with attention mechanisms in federated learning, which hinders efficient unsupervised anomaly detection under non-IID and resource-constrained settings. To this end, we propose an attention-layer-oriented guided aggregation strategy—the first federated aggregation mechanism specifically designed for MemAEs. Our approach significantly enhances model robustness and detection performance across multiple edge nodes with imbalanced data distributions while maintaining a lightweight architecture. Experimental results demonstrate that the proposed method outperforms existing baselines on various non-IID datasets, achieving higher anomaly detection accuracy and validating the feasibility of shallow MemAEs in edge computing scenarios.
📝 Abstract
Attention layers are the backbone of today's most powerful and impactful models. Models with multi-million and billion parameters rely on contextual knowledge provided by attention layers. However, their use goes well beyond just being the core component of large language models. One particularly interesting application is in Memory Augmented Autoencoders (MemAE), specifically for unsupervised representation learning in outlier detection tasks. It was shown that attention helps these models be more effective in centralized learning scenarios. Our work aims to address the lack of specialized aggregation techniques in Federated Learning (FL) when it comes to MemAE models. In this paper we analyze the intricacies of the architecture behind Memory Augmented Autoencoders, and propose novel, guided approaches to effectively aggregate these models in federated scenarios. We demonstrate our approach on non-IID datasets and show that these novel aggregation schemes are more robust when dealing with numerous edge nodes in environments with unbalanced datasets, specifically for unsupervised anomaly detection scenarios. This approach improves the performance of even very shallow autoencoders, allowing them to be used in resource constrained environments.
Problem

Research questions and friction points this paper is trying to address.

Federated Learning
Outlier Detection
Memory Augmented Autoencoders
Attention Layers
Unsupervised Learning
Innovation

Methods, ideas, or system contributions that make the work stand out.

Federated Learning
Memory Augmented Autoencoder
Attention Mechanism
Unsupervised Anomaly Detection
Non-IID Aggregation
🔎 Similar Papers
No similar papers found.
M
Mihailo Ilić
Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Serbia
M
Miloš Savić
Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Serbia
V
Vladimir Kurbalija
Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Serbia
M
Mirjana Ivanović
Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Serbia
Giancarlo Fortino
Giancarlo Fortino
Prof. of Computer Engineering, University of Calabria, FIEEE,FAAIA,FAIIA,WoS Highly Cited Researcher
Artificial IntelligenceHuman-Machine SystemsInternet of ThingsWearable Computing
D
Dušan Jakovetić
Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Serbia