A Federated Learning Autoencoder CNN Hybrid Approach for Privacy Preserving Network Traffic Classification
Federated learning (FL) is an essential technique for classifying network traffic in a decentralized setting while maintaining privacy. In this paper, the Federated Learning Autoencoder Convolutional Neural Network (FL-AECNN), a hybrid federated model, is proposed. For unsupervised feature learning, the FL-AECNN combines a Convolutional Neural Network (CNN) classifier with an autoencoder. This combination improves classification accuracy, generalization, and feature representation quality. Furthermore, it works in environment where the data is Non-Independent and Identically Distributed (non-IID). In the model, the CNN is used for supervised classification, while the autoencoder transforms the traffic features into latent features. This model is hybrid due to its two functionalities. For the experiment, a customized Android traffic dataset with ten classes and the ISSC VPN2016 benchmark dataset with five classes are used to test the proposed model. In the experiment, the SMOTE algorithm is employed to balance the classes, and log transformation is used to normalize all the datasets to address the skewed features. The Federated Averaging algorithm, or FedAvg, is used to aggregate the model globally, while the local model is trained independently by the ten clients and the central server. The average training accuracy of the FL-AECNN model is 90.24%, and the range of the testing accuracy of the model is between 77.01% and 82.54%. These results show that the FL-AECNN model performs better in terms of accuracy and consistency compared to the Federated Learning Convolutional Neural Network (FLCNN). These results indicate the possibility of applying federated supervised classification and federated unsupervised representation learning to develop a new method of safe traffic assessment.
@article{parandekar2026,
author = {Apurva Bhalchandra Parandekar and Pritish A. Tijare},
title = {{A Federated Learning Autoencoder CNN Hybrid Approach for Privacy Preserving Network Traffic Classification}},
journal = {Journal of Trends in Computer Science and Smart Technology},
volume = {8},
number = {1},
pages = {47-62},
year = {2026},
publisher = {IRO Journals},
doi = {10.36548/jtcsst.2026.1.003},
url = {https://doi.org/10.36548/jtcsst.2026.1.003}
}
Copy Citation
- Alrawais, Arwa, Abdulrahman Alhothaily, Chunqiang Hu, and Xiuzhen Cheng. "Fog computing for the internet of things: Security and privacy issues." IEEE Internet Computing 21, no. 2 (2017): 34-42.
- Bakopoulou, Evita, Balint Tillman, and Athina Markopoulou. "Fedpacket: A federated learning approach to mobile packet classification." IEEE Transactions on Mobile Computing 21, no. 10 (2021): 3609-3628.
- McMahan, Brendan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Arcas. "Communication-efficient learning of deep networks from decentralized data." In Artificial intelligence and statistics, pp. 1273-1282. Pmlr, 2017.
- Cui, Susu, Bo Jiang, Zhenzhen Cai, Zhigang Lu, Song Liu, and Jian Liu. "A session-packets-based encrypted traffic classification using capsule neural networks." In 2019 IEEE 21st International Conference on High Performance Computing and Communications; IEEE 17th International Conference on Smart City; IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), pp. 429-436. IEEE, 2019.
- Kairouz, Peter, and H. Brendan McMahan. "Advances and open problems in federated learning." Foundations and trends in machine learning 14, no. 1-2 (2021): 1-210. https://doi.org/10.1561/2200000083
- Lopez-Martin, Manuel, Belen Carro, Antonio Sanchez-Esguevillas, and Jaime Lloret. "Network traffic classifier with convolutional and recurrent neural networks for Internet of Things." IEEE access 5 (2017): 18042-18050.
- Lotfollahi, Mohammad, Mahdi Jafari Siavoshani, Ramin Shirali Hossein Zade, and Mohammdsadegh Saberian. "Deep packet: A novel approach for encrypted traffic classification using deep learning." Soft Computing 24, no. 3 (2020): 1999-2012.
- Lu, Bei, Nurbol Luktarhan, Chao Ding, and Wenhui Zhang. "ICLSTM: encrypted traffic service identification based on inception-LSTM neural network." Symmetry 13, no. 6 (2021): 1080.
- Lim, Wei Yang Bryan, Nguyen Cong Luong, Dinh Thai Hoang, Yutao Jiao, Ying-Chang Liang, Qiang Yang, Dusit Niyato, and Chunyan Miao. "Federated learning in mobile edge networks: A comprehensive survey." IEEE communications surveys & tutorials 22, no. 3 (2020): 2031-2063.
- Jin, Zhiping, Zhibiao Liang, Meirong He, Yao Peng, Hanxiao Xue, and Yu Wang. "A federated semi‐supervised learning approach for network traffic classification." International Journal of Network Management 33, no. 3 (2023): e2222.
- Zhu, Wuji, Mohammad Goudarzi, and Rajkumar Buyya. "FLight: A lightweight federated learning framework in edge and fog computing." Software: Practice and Experience 54, no. 5 (2024): 813-841.
- Al-Fayoumi, Mustafa, Mohammad Al-Fawa’reh, and Shadi Nashwan. "VPN and non-VPN network traffic classification using time-related features." Computers, Materials, & Continua 72, no. 2 (2022): 3091.
- Smadia, Sami, Omar Almomanib, Adel Mohammadc, Mohammad Alauthmand, and Adeeb Saaidahe. "Vpn encrypted traffic classification using xgboost." International Journal 9, no. 7 (2021).
- Soleymanpour, Shiva, Hossein Sadr, and Homayoun Beheshti. "An efficient deep learning method for encrypted traffic classification on the web." In 2020 6th International Conference on Web Research (ICWR), pp. 209-216. IEEE, 2020.
- Wei, Kang, Jun Li, Ming Ding, Chuan Ma, Howard H. Yang, Farhad Farokhi, Shi Jin, Tony QS Quek, and H. Vincent Poor. "Federated learning with differential privacy: Algorithms and performance analysis." IEEE transactions on information forensics and security 15 (2020): 3454-3469.
- Yang, Qiang, Yang Liu, Tianjian Chen, and Yongxin Tong. "Federated machine learning: Concept and applications." ACM Transactions on Intelligent Systems and Technology (TIST) 10, no. 2 (2019): 1-19.
- Zeng, Yi, Huaxi Gu, Wenting Wei, and Yantao Guo. "$ Deep-Full-Range $: a deep learning based network encrypted traffic classification and intrusion detection framework." IEEE Access 7 (2019): 45182-45190.
- Gosselin, Rémi, Loïc Vieu, Faiza Loukil, and Alexandre Benoit. "Privacy and security in federated learning: A survey." Applied Sciences 12, no. 19 (2022): 9901.
- Zhou, Zhi, Xu Chen, En Li, Liekang Zeng, Ke Luo, and Junshan Zhang. "Edge intelligence: Paving the last mile of artificial intelligence with edge computing." Proceedings of the IEEE 107, no. 8 (2019): 1738-1762.