mlsanityData to 7 Oct 2026

NASimJax: A GPU-Accelerated Policy Learning Framework for Penetration Testing

arXiv 2603.19864 ↗First posted 20 Mar 2026cs.LG cs.CRcited by 0

Not on the map. Why?

Abstract (arXiv)

Penetration testing - the practice of simulating cyberattacks to identify vulnerabilities - is a complex sequential decision-making task that is inherently partially observable and features large action spaces. Existing RL simulators for this domain are CPU-bound and fixed to narrow scenarios, making it infeasible to train policies that generalize across networks. We present NASimJax, a JAX-native framework that formulates penetration testing as a Contextual POMDP and introduces a network generation pipeline producing structurally diverse, guaranteed-solvable scenarios. The framework reaches up to 80× higher environment throughput than previous simulators, enabling experiments on larger networks and tractable hyperparameter searches. We provide PPO and PQN baselines and conduct the first systematic evaluation of unsupervised environment design for penetration testing. We find that Prioritized Level Replay and ACCEL handle dense training distributions better than Domain Randomization, and that training on sparser topologies yields an implicit curriculum that improves generalization - even to topologies denser than those seen during training. A recurrent PPO variant confirms that these distributional findings are not an artifact of feed-forward policies. The code is available at: https://github.com/raphsimon/NASimJax.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 50 references that are in the map. First posted on arXiv 20 Mar 2026.

Builds on

29 of 50 references.

References · 29

  1. 2017Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real Worldcited by 1,401
  2. 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,084
  3. 2019Solving Rubik's Cube with a Robot Handcited by 699
  4. 2019Leveraging Procedural Generation to Benchmark Reinforcement Learningcited by 478
  5. 2018Quantifying Generalization in Reinforcement Learningcited by 345
  6. 2015Contextual Markov Decision Processescited by 213
  7. 2020Prioritized Level Replaycited by 190
  8. 2022Evolving Curricula with Regret-Based Environment Designcited by 166
  9. 2021A Survey of Zero-shot Generalisation in Deep Reinforcement Learningcited by 164
  10. 2020A Closer Look at Invalid Action Masking in Policy Gradient Algorithmscited by 160
  11. 2022Mastering the Game of Stratego with Model-Free Multiagent Reinforcement Learningcited by 129
  12. 2021Replay-Guided Adversarial Environment Designcited by 108
17 more
  1. 2022Discovered Policy Optimisationcited by 103
  2. 2021Why Generalization in RL is Difficult: Epistemic POMDPs and Implicit Partial Observabilitycited by 102
  3. 2016Learning values across many orders of magnitudecited by 80
  4. 2024Craftax: A Lightning-Fast Benchmark for Open-Ended Reinforcement Learningcited by 80
  5. 2024Simplifying Deep Temporal Difference Learningcited by 71
  6. 2023JaxMARL: Multi-Agent RL Environments and Algorithms in JAXcited by 59
  7. 2021CybORG: A Gym for the Development of Autonomous Cyber Agentscited by 58
  8. 2023Empirical Design in Reinforcement Learningcited by 54
  9. 2020Action Space Shaping in Deep Reinforcement Learningcited by 45
  10. 2023NASimEmu: Network Attack Simulator & Emulator for Training Agents Generalizing to Novel Scenarioscited by 20
  11. 2024A Method for Evaluating Hyperparameter Sensitivity in Reinforcement Learningcited by 15
  12. 2013POMDPs Make Better Hackers: Accounting for Uncertainty in Penetration Testingcited by 14
  13. 2024CybORG++: An Enhanced Gym for the Development of Autonomous Cyber Agentscited by 11
  14. 2024JaxUED: A simple and useable UED library in Jaxcited by 10
  15. 2019Fleet Control using Coregionalized Gaussian Process Policy Iterationcited by 5
  16. 2023Evaluating COVID-19 vaccine allocation policies using Bayesian m-top explorationcited by 2
  17. 2025Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluationcited by 2

Built on by

Not cited yet.