Replacing a neural reward model with a hand-designed causal graph helps a cyber-defence learning agent win more simulated games. If it holds, expert causal knowledge is a practical way to train better defence agents.
| Metric: | Model Free | NNModel Based | Causal Model Based |
|---|---|---|---|
| BA Wins | 31% | 31% | 43% |
| Episode Length | 353.14 | 333.11 | 439.71 |
| Healthy nodes on win | 56.66% | 51.73% | 64.35% |
| Isolated nodes on win | 94.5% | 90.79% | 76% |
| Reward & Scenario | Blue Wins | Episode Length | Healthy Nodes | Isolated Nodes |
|---|---|---|---|---|
| Standard Rewards | ||||
| Overall | % | % | % | % |
| High red skill, medium network | % | % | % | % |
| High red skill, small network | % | % | % | % |
| Low red skill, medium network | % | % | % | % |
| Low red skill, small network | % | % | % | % |
| HVTRewards | ||||
| Overall | % | % | % | % |
| High red skill, medium network | % | % | % | % |
| High red skill, small network | % | % | % | % |
| Low red skill, medium network | % | % | % | % |
| Low red skill, small network | % | % | % | % |
| Reward & Scenario | Blue Wins | Episode Length | Healthy Nodes | Isolated Nodes |
|---|---|---|---|---|
| Standard Rewards | ||||
| Overall | % | % | % | % |
| High red skill, medium network | % | % | % | % |
| High red skill, small network | % | % | % | % |
| Low red skill, medium network | % | % | % | % |
| Low red skill, small network | % | % | % | % |
| HVTRewards | ||||
| Overall | % | % | % | % |
| High red skill, medium network | % | % | % | % |
| High red skill, small network | % | % | % | % |
| Low red skill, medium network | % | % | % | % |
| Low red skill, small network | % | % | % | % |
Going deeper

Picture a night guard in a building with many rooms. Intruders slip in and move room to room. The guard can lock a room, reset it, reconnect it or strengthen its doors. The guard loses if an intruder reaches the vault.
A guard who learns by practising can rehearse in their head between shifts. Most such guards rehearse with a vague gut feeling of what pays off. This paper gives the guard a written rulebook from experienced guards: locking costs this much, an intruder near the vault matters more, and so on.
In a simulated building with up to 25 rooms, the guard with the rulebook holds out longer and wins more nights than guards relying on gut feeling. But the building is simulated, the intruders move by dice rolls rather than cunning, and in a few setups the rulebook guard does worse.
The abstract, word for word, with the six densest phrases unpacked.
Artificial Intelligence (AI)is seen as a disruptive solution to the ever increasing security threats on network infrastructures. To automate the process of defending networked environments from such threats, approaches such as Reinforcement Learning (RL)have been used to train agents in cyber adversarial games. One primary challenge is how contextual information could be integrated into RLmodels to create agents which adapt their behaviour to adversarial posture. Two desirable characteristics identified for such models are that they should be interpretable and causal1. To address this challenge, we propose an approach through the integration of a causal rewards model2 with a modified Proximal Policy Optimisation (PPO)agent in Meta’s MBRL-Lib framework. Our RLagents are trained and evaluated against a range of cyber-relevant scenarios in the Dstl YAWNING-TITAN (YT)environment3. We have constructed and experimented with two types of reward functions to facilitate the agent’s learning process. Evaluation metrics include, among others, games won by the defence agent (blue wins), episode length, healthy nodes and isolated nodes. Results show that, over all scenarios, our causally aware agent achieves better performance than causally-blind state-of-the-art benchmarks4 in these scenarios for the above evaluation metrics. In particular, with our proposed High Value Target (HVT)rewards function, which aims not to disrupt HVTnodes, the number of isolated nodes is improved by 17 % and 18 %5 against the model-free and Neural Network (NN)model-based agents across all scenarios. More importantly, the overall performance improvement for the blue wins metric exceeded that of model-free and NNmodel-based agents by 40 % and 17 %6, respectively, across all scenarios.
Two lines meet here: learning inside a model of the world, and causal models for cyber defence.
Read four parts of it, in this order.
Skip Sections 2 and 3 if you know model-based RL and causal graphs.
If the gains are smaller than they look, these places show why.
| Algorithm | Scenario | # of agents for | # of agents for |
|---|---|---|---|
| standard reward | HVTreward | ||
| Our Algorithm | High red skill, medium network: | ||
| High red skill, small network: | |||
| Low red skill, medium network: | |||
| Low red skill, small network: | |||
| Total | |||
| Model-Free | High red skill, medium network: | ||
| High red skill, small network: | |||
| Low red skill, medium network: | |||
| Low red skill, small network: | |||
| Total | |||
| NNModel-Based | High red skill, medium network: | ||
| High red skill, small network: | |||
| Low red skill, medium network: | |||
| Low red skill, small network: | |||
| Total | |||
| Overal total | 99 | 139 |
| Reward & Scenario | Blue Wins | Episode Length | Healthy Nodes | Isolated Nodes |
|---|---|---|---|---|
| Standard Rewards | ||||
| Overall | % | % | % | % |
| High red skill, medium network | % | % | % | % |
| High red skill, small network | % | % | % | % |
| Low red skill, medium network | % | % | % | % |
| Low red skill, small network | % | % | % | % |
| HVTRewards | ||||
| Overall | % | % | % | % |
| High red skill, medium network | % | % | % | % |
| High red skill, small network | % | % | % | % |
| Low red skill, medium network | % | % | % | % |
| Low red skill, small network | % | % | % | % |
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all