Skip to content

Sentinel-RL: Offloading Topological Reasoning from LLM Agents to the Security Operations CenterSENTINEL-RL: Offloading Topological Reasoning from LLM Agents in the Security Operations Center

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2609.04159· Uday Vallabhaneni, Cassie L. Cagwin, David J. Wild·Indexed by this site · 2026-10-01· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

Sentinel-RL achieves precision 0.91±0.02 and recall 0.87±0.03 on the held-out 8-day LANL red team events.

Threat modelAfter a boundary breach, the adversary executes TA0008 lateral movement as a credential abuser (T1078, T1021). The defense continuously ingests authentication telemetry and maintains a Neo4j graph, can isolate hosts or lock accounts via SOAR, but initially does not know the compromised assets. The authors assume the LLM will hallucinate; constraints come from action masking, rate limiting, the critic, and human approval.

Questions
If an enterprise SOC uses LLM agents to handle lateral movement, the authentication graph (about 10^4–10^5 hosts, more than 10^6 connections per day) cannot fit into the context, and free-form generation cannot guarantee containment actions are consistent with the topology. The authors believe that guessing when isolating hosts introduces operational risk.
Methods
Sentinel-RL uses HetGAT to compress the two-hop authentication subgraph of the alerting host into a 64-dimensional state, with PPO selecting among five investigation actions. The LLM's Triage only writes narratives, and Critic checks evidence; high-blast-radius actions require human approval. Graph ingestion uses two-phase CREATE, with components co-located on HPC anchor nodes.
Experiments and results
24 million-edge CREATE is 852 seconds. On the held-out 8-day LANL red team, precision 0.91±0.02, recall 0.87±0.03 (5 seeds). Alert p99 is 2.45 seconds (synthetic stream, 50 runs). End-to-end median 6.33 seconds (100 runs), of which 8B narrative is 3.78 seconds.
Limitations and future work
The paper does not have a dedicated limitations section. Section VIII-B lists using LLM as a teacher signal for RL as a direction that could be incorporated in the future. On the experimental side, the Table III baselines are the original authors' reported values; confidence, entropy, and recall-floor have no numerical values; the end-to-end 100 runs do not specify the event source.
Experimental setupSentinel-RL · LANL Comprehensive, Multi-Source Cyber-Security Events、Indiana University Quartz HPC anchor node · precision、recall et al.
Evaluated models
Sentinel-RL
Benchmarks
LANL Comprehensive, Multi-Source Cyber-Security EventsIndiana University Quartz HPC anchor node
Metrics
precisionrecallF1AUCmean episodic returningestion wall timewebhook latencyend-to-end median latency
AI summarySentinel-RL is an agentic SOC architecture that decouples topological reasoning from semantic reasoning, using a heterogeneous graph attention encoder to compress real-time authentication subgraphs into fixed-dimensional states, which a PPO policy then maps to constrained investigation actions, with the LLM agent responsible only for consuming policy recommendations and generating analyst-readable narratives. On the LANL comprehensive multi-source cybersecurity event dataset and Indiana University's Quartz HPC cluster, the two-stage CREATE ingestion pattern loaded 24 million edge authentication subgraphs in 14.2 minutes on a single 32-core node, about 24 times faster than a MERGE-based pipeline; PPO training converged after 200 iterations to an average episode return of 8.74±0.31, with a held-out set precision of 0.91 and recall of 0.87 on labeled red-team events; the full detect-investigate-recommend-human-approval loop took a median of 6.3 seconds.

Sentinel-RL is an agentic SOC architecture that decouples topological reasoning from semantic reasoning, using a heterogeneous graph attention encoder to compress real-time authentication subgraphs into fixed-dimensional states, which a PPO policy then maps to constrained investigation actions, with the LLM agent responsible only for consuming policy recommendations and generating analyst-readable narratives. On the LANL comprehensive multi-source cybersecurity event dataset and Indiana University's Quartz HPC cluster, the two-stage CREATE ingestion pattern loaded 24 million edge authentication subgraphs in 14.2 minutes on a single 32-core node, about 24 times faster than a MERGE-based pipeline; PPO training converged after 200 iterations to an average episode return of 8.74±0.31, with a held-out set precision of 0.91 and recall of 0.87 on labeled red-team events; the full detect-investigate-recommend-human-approval loop took a median of 6.3 seconds.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    LLMs cannot fit enterprise authentication graphs, and free-form generation cannot guarantee containment actions are consistent with the topology.

    Containment of lateral movement on enterprise authentication graphs cannot rely on stuffing the entire topology into the LLM context and then freely generating containment actions.

    • Operational scenario: The authors state that a standard SOC handles 10^4–10^5 alerts per day, the vast majority being false positives. Connecting an LLM to an API as an analyst can make a demo, but it fails under real operational load.
    • Two structural limitations: A medium-sized network has 10^4–10^5 hosts and more than 10^6 connections per day; existing context windows cannot hold the granularity needed to track lateral movement, and once exhausted, the model will guess whether isolation cuts off access. isolate-host, block-ip, and disable-account affect business continuity, and free text has no hard rules, auditability, or cross-version consistency guarantees.
    • Division of labor assumption: The authors believe the LLM should be limited to writing queries, summarizing alerts, and drafting reports; mapping topology state to constrained actions should be left to a trained policy.
    • System and threat model: The authors propose Sentinel-RL, which on LANL and Quartz HPC separates graph data, decisions, telemetry, and interface into four layers.
      • Adversary: Only in scope after initial boundary breach; the method of breach is not considered. The goal is to hijack valid accounts (T1078) and abuse remote services (T1021), i.e., MITRE ATT&CK TA0008. The authors assume the adversary is primarily a credential abuser, consistent with the LANL red team.
      • Defender: Continuously ingests authentication telemetry and maintains a near-real-time Neo4j graph, can isolate hosts or lock accounts via SOAR API, but initially does not know which assets are compromised.
      • Trust: The authors assume the LLM will hallucinate. Assurance relies on an internal critic, policy auditor, and human approval; they do not assume the policy is always optimal, and behavior is constrained by action masking, rate limiting (Section IV-E), and enterprise controls in Section VII.
  2. What related research exists?

    Related work covers LANL graph detection, RL defenses, and agentic SOC; the authors focus on containment rather than only improving precision.

    Related work focuses on graph detection on LANL, reinforcement learning in autonomous cyber defense, and agentic SOCs.

    • Lateral movement detection
      • Dataset: Kent (2015)'s LANL Comprehensive, Multi-Source Cyber-Security Events contains 58 days of production traffic, approximately 1.65×10^9 events, 12,425 users, 17,684 endpoints, and authentication, DNS, NetFlow, and verified red team activity. The authors call it the standard testbed for this direction.
      • Link prediction baselines: Bowman et al. (2020) and Euler (King, Huang, 2023) frame lateral movement as link prediction on a structural graph. The authors say these provide the initial baselines.
      • Subgraph classification and graph foundation models: The authors state that PIKACHU (2022) and LMDetect (2024) push true positive rate and F1 into the upper 90th percentiles. In the numbers cited in Table III, LMDetect has recall 0.99 and F1 0.92, while PIKACHU has recall 0.95 and F1 0.86. King et al. and Larroche's graph foundation models are pre-trained on heterogeneous networks, and the authors claim a jump in average precision; no specific numbers are given in the text. Section II-B also states that graph models on LANL commonly achieve true positive rates of 85%–99% with false positives below 5% (references [4]–[7]).
    • RL in autonomous cyber defense
      • Foley et al. (2023): The authors summarize their conclusion as sparse, goal-driven rewards outperform dense hand-crafted signals; robust cross-network generalization is impossible if the environment is not natively perceived as a graph. The authors say these two points were incorporated into this system.
      • Hicks et al. (2023): Discusses phased interpretability for RL defensive agents. The authors say the orchestration layer's practice of writing policy outputs as narratives is inspired by this.
      • PPO and simulation environments: Section II-C selects PPO (Schulman et al., 2017) because the objective function clips update magnitudes, integrates with Ray RLlib, and allows regression testing on held-out scenarios before production. CybORG (Standen et al., 2021) and CybORG++ (Emerson et al., 2024) are simulation environments; the authors state their work focuses on live-environment execution rather than training only in such sandboxes.
    • Agentic SOC and evaluation norms
      • Products and surveys: The authors claim Microsoft Security Copilot and Deng et al.'s threat survey represent commercial integration outpacing peer review.
      • Analyst behavior: Vermeer et al. (2022) document how analysts triage under pressure. The authors say this constitutes a hard constraint on what the human component can handle.
      • Evaluation norms: The authors say they follow Arp et al. (2022), removing spatial and temporal biases, purely laboratory conditions, and unrealistic threat assumptions, and adopt Bilot et al. (2025)'s standards for reproducibility of graph-based detection.
    • Baseline methods and benchmarks: Table III compares Bowman et al., Euler, PIKACHU, and LMDetect. The table note states these numbers are the original authors' reported results on the same LANL dataset. The detection experiments use a held-out slice of the last 8 days of the data.

    The authors claim the core contribution is not a marginal improvement in detection accuracy, but placing the classifier in a containable response architecture, shifting from identifying threats to safely neutralizing them (Section VIII-A).

  3. How does the paper address this problem?

    HetGAT compresses the two-hop authenticated subgraph into a 64-dimensional state, PPO selects among five actions, and the LLM only writes narratives.

    Sentinel-RL offloads topological reasoning from the LLM to a graph encoder and PPO: the policy makes investigation decisions within a fixed action set, the LLM only consumes policy outputs and generates analyst-readable narratives, and whether infrastructure changes can be pushed is also constrained by the critic and an approval gate.

    Data plane and state

    • Graph memory: Neo4j 5.x maintains Host, User, Service, NetworkSegment, as well as timestamped Authenticates-To and Connects-To. LANL's auth.txt is written via Ray Data sharded by source host. It exposes a streaming ingestion endpoint and a Cypher interface for the encoder to extract local snapshots. Figure 1 labels 24M edges and 17.6k hosts; the text states LANL has 17,684 endpoints.
    • State after triggering: After an alert, HetGAT takes the two-hop neighborhood around the suspicious activity and compresses it into st ∈ ℝ64. This expression means the subgraph is folded into a fixed 64-dimensional state for the policy to read, and the context does not grow with the number of nodes.
    • Actions and service form: PPO selects one of QueryEDR, QueryAD, CheckThreatIntel, ExamineFirewall, TerminateAndOutputVerdict. The policy runs as a standalone FastAPI microservice rather than being embedded in RLlib library dependencies, so versions can be run side by side and intercepted before execution.

    Telemetry, orchestration, and security surface

    • Sliding window: When a source host makes more than N=25 authentication attempts within W=10 seconds, the AlertEngine sends a webhook to the orchestration layer with the host ID and time window. The authors state the parameters target aggressive credential spraying in the LANL red team and avoid automated batch spikes.
    • Two LLM roles: LangChain manages Triage and Critic, with a Streamlit plus PyVis interface. Triage writes PPO output as a narrative; Critic checks whether the action references sufficient evidence.
    • Three hard constraints (Section IV-E): without corroboration from at least two distinct sources, the action mask does not allow TerminateAndOutputVerdict; each decision writes the network state, selected action, timestamp, and policy version to an immutable audit log; policy versions can be switched by changing environment variables. Section III also mentions rate limiting, but Section IV-E does not give specific rates.
    • Two descriptions of the approval boundary: Section IV-D states that no infrastructure change can be executed without a human clicking final approval in the interface. Section VII-E and Figure 5 instead describe three tiers: Tier 1 read-only reconnaissance is executed automatically and logged; Tier 2 reversible containment (e.g., disconnecting sessions, quarantining email) is executed after Critic validation; Tier 3 (disabling accounts, isolating hosts, blocking network segments) requires human authorization. There is also a kill switch, which the authors say can revert to rule-based logging within a minute without restarting the pipeline.

    Ingestion and deployment

    • Two-phase CREATE (Listing 1, Section V-A): first, a single thread writes all host vertices using MERGE, then parallel workers use MATCH to locate endpoints and CREATE to write edges. The authors state that on a highly skewed authentication graph, parallel MERGE contends for write locks on hot nodes.
    • Anchor node (Section V-B): Neo4j, the policy service, the alert engine, and the interface are placed on the same SLURM allocation (32 cores, 128 GB), with loopback between planes. The authors state that Quartz does not automatically forward user-space TCP between arbitrary compute nodes; when placed across nodes, policy responses are empty, webhooks miss, and the graph database is unreachable. Ray and PyTorch parallelism is still limited to within that node.

    Training setup

    • Process and reward: PPO is trained for 200 rounds on a custom MDP. The agent only sees the HetGAT embedding of the two-hop neighborhood of flagged hosts. The reward in Section VI-C is: +1 if the final TerminateAndOutputVerdict matches the LANL red-team ground truth, otherwise 0. Figure 4 marks the theoretical ceiling as 9.0.
    • Another reward and filtering: Section VII-A states that the reward has a slight penalty for each investigation action and filters the softmax by historical frequency, only escalating alerts that cross a confidence threshold. The paper does not give the penalty coefficient or threshold, nor does it state whether this is the reward used in the 200-round training.
    • Pre-deployment checks: the policy runs alongside a traditional statistical ensemble, and alerts from either side enter investigation; decision entropy above a specified threshold forces human intervention; each update must pass a recall-floor regression on held-out red-team data. None of these thresholds or floors have numerical values.
    • Hyperparameters (Table I, Ray 2.30+ RLModule/Learner): train_batch_size_per_learner is 4,000, minibatch_size is 128, num_epochs is 10, learning rate is 5×10−5, clip_param is 0.2, entropy_coeff is 0.01, gamma is 0.99, lambda is 0.95.
  4. What experiments did the paper conduct?

    On the held-out 8 days of LANL, precision is 0.91±0.02 and recall is 0.87±0.03; on the 24M-edge CREATE, it takes 852 seconds.

    On the held-out 8-day LANL red-team events, Sentinel-RL has higher precision than the baselines in Table III, and lower recall and F1 than LMDetect; ingestion, alerting and end-to-end latency are in Table II, Figure 3 and Table IV respectively.

    Experimental Setup

    • Hardware: The tests in Section VI are all on the same Quartz anchor node: 32 Intel Xeon cores (2.4 GHz), 128 GB memory, no GPU. PPO runs on Ray 2.30+.
    • Data: Ingestion uses the LANL authentication edge subset, from 100 thousand to 24 million edges; the authors state that 24 million edges roughly corresponds to one day of LANL traffic. Detection uses the last 8 days, a slice unseen in training. The alert test uses a synthetic 10 events per second, with threshold (W, N)=(10 seconds, 25).
    • Components under test: HetGAT (64 dimensions), PPO with five actions, and a locally 4-bit quantized 8B model (Table IV uses it only for narrative timing). The paper does not give the name of this 8B model.
    • Baselines: Bowman et al., Euler, PIKACHU, LMDetect. The Table III note states that the baselines are values reported by the original authors on the same dataset.
    • Metrics and repetitions: Ingestion wall-clock time is the mean of 5 runs, with standard deviation below 3% in each cell. Alert latency is 50 runs. Episodic return is 5 random seeds, 200 episodes. Prec./Recall/F1/AUC are mean±standard deviation over 5 training seeds. End-to-end latency is the median of 100 trials.
    • Alignment: In Section VI-C, +1 only when TerminateAndOutputVerdict matches the red-team ground truth. The paper does not state the statistical granularity of precision/recall, nor the decision threshold.

    Main Results

    Detection on the held-out 8-day LANL red-team events (Sentinel-RL is 5 training seeds; baselines are values reported by the original authors, per Table III):

    Swipe horizontally to read the table

    MethodPrec.RecallF1AUC
    Bowman et al.0.620.850.720.94
    Euler0.710.830.770.95
    PIKACHU0.790.950.860.97
    LMDetect0.860.990.920.99
    Sentinel-RL0.91±0.020.87±0.030.89±0.020.96±0.01
    • The authors state that LMDetect's recall is slightly higher, while Sentinel-RL leads in precision and F1. In the table, precision is highest at 0.91±0.02 (LMDetect is 0.86); F1 is 0.89±0.02, lower than LMDetect's 0.92; AUC is 0.96±0.01, lower than 0.99; recall is 0.87±0.03, lower than LMDetect's 0.99 and also lower than PIKACHU's 0.95.
    • In the table, the lowest precision is Bowman et al. at 0.62, and the lowest recall is Euler at 0.83.
    • The table note states that the baselines use the same LANL dataset as this paper. The paper does not state whether the original authors' numbers come from this same 8-day slice.

    Policy Convergence

    • What was measured: 5 seeds, 200 PPO episodes; the state is only the two-hop HetGAT embedding; the reward is the +1/0 of Section VI-C.
    • Results: The authors state that most of the capability appears in the first 80 episodes. At 200 episodes the mean episodic return is 8.74±0.31 (Figure 4). The figure caption states the shading is ±1 standard deviation, and the theoretical ceiling is 9.0.
    • Authors' interpretation: The authors state that the curve is stable and close to this ceiling. The paper does not explain why the ceiling is 9.0 when the terminal reward is written as +1.

    Ingestion Throughput

    On the 32-core anchor node, single-stage MERGE versus two-stage CREATE (Table II, mean of 5 runs). Figure 2 is a log-log plot of edge count versus wall-clock time.

    EdgesMERGE (s)CREATE (s)
    100,000389
    500,00031224
    1,000,00094141
    5,000,0004,126170
    10,000,0009,480359
    24,000,00021,600 (extrapolated)852
    • The table note states that 21,600 seconds is a linear extrapolation based on progress in the first 4 hours after hitting the 6-hour limit. The abstract writes 14.2 minutes and states that throughput is roughly 24 times that of the MERGE pipeline; the conclusion also writes 14.2 minutes.
    • The authors state that MERGE is superlinear due to hotspot lock contention, while CREATE is near-linear (Figure 2 caption). Section V-A states that at 24 million edges, parallel MERGE throughput drops by about two orders of magnitude, with workers idle in transaction queues.

    Alert and End-to-End Latency

    • Alert: synthetic stream at 10 events per second, (W, N)=(10 seconds, 25), 50 runs (Figure 3). Mean 2.31 seconds, 99th percentile 2.45 seconds, maximum 2.48 seconds. The abstract writes ≤2.5 seconds across 50 trials; the conclusion writes the 99th percentile below 2.45 seconds. The authors state this falls within the single-digit-second budget stated in reference [2].
    • End-to-end: Table IV is the median of 100 trials, totaling 6.33 seconds. The stages are: AlertEngine 2.31 seconds (36.7%), two-hop subgraph extraction 0.08 seconds (1.3%), HetGAT 0.05 seconds (0.8%), PPO inference 0.04 seconds (0.6%), Critic agent evidence verification 0.07 seconds (1.1%), 8B 4-bit narration 3.78 seconds (60.0%). The abstract and conclusion write a median of 6.3 seconds. The 2.31 seconds in Table IV is the median of 100 runs, the same number as the mean over 50 runs in Figure 3; the paper does not state whether these are the same batch of trials.
    • Authors' interpretation: The authors state that local graph extraction, topology encoding and PPO inference together take less than 100 milliseconds, and that the time is mainly spent on the local LLM writing the narration. In Table IV the medians of these three steps are 0.08, 0.05, 0.04 seconds. The paper does not state whether the events in these 100 runs come from the LANL red team.

    Other Ablations and Analyses

    • The paper does not report ablations of encoder dimension, action set, masking rules or reward coefficients.
    • Table I gives only one configuration: batch 4,000, minibatch 128, epoch 10, learning rate 5×10−5, clip 0.2, entropy 0.01, gamma 0.99, lambda 0.95.
    • The alert threshold reports only the one setting (10 seconds, 25).
    • The MERGE time for 24 million edges is a linear extrapolation after the 6-hour limit (Table II note).
    • Section VII describes confidence filtering, entropy-triggered human review, recall-floor, rollback scripts, Response Sandbox and tiered approval; apart from the authors' statement that the kill switch takes less than a minute, these controls have no quantitative results.
    • Section V-B states that cross-node placement leads to empty policy responses, webhooks with no target, and Neo4j unreachable from other nodes; the paper does not give the latency numbers at the time.
  5. What are some points that can be further explored?

    The paper does not have a dedicated limitations section; it only mentions that it could be connected to an LLM to provide a teacher signal for RL.

    The paper does not specifically discuss limitations, and only in Section VIII-B writes using an LLM to provide a teacher signal for RL as a direction that can be incorporated later.

    Limitations and Future Directions Pointed Out by the Authors

    • The paper has no dedicated Limitations or Future Work section, and Section IX does not write any result as a system limitation.
    • Section VIII-B writes Looking forward: the modular architecture can incorporate techniques that use an LLM to provide an early teacher signal for RL (Tholl et al.). The authors state that such techniques have shown the ability to shorten training time.

    Scope of Experimental Coverage

    • Machine-side measurements come from one 32-core, 128 GB, no-GPU Quartz anchor node; the data are the LANL subset, the last 8 days held-out slice, and the synthetic alert stream (Section VI). In Section VIII-B the authors position the work as live-environment execution, to distinguish it from CybORG and CybORG++.
    • Detection metrics are mean±standard deviation over 5 training seeds on the held-out 8-day slice; the four baselines in Table III are values reported by the original authors (table note).
    • Ingestion covers 100 thousand to 24 million edges, 5 runs per level (Table II). Alerts are synthetic 10 events per second, 50 runs (Figure 3). End-to-end is the median of 100 runs (Table IV); the paper does not report the event source of these 100 runs.
    • Narrative timing is only written for the local 4-bit quantized 8B model (Table IV); the paper does not report the model name.
    • The paper does not report the values of the confidence threshold, entropy threshold, recall-floor and investigation action penalty, nor report human agreement (Section VII). The materials cited for reproduction are Listing 1 in the main text, the alert threshold, Table I and the anchor node allocation (Reproducibility).
  6. Summarize the main content of the paper

    Sentinel-RL uses a graph encoder and PPO for topological decisions, with the LLM responsible for narration and gating, and reports detection and latency on LANL.

    Sentinel-RL is a neuro-symbolic architecture for SOC: topological decisions leave the LLM and are instead handled by HetGAT and PPO on the authenticated graph.

    • Problem: The authors argue that enterprise authentication graphs (about 10^4–10^5 hosts) do not fit in context, and free-form generation cannot guarantee that isolation, blocking, or account deactivation is consistent with the topology. The adversary starts after the perimeter has been breached, moving laterally as a credential abuser according to TA0008.
    • Method: Two-hop subgraphs are compressed into a 64-dimensional state; the policy selects among five investigation actions; TerminateAndOutputVerdict requires evidence from at least two sources. Triage writes narratives, Critic checks evidence. Ingestion uses two-phase CREATE, with services co-located on HPC anchor nodes. Section IV-D requires infrastructure changes to be human-clicked; Figure 5 places reversible containment after Critic, leaving high-blast-radius actions to humans.
    • Detection: On the held-out 8-day LANL red team events, across 5 seeds, precision 0.91±0.02, recall 0.87±0.03, F1 0.89±0.02, AUC 0.96±0.01 (Table III). The authors state that precision and F1 lead; in the table, F1, AUC, and recall are lower than LMDetect's 0.92, 0.99, 0.99.
    • Latency and training: 24 million-edge CREATE is 852 seconds, with the MERGE baseline extrapolated to 21,600 seconds (Table II); the abstract states about 14.2 minutes and about 24x throughput. Mean episodic return over 200 rounds is 8.74±0.31 (5 seeds, Figure 4). Alert p99 is 2.45 seconds (50 synthetic streams). End-to-end median is 6.33 seconds, with 8B narrative taking 3.78 seconds (Table IV, 100 runs).
    • Authors' conclusions: The authors state that this division of labor can scale agentic SOC to large authentication graphs, and that the LANL evaluation demonstrates feasibility. The authors consider the more lasting contributions to be two-phase CREATE, anchor nodes, and Section VII's false-positive costs, reversibility, sandboxing, auditing, and human boundaries.
Read originalarxiv.org