Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluation
Not on the map. Why?
Abstract (arXiv)
Penetration testing, the simulation of cyberattacks to identify security vulnerabilities, presents a sequential decision-making problem well-suited for reinforcement learning (RL) automation. Like many applications of RL to real-world problems, partial observability presents a major challenge, as it invalidates the Markov property present in Markov Decision Processes (MDPs). Partially Observable MDPs require history aggregation or belief state estimation to learn successful policies. We investigate stochastic, partially observable penetration testing scenarios over host networks of varying size, aiming to better reflect real-world complexity through more challenging and representative benchmarks. This approach leads to the development of more robust and transferable policies, which are crucial for ensuring reliable performance across diverse and unpredictable real-world environments. Using vanilla Proximal Policy Optimization (PPO) as a baseline, we compare a selection of PPO-based variants designed to mitigate partial observability, including frame-stacking, augmenting observations with historical information, and employing LSTM or TrXL architectures. We conduct a systematic empirical analysis of these algorithms across different host network sizes. We find that this task greatly benefits from history aggregation. Converging up to four times faster than other approaches. Manual inspection of the learned policies by the algorithms reveals clear distinctions and provides insights that go beyond quantitative results.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 23 of its 62 references that are in the map. First posted on arXiv 24 Sep 2025.
Builds on
23 of 62 references.
References · 23
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2015Trust Region Policy Optimizationcited by 2,503
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,084
- 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 781
- 2019Leveraging Procedural Generation to Benchmark Reinforcement Learningcited by 478
- 2015Deep Recurrent Q-Learning for Partially Observable MDPscited by 457
- 2018Quantifying Generalization in Reinforcement Learningcited by 345
- 2019Stabilizing Transformers for Reinforcement Learningcited by 262
11 more
- 2020Reward Machines: Exploiting Reward Function Structure in Reinforcement Learningcited by 183
- 2018A Study on Overfitting in Deep Reinforcement Learningcited by 170
- 2021Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPscited by 115
- 2021Why Generalization in RL is Difficult: Epistemic POMDPs and Implicit Partial Observabilitycited by 102
- 2021CybORG: A Gym for the Development of Autonomous Cyber Agentscited by 58
- 2023Empirical Design in Reinforcement Learningcited by 54
- 2023NASimEmu: Network Attack Simulator & Emulator for Training Agents Generalizing to Novel Scenarioscited by 20
- 2020Deep reinforcement learning for large-scale epidemic controlcited by 16
- 2023Memory Gym: Towards Endless Tasks to Benchmark Memory Capabilities of Agentscited by 16
- 2022Behaviour-Diverse Automatic Penetration Testing: A Curiosity-Driven Multi-Objective Deep Reinforcement Learning Approachcited by 7
- 2024Knowledge-Informed Auto-Penetration Testing Based on Reinforcement Learning with Reward Machinecited by 3
Built on by
Citing papers per year: 2026: 2.
2 papers.