EdgeDetect: Importance-Aware Gradient Compression with Homomorphic Aggregation for Federated Intrusion Detection
TLDR
EdgeDetect offers a communication-efficient and privacy-aware federated intrusion detection system using gradient binarization and homomorphic encryption.
Key contributions
- Introduces gradient smartification, a median-based binarization, reducing uplink communication by 32x.
- Integrates Paillier homomorphic encryption over binarized gradients for privacy against curious servers.
- Achieves 98.0% accuracy on CIC-IDS2017 with 96.9% communication reduction (450MB to 14MB).
- Demonstrates edge feasibility on Raspberry Pi-4 with low memory (4.2MB) and latency (0.8ms).
Why it matters
This paper addresses critical challenges in federated intrusion detection for 6G-IoT: high communication and privacy risks. EdgeDetect's novel gradient compression and homomorphic encryption enable efficient and secure collaborative learning. It offers a practical solution for deploying robust IDS on resource-constrained edge devices.
Original Abstract
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 $\{+1,-1\}$ representations, reducing uplink payload by $32\times$ 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 $98.0\%$ multi-class accuracy and $97.9\%$ macro F1-score, matching centralized baselines, while reducing per-round communication from $450$~MB to $14$~MB ($96.9\%$ reduction). Raspberry Pi-4 deployment confirms edge feasibility: $4.2$~MB memory, $0.8$~ms latency, and $12$~mJ per inference with $<0.5\%$ accuracy loss. Under $5\%$ poisoning attacks and severe imbalance, EdgeDetect maintains $87\%$ accuracy and $0.95$ minority class F1 ($p<0.001$), establishing a practical accuracy, communication, and privacy tradeoff for next-generation edge intrusion detection.
📬 Weekly AI Paper Digest
Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.