Open Access iconOpen Access

ARTICLE

Adapting Convolutional Autoencoder for DDoS Attack Detection via Joint Reconstruction Learning and Refined Anomaly Scoring

Seulki Han1, Sangho Son2, Won Sakong2, Haemin Jung3,*

1 Department of Digital Analytics, Yonsei University, Seoul, 03722, Republic of Korea
2 Department of Industrial Engineering, Yonsei University, Seoul, 03722, Republic of Korea
3 Department of Industrial & Management Engineering, Korea National University of Transportation, Chungju, 27469, Republic of Korea

* Corresponding Author: Haemin Jung. Email: email

Computers, Materials & Continua 2025, 85(2), 2893-2912. https://doi.org/10.32604/cmc.2025.067211

Abstract

As cyber threats become increasingly sophisticated, Distributed Denial-of-Service (DDoS) attacks continue to pose a serious threat to network infrastructure, often disrupting critical services through overwhelming traffic. Although unsupervised anomaly detection using convolutional autoencoders (CAEs) has gained attention for its ability to model normal network behavior without requiring labeled data, conventional CAEs struggle to effectively distinguish between normal and attack traffic due to over-generalized reconstructions and naive anomaly scoring. To address these limitations, we propose CA-CAE, a novel anomaly detection framework designed to improve DDoS detection through asymmetric joint reconstruction learning and refined anomaly scoring. Our architecture connects two CAEs sequentially with asymmetric filter allocation, which amplifies reconstruction errors for anomalous data while preserving low errors for normal traffic. Additionally, we introduce a scoring mechanism that incorporates exponential decay weighting to emphasize recent anomalies and relative traffic volume adjustment to highlight high-risk instances, enabling more accurate and timely detection. We evaluate CA-CAE on a real-world network traffic dataset collected using Cisco NetFlow, containing over 190,000 normal instances and only 78 anomalous instances—an extremely imbalanced scenario (0.0004% anomalies). We validate the proposed framework through extensive experiments, including statistical tests and comparisons with baseline models. Despite this challenge, our method achieves significant improvement, increasing the F1-score from 0.515 obtained by the baseline CAE to 0.934, and outperforming other models. These results demonstrate the effectiveness, scalability, and practicality of CA-CAE for unsupervised DDoS detection in realistic network environments. By combining lightweight model architecture with a domain-aware scoring strategy, our framework provides a robust solution for early detection of DDoS attacks without relying on labeled attack data.

Keywords

Anomaly detection; DDoS attack detection; convolutional autoencoder

Cite This Article

APA Style
Han, S., Son, S., Sakong, W., Jung, H. (2025). Adapting Convolutional Autoencoder for DDoS Attack Detection via Joint Reconstruction Learning and Refined Anomaly Scoring. Computers, Materials & Continua, 85(2), 2893–2912. https://doi.org/10.32604/cmc.2025.067211
Vancouver Style
Han S, Son S, Sakong W, Jung H. Adapting Convolutional Autoencoder for DDoS Attack Detection via Joint Reconstruction Learning and Refined Anomaly Scoring. Comput Mater Contin. 2025;85(2):2893–2912. https://doi.org/10.32604/cmc.2025.067211
IEEE Style
S. Han, S. Son, W. Sakong, and H. Jung, “Adapting Convolutional Autoencoder for DDoS Attack Detection via Joint Reconstruction Learning and Refined Anomaly Scoring,” Comput. Mater. Contin., vol. 85, no. 2, pp. 2893–2912, 2025. https://doi.org/10.32604/cmc.2025.067211



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 720

    View

  • 465

    Download

  • 0

    Like

Share Link