Reward Shaping for Happier Autonomous Cyber Security Agents
Not on the map. Why?
Abstract (arXiv)
As machine learning models become more capable, they have exhibited increased potential in solving complex tasks. One of the most promising directions uses deep reinforcement learning to train autonomous agents in computer network defense tasks. This work studies the impact of the reward signal that is provided to the agents when training for this task. Due to the nature of cybersecurity tasks, the reward signal is typically 1) in the form of penalties (e.g., when a compromise occurs), and 2) distributed sparsely across each defense episode. Such reward characteristics are atypical of classic reinforcement learning tasks where the agent is regularly rewarded for progress (cf. to getting occasionally penalized for failures). We investigate reward shaping techniques that could bridge this gap so as to enable agents to train more sample-efficiently and potentially converge to a better performance. We first show that deep reinforcement learning algorithms are sensitive to the magnitude of the penalties and their relative size. Then, we combine penalties with positive external rewards and study their effect compared to penalty-only training. Finally, we evaluate intrinsic curiosity as an internal positive reward mechanism and discuss why it might not be as advantageous for high-level network monitoring tasks.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 19 of its 48 references that are in the map. First posted on arXiv 20 Oct 2023.
Builds on
19 of 48 references.
References · 19
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
- 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,173
- 2021The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Gamescited by 903
- 2016Unifying Count-Based Exploration and Intrinsic Motivationcited by 632
- 2016#Exploration: A Study of Count-Based Exploration for Deep Reinforcement Learningcited by 307
- 2018Large-Scale Study of Curiosity-Driven Learningcited by 277
- 2020The Creation and Detection of Deepfakes: A Surveycited by 246
- 2017Deep Reinforcement Learning framework for Autonomous Drivingcited by 224
- 2019Keeping Your Distance: Solving Sparse Reward Tasks Using Self-Balancing Shaped Rewardscited by 76
7 more
- 2022Unpacking Reward Shaping: Understanding the Benefits of Reward Engineering on Sample Complexitycited by 59
- 2019Autonomous Penetration Testing using Reinforcement Learningcited by 33
- 2021Network Environment Design for Autonomous Cyberdefensecited by 29
- 2021Curiosity-Driven Exploration via Latent Bayesian Surprisecited by 22
- 2022Beyond CAGE: Investigating Generalization of Learned Autonomous Network Defense Policiescited by 22
- 2023Inroads into Autonomous Network Defence using Explained Reinforcement Learningcited by 17
- 2023Training Automated Defense Strategies Using Graph-based Cyber Attack Simulationscited by 3
Built on by
Citing papers per year: 2024: 8; 2025: 5; 2026: 6.
19 papers.
Sort:
By area:
- 2024Comprehensive Overview of Reward Engineering and Shaping in Advancing Reinforcement Learning Applicationscited by 34
- 2024Optimal Defender Strategies for CAGE-2 using Causal Modeling and Tree Searchcited by 12
- 2024CybORG++: An Enhanced Gym for the Development of Autonomous Cyber Agentscited by 11
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defencecited by 11
- 2024Structural Generalization in Autonomous Cyber Incident Response with Message-Passing Neural Networks and Reinforcement Learningcited by 7
- 2025DRMD: Deep Reinforcement Learning for Malware Detection under Concept Driftcited by 7
- 2024Optimizing Cyber Defense in Dynamic Active Directories through Reinforcement Learningcited by 5
- 2025Online Incident Response Planning under Model Misspecification through Bayesian Learning and Belief Quantizationcited by 5
- 2024Designing Robust Cyber-Defense Agents with Evolving Behavior Treescited by 4
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecuritycited by 4
- 2026Beyond Rewards in Reinforcement Learning for Cyber Defencecited by 3
- 2026Building Better Environments for Autonomous Cyber Defencecited by 3
7 more
- 2025Less is more? Rewards in RL for Cyber Defencecited by 1
- 2025Training RL Agents for Multi-Objective Network Defense Taskscited by 1
- 2026STAIR: Effective Incident Response Using an End-to-End Agentic Planning Frameworkcited by 1
- 2024Inherently Interpretable and Uncertainty-Aware Models for Online Learning in Cyber-Security Problemscited by 0
- 2025Clutch Control: An Attention-based Combinatorial Bandit for Efficient Mutation in JavaScript Engine Fuzzingcited by 0
- 2026Learning Red Agent Policy from Observations for Neurosymbolic Autonomous Cyber Agentscited by 0
- 2026REPLICANT: Learning Policies for Evading and Hardening Malware Detectorscited by 0
- 2026REPLICANT: Learning Policies for Evading and Hardening Malware Detectors28 Aug 2026
- 2026STAIR: Effective Incident Response Using an End-to-End Agentic Planning Framework10 Aug 2026
- 2026Learning Red Agent Policy from Observations for Neurosymbolic Autonomous Cyber Agents16 Jun 2026
- 2026Building Better Environments for Autonomous Cyber Defence9 Apr 2026
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecurity9 Feb 2026
- 2026Beyond Rewards in Reinforcement Learning for Cyber Defence4 Feb 2026
- 2025Clutch Control: An Attention-based Combinatorial Bandit for Efficient Mutation in JavaScript Engine Fuzzing14 Oct 2025
- 2025DRMD: Deep Reinforcement Learning for Malware Detection under Concept Drift26 Aug 2025
- 2025Online Incident Response Planning under Model Misspecification through Bayesian Learning and Belief Quantization20 Aug 2025
- 2025Training RL Agents for Multi-Objective Network Defense Tasks28 May 2025
- 2025Less is more? Rewards in RL for Cyber Defence5 Mar 2025
- 2024Inherently Interpretable and Uncertainty-Aware Models for Online Learning in Cyber-Security Problems14 Nov 2024
7 more
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defence23 Oct 2024
- 2024Designing Robust Cyber-Defense Agents with Evolving Behavior Trees21 Oct 2024
- 2024CybORG++: An Enhanced Gym for the Development of Autonomous Cyber Agents18 Oct 2024
- 2024Comprehensive Overview of Reward Engineering and Shaping in Advancing Reinforcement Learning Applications22 Jul 2024
- 2024Optimal Defender Strategies for CAGE-2 using Causal Modeling and Tree Search12 Jul 2024
- 2024Structural Generalization in Autonomous Cyber Incident Response with Message-Passing Neural Networks and Reinforcement Learning8 Jul 2024
- 2024Optimizing Cyber Defense in Dynamic Active Directories through Reinforcement Learning28 Jun 2024
- 2024Comprehensive Overview of Reward Engineering and Shaping in Advancing Reinforcement Learning Applicationscited by 34
- 2024Optimal Defender Strategies for CAGE-2 using Causal Modeling and Tree Searchcited by 12
- 2024CybORG++: An Enhanced Gym for the Development of Autonomous Cyber Agentscited by 11
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defencecited by 11
- 2024Structural Generalization in Autonomous Cyber Incident Response with Message-Passing Neural Networks and Reinforcement Learningcited by 7
- 2025DRMD: Deep Reinforcement Learning for Malware Detection under Concept Driftcited by 7
- 2024Optimizing Cyber Defense in Dynamic Active Directories through Reinforcement Learningcited by 5
- 2025Online Incident Response Planning under Model Misspecification through Bayesian Learning and Belief Quantizationcited by 5
- 2024Designing Robust Cyber-Defense Agents with Evolving Behavior Treescited by 4
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecuritycited by 4
- 2026Beyond Rewards in Reinforcement Learning for Cyber Defencecited by 3
- 2026Building Better Environments for Autonomous Cyber Defencecited by 3
12 most cited of 18 All 18 (JSON)
- 2026REPLICANT: Learning Policies for Evading and Hardening Malware Detectors28 Aug 2026
- 2026Learning Red Agent Policy from Observations for Neurosymbolic Autonomous Cyber Agents16 Jun 2026
- 2026Building Better Environments for Autonomous Cyber Defence9 Apr 2026
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecurity9 Feb 2026
- 2026Beyond Rewards in Reinforcement Learning for Cyber Defence4 Feb 2026
- 2025Clutch Control: An Attention-based Combinatorial Bandit for Efficient Mutation in JavaScript Engine Fuzzing14 Oct 2025
- 2025DRMD: Deep Reinforcement Learning for Malware Detection under Concept Drift26 Aug 2025
- 2025Online Incident Response Planning under Model Misspecification through Bayesian Learning and Belief Quantization20 Aug 2025
- 2025Training RL Agents for Multi-Objective Network Defense Tasks28 May 2025
- 2025Less is more? Rewards in RL for Cyber Defence5 Mar 2025
- 2024Inherently Interpretable and Uncertainty-Aware Models for Online Learning in Cyber-Security Problems14 Nov 2024
- 2024Entity-based Reinforcement Learning for Autonomous Cyber Defence23 Oct 2024
12 newest of 18 All 18 (JSON)