FedMAD-FSL: Advanced Few-Shot Federated Meta-Learning Framework for Anomaly Detection in Heterogeneous IoT Ecosystems with Adaptive Privacy-Preserving Mechanisms

Authors

  • Mohammad Almansour Faculty of Computing and Information Technology, Department of Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia https://orcid.org/0009-0003-9509-6067
  • Iftikhar Ahmad Faculty of Computing and Information Technology, Department of Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia
  • Madini O. Alassafi Faculty of Computing and Information Technology, Department of Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia https://orcid.org/0000-0001-9919-8368

DOI:

https://doi.org/10.26713/cma.v17i2.3865

Abstract

The proliferation of Internet of Things (IoT) devices has created unprecedented challenges in anomaly detection, particularly in scenarios with limited labeled data and strict privacy constraints. This paper introduces FedMAD-FSL (Federated Meta-learning for Anomaly Detection with Few-Shot Learning), an integrated framework that synergistically combines federated learning, metalearning, and few-shot learning paradigms to enable rapid few-shot anomaly detection across heterogeneous IoT networks. Our approach features a novel hierarchical meta-learning architecture with multi-scale cross-attention mechanisms, adaptive prototype networks with dynamic memory management and task-conditioned hallucination, a spectral-domain gradient compression algorithm with formal differential privacy guarantees, and a novel contrastive meta-regularization objective for improved generalization. The framework incorporates advanced few-shot learning techniques including prototypical networks enhanced with von Mises-Fisher distribution modeling, matching networks augmented with set-to-set transformers, and relation networks with graph neural networkbased relational reasoning, all unified under an adaptive meta-curriculum learning scheduler and adversarial robustness mechanisms. Comprehensive experiments on twelve real-world IoT datasets demonstrate that FedMAD-FSL achieves 97.8% weighted-average detection accuracy with only 1-5 labeled samples per device type, 84.8% reduction in total communication cost (23.7MB vs. 156.3MB for FedAvg), achieved through spectral-domain gradient compression with an 89.3% compression ratio, and 94% faster convergence compared to state-of-the-art methods. The system successfully adapts to completely unseen IoT environments with 95.3% accuracy using only 1-5 labeled samples while maintaining (ε = 0.3, δ = 1e−6)-differential privacy, establishing few-shot federated meta-learning as a transformative paradigm for next-generation IoT security.

168 0

Downloads

Download data is not yet available.

Published

June 30, 2026

Issue

Section

Research Article

How to Cite

Almansour, M., Ahmad, I., & Alassafi, M. O. (2026). FedMAD-FSL: Advanced Few-Shot Federated Meta-Learning Framework for Anomaly Detection in Heterogeneous IoT Ecosystems with Adaptive Privacy-Preserving Mechanisms. Communications in Mathematics and Applications, 17(2). https://doi.org/10.26713/cma.v17i2.3865