AnchorMixGAN: Anchor-Aligned Generative Semi-Supervision for DDoS Detection in Cloud-Integrated IoT Networks
Organizations: School of Cyber Science and Engineering, Sichuan University, Chengdu, 610207, China · College of Information Science and Technology, Xizang University, Lhasa, 850000, China · Shaanxi Key Laboratory of Intelligent Policing, Shaanxi Police College, Xi’an, 710021, China · China Academy of Transportation Sciences, Ministry of Transport of the People’s Republic of China, Beijing, 100029, China ·
Abstract
Detecting distributed denial-of-service (DDoS) attacks in cloud-integrated IoT networks is difficult when labeled traffic is scarce. Generative semi-supervised learning can supplement the available training data, but prediction shifts induced by synthetic views may affect the targets assigned to real unlabeled flows. We propose AnchorMixGAN, a generative semi-supervised framework that addresses this problem through anchor-aligned target construction. Its Anchor-MAS module treats each real unlabeled flow as an anchor and creates alternative views by replacing one field group at a time with values from generated traffic. A frozen reference classifier predicts the anchor and its views; averaging and sharpening these predictions produces a soft target for the original flow. The flow and its target are then mixed with a labeled example using MixUp, allowing the detector to learn from both the original labeled records and the mixed examples. We analyze how reference-classifier error, view construction, and sharpening affect the target, and derive a bound on the resulting change in cross-entropy at a fixed detector prediction. At the reported 90% training setting with 20% of the training records labeled, AnchorMixGAN attains accuracies of 97.3%, 97.4%, and 96.5% on NSLKDD, BoT-IoT, and CICIoT2023, respectively, exceeding the corresponding MixGAN results by 1.6, 1.0, and 4.4 percentage points.
Figures & tables
| // Step 1: Construct anchor-dependent targets |
| Train on ; freeze in evaluation mode. |
| Select real anchors and fix the pairs . |
| for do |
| Sample donors and whole-group masks . |
| . |
| . |
| Accuracy (%) | ||
| 0.40 | 0.7 | 96.16 |
| 0.75 | 0.7 | 96.93 |
| 0.90 | 0.7 | 95.82 |
| 0.75 | 0.3 | 96.85 |
| 0.75 | 0.5 | 97.37 |
| Labeling Ratio | Accuracy | TPR | TNR |
| 1% | 0.926 | 0.926 | 0.933 |
| 5% | 0.944 | 0.944 | 0.945 |
| 10% | 0.957 | 0.957 | 0.956 |
| 20% | 0.974 | 0.973 | 0.974 |
Network Intrusion Detection
Network intrusion detection identifies malicious or abnormal network activity to help protect computers, connected devices, and critical infrastructure.
See all 165 papers