EdgeDetect: Importance-Aware Gradient Compression with Homomorphic Aggregation for Federated Intrusion Detection

Noor Islam S. Mohammad · 2026

Read EdgeDetect: Importance-Aware Gradient Compression with Homomorphic Aggregation for Federated Intrusion Detection by Noor Islam S. Mohammad (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-14663.txt.

Introduction

Mohammad presents EdgeDetect, a shared-learning attack detector for 6G device networks that never moves raw traffic. Each site squeezes its updates to plus-or-minus-one values by median binarization, cutting uplink traffic 32-fold. The squeezed updates are then shielded with Paillier homomorphic encryption against curious servers. On CIC-IDS2017 the system hit 98.0 percent accuracy, matching centralized baselines, and a Raspberry Pi 4 ran each check in 0.8 milliseconds.

Catalog record

CREATORNoor Islam S. Mohammad
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE85704
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.14663

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

EdgeDetect: Importance-Aware Gradient Compression with Homomorphic Aggregation for Federated Intrusion Detection Noor Islam S. Mohammad 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 } \{+1,-1\} representations, reducing uplink payload by 32 × 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 % 98.0\% multi-class accuracy and 97.9 % 97.9\% macro F1-score, matching centralized baselines, while reducing per-round communication from 450 450 MB to 14 14 MB ( 96.9 % 96.9\% reduction). Raspberry Pi 4 deployment confirms edge feasibility: 4.2 4.2 MB memory, 0.8 0.8 ms latency, and 12 12 mJ per inference with < 0.5 % <0.5\% accuracy loss. Under 5 % 5\% poisoning attacks and severe imbalance, EdgeDetect maintains 87 % 87\% accuracy and 0.95 0.95 minority class F1 ( p < 0.001 p<0.001 ), establishing a practical accuracy–communication–privacy tradeoff for next-generation edge intrusion detection. I Introduction Next-generation Wireless technologies 5G, 6G, and IoT enable massive machine-type communications and ultra-reliable low-latency services [ 23 , 29 ] while simultaneously expanding the attack surface for sophisticated cyber threats. As billions of heterogeneous edge devices generate high-volume traffic in smart cities, autonomous vehicles, and Industry 4.0, traditional centralized IDS face fundamental limitations, including scalability bottlenecks, communication latency, single points of failure, and difficulty handling high dimensionality and severe class imbalance in modern network traffic. Machine learning has become central to automated threat identification [ 55 , 35 ] . However, centralized deployment of deep learning architectures requires aggregating raw sensor readings, enterprise logs, and user data at cloud servers, exposing systems to potential data breaches and regulatory violations [ 36 ] . Federated Learning (FL) addresses this limitation by enabling collaborative model training while preserving data locality [ 56 ] . Despite its advantages, practical FL implementations face two critical challenges: (1) communication overhead , transmitting high-dimensional gradient vectors from thousands of edge clients consumes excessive bandwidth; and (2) gradient leakage , shared model updates may be reverse-engineered to reconstruct sensitive training samples [ 43 ] . To address these challenges, we propose EdgeDetect, a scalable and privacy-aware federated IDS tailored for resource-constrained 6G-IoT environments [ 61 ] . EdgeDetect introduces a novel gradient smartification mechanism that transforms continuous gradient updates into lightweight binarized representations ( \{+1,-1\} ) using median-based statistical thresholding . This adaptive, distribution-aware compression reduces uplink payload size by up to 32\times while preserving empirical convergence behavior [ 19 , 27 ] . Unlike fixed-threshold methods (e.g., signSGD), our approach suppresses low-magnitude gradient components below the per-client median, reducing stochastic noise and improving stability under heterogeneous data distributions. We further integrate Paillier homomorphic encryption over the binarized gradients, ensuring that only aggregated model updates are visible to the central server, providing strong cryptographic protection against gradient inversion and honest-but-curious adversaries [ 27 ] . The joint optimization of compression and privacy enables EdgeDetect to achieve both communication efficiency and end-to-end confidentiality without compromising detection accuracy. I-A Contribution This work makes the following key contributions: • Alignment-Aware Federated IDS Architecture: We present EdgeDetect, a privacy-preserving federated intrusion detection framework designed for 6G-IoT environments [ 13 ] . The architecture integrates PCA-based dimensionality reduction, imbalance-aware sampling, and secure aggregation within a unified decentralized pipeline, enabling collaborative learning without sharing raw network traffic while maintaining scalability and robustness. • Adaptive Median-Based Gradient Smartification with Encrypted Aggregation: We introduce a statistically adaptive median-threshold binarization strategy that compresses gradients into \{+1,-1\} while preserving directional alignment under heterogeneous and heavy-tailed client distributions. In contrast to fixed zero-threshold signSGD [ 7 ] , the proposed per-client adaptive rule improves convergence stability. Combined with Paillier homomorphic encryption applied directly to binarized gradients, the method achieves up to 32\times communication reduction while mitigating gradient inversion risks [ 11 , 4 ] . • Quantified Privacy–Utility–Efficiency Trade-off: Extensive ablation and adversarial analyses demonstrate 98.0\% multi-class accuracy with 96.9\% communication reduction on CIC-IDS2017 (2.8M flows), achieving performance comparable to centralized baselines while providing cryptographic privacy guarantees. The framework maintains >85\% accuracy with 20% malicious clients and reduces inversion PSNR from 31.7 dB to 15.1 dB [ 23 ] . • Edge-Validated Deployment: Real-world deployment on Raspberry Pi 4 devices confirms practical feasibility, requiring only 4.2 MB memory, 0.8 ms latency, and 12 mJ per inference, with less than 0.5\% accuracy degradation. These results validate suitability for resource-constrained 6G-IoT edge environments. II Related Work The evolution of IDS from signature-based systems to ML and deep learning paradigms has significantly advanced network security [ 51 , 1 ] . This section reviews anomaly detection in wireless networks, FL for decentralized security, and privacy–communication efficiency challenges. II-A Deep Learning-Based Anomaly Detection Deep learning has become the standard for detecting complex attack patterns in high-dimensional network traffic. Classical algorithms such as SVMs and random forests remain competitive for structured features [ 31 , 48 ] , while CNN–RNN and LSTM architectures capture temporal dependencies for DDoS and zero-day detection [ 13 ] . Image-based encodings of time-series traffic further enhance spatial feature extraction [ 59 ] . However, these centralized approaches require large-scale data aggregation, introducing privacy risks and system-level vulnerabilities. II-B Federated Learning in IoT Networks FL enables decentralized training without sharing raw data [ 9 ] . Applications include IoT security, industrial sensor networks, and cross-domain intrusion detection [ 38 ] . Edge–cloud collaborative architectures reduce response latency while preserving data locality [ 6 , 22 ] . However, standard FL algorithms such as FedAvg rely on full-precision gradient exchange, creating communication bottlenecks in bandwidth-limited 6G IoT systems [ 58 , 3 ] . II-C Privacy Preservation and Gradient Compression While FL mitigates raw data exposure, it remains vulnerable to gradient inference attacks. Differential Privacy (DP) and Homomorphic Encryption (HE) improve confidentiality but may introduce accuracy or computational overhead [ 16 , 44 ] . Communication-efficient methods such as signSGD and gradient sparsification reduce bandwidth requirements [ 7 , 28 ] . However, few approaches jointly optimize gradient compression and encrypted aggregation in resource-constrained intrusion detection settings. Our PoL-based gradient smartification mechanism integrates statistical binarization with encrypted aggregation to address both communication efficiency and privacy preservation [ 39 , 41 , 32 ] . II-D Distinction from signSGD and Quantized FL Unlike fixed-threshold quantizers such as QSGD [ 3 ] or TernGrad [ 52 ] , which apply uniform quantization levels, our median-threshold binarization adapts to the per-client gradient distribution. This property is especially valuable for IDS data, where gradients exhibit heavy tails due to rare attack events. \tau_{t}=\text{median}(g_{t}) (1) Thus, smartification preserves relative ordering information within each gradient vector and adapts to heavy-tailed feature distributions typical in IDS models. Distribution-adaptive quantization with provable descent guarantees and entropy-aware privacy strengthening. III System Architecture (IDS) We propose EdgeDetect , a privacy-preserving federated learning architecture for 6G-enabled IoT environments [ 32 , 37 ,

Read the complete text