LENS-XAI: Redefining Lightweight and Explainable Network Security through Knowledge Distillation and Variational Autoencoders for Scalable Intrusion Detection in Cybersecurity
Muhammet Anil Yagiz, Polat Goktas · 2025
Read LENS-XAI: Redefining Lightweight and Explainable Network Security through Knowledge Distillation and Variational Autoencoders for Scalable Intrusion Detection in Cybersecurity by Muhammet Anil Yagiz, Polat Goktas (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2501-00790.txt.
Introduction
Muhammet Anil Yagiz and Polat Goktas build a light, explainable guard against network intrusions. Industrial internet systems face threats that heavy detectors handle too slowly. Their LENS-XAI framework blends knowledge distillation with an autoencoder that learns normal traffic shape. Attribution tools then show why each alert fired.
Training used only a tenth of the data to keep costs low. Four benchmark sets tested the system across attack styles. Detection scores ran from about ninety-five to nearly one hundred percent. False alarms stayed low, and the system bent to fresh attack patterns. The light design suits sites with scarce computing power. Plain reasons for each call build the trust that field use demands.
Catalog record
| CREATOR | Muhammet Anil Yagiz, Polat Goktas |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 82 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2501-00790
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
LENS-XAI: Redefining Lightweight and Explainable Network Security through Knowledge Distillation and Variational Autoencoders for Scalable Intrusion Detection in Cybersecurity Muhammet Anil Yagiz, Polat Goktas Abstract The rapid proliferation of Industrial Internet of Things (IIoT) systems necessitates advanced, interpretable, and scalable intrusion detection systems (IDS) to combat emerging cyber threats. Traditional IDS face challenges such as high computational demands, limited explainability, and inflexibility against evolving attack patterns. To address these limitations, this study introduces the Lightweight Explainable Network Security framework (LENS-XAI), which combines robust intrusion detection with enhanced interpretability and scalability. LENS-XAI integrates knowledge distillation, variational autoencoder models, and attribution-based explainability techniques to achieve high detection accuracy and transparency in decision-making. By leveraging a training set comprising 10 % 10\% of the available data, the framework optimizes computational efficiency without sacrificing performance. Experimental evaluation on four benchmark datasets—Edge-IIoTset, UKM-IDS20, CTU-13, and NSL-KDD—demonstrates the framework’s superior performance, achieving detection accuracies of 95.34%, 99.92%, 98.42%, and 99.34%, respectively. Additionally, the framework excels in reducing false positives and adapting to complex attack scenarios, outperforming existing state-of-the-art methods. Key strengths of LENS-XAI include its lightweight design, suitable for resource-constrained environments, and its scalability across diverse IIoT and cybersecurity contexts. Moreover, the explainability module enhances trust and transparency, critical for practical deployment in dynamic and sensitive applications. This research contributes significantly to advancing IDS by addressing computational efficiency, feature interpretability, and real-world applicability. Future work could focus on extending the framework to ensemble AI systems for distributed environments, further enhancing its robustness and adaptability. Journal: Applied Soft Computing 1 Introduction In the ever-expanding digital landscape, the rapid proliferation of interconnected devices has led to a corresponding rise in sophisticated cyber threats, challenging the efficacy of traditional network security measures [ 1 ] . Intrusion Detection Systems (IDS) have emerged as critical components in safeguarding networks by identifying and mitigating anomalous activities [ 2 ] . However, the increasing complexity of cyberattacks necessitates the adoption of advanced methodologies that can keep pace with evolving threats while maintaining interpretability and scalability [ 3 ] . Recent studies highlights the adoption of advanced methodologies, including the integration of deep learning (DL) techniques with artifical intelligence (AI) for enhanced intrusion detection [ 4 , 5 ] , federated incremental learning for Internet of Things (IoT) security monitoring [ 1 ] , and blockchain-enhanced decision-making frameworks [ 5 ] . Furthermore, intelligent systems tailored for specialized environments like unmanned aerial vehicles highlight the potential of interpretable IDS in addressing domain-specific challenges [ 6 ] . Despite this progress, a significant challenge persists: the “black-box" nature of these models undermines their adoption in critical applications where explainability and transparency are paramount. Addressing this gap, Explainable AI (XAI) has gained prominence, enabling researchers and practitioners to understand and trust IDS based on machine learning (ML) / DL [ 7 , 8 ] . Incorporating XAI frameworks into IDS improves both operational transparency and decision-making reliability. For example, models such as DeepRoughNetID [ 9 ] have demonstrated robust anomaly detection capabilities by combining feature engineering with interpretable algorithms. Similarly, the integration of XAI into IoT-based intrusion detection systems, as illustrated by TwinSec-IDS [ 10 ] , highlights the potential of explainable frameworks in addressing security challenges in complex environments. These advancements underline the necessity of pairing state-of-the-art ML/DL techniques with XAI to foster adoption and trust in IDS solutions. The contemporary cybersecurity ecosystem also demands lightweight models that can operate efficiently in resource-constrained settings such as IoT and edge computing environments. For example, the Zero-Trust Marine Cyberdefense framework [ 3 ] exemplifies the integration of lightweight architectures with explainable mechanisms, showcasing their effectiveness in specialized domains. This approach aligns with industry trends that prioritize the dual objectives of computational efficiency and interpretability. Among the cutting-edge methodologies in IDS development, knowledge distillation and variational autoencoders (VAEs) have emerged as transformative techniques. Knowledge distillation facilitates the transfer of insights from complex, high-capacity models to compact, efficient ones, ensuring that resource-efficient systems do not compromise on performance [ 11 ] . Meanwhile, VAEs have proven instrumental in learning latent representations of data, allowing anomaly detection by analyzing deviations from normal patterns [ 12 ] . Leveraging these methodologies within an XAI framework can redefine the paradigms of network security. Despite these advances, a critical gap persists in the current literature. Although existing approaches address aspects of either scalability, interpretability, or computational efficiency, comprehensive solutions that holistically integrate these factors remain scarce. In particular, studies such as PANACEA [ 13 ] and XAIEnsembleTL-IoV [ 14 ] emphasize specific facets of IDS but fail to provide an integrated framework applicable in diverse real-world scenarios, particularly in resource-constrained environments. Furthermore, the absence of robust explanations for model predictions often hinders the deployment of these systems in critical applications where trust and accountability are paramount. In the evolving landscape of autonomous vehicles, ensuring robust in-vehicle network security is paramount. In this study, we introduce LENS-XAI , an advanced framework that redefines lightweight and explainable network security by combining knowledge distillation with VAEs. The LENS-XAI approach is tailored for resource-constrained environments, such as IoT and edge computing, emphasizing scalability and interpretability. Its well-designed architecture enables high detection accuracy, robust anomaly detection, and actionable insights into decision-making processes. This framework seeks to balance performance and transparency, offering an effective solution for intrusion detection in modern network infrastructures. The primary contributions of this study include: 1. Innovative Integration of Knowledge Distillation and VAEs: The framework employs knowledge distillation for enhanced computational efficiency and VAEs to model complex data distributions, improving detection capabilities. 2. Enhanced Explainability: LENS-XAI incorporates variable attribu-tion-based XAI mechanisms mechanisms to provide detailed insights, fostering greater trust and clarity in its operations. 3. Optimized for Resource-Constrained Environments: Its scalable and lightweight architecture is designed to adapt seamlessly to IoT and edge computing scenarios without sacrificing detection performance. 4. Robust Validation: Extensive experiments on benchmark datasets, including NSL-KDD, CTU-13, UKM20 and EDGEIIoTset, demonstrate the framework’s efficacy and reliability in diverse real-world applications. The remainder of this paper is organized as follows. Section II reviews related works in ML/DL-based IDS and XAI integration. Section III outlines the methodology, detailing the proposed model architecture and its components. Section IV presents experimental results, highlighting performance metrics and comparative analyses. Finally, Section V & VI conclude with insights and future directions for advancing IDS research. 2 Literature survey IDSs have been widely researched to address the increasing sophistication of cyberattacks. This section reviews recent advances in IDS methodologies with an emphasis on using XAI and lightweight architectures to enhance interpretability and efficiency. 2.1 Explainable Deep Learning Approaches for IDS DL models have dramatically transformed IDS by providing enhanced accuracy and adaptability in identifying malicious activities. However, their inherent “black-box" nature raises significant concerns about trust and interpretability. To address these issues, Sindiramutty et al. [ 15 ] proposed a Bi-LSTM-based framework integrated with explainable mechanisms, including enhanced krill herd optimization, which provides valuable insights into its decision-making process. This framework has proven effective in industrial cyber-physical systems, emphasizing the need for models that balance interpretability with high performance. Similarly, Nalini et al. [ 9 ] introduced DeepRoughNetID, a model designed to enhance anomaly detection capabilities by combining robust feature engineering with interpretable algorithms. While achieving high detection