Learning Intrusion Prevention Policies through Optimal Stopping
Kim Hammar, Rolf Stadler
TL;DR
This work reframes intrusion prevention as a discrete-time, partially observed optimal stopping problem, showing that the defender's optimal policy can be expressed as a threshold on the posterior intrusion probability. The authors develop a POMDP model of the use case, derive a threshold property, and learn near-optimal policies via model-free reinforcement learning (PPO) in a measurement-driven emulator. The emulator provides empirically estimated distributions of alerts and login attempts to instantiate realistic POMDP episodes, enabling robust policy learning despite partial observability. Results show convergence of the learned policies, threshold-based decision rules, and performance close to the optimal policy, with insights into the relative importance of different measurements for intrusion detection and stopping decisions.
Abstract
We study automated intrusion prevention using reinforcement learning. In a novel approach, we formulate the problem of intrusion prevention as an optimal stopping problem. This formulation allows us insight into the structure of the optimal policies, which turn out to be threshold based. Since the computation of the optimal defender policy using dynamic programming is not feasible for practical cases, we approximate the optimal policy through reinforcement learning in a simulation environment. To define the dynamics of the simulation, we emulate the target infrastructure and collect measurements. Our evaluations show that the learned policies are close to optimal and that they indeed can be expressed using thresholds.
