Abstract
The critical role of the Internet of Things (IoT) in domains such as smart cities, healthcare, and transportation has made these systems prime targets for malicious attacks. Traditional Intrusion Detection Systems (IDS) often rely on centralized architectures, which face challenges related to data privacy, communication costs, and the neglect of False Positive Rates (FPR). This paper proposes a Probabilistic Hybrid Ensemble Classification (PHEC) framework that balances high True Positive Rates (TPR) with low FPR. We extend this model to a Federated Learning (FL) environment using a "FedStacking" approach to preserve privacy and handle non-IID data. Furthermore, we introduce Noise-Tolerant PHEC (NT-PHEC) to address label-noise issues using weighted convex surrogate loss functions. Experimental results across four benchmark datasets demonstrate that our model achieves superior performance in both centralized and federated settings, even in the presence of significant label noise.
1. Introduction
As IoT infrastructure expands, the need for robust security becomes paramount. Existing IDS solutions struggle with three primary issues: the high cost and privacy risks of data centralization, the operational burden of high false alarm rates, and the prevalence of noisy or mislabeled training data. This work addresses these challenges by developing a tunable, ensemble-based detection system that can be deployed in a privacy-preserving federated manner.
2. Methodology
2.1 Probabilistic Hybrid Ensemble Classification (PHEC)
The core of our approach is the PHEC architecture, which combines the strengths of K-Nearest Neighbor (KNN) and Random Forest (RF) classifiers. Unlike traditional hard-labeling systems, PHEC utilizes the probability scores from each base classifier.
An aggregator function $f(p_1, p_2, ..., p_n)$ computes an average score, which is then compared against a threshold $\gamma$. This thresholding mechanism is critical for real-world deployment, allowing administrators to tune the system's sensitivity based on the specific requirements of the IoT application (e.g., prioritizing low FPR in industrial controls vs. high TPR in critical safety systems).
2.2 Noise-Tolerant PHEC (NT-PHEC)
To handle label noise—a common occurrence in real-world IoT datasets—we implement NT-PHEC. This variant employs $\alpha$-weighted convex surrogate loss functions. By adjusting the weight $\alpha$, the model gains mathematical robustness against symmetric label noise, ensuring that mislabeled samples do not disproportionately degrade the global model's performance.
3. Federated Learning and FedStacking
To address privacy and communication bottlenecks, we adapt PHEC to a Federated Learning framework. In this setup, local nodes (e.g., individual IoT gateways) train their models locally and share only model parameters with a central server.
While standard FL often uses simple averaging (FedAvg), we propose FedStacking. In non-IID environments where different nodes encounter different attack patterns, FedAvg can dilute specialized local knowledge. FedStacking instead concatenates parameters, allowing the global model to retain the unique insights gained by each node regarding specific threat types.
4. Experimental Evaluation
The proposed models were evaluated on four datasets: NSL-KDD, DS2OS Traffic Traces, and SCADA datasets from Gas Pipelines and Water Tanks.
- Detection Performance: On the NSL-KDD dataset, PHEC achieved a TPR of 94.6%, significantly outperforming state-of-the-art Two-Tier and TDTC architectures.
- Federated Efficiency: The federated implementation maintained performance levels within 1-2% of the centralized model while providing a 10x to 100x speedup in detection latency.
- Noise Robustness: In tests with 20% label noise, NT-PHEC maintained an accuracy approximately 8.5% higher than standard ensemble methods.
5. Conclusion
This paper presents a robust, tunable, and privacy-preserving framework for IoT intrusion detection. By combining probabilistic ensembles with federated learning and noise-tolerant loss functions, we achieve high detection accuracy with minimal false alarms. Future work will explore class-conditional noise patterns and the application of unsupervised models to detect novel "Zero-Day" attacks.
Summary updated