Effective Anomaly Detection in 5G Networks via Transformer-Based Models and Contrastive Learning
In this paper, we present a novel approach to anomaly detection in 5G networks using contrastive learning and transformer-based models. Leveraging the power of self-supervision mechanisms, we aim to enhance the detection of anomalous network activities that can compromise the secu-rity and reliability of 5G networks. The methodology involves the use of pretrained transformer models (DistilBERT, BERT, RoBERTa, and ALBERT) as encoders, followed by a projection layer to reduce the dimensionality of the embeddings. We employ a contrastive learning objective to train the models, encouraging the separation of normal and anomalous data points. The trained models are evaluated on a custom 5G testbed dataset, which simulates various normal operations and attack scenarios. Our experimental results demonstrate that DistilBERT, RoBERTa, and ALBERT achieve high accuracy, precision, recall, and Fl-score, significantly outperforming BERT. We provide a comprehensive visualization analysis of each model's performance to illustrate their effectiveness. The findings underscore the effectiveness of contrastive learning combined with transformer-based architectures in achieving robust anomaly detection in 5G networks, offering valuable insights for future research and practical implementations in enhancing network security.
Authors
- Susanna Pirttikangas (ORCID: https://orcid.org/0000-0003-2428-9948)
- Panos Kostakos (ORCID: https://orcid.org/0000-0002-8545-599X)
- Saeid Sheikhi (ORCID: https://orcid.org/0000-0002-3600-966X)
Institutions
- University of Oulu (FI)
Publication Details
- Published
- 2024-12-04
- DOI
- https://doi.org/10.1109/csnet64211.2024.10851755
- Citations
- 5
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 1.74