# DYNAS: A Dynamic Network Penetration Testing Framework Using Deep Hierarchical Reinforcement Learning

arXiv: https://arxiv.org/abs/2610.40214 · HTML: https://mlsanity.com/paper/2610.40214/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Placed in Adversarial robustness and RL in finance, one of 15 directions in Deep reinforcement learning methods.
- Builds on 7 of its 13 references that are in the map.
- Submitted 29 Oct 2026.

## Placed in

- Deep reinforcement learning methods / [Adversarial robustness and RL in finance](https://mlsanity.com/deeprl/adversarial-robustness-and-rl-in-finance/)

## Builds on (most cited first, 7 of 7)

- [Can Language Models Encode Perceptual Structure Without Grounding? A Case Study in Color](https://mlsanity.com/paper/2109.06129/) (2021)
- [Fast Fourier Color Constancy](https://mlsanity.com/paper/1611.07596/) (2016)
- [Investigate the Low-level Visual Perception in Vision-Language based Image Quality Assessment](https://mlsanity.com/paper/2512.09573/) (2025)
- [Color Me Correctly: Bridging Perceptual Color Spaces and Text Embeddings for Improved Diffusion Generation](https://mlsanity.com/paper/2509.10058/) (2025)
- [Q-Probe: Scaling Image Quality Assessment to High Resolution via Context-Aware Agentic Probing](https://mlsanity.com/paper/2601.15356/) (2026)
- [Too Vivid to Be Real? Benchmarking and Calibrating Generative Color Fidelity](https://mlsanity.com/paper/2603.10990/) (2026)
- [Q-Doc: Benchmarking Document Image Quality Assessment Capabilities in Multi-modal Large Language Models](https://mlsanity.com/paper/2511.11410/) (2025)

## Abstract (arXiv)

As network scale and uncertainty complicate automated penetration testing, reinforcement learning (RL) environments must support controlled evaluation under defensive and non-stationary conditions. We present DYNAS (Dynamic Network Attack Simulator), which combines parameterized large-scale scenario generation with stateful intrusion detection responses, explicit scan false-positive and false-negative noise, temporary service unavailability, and duration-based action timeouts. We further introduce Pen-DHRL, a recurrent manager--worker policy that selects persistent subgoals using IDS-conditioned global context. We compare Pen-DHRL with GNN, Invariant, and Attention baselines across four scenario variants and multiple training regimes. Under IDS-disabled training followed by IDS-enabled evaluation, Pen-DHRL obtains approximately 64% and 24% higher reward per step on Bridge and Dynamic, respectively, and approximately 26% and 30% more captured hosts on VarA and VarB than the next-best baseline. With all defensive dynamics active from the beginning of training, Pen-DHRL achieves positive mean episode returns in all four scenarios, whereas the flat baselines produce negative mean returns in all 12 architecture--scenario combinations; staged curriculum training produces positive mean returns across all 16 evaluated combinations.
