Unlearning to protect: a distilled reinforcement learning framework with privacy-preserving feature unlearning and XAI for IoT security
Loading...
Date
Publisher
BRAC University
Authors
Citation
Abstract
Botnets pose a significant cybersecurity threat, enabling attacks such as DDoS,
data theft, and service disruptions on IoT devices. These devices often lack built-in
botnet traffic filtering, leaving them highly exposed. Existing AI-based solutions
improve detection capabilities but have limitations: (i) they are too heavy for IoT
deployment, and (ii) they lack unlearning capabilities to forget sensitive or outdated
features without retraining. To address these challenges, we propose DiRLU,
a lightweight, reinforcement learning driven framework, while ensuring privacy by selectively
unlearning sensitive or outdated features without requiring retraining. The
framework leverages knowledge distillation to transfer knowledge from a teacher
model into a lightweight student model, with both models trained using A2C. A
post-hoc unlearning mechanism modifies weights to remove targeted features, while
restored features show negligible performance loss, confirming reversibility. Unlike
many benchmark models that used only 5% of the BoT-IoT dataset, this research
leverages 25%, allowing us to develop a strong teacher model. Both the teacher
and student models were trained using the A2C reinforcement learning algorithm,
achieving impressive results, with the student model achieving 99.60% accuracy
and a 99.80% F1 score. To enhance transparency, we integrated Explainable AI
(XAI), particularly LIME, which helps interpret the model’s decisions and identify
the key features influencing its predictions. Additionally, DiRLU requires only 2,370
FLOPS, approximately 3.87× more efficient than the state-of-the-art model, highlighting
its efficiency for edge deployment. DiRLU combines efficiency with privacy,
aligning with GDPR standards (right to be forgotten) to provide practical IoT security
solution. By combining knowledge distillation, feature unlearning and XAI,
this research not only strengthens botnet detection but also sets new standards for
security, interpretability, and data privacy in cybersecurity.
Keywords
LC Subject Headings
Description
Cataloged from PDF version of thesis.
Includes bibliographical references (pages 39-41).
This thesis is submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science and Engineering, 2025.
Includes bibliographical references (pages 39-41).
This thesis is submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science and Engineering, 2025.
Publisher Link
Type
Thesis