{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,29]],"date-time":"2026-10-29T20:48:18Z","timestamp":1793306898970,"version":"4.5.0"},"reference-count":43,"publisher":"MDPI AG","issue":"15","license":[{"start":{"date-parts":[[2022,7,27]],"date-time":"2022-07-27T00:00:00Z","timestamp":1658880000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100002809","name":"Generalitat de Catalunya","doi-asserted-by":"publisher","award":["2017SGR962"],"award-info":[{"award-number":["2017SGR962"]}],"id":[{"id":"10.13039\/501100002809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100002809","name":"Generalitat de Catalunya","doi-asserted-by":"publisher","award":["001-P-001723"],"award-info":[{"award-number":["001-P-001723"]}],"id":[{"id":"10.13039\/501100002809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100002809","name":"DRAC Project","doi-asserted-by":"publisher","award":["2017SGR962"],"award-info":[{"award-number":["2017SGR962"]}],"id":[{"id":"10.13039\/501100002809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100002809","name":"DRAC Project","doi-asserted-by":"publisher","award":["001-P-001723"],"award-info":[{"award-number":["001-P-001723"]}],"id":[{"id":"10.13039\/501100002809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Cyberattacks in the Internet of Things (IoT) are growing exponentially, especially zero-day attacks mostly driven by security weaknesses on IoT networks. Traditional intrusion detection systems (IDSs) adopted machine learning (ML), especially deep Learning (DL), to improve the detection of cyberattacks. DL-based IDSs require balanced datasets with large amounts of labeled data; however, there is a lack of such large collections in IoT networks. This paper proposes an efficient intrusion detection framework based on transfer learning (TL), knowledge transfer, and model refinement, for the effective detection of zero-day attacks. The framework is tailored to 5G IoT scenarios with unbalanced and scarce labeled datasets. The TL model is based on convolutional neural networks (CNNs). The framework was evaluated to detect a wide range of zero-day attacks. To this end, three specialized datasets were created. Experimental results show that the proposed TL-based framework achieves high accuracy and low false prediction rate (FPR). The proposed solution has better detection rates for the different families of known and zero-day attacks than any previous DL-based IDS. These results demonstrate that TL is effective in the detection of cyberattacks in IoT environments.<\/jats:p>","DOI":"10.3390\/s22155621","type":"journal-article","created":{"date-parts":[[2022,7,28]],"date-time":"2022-07-28T03:21:16Z","timestamp":1658978476000},"page":"5621","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":98,"title":["Transfer-Learning-Based Intrusion Detection Framework in IoT Networks"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5904-7039","authenticated-orcid":false,"given":"Eva","family":"Rodr\u00edguez","sequence":"first","affiliation":[{"name":"Department of Computer Architecture, Universitat Polit\u00e8cnica de Catalunya, 08034 Barcelona, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Pol","family":"Valls","sequence":"additional","affiliation":[{"name":"Department of Computer Architecture, Universitat Polit\u00e8cnica de Catalunya, 08034 Barcelona, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Beatriz","family":"Otero","sequence":"additional","affiliation":[{"name":"Department of Computer Architecture, Universitat Polit\u00e8cnica de Catalunya, 08034 Barcelona, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2479-0230","authenticated-orcid":false,"given":"Juan Jos\u00e9","family":"Costa","sequence":"additional","affiliation":[{"name":"Department of Computer Architecture, Universitat Polit\u00e8cnica de Catalunya, 08034 Barcelona, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4485-2419","authenticated-orcid":false,"given":"Javier","family":"Verd\u00fa","sequence":"additional","affiliation":[{"name":"Department of Computer Architecture, Universitat Polit\u00e8cnica de Catalunya, 08034 Barcelona, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Manuel Alejandro","family":"Pajuelo","sequence":"additional","affiliation":[{"name":"Department of Computer Architecture, Universitat Polit\u00e8cnica de Catalunya, 08034 Barcelona, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ramon","family":"Canal","sequence":"additional","affiliation":[{"name":"Department of Computer Architecture, Universitat Polit\u00e8cnica de Catalunya, 08034 Barcelona, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,7,27]]},"reference":[{"key":"ref_1","unstructured":"(2022, May 27). Internet Security Report. Available online: https:\/\/www.watchguard.com\/wgrd-resource-center\/security-report-q3-2020."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"17","DOI":"10.1109\/MCE.2019.2953740","article-title":"Consumer IoT: Security Vulnerability Case Studies and Solutions","volume":"2","author":"Alladi","year":"2020","journal-title":"IEEE Consum. Electron. Mag."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"107840","DOI":"10.1016\/j.comnet.2021.107840","article-title":"Machine learning methods for cyber security intrusion detection: Datasets and comparative study","volume":"188","author":"Kilincer","year":"2021","journal-title":"Comput. Netw."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2432","DOI":"10.1109\/COMST.2017.2707140","article-title":"State-of-the-art deep learning: Evolving machine intelligence toward tomorrow\u2019s intelligent network traffic control systems","volume":"19","author":"Fadlullah","year":"2017","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Thamilarasu, G., and Chawla, S. (2019). Towards Deep-Learning-Driven Intrusion Detection for the Internet of Things. Sensors, 19.","DOI":"10.3390\/s19091977"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"1920","DOI":"10.1109\/COMST.2021.3086296","article-title":"A Survey of Deep Learning Techniques for Cybersecurity in Mobile Networks","volume":"23","author":"Otero","year":"2021","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Wu, P., Guo, H., and Buckland, R. (2019, January 15). A Transfer Learning Approach for Network Intrusion Detection. Proceedings of the IEEE 4th International Conference on Big Data Analytics ICBDA, Suzhou, China.","DOI":"10.1109\/ICBDA.2019.8713213"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Ruder, S., Peters, M., Swayamdipta, S., and Wolf, T. (2019, January 1). A Transfer Learning in Natural Language Processing Tutorial. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics, Minneapolis, Minnesota.","DOI":"10.18653\/v1\/N19-5004"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"322","DOI":"10.1016\/j.conbuildmat.2017.09.110","article-title":"Deep Convolutional Neural Networks with transfer learning for computer vision-based data-driven pavement distress detection","volume":"157","author":"Kasthurirangan","year":"2017","journal-title":"Constr. Build Mater."},{"key":"ref_10","unstructured":"(2022, May 27). BoT IoT Dataset. Available online: https:\/\/research.unsw.edu.au\/projects\/bot-iot-dataset."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Moustafa, N., and Slay, J. (2015, January 10). UNSW-NB15: A comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set). Proceedings of the Military Communications and Information Systems Conference MilCIS, Canberra, Australia.","DOI":"10.1109\/MilCIS.2015.7348942"},{"key":"ref_12","unstructured":"(2022, May 27). NSL-KDD. Available online: http:\/\/kdd.ics.uci.edu\/databases\/kddcup99\/kddcup99.html."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Masum, M., and Shahriar, H. (2020, January 8). TL-NID: Deep Neural Network with Transfer Learning for Network Intrusion Detection. Proceedings of the 15th International Conference for Internet Technology and Secured Transactions ICITST, London, UK.","DOI":"10.23919\/ICITST51030.2020.9351317"},{"key":"ref_14","first-page":"1326","article-title":"Transfer Learning Based Prototype for Zero-Day Attack Detection","volume":"8","author":"Sameera","year":"2019","journal-title":"Int. J. Eng. Adv. Technol."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Zhao, J., Shetty, S., and Pan, J.W. (2017, January 23). Feature-based transfer learning for network security. Proceedings of the IEEE Military Communications Conference MILCOM, Baltimore, MD, USA.","DOI":"10.1109\/MILCOM.2017.8170749"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Singla, A., Bertino, E., and Verma, D. (2019, January 12). Overcoming the Lack of Labeled Data: Training Intrusion Detection Models Using Transfer Learning. Proceedings of the IEEE International Conference on Smart Computing SMARTCOMP, Washington, DC, USA.","DOI":"10.1109\/SMARTCOMP.2019.00031"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"119","DOI":"10.1016\/j.ins.2020.05.130","article-title":"Transfer learning based intrusion detection scheme for Internet of vehicles","volume":"547","author":"Li","year":"2021","journal-title":"Inf. Sci."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"184","DOI":"10.1109\/COMST.2015.2402161","article-title":"Intrusion detection in 802.11 networks: Empirical evaluation of threats and a public dataset","volume":"18","author":"Kolias","year":"2015","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Mehedi, S.T., Anwar, A., Rahman, Z., and Ahmed, K. (2021). Deep Transfer Learning Based Intrusion Detection System for Electric Vehicular Networks. Sensors, 21.","DOI":"10.3390\/s21144736"},{"key":"ref_20","unstructured":"Kang, H., Kwak, B., Lee, Y.H., Lee, H., Lee, H., and Kim, H.K. (2022, May 27). Car Hacking: Attack and Defense Challenge 2020 Dataset. IEEE Dataport 2021. Available online: https:\/\/ieee-dataport.org\/open-access\/car-hacking-attack-defense-challenge-2020-dataset."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Fan, Y., Li, Y., Zhan, M., Cui, H., and Zhang, Y. (2021, January 1). IoTDefender: A Federated Transfer Learning Intrusion Detection Framework for 5G IoT. Proceedings of the IEEE 14th International Conference on Big Data Science and Engineering BigDataSE, Guangzhou, China.","DOI":"10.1109\/BigDataSE50710.2020.00020"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Sharafaldin, I., Habibi Lashkari, A., and Ghorbani, A.A. (2018, January 24). New Intrusion Detection Dataset and Intrusion Traffic Characterization. Proceedings of the 4th International Conference on Information Systems Security and Privacy ICISSP, Funchal, Portugal.","DOI":"10.5220\/0006639801080116"},{"key":"ref_23","first-page":"1059","article-title":"Accelerating the update of a DL-based IDS for IoT using deep transfer learning","volume":"23","author":"Idrissi","year":"2021","journal-title":"Indones. J. Electr. Eng. Comput. Sci."},{"key":"ref_24","unstructured":"(2022, May 27). ToN IoT Dataset. Available online: https:\/\/research.unsw.edu.au\/projects\/toniot-datasets."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"3351","DOI":"10.1007\/s13042-021-01415-4","article-title":"Deep transfer learning-based network traffic classification for scarce dataset in 5G IoT systems","volume":"12","author":"Guan","year":"2021","journal-title":"Int. J. Mach. Learn. Cyber"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"920","DOI":"10.1016\/j.compeleceng.2018.03.005","article-title":"Network traffic classification based on transfer learning","volume":"69","author":"Sun","year":"2018","journal-title":"Comput. Electr. Eng."},{"key":"ref_27","unstructured":"Tan, M., and Le, Q. (2019, January 15). EfficientNet: Rethinking model scaling for convolutional neural networks. Proceedings of the 36th International Conference on Machine Learning PMLR, Long Beach, CA, USA."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Kolesnikov, A., Beyer, L., Zhai, X., Puigcerver, J., Yung, J., Gelly, S., and Houlsby, N. (2020, January 28). Big Transfer (BiT): General visual representation learning. Proceedings of the European Conference on Computer Vision ECCV, Glasgow, UK.","DOI":"10.1007\/978-3-030-58558-7_29"},{"key":"ref_29","unstructured":"(2022, May 27). USTC-TFC2016. Available online: https:\/\/github.com\/yungshenglu\/USTC-TFC2016\/."},{"key":"ref_30","first-page":"1","article-title":"Dependable Intrusion Detection System for IoT: A Deep Transfer Learning-based Approach","volume":"1","author":"Mehedi","year":"2022","journal-title":"IEEE Trans. Ind. Inf."},{"key":"ref_31","unstructured":"Arbib, M.A. (1998). Convolutional networks for images, speech, and time series. The Handbook of Brain Theory and Neural Networks, MIT Press."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"328","DOI":"10.1109\/29.21701","article-title":"Phoneme recognition using time-delay neural networks","volume":"37","author":"Waibel","year":"1989","journal-title":"IEEE Trans. Acoust. Speech Lang. Process."},{"key":"ref_33","first-page":"1097","article-title":"ImageNet classification with deep convolutional neural networks","volume":"25","author":"Krizhevsky","year":"2012","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Roopak, M., Tian, G.Y., and Chambers, J. (2019, January 7). Deep learning models for cyber security in IoT networks. Proceedings of the 9th IEEE Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA.","DOI":"10.1109\/CCWC.2019.8666588"},{"key":"ref_35","first-page":"1","article-title":"Deep packet a novel approach for encrypted traffic classification using deep learning","volume":"24","author":"Lotfollahi","year":"2019","journal-title":"Soft. Comput."},{"key":"ref_36","first-page":"427","article-title":"Deep Learning and Transfer Learning Approaches for Image Classification","volume":"7","author":"Krishna","year":"2019","journal-title":"Int. J. Recent Technol. Eng."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"43","DOI":"10.1109\/JPROC.2020.3004555","article-title":"A Comprehensive Survey on Transfer Learning","volume":"109","author":"Zhuang","year":"2021","journal-title":"Proc. IEEE"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"1345","DOI":"10.1109\/TKDE.2009.191","article-title":"A Survey on Transfer Learning","volume":"22","author":"Pan","year":"2010","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Tan, C., Sun, F., Kong, T., Zhang, W., Yang, C., and Liu, C. (2018, January 4). A Survey on Deep Transfer Learning. Proceedings of the Artificial Neural Networks and Machine Learning (ICANN), Rhodes, Greece.","DOI":"10.1007\/978-3-030-01424-7_27"},{"key":"ref_40","first-page":"1","article-title":"How transferable are features in deep neural networks?","volume":"27","author":"Yosinski","year":"2014","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_41","unstructured":"(2022, May 27). TensorFlow. Available online: https:\/\/www.tensorflow.org\/."},{"key":"ref_42","unstructured":"(2022, May 27). Keras: The Python Deep Learning Library. Available online: https:\/\/keras.io\/."},{"key":"ref_43","unstructured":"(2022, May 27). TL-Based IDS Framework GitHub Repository. Available online: http:\/\/github.com\/polvalls9\/Transfer-Learning-Based-Intrusion-Detection-in-5G-and-IoT-Networks."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/15\/5621\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T23:57:38Z","timestamp":1760140658000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/15\/5621"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,7,27]]},"references-count":43,"journal-issue":{"issue":"15","published-online":{"date-parts":[[2022,8]]}},"alternative-id":["s22155621"],"URL":"https:\/\/doi.org\/10.3390\/s22155621","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,7,27]]}}}