DeepXplain: XAI-Guided Autonomous Defense Against Multi-Stage APT Campaigns
Organizations: Chair of Communication Networks, Technische Universität Chemnitz, 09126 Chemnitz, Germany
Abstract
Advanced Persistent Threats (APTs) are stealthy, multi-stage attacks that require adaptive and timely defense. While deep reinforcement learning (DRL) enables autonomous cyber defense, its decisions are often opaque and difficult to trust in operational environments. This paper presents DeepXplain, an explainable DRL framework for stage-aware APT defense. Building on our prior DeepStage model, DeepXplain integrates provenance-based graph learning, temporal stage estimation, and a unified XAI pipeline that provides structural, temporal, and policy-level explanations. Unlike post-hoc methods, explanation signals are incorporated directly into policy optimization through evidence alignment and confidence-aware reward shaping. To the best of our knowledge, DeepXplain is the first framework to integrate explanation signals into reinforcement learning for APT defense. Experiments in a realistic enterprise testbed show improvements in stage-weighted F1-score (0.887 to 0.915) and success rate (84.7% to 89.6%), along with higher explanation confidence (0.86), improved fidelity (0.79), and more compact explanations (0.31). These results demonstrate enhanced effectiveness and trustworthiness of autonomous cyber defense.
Figures & tables
| Method | Recon | InitAcc | PrivEsc | LatMov | C2 | Exfil | Avg-F1 | Success Rate (%) |
|---|---|---|---|---|---|---|---|---|
| Risk-Aware DRL | 0.75 | 0.73 | 0.70 | 0.71 | 0.76 | 0.72 | 0.728 | 68.5 |
| DeepStage | 0.91 | 0.88 | 0.85 | 0.87 | 0.92 | 0.89 | 0.887 | 84.7 |
| DeepXplain | 0.93 | 0.91 | 0.89 | 0.90 | 0.94 | 0.92 | 0.915 | 89.6 |
| Variant | Avg. Stage-F1 | Conf |
|---|---|---|
| DeepXplain w/o | 0.900 | 0.79 |
| DeepXplain w/o | 0.910 | 0.74 |
| DeepXplain (full) | 0.915 | 0.86 |
Autonomous Cyber Defense
Autonomous cyber defense uses AI agents to detect, investigate, and contain attacks while balancing operational safety, latency, and human oversight.
See all 69 papers