Skip to content
#explainable ai Open access

An explainable multi-stage framework for cyber-attack detection: component analysis on UNSW-NB15 and the case for generative AI

Nov 2026 · Discover Artificial Intelligence · 33 references
Network Security and Intrusion Detection

Abstract

Intrusion detection systems have to separate attack traffic from normal traffic accurately and also explain how they reach their decisions. This paper studies an explainable multi-stage framework for binary attack detection on UNSW-NB15. A deep autoencoder is trained on the training partition, and the gradient explainer of SHAP attributes its reconstruction error to the input features, which keeps the 20 most influential of the 42 features. The selected features pass through a learned feature-transformation block (GTN), an LSTM layer and a capsule-style vector projection, and an XGBoost classifier makes the final decision on the resulting 64-dimensional representation. Trained on 82,332 records and tested on 175,341 records, the main run reached an accuracy of 87.23%, an attack-class precision of 97.78%, a detection rate of 83.13%, an F1-score of 0.8986 and a ROC-AUC of 0.9778, with a false positive rate of 4.02% and a false negative rate of 16.87%. Over five random seeds the mean accuracy was 87.67%. A twelve-variant ablation study shows that removing the LSTM, the linear GTN block or the capsule projection does not lower accuracy (88.04% to 88.27%), that replacing the linear GTN block by an attention-based graph transformer is the only neural change that helps (88.57%), and that standard classifiers trained on the same data are better, for example a random forest (90.12%) and XGBoost (89.94%). Class weights, SMOTE and a validation-tuned threshold do not help, because the dominant error comes from a shift in class prior between the two partitions (68.1% against 55.1% attack records): a prior-aware threshold raises the accuracy of the main run to 89.64%. With the split roles listed on the dataset page, XGBoost reaches 87.53% and the framework 83.70%. The autoencoder-based SHAP ranking agrees only weakly with the features that matter to the classifier (Spearman correlation 0.23) and is not significantly better than a random choice of 20 features. The contribution of the framework is therefore a transparent and reproducible attribution pipeline together with an honest account of what each component adds, and not a gain in accuracy. Generative AI for data augmentation, adversarial testing and explanation is proposed as the most promising direction for the next version of the hybrid system.

Read PDF

Similar papers

#artificial intelligence Conference Open access Apr 2020

ECCOLA - a Method for Implementing Ethically Aligned AI Systems

The method, ECCOLA, is presented, which aims at making the high-level AI ethics principles more practical, making it possible for developers to more easily implement them in practice.

Ville Vakkuri, Kai-Kristian Kemell, P. Abrahamsson · 64 citations · ⚡6
#computer vision Review Apr 2024

AI-powered Code Review with LLMs: Early Results

The goal is to not only refine the accuracy of the LLM-based tool but also to underscore its potential in streamlining the software development lifecycle through proactive code improvement and education.

Z. Rasheed, Malik Abdul Sami, Muhammad Waseem et al. · 62 citations · ⚡3
#computer vision Open access Mar 2024

LLM-based agents for automating the enhancement of user story quality: An early report

The use of large language models to automatically improve the user story quality in Austrian Post Group IT agile teams is explored, with a reference model for an Autonomous LLM-based Agent System developed and implemented at the company.

Zheying Zhang, M. Rayhan, Tomas Herda et al. · 48 citations · ⚡4
#computer vision Review Mar 2024

System for systematic literature review using multiple AI agents: Concept and an empirical evaluation

This paper introduces a novel multi-AI-agent system designed to fully automate SLRs, and demonstrates how it substantially reduces the time and effort traditionally required for SLRs while maintaining comprehensiveness and precision.

Abdul Malik Sami, Z. Rasheed, Kai-Kristian Kemell et al. · 44 citations · ⚡2
#computer vision Feb 2024

Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysis

The proposed LLM-based multi-agent system automates qualitative data analysis process, creating opportunities for researchers and practitioners, and future improvements focus on enhancing multilingual performance and integrating continuous expert feedback.

Z. Rasheed, Muhammad Waseem, Aakash Ahmad et al. · 41 citations
#artificial intelligence Conference Open access Jun 2018

The Key Concepts of Ethics of Artificial Intelligence

It is suggested that the focus on finding keywords is the first step in guiding and providing direction for future research in the AI ethics field.

Ville Vakkuri, P. Abrahamsson · 39 citations · ⚡2

Related blog posts

GPT-Lab Nov 26, 2026

How Much Electricity Does AI Use? It Depends Mostly on What You Ask

An ordinary text question to an AI uses less electricity than many people guess, but video and thinking modes multiply consumption many times over. We put the numbers next to everyday things, from boiling water to a Finnish sauna evening, and share three tips for using AI with a smaller footprint. The post How Much Electricity Does AI Use? It Depends Mostly on What You Ask appeared first on GPT-Lab.

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