← Latest papers
⚡ electrical engineering

Learning Red Agent Policy from Observations for Neurosymbolic Autonomous Cyber Agents

This paper proposes an imitation learning technique to enable neurosymbolic autonomous cyber-defense agents to predict unobservable red agent policies and actions from network observations, thereby enhancing their ability to adapt to sophisticated cyber-attacks in partially observable environments.

Original authors: Ankita Samaddar, Sandeep Neema, Daniel Balasubramanian, Xenofon Koutsoukos

Published 2026-06-17
📖 6 min read🧠 Deep dive

Original authors: Ankita Samaddar, Sandeep Neema, Daniel Balasubramanian, Xenofon Koutsoukos

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a high-stakes game of chess played in a foggy room. You are the defender (the "Blue Agent"), trying to protect your castle. Your opponent is the attacker (the "Red Agent"), who is trying to break in.

The problem? You can't see your opponent. You only see the results of their moves: a door is suddenly open, a light flickers, or a piece of furniture is moved. You know your own moves, but you have to guess what your invisible opponent just did based on how the room changed.

This paper describes a new way for the defender to "read the mind" of the attacker in a digital network, even when the attacker is hidden.

The Setting: A Digital Castle

The researchers used a simulated network called CybORG. Think of this network as a castle with three main areas:

  1. The Courtyard (User Subnet): Where regular people work.
  2. The Office (Enterprise Subnet): Where important servers and data live.
  3. The Vault (Operational Subnet): The most critical, sensitive machinery.

The attacker tries to sneak from the Courtyard, through the Office, and finally into the Vault to cause damage. The defender tries to stop them.

The Problem: The "Black Box" Fog

In this game, the defender is "partially observable." This is a fancy way of saying: "I can't see the attacker."

  • The defender sees the state of the network (e.g., "Server A is now compromised").
  • The defender knows what they did (e.g., "I scanned the network").
  • But the defender does not know what the attacker did to cause that change. Did they scan? Did they hack a password? Did they install a virus?

Without knowing the attacker's specific move, it's hard to predict their next step or understand how deep they have penetrated the system.

The Solution: A "Sherlock Holmes" AI

The authors propose a technique called Policy Learning using a method similar to Imitation Learning.

Here is the analogy: Imagine you are watching a magician perform a trick. You see the magician's hands move (the defender's action) and you see the rabbit appear (the network state change). You don't see the secret move the magician made to pull the rabbit out of the hat.

The researchers built an AI that acts like a detective:

  1. Watch and Learn: They let the AI watch thousands of games where the attacker and defender play. Even though the AI doesn't see the attacker's moves during the game, it has a "cheat sheet" (the ground truth) during training to see what actually happened.
  2. Find the Pattern: The AI learns a pattern: "When the defender scans the network and the server suddenly looks different, the attacker must have done X."
  3. Predict the Future: Once trained, the AI can look at a new game in real-time. It sees the defender's move and the resulting change, and it says, "I bet the attacker just did X."

How It Works: The Three-Step Detective Process

The paper breaks this down into three stages, like a detective solving a case:

  1. The "What Happened?" Phase (Inverse Dynamics): The AI looks at the "before" and "after" of the network and the defender's move. It tries to guess the "invisible" move the attacker made that caused the change. It creates a rough, abstract guess (a "latent action").
  2. The "Practice" Phase (Policy Learning): The AI trains itself to be better at guessing. It tries to mimic the invisible moves it figured out in step 1. It's like a student practicing a dance by watching the teacher's footprints.
  3. The "Translation" Phase (Mapping): The AI's guesses are still vague. This step translates the vague guess into a specific, real-world attack name (e.g., "Exploit Remote Service") and a specific target (e.g., "Server 3").

The "Neurosymbolic" Brain

The paper mentions Neurosymbolic AI and Behavior Trees.

  • Neurosymbolic means combining two types of thinking:
    • Neural: Learning from data (like a human learning from experience).
    • Symbolic: Following logical rules (like a computer following a strict checklist).
  • Behavior Trees are like a flowchart or a decision tree. Imagine a security guard with a clipboard. The guard checks: "Is the door open? Yes. Is there an intruder? Yes. Then, sound the alarm."
  • The researchers plugged their new "mind-reading" AI into this flowchart. Now, the guard doesn't just react to the door being open; the guard can predict that the intruder is likely going to the Vault next, and prepare for it.

The Results: How Good Was It?

The researchers tested this in the simulated "CybORG" environment against two types of attackers:

  1. The "B-Line" Attacker: A direct, straight-line path to the goal. (Like a burglar running straight to the vault).
  2. The "Meander" Attacker: A wandering attacker who checks every room and tries to get into every computer before moving on. (Like a burglar snooping around the whole house).

The Findings:

  • Direct Attackers: The AI was incredibly accurate (over 99%) at predicting the moves of the direct attacker. Because their path is predictable, the "detective" AI could easily guess the next step.
  • Wandering Attackers: The AI was still very good (around 95% for the general area, though slightly less precise on the exact computer) at predicting the wandering attacker.
  • Switching Attackers: They even tested an attacker who switches strategies halfway through. The AI could adapt and continue predicting, though it took a moment to catch up when the strategy changed.

Why This Matters

The main takeaway is that this system allows a defender to see the invisible. By predicting what the attacker is doing right now, the defender can:

  • Detect an intrusion earlier.
  • Understand how deep the attacker has gone (e.g., "They have user access, but not admin access yet").
  • React more effectively because they aren't just guessing; they are making an educated prediction based on the attacker's hidden "policy."

In short, the paper presents a way to turn a foggy, blind defense game into a clearer match where the defender can anticipate the attacker's next move, even without seeing them.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →