Skip to content
Open access

Intrusion detection based on the ManFormer model

Sep 2026 · Engineering Research Express · Vol 8 · 0 citations · 29 references
Physics

TL;DR

ManFormer is designed and implements, a hybrid Transformer–Mamba classification architecture that integrates Transformer and Mamba for high-dimensional imbalanced classification tasks, and achieves good overall performance in high-dimensional imbalanced multi-class intrusion detection tasks.

Abstract

Network intrusion detection is a key component for ensuring cyberspace security and stable network operation. To address the limitations of traditional methods in high-dimensional network traffic, such as insufficient representation capability, degraded performance in classifying complex attacks, and limited generalization ability, this study designs and implements ManFormer, a hybrid Transformer–Mamba classification architecture that integrates Transformer and Mamba for high-dimensional imbalanced classification tasks. The proposed model uses a Transformer module to capture global interactions among PCA-derived latent feature tokens, and further introduces a Mamba state-space module to refine the dependencies within the context-enhanced latent feature sequence. This design improves, to some extent, the comprehensive recognition capability for complex attack categories and improves Macro-F1 to a certain extent. During data preprocessing, Borderline-SMOTE is applied to oversample minority-class samples in the training set, with a focus on difficult samples near class boundaries, thereby alleviating the class imbalance problem. In addition, CBLoss is adopted as the training loss function to dynamically adjust the weights of different classes and further compensate for differences in sample size. Experimental results show that ManFormer achieves good overall performance in high-dimensional imbalanced multi-class intrusion detection tasks. Although it improves Macro-F1 compared with standalone Transformer and Mamba models, the stable recognition of extremely rare attack classes remains challenging. Therefore, the proposed method should be regarded as an effective mitigation strategy for imbalanced intrusion detection, rather than a complete solution to extreme rare-class recognition.

Read PDF

Similar papers

Open access 2026

Network Intrusion Detection With Contrastive Learning and Transformer

A Transformer-based network intrusion detection system (t-NIDS) that integrates a Transformer encoder with contrastive learning to learn discriminative and robust feature representations for network traffic classification is proposed, suitable for practical deployment in real-world network intrusion detection environme...

Gyu-Bum Han, Byung-Chang Chung · 0 citations
Open access Aug 2026

An enhanced multi-model ensemble learning architecture for robust network intrusion detection

An Enhanced Multi-Model Ensemble Network Intrusion Detection System (EME-NIDS), a deep meta-learning system that combines five different heterogeneous learning paradigms, including Convolutional Neural Networks, Dense Neural Networks, Transformers, XGBoost, and Random Forests is introduced.

Dwarsala Sireesha, Kakelli Anil Kumar · 0 citations
Conference Sep 2026

A Robust Ensemble-Learning Framework for Intrusion Detection on CICIDS2017

Network intrusion detection systems (IDS) continue to struggle with redundant records, imbalanced attack classes, and limited model transparency. This paper presents a robust ensemble-learning framework for intrusion detection built on the CICIDS2017 dataset, and it incorporates removal of duplicate flows, handling of...

Anas Muhammad, Zhong-Sheng Wang, Talha Bin Shakeel · 0 citations
Conference Aug 2026

AT-IDS: An Adaptive Transformer-Based Intrusion Detection System with Dynamic Feature Learning and Dual-Path Attention

The problem of intrusion detection in networks is of major concern due to an increase in the number of sophisticated attack patterns. Typical machine learning models are limited either in terms of feature importance ranking capability or their ability to adapt to ever-changing traffic patterns in high-dimensional and c...

S. Nagendrudu, Shaik Mohammed Anays, F. Mahammad et al. · 0 citations
Sep 2026

Advanced security learning model for predicting network threats with intelligent approaches

Experimental outcomes indicate that EL-NTP demonstrates comparable detection capabilities to several previously established NI detection (NID) methods and is proficient in recognizing a diverse array of NI types.

Pathan M. Z. Saida Khanam, Sathish Kumar Kannaiah · 0 citations
Open access Sep 2026

An LSTM-based intrusion detection model utilizing feature selection and dropout

This approach is particularly effective at detecting minority attack types, especially Web attack and Bot, in the multi-class classification, and outperforms traditional methods such as convolutional neural network (CNN), Logistic Regression, and Bayesian models in binary as well as multi-class classification tasks.

Qi Wu, Yong-Qing He, Yang Liu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.