← Lab /Security & privacy

EdgeDetect achieves 98% IDS accuracy with 32× gradient compression and homomorphic encryption

EdgeDetect attains 98.0% multi-class accuracy while reducing communication 32× and preserving privacy via homomorphic encryption

Security & privacy arXiv 16 Apr 2026 Method Prototype evidence Threat model

Published as “EdgeDetect: Importance-Aware Gradient Compression with Homomorphic Aggregation for Federated Intrusion Detection”

Why it matters

Enables privacy-preserving intrusion detection on low-power 6G-IoT edge devices without prohibitive bandwidth or accuracy penalties.

Summary

EdgeDetect attains 98.0% multi-class accuracy on the CIC-IDS2017 benchmark while cutting per-round communication by 96.9% (450 MB → 14 MB) and reducing gradient-inversion quality to 15.1 dB PSNR. It does this by median-based adaptive binarization of gradients ({+1,-1}) and Paillier homomorphic encryption of the compressed updates, achieving up to 32× payload reduction with no measurable accuracy loss (<0.2 pp). Experiments on a 2.8 M-flow dataset and Raspberry-Pi 4 edge nodes show practical feasibility, though accuracy drops to 94.2% under extreme non-IID client heterogeneity. The evidence is based on public-benchmark data, multiple baselines (FedAvg, FedProx, signSGD) and repeated runs with confidence intervals, providing solid empirical support.

What they found 2

  1. Median-based smartification compresses gradients up to 32× without harming convergence.

    “This adaptive, distribution-aware compression reduces uplink payload size by up to 32× while preserving empirical convergence behavior”

  2. Gradient inversion quality drops to 15.1 dB PSNR, making reconstruction nearly random.

    “EdgeDetect (median-threshold): Further degrades reconstruction to 15.1 dB, rendering feature structure minimally discernible and reducing label recovery to near random guessing (14.3%).”

Caveats 3

  • EdgeDetect accuracy falls to 94.2% under high heterogeneity (α = 0.1) compared with 98% in IID settings.
  • EdgeDetect Dir. α = 0.1 287 612 94.2 14.0 8.57
  • cumulative privacy loss under composition remains future work.

What’s new here 4

  • Adaptive per-client median-threshold binarization of gradients, unlike fixed-threshold signSGD.
  • Direct homomorphic encryption (Paillier) of the binarized gradients for end-to-end confidentiality.
  • Integration of compression and privacy into a federated IDS pipeline tailored for 6G-IoT edge devices.
  • Demonstrated 32× communication reduction with <0.2 pp accuracy impact on a large IDS benchmark.

Threat model stated by the source

Adversaryhonest-but-curious
Capabilitycan observe encrypted client updates but cannot decrypt them
Assumesserver does not collude with clients; Paillier encryption provides IND-CPA security