EUVIMEDОткрийте EUVIMED
Open access · CC BY 4.0

Diffusion–Attention Traffic Generation: Traffic Generation Based on the Fusion of a Diffusion Model and a Self-Attention Mechanism

Ziyi Wang, Zhenyu Guan, Xu Liu, Mengyan Qiao, Xuan Sun, Jun Li

Electronics · 2025-05-13 · 14 (10) · 1977

DOI: 10.3390/electronics14101977 ↗

At a glance

Journal article in Electronics, published online on 2025-05-13. Written by Ziyi Wang and 5 co-authors. Cited 5 times so far (Crossref); 28 references. The full text is freely available (open access, CC BY 4.0). Funded by: Basic Research Project of the Translational Applica-tion Project of the “Wise Eyes Action”.

РезюмеБиблиографски данниCiteRelated studies

Abstract (original language)

Network traffic generation technology plays a critical role in network testing and security protection. It simulates various network traffic patterns, offering intrusion detection systems with diverse samples. These samples enhance the system’s adaptability to emerging traffic types and improve detection capabilities. Additionally, it provides high-quality data for traffic analysis algorithms. These data help optimize model performance by increasing robustness and applicability. However, traditional generative models, like GAN networks, have limited capacity for capturing temporal flow features. As a result, they produce suboptimal generation outcomes. To address this issue, we propose the diffusion–attention traffic generation (DATG) framework. This framework combines a diffusion model with a self-attention mechanism. This integration ensures more accurate simulation of temporal characteristics. The diffusion model’s progressive denoising process guarantees generation stability. Meanwhile, the self-attention mechanism captures global temporal dependencies in traffic sequences. Experimental results validate the superior performance of our DATG by reducing the JSD to 0.18 through the synergistic optimization of the diffusion model and the self-attention mechanism, which is 41.9% better than that of GAN. Additionally, it establishes cross-step-length dependencies through the time dimension self-attention mechanism, which reduces the CRPS value to 0.13, which is 31.6% lower than that of GAN.

Funding

  • Basic Research Project of the Translational Applica-tion Project of the “Wise Eyes Action”

Cite

APA

Wang, Z., Guan, Z., Liu, X., Qiao, M., Sun, X., & Li, J. (2025). Diffusion–Attention Traffic Generation: Traffic Generation Based on the Fusion of a Diffusion Model and a Self-Attention Mechanism. Electronics, 14(10), 1977. https://doi.org/10.3390/electronics14101977

Vancouver

Wang Z, Guan Z, Liu X, Qiao M, Sun X, Li J. Diffusion–Attention Traffic Generation: Traffic Generation Based on the Fusion of a Diffusion Model and a Self-Attention Mechanism. Electronics. 2025;14(10):1977. doi:10.3390/electronics14101977

BibTeX
@article{Wang2025,
  author = {Wang, Ziyi and Guan, Zhenyu and Liu, Xu and Qiao, Mengyan and Sun, Xuan and Li, Jun},
  title = {Diffusion–Attention Traffic Generation: Traffic Generation Based on the Fusion of a Diffusion Model and a Self-Attention Mechanism},
  journal = {Electronics},
  year = {2025},
  volume = {14},
  number = {10},
  pages = {1977},
  doi = {10.3390/electronics14101977}
}
Start for free →