Journal Article
Machine Learning

Lucid: A Practical, Lightweight Deep Learning Solution for DDoS Attack Detection

R. Doriguzzi-Corin(Fondazione Bruno Kessler), S. Millar(Queen's University Belfast), S. Scott-Hayward(Queen's University Belfast), J. Martínez-del-Rincón(Queen's University Belfast), D. Siracusa(Fondazione Bruno Kessler)
February 5, 2020IEEE Transactions on Network and Service Management348 citations

348

Citations

33

Influential Citations

IEEE Transactions on Network and Service Management

Venue

2020

Year

Abstract

Distributed Denial of Service (DDoS) attacks are one of the most harmful threats in today's Internet, disrupting the availability of essential services. The challenge of DDoS detection is the combination of attack approaches coupled with the volume of live traffic to be analysed. In this paper, we present a practical, lightweight deep learning DDoS detection system called Lucid, which exploits the properties of Convolutional Neural Networks (CNNs) to classify traffic flows as either malicious or benign. We make four main contributions; (1) an innovative application of a CNN to detect DDoS traffic with low processing overhead, (2) a dataset-agnostic preprocessing mechanism to produce traffic observations for online attack detection, (3) an activation analysis to explain Lucid's DDoS classification, and (4) an empirical validation of the solution on a resource-constrained hardware platform. Using the latest datasets, Lucid matches existing state-of-the-art detection accuracy whilst presenting a 40x reduction in processing time, as compared to the state-of-the-art. With our evaluation results, we prove that the proposed approach is suitable for effective DDoS detection in resource-constrained operational environments.

Analysis

Why This Paper Matters

DDoS attacks remain one of the most persistent and damaging threats to internet services, with attackers constantly evolving their methods to evade detection. Traditional signature-based and statistical approaches struggle to keep pace with the volume and variety of modern attack traffic. While deep learning has shown promise in detecting DDoS attacks, most solutions are computationally intensive, making them impractical for deployment on resource-constrained network devices such as routers, switches, or IoT gateways. Lucid addresses this critical gap by demonstrating that a carefully designed CNN can achieve state-of-the-art accuracy with dramatically lower processing overhead, opening the door to real-time, on-device DDoS detection.

The paper's focus on practical deployment—including validation on a resource-constrained hardware platform—makes it particularly relevant for practitioners who need to balance security effectiveness with operational constraints. The 40x reduction in processing time without sacrificing accuracy is a significant engineering achievement that could influence how network security solutions are designed in the future.

Technical Contributions

  • CNN for DDoS detection: Lucid applies a CNN architecture to classify traffic flows, leveraging the network's ability to learn spatial patterns in flow features without requiring complex feature engineering.
  • Dataset-agnostic preprocessing: The preprocessing mechanism converts raw traffic into a fixed-size representation suitable for CNN input, independent of the specific dataset, enabling generalization across different attack scenarios.
  • Activation analysis: The authors provide interpretability by analyzing which parts of the input contribute most to classification decisions, helping operators understand why traffic is flagged as malicious.
  • Hardware validation: Empirical testing on a resource-constrained platform (e.g., Raspberry Pi or similar) proves the system's feasibility for edge deployment.

Results

Lucid matches the detection accuracy of existing state-of-the-art DDoS detection systems while achieving a 40x reduction in processing time. This performance gain is critical for real-time detection on high-speed links and low-power devices. The evaluation uses the latest datasets, ensuring relevance to contemporary attack patterns. The system's lightweight nature does not compromise its ability to detect a wide range of DDoS variants, as demonstrated by the empirical results.

Significance

Lucid's contribution extends beyond DDoS detection to the broader field of deploying deep learning in resource-constrained environments. By showing that CNNs can be both accurate and efficient for network security tasks, the paper encourages further research into lightweight neural architectures for other real-time applications. For AI practitioners, Lucid serves as a case study in balancing model complexity with operational requirements, highlighting the importance of considering deployment constraints during model design. The work also underscores the value of interpretability in security applications, where understanding model decisions is crucial for trust and troubleshooting.