A Hybrid Intelligent Model for Spam Detection in IoT Communication Networks
Abstract
The Internet of Things (IoT) has rapidly expanded into a global ecosystem of interconnected devices, enabling automation and intelligent decision-making across domains such as healthcare, smart homes, and industrial systems. However, this growth has also amplified security risks, with spam attacks manifesting as fake sensor readings, unauthorized commands, or traffic flooding posing severe threats to device reliability and data integrity. To counter these challenges, this study proposes an intelligent spam detection framework that integrates edge-level monitoring, IoT-specific feature engineering and machine learning (ML) techniques. The framework leverages statistical traffic features and advanced classifiers to differentiate between benign and malicious activity, ensuring dynamic, real-time detection suitable for deployment in resource-constrained IoT environments. Experimental validation was carried out using an adapted version of the REFIT Smart Home dataset, simulating both legitimate and adversarial traffic. Five ML models Logistic Regression, Support Vector Machines, Random Forest, Gradient Boosting, and Neural Networks were comparatively evaluated using accuracy, precision, recall, F1-score, and ROC-AUC as performance metrics. Results showed that Neural Networks achieved the highest accuracy (95.1%) and recall (95.7%), outperforming other models in capturing complex spam patterns. Random Forest and Gradient Boosting also demonstrated strong reliability, while Logistic Regression offered a lightweight, resource-efficient option. These findings affirm that machine learning, particularly deep and ensemble models, provides a robust pathway to securing IoT ecosystems against evolving spam threats.
References
2. Ahmed, I., Jeon, G., & Piccialli, F. (2022). From artificial intelligence to explainable artificial intelligence in IoT security. Information Fusion, 78, 20–40.
3. Bedi, P., Gupta, V., & Jindal, V. (2020). Spam detection using ensemble learning on IoT email datasets. Procedia Computer Science, 167, 996–1004. https://doi.org/10.1016/j.procs.2020.03.397
4. Cao, J., Li, H., & Yang, J. (2021). Blockchain-based trust management in IoT: A survey. Computers & Security, 103, 102202.
5. Ding, Y., Li, X., & Sun, G. (2021). Spam filtering in IoT devices using lightweight machine learning. Future Internet, 13(4), 95. https://doi.org/10.3390/fi13040095
6. Doshi, R., Apthorpe, N., & Feamster, N. (2018). Machine learning DDoS detection for consumer IoT devices. IEEE Security and Privacy Workshops, 29–35.
7. Ghosh, A., & Basu, S. (2021). AI-driven anomaly detection in IoT. IEEE Transactions on Network and Service Management, 18(3), 2654–2665.
8. Hussain, F., Abbas, S., & Khan, A. (2018). Machine learning for IoT intrusion detection: State of the art and future directions. IEEE Communications Surveys & Tutorials, 20(3), 2477–2501.
9. Jaiswal, M., & Gupta, H. (2018). Smart spam detection in IoT using big data analytics. Procedia Computer Science, 132, 230–237.
10. Jha, S., Singh, R., & Sharma, A. (2022). Spam detection in IoT systems using recurrent neural networks. Multimedia Tools and Applications, 81(23), 33649–33667. https://doi.org/10.1007/s11042-022-12656-2
11. Li, Q., & Zhao, X. (2024). A zero-trust approach to IoT spam detection. Computers & Security, 138, 103625.
12. Luo, J., & Xu, W. (2021). A survey on spam detection techniques in IoT systems. ACM Computing Surveys, 54(7), 1–35. https://doi.org/10.1145/3453150
13. Wang, Y., & Chen, K. (2021). Survey on deep learning in IoT spam filtering. ACM Computing Surveys, 54(11), 1–35.

