[Paper Review] Semi-WTC: A Practical Semi-supervised Framework for Attack Categorization through Weight-Task Consistency
This paper proposes Semi-WTC, a semi-supervised framework for fine-grained attack categorization that uses weight-task consistency (WTC) to address class imbalance and a recurrent prototype module (RPM) for effective self-supervised training. It achieves 94.06% accuracy and a 90% reduction in training time compared to state-of-the-art methods.
Supervised learning has been widely used for attack categorization, requiring high-quality data and labels. However, the data is often imbalanced and it is difficult to obtain sufficient annotations. Moreover, supervised models are subject to real-world deployment issues, such as defending against unseen artificial attacks. To tackle the challenges, we propose a semi-supervised fine-grained attack categorization framework consisting of an encoder and a two-branch structure and this framework can be generalized to different supervised models. The multilayer perceptron with residual connection is used as the encoder to extract features and reduce the complexity. The Recurrent Prototype Module (RPM) is proposed to train the encoder effectively in a semi-supervised manner. To alleviate the data imbalance problem, we introduce the Weight-Task Consistency (WTC) into the iterative process of RPM by assigning larger weights to classes with fewer samples in the loss function. In addition, to cope with new attacks in real-world deployment, we propose an Active Adaption Resampling (AAR) method, which can better discover the distribution of unseen sample data and adapt the parameters of encoder. Experimental results show that our model outperforms the state-of-the-art semi-supervised attack detection methods with a 3% improvement in classification accuracy and a 90% reduction in training time.
Motivation & Objective
- To address the challenge of data imbalance in semi-supervised attack categorization, where minority attack classes are underrepresented.
- To improve model generalization and robustness in real-world deployment by handling unseen attacks and adversarial perturbations.
- To reduce the dependency on large-scale labeled data through an active, distribution-aware sample selection mechanism.
- To develop a generic, extensible framework compatible with various deep learning models for intrusion detection.
- To enhance training efficiency and classification performance in fine-grained attack detection under limited labeling.
Proposed method
- The framework employs a two-branch architecture combining a supervised branch and an unsupervised branch to enforce consistency between predictions.
- A ResBMLP (Residual-Connected Multilayer Perceptron) is used as the encoder to extract robust features with reduced complexity.
- The Recurrent Prototype Module (RPM) enables iterative self-supervised learning by updating prototypes from pseudo-labeled unlabeled data.
- Weight-Task Consistency (WTC) dynamically assigns higher loss weights to underrepresented classes during training to mitigate long-tail imbalance.
- Active Adaption Resampling (AAR) selects core samples that best represent category distributions, improving generalization over decision boundary-based sampling.
- The framework is modular and can be integrated with various supervised models, enabling plug-and-play deployment.
Experimental results
Research questions
- RQ1Can a semi-supervised framework effectively improve classification accuracy in fine-grained attack categorization with limited labeled data?
- RQ2How can class imbalance in attack datasets be mitigated without requiring extensive reweighting or data augmentation?
- RQ3Can active sample selection based on distributional representativeness outperform traditional active learning in intrusion detection?
- RQ4To what extent does the framework maintain robustness against unseen attacks and adversarial examples in real-world deployment?
- RQ5How does the integration of WTC and RPM improve training efficiency and model generalization?
Key findings
- Semi-WTC achieves 94.06% classification accuracy on the AndMal 2020 dataset, outperforming the previous SOTA method (FARE-semisup) by 2.93 percentage points.
- The model reduces training time by 90% compared to FARE-semisup, achieving a training time of only 146 seconds.
- Semi-WTC improves macro-F1 score to 93.72%, demonstrating strong performance on minority attack classes.
- The framework shows robustness against poisoning attacks and adversarial examples due to its self-supervised and consistency-based training.
- The Active Adaption Resampling (AAR) method successfully identifies representative samples, enhancing model generalization beyond standard active learning.
- The framework achieves a 24% accuracy improvement over K-Means and a 3% gain over MixMatch on the AndMal 2020 dataset.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.