Learning from Few Samples: A Novel Approach for High-Quality Malcode Generation
Not on the map. Why?
Abstract (arXiv)
Intrusion Detection Systems (IDS) play a crucial role in network security defense. However, a significant challenge for IDS in training detection models is the shortage of adequately labeled malicious samples. To address these issues, this paper introduces a novel semi-supervised framework GANGRL-LLM, which integrates Generative Adversarial Networks (GANs) with Large Language Models (LLMs) to enhance malicious code generation and SQL Injection (SQLi) detection capabilities in few-sample learning scenarios. Specifically, our framework adopts a collaborative training paradigm where: (1) the GAN-based discriminator improves malicious pattern recognition through adversarial learning with generated samples and limited real samples; and (2) the LLM-based generator refines the quality of malicious code synthesis using reward signals from the discriminator. The experimental results demonstrate that even with a limited number of labeled samples, our training framework is highly effective in enhancing both malicious code generation and detection capabilities. This dual enhancement capability offers a promising solution for developing adaptive defense systems capable of countering evolving cyber threats.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 25 of its 66 references that are in the map. First posted on arXiv 25 Aug 2025.
Builds on
25 of 66 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Generative Adversarial Networkscited by 5,627
- 2016Improved Techniques for Training GANscited by 2,970
- 2020Learning to summarize from human feedbackcited by 2,588
- 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,391
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2016SeqGAN: Sequence Generative Adversarial Nets with Policy Gradientcited by 376
- 2021Context-aware Biaffine Localizing Network for Temporal Sentence Groundingcited by 107
- 2017Long Text Generation via Adversarial Training with Leaked Informationcited by 100
- 2020Jointly Cross- and Self-Modal Graph Attention Network for Query-Based Moment Localizationcited by 74
- 2023On the Effectiveness of Large Language Models in Domain-Specific Code Generationcited by 44
- 2022Multi-Modal Cross-Domain Alignment Network for Video Moment Retrievalcited by 43
13 more
- 2023You Can Ground Earlier than See: An Effective and Efficient Pipeline for Temporal Sentence Grounding in Compressed Videoscited by 41
- 2017Maximum-Likelihood Augmented Discrete Generative Adversarial Networkscited by 39
- 2020Unbalanced Incomplete Multi-view Clustering via the Scheme of View Evolution: Weak Views are Meat; Strong Views do Eatcited by 30
- 2020ANIMC: A Soft Framework for Auto-weighted Noisy and Incomplete Multi-view Clusteringcited by 30
- 2022Restricted Black-box Adversarial Attack Against DeepFake Face Swappingcited by 25
- 2020Double Self-weighted Multi-view Clustering via Adaptive View Fusioncited by 23
- 2022The Enemy of My Enemy is My Friend: Exploring Inverse Adversaries for Improving Adversarial Trainingcited by 23
- 2024Your Data Is Not Perfect: Towards Cross-Domain Out-of-Distribution Detection in Class-Imbalanced Datacited by 21
- 2022Exploring the Devil in Graph Spectral Domain for 3D Point Cloud Attackscited by 19
- 2022A survey on text generation using generative adversarial networkscited by 16
- 2024Multi-Pair Temporal Sentence Grounding via Multi-Thread Knowledge Transfer Networkcited by 15
- 2024Uncertainty-Guided Appearance-Motion Association Network for Out-of-Distribution Action Detectioncited by 12
- 20233DHacker: Spectrum-based Decision Boundary Generation for Hard-label 3D Point Cloud Attackcited by 9
Built on by
Not cited yet.