mlsanityData to 7 Oct 2026

Unveiling the Black Box: A Multi-Layer Framework for Explaining Reinforcement Learning-Based Cyber Agents

arXiv 2505.11708 ↗First posted 16 May 2025cs.CR cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Reinforcement Learning (RL) agents are increasingly used to simulate sophisticated cyberattacks, but their decision-making processes remain opaque, hindering trust, debugging, and defensive preparedness. In high-stakes cybersecurity contexts, explainability is essential for understanding how adversarial strategies are formed and evolve over time. In this paper, we propose a unified, multi-layer explainability framework for RL-based attacker agents that reveals both strategic (Markov Decision Process (MDP)-level) and tactical (policy-level) reasoning. At the MDP-level, we model cyberattacks as a Partially Observable Markov Decision Process (POMDP) to expose exploration-exploitation dynamics and phase-aware behavioural shifts. At the policy-level, we analyse the temporal evolution of Q-values and use Prioritised Experience Replay (PER) to surface critical learning transitions and evolving action preferences. Evaluated across CyberBattleSim environments of increasing complexity, our framework offers interpretable insights into agent behaviour at scale. Unlike previous explainable RL methods, which are {predominantly} post-hoc, domain-specific, or limited in depth, our approach is both agent- and environment-agnostic, {supporting use cases such as red-team simulation, RL policy debugging, phase-aware threat modelling and anticipatory defence planning.} By transforming black-box learning into actionable behavioural intelligence, our framework enables both defenders and developers to better anticipate, analyse, and respond to autonomous cyber threats.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 21 of its 44 references that are in the map. First posted on arXiv 16 May 2025.

Builds on

21 of 44 references.

References · 21

  1. 2015Prioritized Experience Replaycited by 1,070
  2. 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
  3. 2017Deep Reinforcement Learning: An Overviewcited by 327
  4. 2019Explainable Reinforcement Learning Through a Causal Lenscited by 177
  5. 2021Non-stationary Reinforcement Learning without Prior Knowledge: An Optimal Black-box Approachcited by 98
  6. 2021How can I choose an explainer? An Application-grounded Evaluation of Post-hoc Explanationscited by 58
  7. 2019Generation of Policy-Level Explanations for Reinforcement Learningcited by 37
  8. 2022Developing Optimal Causal Cyber-Defence Agents via Cyber Security Simulationcited by 37
  9. 2023Inroads into Autonomous Network Defence using Explained Reinforcement Learningcited by 17
  10. 2023Learning Cyber Defence Tactics from Scratch with Multi-Agent Reinforcement Learningcited by 12
  11. 2024Entity-based Reinforcement Learning for Autonomous Cyber Defencecited by 11
  12. 2023Causal Explanations for Sequential Decision-Making in Multi-Agent Systemscited by 10
9 more
  1. 2023Explaining RL Decisions with Trajectoriescited by 7
  2. 2021Network Defense is Not a Gamecited by 6
  3. 2022Defending Active Directory by Combining Neural Network based Dynamic Program and Evolutionary Diversity Optimisationcited by 5
  4. 2022Experiential Explanations for Reinforcement Learningcited by 5
  5. 2024Optimizing Cyber Defense in Dynamic Active Directories through Reinforcement Learningcited by 5
  6. 2023Evolving Reinforcement Learning Environment to Minimize Learner's Achievable Reward: An Application on Hardening Active Directory Systemscited by 4
  7. 2023Enhancing Network Resilience through Machine Learning-powered Graph Combinatorial Optimization: Applications in Cyber Defense and Information Diffusioncited by 4
  8. 2023CODEX: A Cluster-Based Method for Explainable Reinforcement Learningcited by 3
  9. 2024Abstracted Trajectory Visualization for Explainability in Reinforcement Learningcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.