EdgeDetect: Importance-Aware Gradient Compression with Homomorphic Aggregation for Federated Intrusion Detection
- FedML
Federated learning (FL) enables collaborative intrusion detection without raw data exchange, but conventional FL incurs high communication overhead from full-precision gradient transmission and remains vulnerable to gradient inference attacks. This paper presents EdgeDetect, a communication-efficient and privacy-aware federated IDS for bandwidth-constrained 6G-IoT environments. EdgeDetect introduces gradient smartification, a median-based statistical binarization that compresses local updates to representations, reducing uplink payload by while preserving convergence. We further integrate Paillier homomorphic encryption over binarized gradients, protecting against honest-but-curious servers without exposing individual updates. Experiments on CIC-IDS2017 (2.8M flows, 7 attack classes) demonstrate multi-class accuracy and macro F1-score, matching centralized baselines, while reducing per-round communication from ~MB to ~MB ( reduction). Raspberry Pi-4 deployment confirms edge feasibility: ~MB memory, ~ms latency, and ~mJ per inference with accuracy loss. Under poisoning attacks and severe imbalance, EdgeDetect maintains accuracy and minority class F1 (), establishing a practical accuracy, communication, and privacy tradeoff for next-generation edge intrusion detection.
View on arXiv