Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Beyond Rewards in RL for Cyber Defence

Sparse rewards make cyber defence agents more robust than dense rewards

  • Problem Hand-built dense rewards in cyber gyms can lock agents into suboptimal solutions that are hard to spot before an attack. Existing evaluation relies on mean episodic reward, which cannot separate agents with different ground-truth behaviour.
  • Method The authors define ScoreGT, which counts compromised nodes at both the intra-step and end-step points and takes the larger. It scores agents directly, so reward functions can be compared on the same measure.
  • Results With the extended action space, SPN averaged 2.00 ScoreGT across network sizes and agent orders, while SN averaged 10.29 and CDN averaged 6.21.

Why hand-built rewards can mislead defence agents

Deep reinforcement learning is a common route to autonomous cyber defence agents, which learn inside cyber gyms. A cyber gym pairs a state space and an action space with a reward function that encodes defensive goals. In practice those rewards are hand-built from human judgement, mixing penalties for actions with penalties for network states.

Most gyms and competitions rely on rewards like these for both training and evaluation.

Dense rewards speed learning because they give signal at many steps. That same density can lock an agent into a solution that is suboptimal and hard to spot before an attack. Dense rewards also fix numerical trade-offs between nodes and actions, and these get harder to manage as tasks grow. Sparse rewards take more training, but they leave the solution space more open.

Earlier ACD work judged agents only by mean episodic reward and its variance over fixed-policy rollouts. That view inherits the MDP model's assumptions, so it can't separate agents with different ground-truth behaviour. The authors set out to compare reward functions on a ground truth that lies beyond the RL model.

Scoring compromises the reward never sees

Cyber gyms fit red and blue actions into each discrete time step, so their order has to be settled somehow. Most gyms fix one order or apply an arbitrary priority, and the observation at the end of the step can hide what happened in between. A node that red compromises and blue restores before the step ends leaves no trace in the reward or the observation.

To close this gap, the authors define ScoreGT as the larger of the intra-step and end-step counts of compromised nodes. Written out, \( \mathrm{ScoreGT}(t) = \max(m^{\text{intra}}_t, m^{\text{end}}_t) \), where \( m^{\text{intra}}_t \) and \( m^{\text{end}}_t \) are those counts for step t. In the Figure 1 example the intra-step count is 3 and the end-step count is 2, so ScoreGT is 3.

Because the score uses these counts directly, it doesn't depend on the agent order or on the reward used in training. This lets reward functions be compared on the same measure of performance.

Measuring training reliability and worst-case risk

The authors build on the training reliability metrics of Chan et al. (2020). DT measures stability over time, and smooth, monotonic improvement gives the lowest DT. DT takes the inter-quartile range inside a sliding window along each detrended training curve, where \( y'_t = y_t - y_{t-1} \). Differencing removes positive trends, so steady improvement doesn't inflate the score.

DR measures reproducibility, using the inter-quartile range of per-run mean rewards averaged over evaluation steps. Low DR means the runs agree, so fewer runs are needed to find a strong agent. The standardised variant DR′ uses only the final 20% of training steps, and each run's mean reward is standardised as \( R'_i = (R_i - \mu)/\sigma \) before the IQR is taken.

For worst-case risk, the authors apply CVaR to fixed-policy rollouts, which gives RF. CVaR averages performance over the worst α fraction of cases, so RF looks at the lower tail rather than the central quartiles. The experiments use α = 0.05, and the upper and lower RF bounds are taken on the average per-step ground truth score.

Environments, rewards and training setup

Yawning Titan is an abstract graph simulation in which blue agents minimise compromised nodes against a fixed red attacker. The authors used a linear network with a fixed entry node, and vulnerability set to 1 on every node. The basic action space holds scan network and restore node, and the extended space adds place decoy. Red attacks 90% of the time and otherwise does nothing.

CAGE 2 describes an enterprise network of 13 hosts across 3 subnets, observed through a 52-bit vector. MiniCAGE keeps the same dynamics and spaces but trains faster, and the authors used its b-line red attacker. Six high-level actions expand to 145 concrete actions.

The sparse rewards are SP, which gives +1 only when no nodes are compromised, and SN, which gives -1 only when all nodes are compromised. SPN combines the two, while DN gives -1 per compromised node in Yawning Titan. CDN is the complex dense reward in Yawning Titan and the standard CAGE 2 reward in CAGE. Agent order is red then blue, blue then red, or random, with the random order re-drawn each episode.

Episodes last 100 steps, and PPO is the main algorithm, with DQN as a check. Yawning Titan training runs from 0.5 million steps for 2 nodes up to 2.5 million for 50 nodes. MiniCAGE agents trained for 2.5 million timesteps with PPO and DQN. Each configuration had 25 independent runs, with final policies evaluated over 1000 episodes. The authors used Stable-Baselines3 defaults and did no hyperparameter search.

Yawning Titan: sparse rewards lead on average

With the extended action space, SPN averaged 2.00 ScoreGT across network sizes and agent orders. SP averaged 2.69, while CDN and DN averaged 6.21 and 6.29. SN averaged 10.29, the highest of the five.

The sparse rewards also show much lower DT than the dense ones, which points to steadier training across time. SP's DT averaged 0.11 (e-3), compared to 2.33 (e-3) for DN. SN has low DT too, but its average performance is the weakest.

The gap widens with network size, and the largest two networks show the advantage of SPN magnified. At 10 nodes SP beats SPN in the extended action space, the one exception to the overall trend. The authors report that SP and SPN also give the best DQN agents in Yawning Titan, shown in the DQN appendix. Ablations in Appendices K and L are presented as attributing this to sparse structure rather than numerical sign.

MiniCAGE: sparse rewards against the default CAGE reward

The upper 95% confidence bound for SP is 1.34, which sits below the CDN average. SPN averaged 1.35, and the authors report that both sparse variants outperform the standard CAGE reward on ScoreGT.

SP agents averaged 22.28 privileged host accesses per episode, compared to 34.12 for the standard CAGE rewards. The authors report that 21 of these (92.31%) were confined to user subnet hosts. SP agents had slightly more operational server impacts, 0.28 per episode, compared to 0.03 for the standard CAGE rewards. Sparse agents also used the costly restore action less often and focused more on user hosts.

Agent order and random timing

With blue acting before red and the extended action space, SP agents reach an average of 0, so no node is compromised in any episode. Random ordering greatly lowers the score of every reward, which the authors read as sensitivity to adversary timing. Random ordering substantially degrades all evaluated reward functions.

For the 50-node network, the optimal red-then-blue score is 0.90, and Table 6 lists 25 of 25 optimal runs for SP under that order.

Limitations

ScoreGT relies on privileged simulator state that is unavailable in production. The authors therefore position it as an evaluation and reward-design tool used during training, not as an inference-time signal. The simulators also abstract away much of real operational networks, where adversaries are not turn-based.

Only PPO and DQN were tested, and only the DN and CDN dense configurations. Policy-invariant shaping needs a potential difference between states, and whether that can be built under partial observability is open. Sparse rewards may cause exploration problems, since learning dynamics depend on the task and the algorithm. SN gives less signal as the policy improves, so the authors advise against sparse rewards conditioned on the negative outcome.

Design recommendations for ACD rewards

From these results the authors draw four practical recommendations. First, adopt sparse, goal-aligned rewards by default, and avoid SN-type rewards conditioned on the negative outcome. Second, evaluate agents with ground truth scoring rather than episodic reward alone. Third, randomise intra-step agent order by default. Fourth, report RF, DR and DT alongside mean reward.

Paper info

Authors
Elizabeth Bates, Chris Hicks, Vasilios Mavroudis
Venue
International Conference on Machine Learning · Published
First published
2026-9-29
Added
2026-11-26
Original paper terms
Check in the original ↗
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Elizabeth Bates, Chris Hicks, Vasilios Mavroudis (2026). Beyond Rewards in RL for Cyber Defence. International Conference on Machine Learning. https://proceedings.mlr.press/v306/bates26a.html

BibTeX
@article{bates2026beyond,
  title = {{Beyond Rewards in RL for Cyber Defence}},
  author = {Elizabeth Bates and Chris Hicks and Vasilios Mavroudis},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/bates26a.html}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up