Diffusion-based Adversarial Purification for Intrusion Detection

Mohamed Amine Merzouk, Erwan Beurier, Reda Yaich, Nora Boulahia-Cuppens, Frédéric Cuppens
6/25/2024
cs.CRcs.AIcs.LG

No official code found. Best implementation: mamerzouk/adversarial-purification (2 stars, last commit 2025-06-30).

Abstract

The escalating sophistication of cyberattacks has encouraged the integration of machine learning techniques in intrusion detection systems, but the rise of adversarial examples presents a significant challenge. These crafted perturbations mislead ML models, enabling attackers to evade detection or trigger false alerts. As a reaction, adversarial purification has emerged as a compelling solution, particularly with diffusion models showing promising results. However, their purification potential remains unexplored in the context of intrusion detection. This paper demonstrates the effectiveness of diffusion models in purifying adversarial examples in network intrusion detection. Through a comprehensive analysis of the diffusion parameters, we identify optimal configurations maximizing adversarial robustness with minimal impact on normal performance. Importantly, this study reveals insights into the relationship between diffusion noise and diffusion steps, representing a novel contribution to the field. Our experiments are carried out on two datasets and against 5 adversarial attacks. The implementation code is publicly available.

View on arXivView PDF

Code Implementations(1)

20PythonNov 6, 20231 years ago

Cite this paper

@article{merzouk2024diffusionbased,
  title  = {Diffusion-based Adversarial Purification for Intrusion Detection},
  author = {Mohamed Amine Merzouk and Erwan Beurier and Reda Yaich and Nora Boulahia-Cuppens and Frédéric Cuppens},
  year   = {2024},
  eprint = {2406.17606},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17606v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17606.svg)](https://codeofpaper.com/paper/2406.17606)

Discussion