mlsanityData to 7 Oct 2026

Distilling Knowledge from Large Language Models into Lightweight Reinforcement Learning Agents for Autonomous Cyber Operations

arXiv 2607.28826 ↗First posted 30 Jul 2026cs.LGcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Autonomous Cyber Operations (ACO) are increasingly important for defending enterprise networks as cyber threats continue to evolve in sophistication. ACO applications commonly employ Reinforcement Learning (RL) agents to learn defensive behaviors through interaction with environments. However, RL agents typically require extensive exploration during training, often resulting in unstable behavior and poor initial decision-making before converging toward effective defense strategies. In this work, we investigate the use of a Large Language Model (LLM) to improve autonomous defensive decision-making within an ACO environment. Through prompt engineering rather than fine-tuning, we demonstrate that an 8-billion parameter LLM pretrained on cybersecurity data can outperform a baseline RL agent in a modified CybORG CAGE Challenge 2 environment. We then propose an online policy distillation framework that transfers the LLM's defensive policy into a lightweight RL agent containing only 64,910 parameters, reducing model size by several orders of magnitude while maintaining effective defensive capabilities. This provides a pathway toward operationalizing frontier cybersecurity models within lightweight, deployable agents. To evaluate transferability, we construct CybORG scenarios ranging from 4 to 12 hosts and assess the approach across varying network configurations. We also evaluate teacher-guided RL stabilization strategies and observe that none consistently surpass the optimized teacher policy, suggesting policy-alignment limitations between reward-driven RL optimization and teacher-guided defense strategies. Our results demonstrate the potential of cybersecurity-focused LLMs as sources of expertise for autonomous cyber defense, while policy distillation provides a practical path toward operationalizing frontier cybersecurity models within efficient, scalable agents.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 12 of its 28 references that are in the map. First posted on arXiv 30 Jul 2026.

Builds on

12 of 28 references.

References · 12

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 840
  3. 2018Reinforced Imitation: Sample Efficient Deep Reinforcement Learning for Map-less Navigation by Leveraging Prior Demonstrationscited by 35
  4. 2023HuntGPT: Integrating Machine Learning-Based Anomaly Detection and Explainable AI with Large Language Models (LLMs)cited by 25
  5. 2023On Autonomous Agents in a Cyber Defence Environmentcited by 24
  6. 2020CybORG: An Autonomous Cyber Operations Research Gymcited by 15
  7. 2023Learning Cyber Defence Tactics from Scratch with Multi-Agent Reinforcement Learningcited by 12
  8. 2025Generalized Kullback-Leibler Divergence Losscited by 6
  9. 2025Large Language Model Integration with Reinforcement Learning to Augment Decision-Making in Autonomous Cyber Operationscited by 3
  10. 2025Language Model Distillation: A Temporal Difference Imitation Learning Perspectivecited by 2
  11. 2025A Comparative Evaluation of Teacher-Guided Reinforcement Learning Techniques for Autonomous Cyber Operationscited by 2
  12. 2025Towards Production-Worthy Simulation for Autonomous Cyber Operationscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Ask the Expert: LLM-Guided Reinforcement Learning for Autonomous Cyber Defense
  2. 2025Large Language Models are Autonomous Cyber Defenders
  3. 2023Out of the Cage: How Stochastic Parrots Win in Cyber Security Environments
  4. 2026A Red Teaming Framework for Evaluating Robustness of AI-enabled Security Orchestration, Automation, and Response Systems
  5. 2026In-Context Autonomous Network Incident Response: An End-to-End Large Language Model Agent Approach
  6. 2026No One Architecture Fits All: A Cross-Environment Evaluation of Hierarchical Red Team Agents
  7. 2026CyberWorld: World Models for Sample-Efficient Autonomous Cyber Defense
  8. 2025L2M-AID: Autonomous Cyber-Physical Defense by Fusing Semantic Reasoning of Large Language Models with Multi-Agent Reinforcement Learning (Preprint)