Finding Effective Security Strategies through Reinforcement Learning and Self-Play

Kim Hammar, Rolf Stadler
9/17/2020
cs.LGcs.CRcs.NI
rl

Official code: Kim-Hammar/gym-idsgame (87 stars, Python, MIT, last commit 2025-02-23).

Abstract

We present a method to automatically find security strategies for the use case of intrusion prevention. Following this method, we model the interaction between an attacker and a defender as a Markov game and let attack and defense strategies evolve through reinforcement learning and self-play without human intervention.

Show full abstract

Using a simple infrastructure configuration, we demonstrate that effective security strategies can emerge from self-play. This shows that self-play, which has been applied in other domains with great success, can be effective in the context of network security. Inspection of the converged policies show that the emerged policies reflect common-sense knowledge and are similar to strategies of humans. Moreover, we address known challenges of reinforcement learning in this domain and present an approach that uses function approximation, an opponent pool, and an autoregressive policy representation. Through evaluations we show that our method is superior to two baseline methods but that policy convergence in self-play remains a challenge.

View on arXivView PDF

Code Implementations(1)

MIT

An Abstract Cyber Security Simulation and Markov Game for OpenAI Gym

8725PythonMar 16, 20201 years agoMIT

Similar Papers

Cite this paper

@article{hammar2020finding,
  title  = {Finding Effective Security Strategies through Reinforcement Learning and Self-Play},
  author = {Kim Hammar and Rolf Stadler},
  year   = {2020},
  eprint = {2009.08120},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.08120}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.08120.svg)](https://codeofpaper.com/paper/2009.08120)

Discussion