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.
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...
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.
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· 2026 9th International Confe...· 0 citations
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.· 2026 6th International Confe...· 0 citations
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· Information Security Journal...· 0 citations
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.· PeerJ Computer Science· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.