Federated transfer learning-based intrusion detection system in 5G networks

As our world becomes increasingly interconnected through 5G networks and the Internet of Things (IoT), the security of these systems has become ever more important. This study, published in Expert Systems with Applications, introduces a groundbreaking approach to protecting these networks while maintaining user privacy.

The Motivation: Security vs. Privacy

Traditional security systems, known as Intrusion Detection Systems (IDS), act like a digital burglar alarm, constantly scanning network traffic for signs of a hack or “intrusion”. Historically, to make these systems smart, researchers had to collect massive amounts of data from various devices and store them in a central location. Nowadays, this raises serious privacy issues and users hesitate to share their private data with a central server, even for security purposes.

The Background: Where Standard Models Fail

To solve the privacy problem, scientists previously turned to Federated Learning. In this setup, instead of sending raw data to a central server, each device (or “node”) trains its own security model locally and only shares the “lessons learned” (mathematical updates). While this protects privacy, it faces the major hurdle of “unbalanced data”. In a real-world 5G network, this refers to when some devices might rarely see an attack, while others are bombarded with attacks. Standard Federated Learning models struggle to learn effectively when the data is so unevenly distributed, often failing to recognize new or “unknown” types of cyberattacks.

The New Frontier: Federated Transfer Learning

The researchers behind this new study have introduced Federated Transfer Learning to 5G network security. The “Transfer” part is the key innovation – which introduces a “pre-training” phase that significantly boosts the intelligence of local security models.


To understand this in a professional context, imagine a global medical research network. A prestigious teaching hospital uses a massive, diverse database of millions of patient records to develop a highly sophisticated diagnostic tool (this is the “Source Domain”). This tool is then shared with small, private clinics (the “Target Domain”). Even if a small clinic has never encountered a rare disease before, the tool “transfers” the foundational knowledge from the large hospital, allowing the local clinic to identify the illness immediately while keeping its own patients’ records strictly private.


In the context of 5G, the system is first trained on a massive, well-documented set of cyberattacks. It then “transfers” this foundational knowledge to individual nodes in a 5G network. This allows even the most isolated devices – those that haven’t seen many attacks, to benefit from a global pool of expertise.

Why this is a Game-Changer

The results of this study are impressive. The researchers found that for devices with very little exposure to malicious traffic, the new Federated Transfer Learning approach improved the detection of unknown attacks by over 62%. Specifically, detection rates jumped from a meager 19% under old methods to a robust 81.7%. Furthermore, the overall accuracy of the system remained high, reaching over 91% even in the most challenging, “imbalanced” scenarios where traditional models frequently failed.


By combining the privacy-preserving nature of Federated Learning with the intelligence-sharing power of Transfer Learning, this research paves the way for a 5G future that is faster and significantly more resilient against the evolving landscape of cyber threats.

Publication Details

Federated transfer learning-based intrusion detection system in 5G networks

Authors: Andrea Bellmunt, Beatriz Otero, Eva Rodríguez, Xavier Masip-Bruin

MARE Partner: Universitat Politècnica de Catalunya (UPC)

Journal: Expert Systems with Applications, 5 April 2026, Article: 130868, Volume: Volume 305. Journal website.

Abstract: The development of Intrusion Detection Systems (IDS) for the Internet of Things (IoT) and 5G networks is rapidly advancing. This study investigates the application of federated architectures to train detection models while preserving data privacy by eliminating the need for data sharing among devices. We propose a Federated Transfer Learning (FTL) model tailored for scenarios with unbalanced nodes, enhancing the detection capabilities for unknown attacks compared to conventional Federated Learning (FL) approaches. Utilizing the Bot-IoT dataset as the source domain and the UNSW-NB15 dataset as the target domain, our experiments reveal significant improvements in detection performance.
Specifically, nodes characterized by lower proportions of malicious traffic demonstrate up to a 62.614 % enhancement in detecting unknown attacks, increasing detection rates from 19.090 % to 81.704 %. Moreover, our findings indicate that FTL not only improves the identification of unknown threats but also maintains robust performance in detecting both attacks and benign traffic. Notably, the minimum accuracy achieved by the most imbalanced node reaches 0.912, in contrast to 0.741 with standard FL models.
These results highlight the potential of FTL to train robust models across distributed nodes while ensuring privacy, thereby contributing to improved security measures in IoT and 5G networks.