arXiv Machine Learning

A Hidden Markov Preference Model for Online Prediction of Adversary Actions

A new hidden Markov preference model predicts an adversary’s next action by modeling persistent and switchable behavioral regimes and state‑dependent action feasibility. The model uses a regime‑conditioned action law on a feasibility‑masked tree, updating regime beliefs via a likelihood that also yields the next‑action distribution. Experiments on the CAGE 2 cyber defense benchmark show the filtered latent state improves prediction accuracy, reducing loss within three steps after a controller switch compared to a recurrent baseline.

arXiv Machine Learning
Oct 8

Ask the Expert: LLM-Guided Reinforcement Learning for Autonomous Cyber Defense

The paper introduces Ask the Expert, a training-time framework that leverages large language models (LLMs) to guide reinforcement learning for autonomous cyber defense. It summarizes complex cyber‑defense states, intermittently queries an LLM for host‑level defensive recommendations via a constrained action interface, and then uses those recommendations to shape rewards for PPO training. After training, the LLM is discarded, leaving a pure RL policy that improves sample efficiency and outperforms potential‑based reward shaping baselines on TTCP CAGE CC1 and CC2 scenarios.

By Fernando Martinez, Abhishek Satyam, Tao Li, Junaid Farooq, Ying Wang, Juntao Chen
arXiv AI
Oct 2

Towards Hierarchical Cyber Defense with Large Language Models: From Planning to Execution

The paper explores using frozen large language models (LLMs) to control hierarchical cyber defense systems without retraining across different network scales. By separating planning (selecting subnets to defend) from execution (choosing defensive actions), the authors compare RL+RL, LLM+RL, and LLM+LLM setups in the Cyberwheel environment. Results show that while an LLM planner alone offers limited gains, extending LLM control to execution—especially with a 70B general‑purpose model—yields strong defensive performance across small, medium, and large networks, matching or surpassing retrained RL baselines.

By Harshith Doppalapudi, Nathaniel D. Bastian, Ankit Shah
arXiv AI
Aug 28

Safety Does Not Compose: Non-Decaying Loop State for Autonomous LLM Agents

The paper demonstrates that safety mechanisms for autonomous large language model agents fail to compose across iterative loops, as trajectory‑scoped monitors cannot detect attacks whose evidence is spread over multiple iterations. It introduces LoopHarness, a system that maintains a persistent, non‑decaying safety state across loops, bounding unauthorized actions with a constant that does not grow with the number of iterations. The authors provide a comprehensive evaluation protocol, including attacks that require cross‑iteration evidence, module ablations, and adaptive white‑box red‑team testing.

By Chenhao Wu, Haoxuan Jia, Yang Liu, Yingguang Yang, Yuhan Lin, Chongyang Zhang, Hao Zheng, Yulin Huang, Jianshen Zhang, Yongzhi Qi, Shang Luo, Kefu Xu, Jifeng Zhu, Bin Chong
arXiv AI
Aug 7

DreamGuard: Efficient Runtime Guardrail for LLM Agents via Risk-Aware World Model

arXiv:2608. 05695v1 Announce Type: new Abstract: As large language model (LLM) agents increasingly invoke external tools and interact with real-world systems, unsafe actions may cause irreversible consequences on external states, user data, and downstream services.

By Wenhao Lin, Chenyu Yu, Xingwei Lin, Sicong Cao, Xiang Chen, Lei Xue, Le Yu, Letian Sha, Chunming Wu