# Federated Lightweight Transformer for Network-Layer Cyberattack Detection in O-RAN

DevFeed: [Federated Lightweight Transformer for Network-Layer Cyberattack Detection in O-RAN](<https://devfeed.tech/articles/federated-lightweight-transformer-for-network-layer-cyberattack-detection-in-o-ran-125853.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09992>)

Author: Hong Nhung Nguyen, Abdulahi Badrudeen, Yekaterina Kim, Truong Thu Huong, Sunwoo Kim

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Transformer](<https://devfeed.tech/topics/transformer.md>), [Endpoint Security & XDR](<https://devfeed.tech/topics/endpoint-security-xdr.md>), [5G](<https://devfeed.tech/topics/5g.md>), [netflow](<https://devfeed.tech/topics/netflow.md>)

Tags: [5g](<https://devfeed.tech/tags/5g.md>), [attack](<https://devfeed.tech/tags/attack.md>), [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [attention](<https://devfeed.tech/tags/attention.md>), [categories](<https://devfeed.tech/tags/categories.md>), [client](<https://devfeed.tech/tags/client.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cyberattack](<https://devfeed.tech/tags/cyberattack.md>), [data](<https://devfeed.tech/tags/data.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [detection](<https://devfeed.tech/tags/detection.md>), [dirichlet-distribution](<https://devfeed.tech/tags/dirichlet-distribution.md>), [disaggregation](<https://devfeed.tech/tags/disaggregation.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [federated](<https://devfeed.tech/tags/federated.md>), [layer](<https://devfeed.tech/tags/layer.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [network](<https://devfeed.tech/tags/network.md>), [transformer](<https://devfeed.tech/tags/transformer.md>)

## AI overview

The paper presents a federated lightweight Transformer for detecting network-layer attacks across heterogeneous O-RAN sites. Each site trains locally on temporally ordered network-flow records and shares only model parameters with a coordinator; Dirichlet-partitioned client data represents non-IID conditions. The detector combines feature projection, positional encoding, multi-head attention, feed-forward layers, and temporal pooling to classify ICMP, Slowloris, SYN, TCP-ACK, and UDP attacks. On the NetsLab 5G O-RAN intrusion-detection dataset, it reports 94.89% accuracy and 81.09% macro-F1. These results are from the described dataset and experimental setup.

## Source excerpt

arXiv:2611.09992v1 Announce Type: cross Abstract: Open Radio Access Network (O-RAN) improves radio access network flexibility through disaggregation, open interfaces, and programmable RAN Intelligent Controllers (RICs). However, the same openness and distribution increase the attack surface and make centralized intrusion detection difficult to scale across heterogeneous RAN sites. This paper presents a federated lightweight Transformer framework for privacy-preserving network-layer cyberattack detection in O-RAN. Each participating site trains a compact Transformer locally on temporally ordered network-flow records, while only model parameters are shared with a federated coordinator. To model realistic site heterogeneity, the client datasets are partitioned according to a Dirichlet distribution, resulting in non-independent and identically distributed (non-IID) local data. The local detector uses feature projection, positional encoding, multi-head self-attention, feed-forward layers, and temporal pooling to classify five network-layer attack categories: ICMP, Slowloris, SYN, TCP-ACK, and UDP. Experiments on the NetsLab 5G O-RAN intrusion-detection dataset show an overall accuracy of 94.89 % and a macro-F1 score of 81.09 %.