@inproceedings{ma-etal-2025-learning,
title = "Learning from Few Samples: A Novel Approach for High-Quality Malcode Generation",
author = "Ma, Haijian and
Liu, Daizong and
Cai, Xiaowen and
Zhou, Pan and
Xie, Yulai",
editor = "Christodoulopoulos, Christos and
Chakraborty, Tanmoy and
Rose, Carolyn and
Peng, Violet",
booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2025",
address = "Suzhou, China",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/name-variant-enfa-fane/2025.emnlp-main.70/",
doi = "10.18653/v1/2025.emnlp-main.70",
pages = "1341--1358",
ISBN = "979-8-89176-332-6",
abstract = "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."
}Markdown (Informal)
[Learning from Few Samples: A Novel Approach for High-Quality Malcode Generation](https://preview.aclanthology.org/name-variant-enfa-fane/2025.emnlp-main.70/) (Ma et al., EMNLP 2025)
ACL