This paper introduces I²C-GRPO, a novel reinforcement learning (RL) framework designed to train Large Language Model (LLM) agents for cybersecurity alert triage. By using a "checklist" of expert-ranked forensic insights as a reward signal, the authors successfully train a compact 4B-parameter model to outperform much larger general-purpose models in identifying Distributed Denial of Service (DDoS) attacks.
TL;DR
The authors propose a "rollout-free" reward system called the Insight Importance Checklist (I²C) that provides dense, step-level feedback for training investigative agents. Using this method with Group Relative Policy Optimization (GRPO), a small Qwen3-4B model achieved a 4.9% false-positive rate on a held-out DDoS dataset, significantly outperforming GPT-5-mini's 16.4%.
What Problem Does This Paper Address?
Cybersecurity alert triage is a high-stakes "needle in a haystack" problem. Security Operations Centers (SOCs) are flooded with alerts, the vast majority of which are false positives. Investigating these requires multi-step reasoning over incomplete evidence (e.g., packet captures, logs, and network topology).
Training LLM agents for this task using standard Reinforcement Learning is notoriously difficult for three reasons:
- Sparse Rewards: You only know if the agent was right at the very end of a long investigation.
- Costly Rollouts: Running a full multi-agent simulation for every training step is computationally prohibitive.
- Lack of Labels: There are no "ground truth" labels for intermediate investigative steps (e.g., "Was asking about the source IP the right move here?").
Methods
The core innovation is the Insight Importance Checklist (I²C). The process is split into offline dataset construction and online policy optimization.
1. Offline: Building the Teacher
Instead of relying on a single "gold" trajectory, the authors use a panel of frontier LLMs (Gemini 3.1 Pro, GPT-5.5, and Claude Opus 4.7) to propose investigative actions for various scenarios.
- Insight Extraction: A secondary model distills these actions into "atomic forensic insights" (e.g., "The host contacted a known malicious IP").
- Consensus Ranking: A separate three-model ranker panel orders these insights by importance. This creates a context-specific checklist where the most critical findings carry the most weight.
2. Online: Training the Student
The "Triage Agent" (Qwen3-4B) is trained using Group Relative Policy Optimization (GRPO).
- Proxy Rewards: During training, the agent's proposed actions are not actually executed. Instead, a reward model extracts the insights the agent intends to target and matches them against the I²C.
- Soft Computing Weighting: The reward uses "rank-exponent weights." By adjusting an exponent ($z$), the authors can control the "orness" of the reward—essentially deciding how much to prioritize hitting the very top-ranked expert insights versus just covering the whole list.
Datasets
The framework was evaluated across two distinct DDoS benchmarks to test cross-environment transfer:
- DARPA 2000 LLDOS 1.0: Used for training and in-domain validation. It features a classic multi-stage attack (reconnaissance, exploitation, malware installation, and DDoS).
- CSE-CIC-IDS2018 (Tuesday DDoS trace): Used as a strictly held-out test set. This dataset was collected 18 years after the training set on a completely different network architecture, providing a rigorous test of the model's ability to generalize.
Key Insights and Ideas
- Intent as a Training Signal: You don't need to see the result of an action to know if it was a good action. By rewarding the agent for targeting the same insights as a panel of experts, the authors bypass the need for expensive environment rollouts during training.
- The Power of "Orness": One of the most striking findings was that simply rewarding the agent for covering the checklist wasn't enough. The best results (specifically the lowest false-positive rates) occurred only when the reward was heavily concentrated on the top-ranked insights ($z=2$).
- Small Models, Big Impact: The results suggest that a small, open-weight model (4B) fine-tuned on a specific investigative workflow can be more reliable than a massive, general-purpose "frontier" model like GPT-5-mini for specialized domain tasks.
Key Results
On the held-out CSE-CIC-IDS2018 test set:
- F1-Score: The I²C-GRPO agent reached a mean 0.869, outperforming uniform insight weighting (0.810) and the DIVA baseline (0.772).
- False Positive Rate (FPR): It achieved a remarkably low 4.9% FPR, compared to 16.4% for GPT-5-mini.
- Efficiency: The agent typically concluded investigations in 3.3 to 3.7 steps, showing a concise and effective reasoning path.
Limitations and Future Work
- Post-Mortem Scope: The current system is designed for post-event investigation, not real-time prevention.
- DDoS Specificity: The checklists were generated specifically for DDoS scenarios; it remains to be seen how well the I²C construction transfers to other attack families like ransomware or data exfiltration.
- Unsupported Assertions: The reward credits an agent for targeting an insight, but it doesn't currently penalize "hallucinated" insights—where an agent claims to have found something the evidence doesn't yet support. The authors suggest a "grounding audit" as a key area for future work.
- Data Contamination: The authors acknowledge that DARPA 2000 is widely documented online, meaning the frontier "teacher" models might have recognized the scenario from their pre-training data. This is why the 2018 dataset was used as the primary benchmark.
Summary updated