Skip to content
Open access

Deep Q learning algorithm for detecting DDoS attacks on IoT devices

Jul 2026 · Indonesian Journal of Electrical Engineering and Computer Science · Vol 43, pp. 299 · 0 citations

TL;DR

A deep Q-learning (DQL) framework that integrates K-means clustering directly into the RL action space, enabling adaptive state representation and improved generalization to unseen traffic patterns is proposed.

Abstract

The rapid expansion of internet of things (IoT) networks has heightened security risks, particularly regarding distributed denial of service (DDoS) attacks against devices with limited computing capacity. High detection accuracy is crucial for these resource-constrained environments, where false positives can disrupt legitimate traffic and false negatives allow attacks to persist. However, modern reinforcement learning (RL) and machine learning (ML) intrusion detection solutions often exhibit poor generalization due to static state representations. To address this, this paper proposes a deep Q-learning (DQL) framework that integrates K-means clustering directly into the RL action space. Unlike prior RL-based IDS models, our approach dynamically integrates clustering into the learning process, enabling adaptive state representation and improved generalization to unseen traffic patterns. The system is formulated as a Markov decision process where the agent optimizes a composite reward function based on accuracy, precision, recall, and F1-score. Evaluated on the N-BaIoT dataset using 10-fold cross-validation, the proposed method achieves a classification accuracy of 98.95% and a weighted F1-score of 98.73%, significantly outperforming traditional ML and RL baselines. These results demonstrate the framework's effectiveness as a scalable, adaptive solution for intelligent IoT DDoS detection.

Read PDF

Similar papers

Open access Aug 2026

Explainable Deep Learning Intrusion Detection Framework for Securing IoT Environment

A new explainable hybrid IDS architecture for IoT environments named XABiL-IDS (Explainable Attention-based Bi LSTM-Intrusion Detection System) in response to this challenge, which uses a robust hybrid architecture to detect attacks effectively.

Ravi Patni, Gurvinder Singh · 0 citations
Conference Open access 2026

Enhanced Intrusion Detection in IoT Networks using Federated Learning

The results show a success in implementing a real time, scalable, privacy-preserving, and adaptive IDS in large-scale IoT deployments through intelligent workload distribution between edge and cloud layers.

Chidera Winifred John, Eduediuyai Ekerete Dan, P. Asuquo et al. · 0 citations
Open access Aug 2026

Proactive Deep Q-Learning Approach for Anomaly Detection in IoT IDSs

An offensive-defensive system based on Deep Reinforcement Learning (DRL) algorithms is proposed, which outperform several state-of-the-art machine learning approaches in the literature, revealing that the systematic incorporation of accurate data engineering and reinforcement learning frameworks generates a field-teste...

Hawraa A. Habeeb, M. Manaa · 0 citations
Review Open access 2026

Deep Reinforcement Learning-Based Intrusion Detection in IoT Networks: A Systematic Mapping and Literature Review

The review reveals that the most used algorithm for DRL-based IDS is Deep Q-Network (DQN), appearing in 8 studies (30.8%), and the most frequently targeted attacks are DoS, DDoS, Backdoors, Mirai, Reconnaissance, Scan, and Torii.

Maryam Omar Abdullah Sawad, S. Abdulkadir, H. Alhussian et al. · 0 citations
Open access Aug 2026

Adaptive Machine Learning Framework for Real-Time Cyber-Attack Detection and Prevention in IoT Networks

This paper introduces an innovative ML-based security paradigm that improves the attack detection accuracy by combining adaptive feature extraction techniques with a context-attentive hybrid mechanism and maximizes detection accuracy and computational efficiency.

P. P. Bairagi, Ashish Bagwari, Sailen Dutta Kalita et al. · 0 citations
Open access Jul 2026

A Deep Learning-Based Framework for Cyber Attack Detection in IoT Networks

An intelligent cyberattack detection system that applies machine learning and deep learning techniques to classify network traffic as either normal or malicious, and demonstrates the potential of machine learningbased intrusion detection systems in improving network security and supporting the protection of modern smar...

Kadadharapu Anupriya, S. Rao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.