← Latest papers
💻 computer science

AE-DSP: An Explainable Intrusion Detection Framework for Zero-Day Attacks Based on SHAP Contribution-Space Modeling

This paper proposes AE-DSP, an explainable intrusion detection framework that addresses the challenge of zero-day attack detection by modeling SHAP contribution deviations within a unified space to capture both overall structural anomalies and dimension-wise semantic patterns, achieving high performance and traceability across multiple benchmark datasets.

Original authors: Yifan Liu, Zheng Liu, Wenlei Chai, Miaolin Wang, Junjie Qiu, Yi Liu

Published 2026-11-10
📖 6 min read🧠 Deep dive

Original authors: Yifan Liu, Zheng Liu, Wenlei Chai, Miaolin Wang, Junjie Qiu, Yi Liu

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the digital world, security systems act as constant sentinels, watching the flow of data to spot intruders before they cause harm. For decades, these systems have relied on a simple principle: they learn what a known criminal looks like by studying thousands of past examples. If a new visitor matches the pattern of a known thief, the alarm sounds. However, this approach has a fatal blind spot. It cannot recognize a criminal who has never been seen before, a "zero-day" attacker who uses a completely new method. Traditional systems are like bouncers who only know the faces of people on a specific "do not enter" list; if a stranger walks in wearing a disguise they have never encountered, the bouncer might let them pass. The challenge for researchers is to build a system that can spot a stranger as dangerous, even without ever having seen that specific type of stranger before, by understanding the subtle, unnatural ways they try to interact with the network.

A team of researchers from Hebei University has developed a new framework called AE-DSP to solve this exact problem. Instead of trying to memorize the faces of every possible criminal, their system focuses on the logic of how decisions are made. They start with a standard security detector, a tool that has already learned to distinguish between normal traffic and known attacks. Rather than just looking at the final verdict this tool gives, the researchers peel back the layers to see why it made that decision. They break down every single piece of data in a network packet and ask: how much did this specific piece of information push the system toward thinking "this is an attack"? This creates a detailed map of influence for every single moment of traffic, showing exactly which features are driving the alarm.

The innovation lies in how they use this map. The researchers realized that normal traffic follows a very consistent pattern of influence; the features that matter most for a normal connection always contribute in a predictable way. When a zero-day attack occurs, it disrupts this pattern. The new system, AE-DSP, builds a reference model of what "normal" influence looks like. It then watches for two specific types of trouble. First, it looks for a general sense of wrongness, where the overall pattern of influence is so different from the norm that it stands out immediately. Second, and more importantly, it looks for specific, structured deviations. It asks: did the attack change the influence of specific features in a way that resembles the shape of known attacks, even if the specific features are different? To do this, the system learns "semantic prototypes," which are essentially archetypes of how attacks typically distort the decision-making process. These prototypes act as a library of suspicious patterns, allowing the system to recognize a new attack because it shares the same structural "fingerprint" of distortion as old ones, even if the attack itself is brand new.

The results of this approach are striking. The researchers tested their system on three major datasets containing millions of network records, including NSL-KDD, UNSW-NB15, and CICIDS2017. In these tests, the system was trained only on normal traffic and a set of known attacks, while a completely different set of unseen attacks was held back for the final test. The AE-DSP framework successfully identified these unseen threats with remarkable accuracy. On the NSL-KDD dataset, it caught 97.74% of the new attacks. On UNSW-NB15, it caught 93.50%, and on the complex CICIDS2017 dataset, it caught 92.51%. These numbers represent a significant improvement over existing methods, which often struggle to detect attacks they have never seen before. The system also maintained a high level of accuracy in identifying known attacks, ensuring that it did not become so sensitive to new threats that it started flagging normal activity as dangerous.

What makes this discovery particularly valuable is not just the high detection rate, but the clarity it provides. In many advanced security systems, when an alarm goes off, the operator is left with a black box that says "threat detected" but offers no explanation. AE-DSP changes this. Because the system tracks the specific contributions of every feature, it can trace the alarm back to the exact source of the problem. If the system flags a packet, it can point to the specific parts of the data stream that caused the deviation, such as an unusual connection state or a strange service access pattern. This allows security analysts to understand why a decision was made, turning a mysterious alert into a clear, actionable insight. The researchers found that the system's ability to explain its decisions was not just a side effect, but a core part of its success, as the logic used to explain the threat was the same logic used to detect it.

The study also addressed the practical reality of running such a system. While the process of breaking down the data to understand its influence requires significant computing power, the researchers found that the actual detection step—the part that happens after the data is analyzed—is very fast. This means the system could be deployed in real-world scenarios, perhaps running on powerful servers to analyze traffic in batches, rather than trying to stop every single packet in real-time. The team confirmed that their method is stable, producing consistent results even when the underlying computer processes are restarted or slightly altered. They also showed that the system works well across different types of network data, suggesting that the method of looking for structural deviations in decision-making is a robust way to handle the ever-changing landscape of cyber threats.

Ultimately, this work shifts the focus from memorizing the past to understanding the nature of the present. By transforming the raw data into a space where the logic of the detector is visible, the researchers created a tool that can spot the unfamiliar by recognizing the unnatural. It is a move away from simple pattern matching toward a deeper, more flexible understanding of what constitutes an anomaly. While the system still faces challenges with attacks that are extremely subtle or those that vary wildly within a single group, the results demonstrate that it is possible to build a defense that is both highly effective against new threats and transparent in its reasoning. This offers a promising path forward for cybersecurity, where the goal is not just to know the enemy, but to understand the very mechanics of the attack itself.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →