Paper deep dive
REFINE: A Resilient Evolution Framework for Intelligent Enterprise Alert Triage in Security Operations Centers
Huimin Chen, Quan Long, Yanhao Wang
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Security Operations Centers (SOCs) process large volumes of alerts daily. Alert triage prioritizes high-risk threats while reducing manual review of benign alerts. LLM agents can reason over logs and threat intelligence, but struggle to keep aligned with organization-specific, rapidly evolving SOC operational standards. We introduce REFINE, an LLM-agent framework for enterprise alert triage. REFINE encodes analyst expertise as structured skills and continuously adapts using analyst disposition feedback. It enforces recall = 1.0 as a hard constraint during evolution to maximize auto-closure of false positives, and identifies judgment blind spots by combining alert distributions with model error boundaries. Evaluated on four real industrial SOC scenarios across four MITRE ATT&CK phases with temporal split: REFINE achieves recall=1.0 on all evolution sets. On future test windows, it retains recall=1.0 in three scenarios; the degraded case reaches 0.807 recall, still outperforming self-evolution baselines (0.49-0.58).
Tags
Links
- Source: https://arxiv.org/abs/2609.32516v1
- Canonical: https://arxiv.org/abs/2609.32516v1
Trouble viewing inline? Open PDF directly â
Full Text
77,336 characters extracted from source content.
Expand or collapse full text
REFINE: A Resilient Evolution Framework for Intelligent Enterprise Alert Triage in Security Operations Centers Huimin Chen Quan Long Yanhao Wang Abstract Security Operations Centers (SOCs) process large volumes of alerts daily. Alert triage is a core operation in SOCs, used to classify alerts so that analysts can focus less on low-risk alerts while never missing high-risk alerts requiring human intervention. Recently, LLM agents show promise in reasoning jointly over logs, assets, threat intelligence, and historical dispositions, but applying them directly to alert triage still fails to meet operational requirements. The root cause is that alert triage depends heavily on organization-specific, fast-evolving asset priorities, business context, historical disposition norms, and analyst risk preferences, making static prompts, rules, or even expert experience unable to remain aligned with operational standards over time. In this paper, we present REFINE, a new Resilient Evolution Framework for INtelligent Enterprise alert triage using LLM agents. REFINE encodes analyst triage expertise as a skill that jointly specifies judgment rules, evidence-chain reasoning, and tool invocation protocols, and continually discovers divergences between the skill and current operational standards through real disposition feedback. Furthermore, it incorporates high-risk alert recall as a hard constraint in the optimization by enforcing recall=1.0recall=1.0 on the evolution set to expand the range of false positives the agent can auto-close; it also locates judgment blind spots by combining the global alert distribution with the current skillâs error boundary, focusing feedback utilization on misjudgment patterns that affect the safety baseline in real deployment. We evaluate REFINE on four alert scenarios spanning four MITRE ATT&CK phases in a real industrial SOC. On the evolution sets, REFINE is the only method reaching recall=1.0recall=1.0 in all four scenarios, and it uses this feasible region to expand benign false-positive auto-closure. On the later test windows, REFINE still maintains recall=1.0recall=1.0 in three of the four scenarios; in the one scenario where its recall does drop to 0.8070.807, it is still higher than those of the evaluated self-evolution baselines (0.490.49â0.580.58). 1Baidu Inc. 2East China Normal University Introduction Enterprise Security Operations Centers (SOCs) receive alert volumes far beyond human triage capacity, and alert fatigue has severely weakened threat detection (Tariq et al. 2025; Veeramachaneni et al. 2016). Consequently, automatic alert triage that closes large volumes of benign false positives to reduce analyst workload while avoiding missing threats that require human intervention is urgently needed. In addition, as the costs of false positives and negatives are highly asymmetric, i.e., a false positive that is not closed merely remains in the human queue, whereas a missed recall may leave an ongoing intrusion unhandled, expanding false-positive auto-closure under a no-missed-recall safety baseline is, therefore, a central operational problem for SOCs. Recently, Large Language Model (LLM) agents show immense potential in jointly reasoning over logs, assets, threat intelligence, and historical dispositions, paving a new way for alert triage in SOCs (Ferrag et al. 2024; Hasanov et al. 2024). However, general LLM reasoning cannot fully reproduce an enterpriseâs actual triage behavior because SOC triage depends on an organization-specific operational scale: asset priorities, business context, historical disposition norms, and risk tolerance (Vielberth et al. 2020; Moosmann et al. 2026). This scale includes analyst expertise that is difficult to articulate completely (Polanyi 1997), may be fragmented by differences among analysts, and evolves with business context and the threat landscape; even when encoded as rules, a skillâs design intent may diverge from the agentâs actual execution boundary. Consequently, pretrained models, manual rule sets, or static skills cannot remain aligned with operational standards over time. Existing studies, however, do not fully address such cross-domain problems. Conventional SOC methods mainly train static classifiers (Ban et al. 2021) or adjust alert rankings (Jalalvand et al. 2025), making it difficult to update organization-specific triage specifications based on newly arriving disposition feedback. General self-evolution methods such as GEPA (Agrawal et al. 2026) and ACE (Zhang et al. 2026) can optimize policies through reflection, but they target general task objectives rather than two key SOC requirements: continuously aligning organizational scale from real alerts and disposition feedback, and preserving the no-missed-recall safety baseline while improving auto-closure. What SOCs require is thus not a general-purpose skill evolution scheme but a continuous alignment mechanism that integrates security operational knowledge, agent feedback learning, and asymmetric safety constraints. In this paper, we present a Resilient Evolution Framework for INtelligent Enterprise alert triage (REFINE) using LLM agents. REFINE encodes analyst triage expertise as a skillâa structured agent behavior specification that jointly defines judgment rules, evidence-chain reasoning, and tool invocation protocolsâand uses real alert dispositions to continuously identify divergences between the skill and the current operational scale. It combines the global alert distribution with the current skillâs error boundary to localize blind spots, prioritizing limited feedback toward error patterns that matter in real operations. It further incorporates high-risk alert recall as a hard constraint and uses multi-round reflection with a recall gate to expand benign false-positive auto-closure without missing recalls. By distilling analystsâ tacit, fragmented triage expertise into a single, maintainable, and continuously evolvable explicit skill, REFINE converges fragmented individual scales into a unified organization-level triage standard. Experiments on four alert scenarios spanning four MITRE ATT&CK phases in a real industrial SOC separate evolution-set and test-window behavior. On the evolution sets, REFINE is the only method reaching recall=1.0recall=1.0 in all four scenarios while substantially expanding benign-alert closure (e.g., NTLM-Hash evolution set accuracy rising from 0.2170.217 to 0.9070.907 at recall=1.0recall=1.0). On the strictly later test windows, it maintains recall=1.0recall=1.0 in three of the four scenarios; in the one scenario where recall drops, its 0.8070.807 recall is still the highest among all evaluated methods (versus 0.490.49â0.580.58 for other self-evolution baselines). Related Work SOC Alert Triage Alert fatigue has been a core challenge in SOC operations, and cognitive overload directly degrades triage quality (Tariq et al. 2025; Dykstra and Paul 2018). LLMs have been widely introduced into triage workflows to alleviate staffing bottlenecks (Ferrag et al. 2024; Hasanov et al. 2024; Ndichu et al. 2026; Habibzadeh et al. 2025), and Xi et al. (2025) have surveyed AI-driven screening methods and LLM integration across the full SOC pipeline. However, the non-static nature of triage criteria represents a more fundamental challenge (Moosmann et al. 2026; Ban et al. 2021; Jalalvand et al. 2025). Singh et al. (2025) found that analysts primarily use LLMs for comprehension assistance rather than direct triage decisions; Kokulu et al. (2019) conducted interview studies revealing inherent disagreements between SOC managers and analysts that, if left unaddressed, undermine SOC effectiveness. Wei et al. (2025) proposed CORTEX, a multi-agent collaborative architecture that improves coordination efficiency through specialized agent division of labor, but its triage strategy is static and cannot automatically update as organizational judgment criteria evolve. The above studies reveal the pervasiveness of operational judgment discrepancies in practice; yet, all address this inherently dynamic problem with static policies. Self-Evolution Methods The self-evolution direction aims to automatically optimize natural-language specifications that guide LLM/Agent behavior, replacing manual iteration: early works (Zhou et al. 2023; Yang et al. 2024) established foundations via candidate selection and natural-language iteration, after which evolutionary algorithms were introduced (Guo et al. 2024; Fernando et al. 2024); GEPA (Agrawal et al. 2026) surpasses Reinforcement Learning (RL) baselines by combining a genetic Pareto mechanism with reflective iteration; Pryzant et al. (2023) and TextGrad (Yuksekgonul et al. 2024) achieve gradient-style optimization through textual gradients combined with beam search and by extending automatic differentiation to the text domain, respectively; DSPy (Khattab et al. 2024) compiles LLM calls into automatically tunable pipelines; Self-Refine (Madaan et al. 2023) and Reflexion (Shinn et al. 2023) achieve parameter-free improvement via self-feedback and linguistic reinforcement signals; ACE (Zhang et al. 2026) treats in-context policies as evolvable rule sets; AutoSkill (Yang et al. 2026) and Zhao et al. (2026) study skill self-evolution and autonomous discovery, respectively. To the best of our knowledge, none of the above studies can provide a mechanism for enforcing hard recall constraints across the entire alert corpus, making it difficult to systematically control the risk of missed detections in real-world SOC deployments, where a single missed alert can allow adversaries to persist undetected, move laterally, and cause irreversible damage. Method Problem Formulation In security operations, all alerts are, by default, triaged by human analysts; we aim to learn a triage skill S such that a security operations agent guided by S can automatically dismiss safely closable false positives. A skill is a structured natural-language document encoding the decision procedure, judgment conditions, reasoning logic, and tool invocation conditions; its typical Markdown structure contains four sections: core principles, triage strategy, empirical lessons, and edge cases, with tool invocation conditions distributed across them (predominantly in the triage strategy section). Under skill S, the agentâs triage is y^=agentâĄ(xâŁS)â0,1 y=agent(x S)â\0,1\, where y^=0 y=0 means âsuggest dismissâ and y^=1 y=1 means âsuggest escalate.â The business objective is to maximize accuracy subject to a hard recall constraint: maxSâĄAccuracyâĄ(S)s.t.RecallâĄ(S)=1.0 _S\;Accuracy(S) .t. (S)=1.0 (1) This asymmetry is fundamental: a missed threat (FN) means an ongoing intrusion goes undetected; an unclosed false positive (FP) merely stays in the human queue. Key notation and threat model are given in the supplementary material. Figure 1: Overall REFINE architecture. Stage 1 performs a global analysis of the evolution set evoD_evo to generate the initial skill S0S_0. Stage 2 improves the skill through intelligent sampling, multi-round reflection, and batch/global recall gates, then outputs the highest-accuracy feasible skill SbestS_best with RecallâĄ(evo)=1.0Recall(D_evo)=1.0 or falls back to human triage if none exists. Stage 3 deploys SbestS_best and triggers re-evolution from the latest production window when sampled safety checks or online accuracy indicate drift. Red components denote the recall-safety path. REFINE Framework As illustrated in Figure 1, REFINE is a skill self-evolution framework for SOC triage. Before the evolution loop begins, the agent performs a single global analysis over the full evolution set evoD_evo (its construction is detailed in the experimental setup) to produce an initial skill S0S_0 with full-distribution coverage; REFINE then iteratively evolves S0S_0 under the recall hard constraint through intelligent sampling and the evolution loop. The evolution trajectory spans the entire process; post-deployment, sampled checks over auto-closed alerts and online-accuracy monitoring drive rolling self-evolution whenever the skill drifts from the current operational scale. Global Initial Skill Generation Typical self-evolution frameworks, e.g., GEPA (Agrawal et al. 2026) and ACE (Zhang et al. 2026), evolve from a seed policyâeither hand-authored or emptyâand provide no automated way to construct the initial policy. Both cases have structural limitations: an empty seed leaves the start under-informed, forcing early iterations to spend budget rediscovering the data distribution; a hand-authored seed faces a quality-cost dilemma, i.e., a casually written seed is detached from the deploymentâs data distribution, while a carefully written seed contradicts the automation goal of self-evolution. Any manual bias in the seed propagates down the evolution lineage. REFINE instead performs, before the evolution loop, a single global analysis over the complete evolution set evoD_evo, automatically distilling the operational scale and generating an initial skill S0S_0 with full-distribution coverage, without a manual seed. This is a one-shot summarizing pass over the full set (statistics over distribution and boundary samples, not per-sample triage) rather than an iterative procedure. Starting from global coverage, subsequent evolution focuses on repairing known defects rather than compensating for information gaps. Intelligent Sampling Given parent skill S, samples are classified by security impact into three priorities: P1 (missed recalls, fSâ(x)=0â§y=1f_S(x)=0 y=1), P2 (false positives, fSâ(x)=1â§y=0f_S(x)=1 y=0), and P3 (correct). This mirrors uncertainty sampling from active learning: prioritize the most informative samples under a limited reflection budget. Note that batching is not a context-capacity limitation (the initial-generation step above shows the full evolution set can be ingested in a single analysis); the batched reflection input follows GEPAâs evolutionary search paradigm, focusing each reflection round on a set of related errors. REFINE departs from prior local-view methods in that both generation and evaluation are globally anchored, with initial generation over the full set and candidate evaluation on the complete evoD_evo, rather than in how the reflection input is batched. P1 priority, multi-round reflection (below), and the recall gate together continuously confine the search to the recall-feasible region. Evolution Loop The evolution loop is nested: an outer loop of N iterations, each drawing a parent skill S from the elite pool and a batch B by intelligent sampling, wraps an inner loop of up to R reflection rounds over B. In a round, the agent executes S on B to produce reasoning trajectories, and a reflection LLM revises S into SâČS from them plus âwhat was wrong / whyâ feedback (prompt template in the supplementary material). Multiple rounds are needed because reducing FPs and avoiding new FNs compete: a single revision often improves one metric while degrading the other. Each round therefore takes the previous roundâs SâČS as its parent, extending one lineage in depth, and its output is accepted only when the success constraint holds against the best values reached so far in this batch, i.e., batch recall does not drop and at least one metric strictly improves, preventing within-batch regression. When the inner loop ends, the batch-level recall gate returns, among the skills it produced, the one with batch recall=1.0recall=1.0 and the highest batch accuracy; if none exists, the batch returns null and the outer iteration is skipped without a full evaluation. The two batch-level filters address distinct failure modes: the success constraint prevents regression; the recall gate prevents already-infeasible candidates from wasting the budget in global evaluation, keeping the finite inference budget focused on still-feasible improvements. The complete procedure is described as TrainBatch in the supplementary material. These two batch-level filters, together with the global level below, form REFINEâs constraint-decoupled architecture, which fundamentally separates it from GEPA and ACE: the latter search for a single scalar objective in which recall is at most one tradable term, whereas REFINE treats recall=1.0recall=1.0 as an inviolable hard constraint threaded through sampling, gating, and output. A seemingly simpler alternative, i.e., folding the recall constraint into a scalar objective (a penalty term or constraint-dominance ranking) and then running evolutionary search, does not hold in text space: a single text edit often makes recall jump discretely rather than change smoothly, and this discrete jump makes penalty weights impossible to calibrate and causes dominance ranking to prematurely discard near-feasible, high-accuracy intermediate states. REFINE therefore does not merge the objectives; instead, the Pareto elite pool preserves both feasible and near-feasible strategies, and the hard-constraint gate guarantees strict feasibility at output. A skill returned by the gate is then evaluated on the complete evoD_evo and enters the global elite pool P, which adopts GEPAâs non-dominated retention strategy to maintain intermediate-state diversity and avoid improvement paths from being permanently closed. The next outer iteration draws its parent from P by roulette (proportional to a cost-sensitive weighted score), so the outer loop explores across lineages while the inner loop deepens one; to prevent the search from collapsing onto a single high-scoring lineage, a per-parent selection cap Îș is enforced. Scoring weights and the formal Pareto definition are in the supplementary material. After the entire evolution loop ends, the global-level recall gate, a direct extension of the batch-level gate, filters candidates in P satisfying RecallâĄ(S,evo)=1.0Recall(S,D_evo)=1.0 and outputs the one with the highest accuracy: Sbest=argâĄmaxSâ,RecallâĄ(S,evo)=1.0âĄAccuracyâĄ(S).S_best= _S ,\,Recall(S,D_evo)=1.0Accuracy(S). (2) If no skill satisfies recall=1.0recall=1.0 within the budget, the gate returns no skill, and the system falls back to routing alerts to human triage rather than deploying an unsafe skill that silently drops threats, i.e., the cost of falling back is reduced automation, never an undetected intrusion. This fail-safe direction is deliberate; generalization to unseen production traffic is bounded by post-deployment monitoring and rolling evolution (continuous alignment, below), not by the gate alone. Continuous Alignment The operational scale is not static. Risk standards shift with the threat landscape, asset priorities migrate with business changes, and threat-intelligence decay invalidates historical boundary samples. An IOC marked as a threat requiring escalation in historical data becomes, once blocked at the perimeter, a dismissible false positive in todayâs alerts. Accumulating historical boundary samples as âanti-regression anchorsâ at each re-evolution would lock the skill to an outdated operational scale. REFINE therefore adopts re-sampling rather than accumulation (in contrast to ACE-style rule accumulation) as its basic posture for continuous alignment: each re-evolution re-constructs evoD_evo from the latest time window so that the skill aligns with the current operational scale rather than a historical one. GEPA and ACE stop at one-shot offline optimization with no post-deployment re-alignment; this continuous-alignment loop is a deployment-side capability unique to REFINE. Re-evolution triggers fall into two complementary classes: âą Safety trigger (hard): Sampled checks over alerts that the agent has auto-closed (taken over); any missed recall found therein means the recall hard constraint has been broken, and a new round is triggered immediately. This is post-hoc detection after the safety line has been crossed. âą Timeliness trigger (soft): A statistically significant drop in online accuracy indicates that the gap between the skill and the current operational scale has accumulated to the point of affecting overall triage quality; even before any confirmed missed recall, the skill is already outdated, and re-evolution should be triggered early to re-align before further degradation reaches the safety trigger. After either trigger, REFINE re-samples evoD_evo from the latest time window of production disposal records and re-runs the global initial-skill generation together with the evolution loop on the new evoD_evo, producing a new skill aligned with the current scale. This process rolls continuously so that the skill evolves with the organizationâs operational standards rather than solidifying on a historical snapshot. Deployment re-evolution triggers and the complete algorithm are given in the supplementary material. Experiments Experimental Setup Datasets All the alert data and labels originate from a large enterpriseâs real-world online SOC; the labels are the analystsâ daily disposal conclusions (dismiss/escalate), reflecting enterprise-specific asset boundaries and risk tolerance rather than a universal ground truth. We build four alert scenarios spanning four MITRE ATT&CK phases (Table 1), each with a temporal split: the evolution set evoD_evo (n=100n=100) from an earlier window and the test set testD_test (n=150n=150) from a strictly later, non-overlapping one, mirroring REFINEâs deployment (âevolve from past alerts, triage future onesâ) and eliminating temporal leakage by construction. Brief descriptions of the four scenarios are provided in the supplementary material. Neither set is class-balanced, so the threat/benign ratios in Table 1 reflect each windowâs actual composition, from balanced (Phishing) to highly imbalanced (PROC2_HEYE). The recall=1.0recall=1.0 hard constraint is enforced only on evoD_evo; testD_test recall corroborates cross-time generalization. Table 1: Alert scenarios, ATT&CK phases, and real class distributions (threat/benign). Scenario ATT&CK Phase Evo (T/B) Test (T/B) Phishing Initial Access 50 / 50 66 / 84 Host-Proc. Execution 40 / 60 60 / 90 NTLM-Hash Credential Access 8 / 92 19 / 131 PROC2_HEYE C&C 9 / 91 5 / 145 Evaluation Metrics Recall is the fraction of true threats identified as escalated, TâP/(TâP+FâN)TP/(TP+FN); recall=1.0recall=1.0 is REFINEâs hard constraint and the primary safety metric. Accuracy is defined as (TâP+TâN)/(TâP+TâN+FâP+FâN)(TP+TN)/(TP+TN+FP+FN). Under the recall=1.0recall=1.0 hard constraint, TP is saturated, so accuracy improvements come from correctly dismissed benign alerts (TN); higher accuracy thus directly reflects the ability to automatically close false positives. Baselines (1) LLM Direct: agent with no Skill; lower bound without operational calibration. (2) GEPA (Agrawal et al. 2026): A recent, representative self-evolution prompt optimization method using a Genetic-Pareto mechanism with reflective iteration; the same LLM, evolution set, and inference budget as REFINE, but without REFINEâs global initial analysis, intelligent sampling, recall gate, or multi-round reflection. (3) ACE (Zhang et al. 2026): A self-evolution method that treats the in-context policy as an incrementally accumulated rule set, representing a strong baseline beyond prompt optimization; the same LLM, evolution set, and inference budget as REFINE, but without a recall hard constraint or gate. (4) REFINE (ours): Final Skill SbestS_best output by the full REFINE pipeline through the recall gate. Implementation Details We use DeepSeek-V3.2 (671B MoE) as the agentâs reasoning engine. All self-evolution methods are given the same budget of 1000 single-sample inferences per scenario, which is the only explicit stopping condition, so the number of evolution iterations N follows from the budget rather than being set by hand; evolution also stops early once evolution-set accuracy reaches 100%. The remaining parameters are batch size |B|=5|B|=5, within-batch reflection rounds R=3R=3, and per-parent selection cap Îș=2Îș=2, with roulette parent selection and intelligent sampling. GEPA and ACE use the same LLM and the same inference budget; hyperparameters follow each methodâs recommended settings. Crucially, neither GEPA nor ACE encodes recall as a hard constraint. Both are driven by accuracy, a soft objective in which recall can be traded against precision. Thus, the comparison isolates the effect of the recall hard constraint and REFINEâs SOC-oriented sampling/reflection mechanisms rather than the underlying optimizer. To eliminate the randomness of a single evolution run, all self-evolution methods (GEPA, ACE, REFINE) are run independently three times, and the main results (Table 2) report the mean over the three runs. Table 2: Performance comparison (mean over three runs). (evo) = on evoD_evo; (test) = on testD_test. Best results in each scenario in bold. Scenario Configuration Accuracy (evo) Recall (evo) Accuracy (test) Recall (test) Phishing LLM Direct 0.550 0.987 0.490 0.977 GEPA 0.767 0.867 0.727 0.847 ACE 0.893 0.927 0.717 0.843 Ours 0.780 1.000 0.630 1.000 Host-Proc. LLM Direct 0.660 0.813 0.720 0.773 GEPA 0.843 0.803 0.730 0.490 ACE 0.987 0.992 0.753 0.580 Ours 0.763 1.000 0.777 0.807 NTLM-Hash LLM Direct 0.217 0.920 0.547 0.827 GEPA 0.920 0.793 0.873 0.490 ACE 0.993 0.958 0.817 0.917 Ours 0.907 1.000 0.537 1.000 PROC2_HEYE LLM Direct 0.917 0.890 0.887 1.000 GEPA 0.963 0.813 0.987 0.933 ACE 1.000 1.000 0.990 1.000 Ours 0.990 1.000 0.983 1.000 Main Results Evolution Effectiveness Table 2 reports four configurations across all four scenarios (mean of three independent runs). Only REFINE consistently satisfies the zero-missed-recall constraint on the evolution set, and it is the most accurate strategy within the feasible region: only REFINE reaches recall=1.0recall=1.0 in all four scenarios, while the other three configurations each miss threats in at least one. ACE tops evolution-set accuracy on Phishing, Host-Process, and NTLM-Hash (0.893 / 0.987 / 0.993), but two of those three have evolution-set recall below 1.0 (0.927 / 0.958), placing its higher accuracy outside the feasible region. Among strategies that satisfy recall=1.0recall=1.0, REFINE attains the highest evolution-set accuracy: NTLM-Hash is emblematic, where it raises accuracy from 0.217 (LLM Direct) to 0.907 while holding recall=1.0recall=1.0, turning an almost âescalate-allâ scenario into one with substantial false-positive takeover space. Cross-time behavior reflects the twofold value of the recall hard constraintâstable generalization and controllable failure direction. On the strictly later test window, REFINE maintains recall=1.0recall=1.0 in Phishing, NTLM-Hash, and PROC2_HEYE; in Host-Process, test recall is 0.807, the highest among all methods in that scenario. Hard scenarios still exhibit overfitting (NTLM-Hash drops from evo 0.907 to test 0.537; see the NTLM-Hash case study for attribution), but the direction of degradation differs sharply: REFINE loses only in accuracy and conservatively (more benign alerts escalated) while holding recall at 1.0, whereas ACEâs degradation erodes recall (Host-Process 0.992â 0.580) in the direction of missing threatsâthe same overfitting with very different safety consequences. This addresses overfitting concerns and shows that zero missed recall on the evolution set cannot formally guarantee it on future windows; Skills must keep re-evolving via continuous alignment. Table 3: Selection-fairness check against the strongest baseline (ACE). We apply REFINEâs evo recall=1.0recall=1.0 gate to ACEâs own pool, take the most accurate feasible candidate, and report the same performance columns as Table 2; â = no feasible candidate, and ACE means are over its feasible runs only. Feasibility rate (as in Table 4) is 0.000 / 0.667 / 0.667 / 1.000 for ACE across the four scenarios and 1.000 throughout for REFINE. Bold = better test recall (the safety metric). Scenario Configuration Accuracy (evo) Recall (evo) Accuracy (test) Recall (test) Phishing ACE (gated) â â â â Ours 0.780 1.000 0.630 1.000 Host-Process ACE (gated) 0.990 1.000 0.760 0.575 Ours 0.763 1.000 0.777 0.807 NTLM-Hash ACE (gated) 0.995 1.000 0.790 0.921 Ours 0.907 1.000 0.537 1.000 PROC2_HEYE ACE (gated) 1.000 1.000 0.985 1.000 Ours 0.990 1.000 0.983 1.000 Comparison within Feasible Region REFINEâs output in Table 2 is chosen by the recall gate, whereas ACE reports its accuracy-best output. This invites a challenge: is REFINEâs recall advantage merely a selection artifact, with a recall=1.0recall=1.0 Skill already sitting unselected in ACEâs pool? To test this, we apply REFINEâs gate to ACEâs own search pool (evolution-set recall=1.0recall=1.0, most accurate candidate) and report that candidateâs out-of-sample test behavior (Table 3); selection uses evolution-set metrics only, with no test-set leakage. Post-hoc selecting ACEâs feasible candidate still does not recover REFINEâs generalizable recall safety: in Phishing, ACEâs pool contains no feasible candidate at all (â , feasibility rate 0.000); where ACE does find one (Host-Process, NTLM-Hash) it is overfit, its test recall dropping to 0.5750.575 and 0.9210.921 versus REFINEâs 0.8070.807 and 1.0001.000; only in the easiest scenario (PROC2_HEYE) do the two tie. The advantage is therefore not a selection artifact: because ACE never explicitly enforces the feasible region, even candidates that land inside it fail to keep recall across time, whereas REFINE threads the gate through sampling, batch, and global search to yield a Skill that is both feasible and recall-generalizing. Table 4: Ablation results on the Host-Process scenario. All values except feasibility rate are means over three runs. Configuration Iteration Success Waste Accuracy (evo) Recall (evo) Feasibility Full 1.000 0.000 0.763 1.000 1.000 w/o initial skill 0.958 0.000 0.783 0.933 0.000 w/o intelligent sampling 0.660 0.000 0.807 0.933 0.000 w/o initial skill & intelligent sampling 0.623 0.000 0.803 0.817 0.000 w/o multi-ref & recall_gate 0.963 0.245 0.790 0.975 0.333 w/o all 0.377 0.000 0.693 0.808 0.000 Ablation Study We conduct ablations on the Host-Process scenario, which depends on process chains, command-line intent, and environmental context, and therefore stresses both the recall safety baseline and benign-alert dismissal. Except for the removed mechanisms, all configurations use the same data split, inference budget, Pareto elite pool, and per-parent selection cap Îș=2Îș=2, running independently three times; because the budget rather than a fixed iteration count is held constant, arms that waste budget on infeasible candidates complete fewer iterations. The specific ablation arms and the three diagnostic metrics (iteration success rate, wasted rate, feasibility rate) are defined in the supplementary material. Table 4 provides component-level evidence for the full design. Global initial Skill. Removing the initial Skill preserves a relatively high iteration-success rate (0.9580.958) and even raises accuracy to 0.7830.783, but recall falls to 0.9330.933 and no run produces a feasible output. The global initialization therefore does more than start the search: it supplies a full-distribution prior that keeps local reflections anchored to the recall-safe region. Intelligent sampling. Removing intelligent sampling sharply reduces iteration success from 1.0001.000 to 0.6600.660; recall again reaches only 0.9330.933, with zero feasibility. When both the initial Skill and intelligent sampling are absent, iteration success declines further to 0.6230.623 and recall to 0.8170.817. This pattern shows that intelligent sampling directs reflection toward the missed-recall and false-positive boundaries that must be repaired, while the initial Skill supplies the global context in which those local repairs remain valid. Multi-round reflection and recall gate. Removing this pair lowers iteration success from 1.0001.000 to 0.9630.963, reduces recall to 0.9750.975, yields feasible outputs in only one of three runs, and is the only setting with nonzero waste (0.2450.245). These diagnostics match the intended division of labor: multi-round reflection raises the chance that local revision succeeds, whereas the recall gate rejects infeasible candidates before they consume further evaluation budget. Because the two mechanisms are ablated together, this experiment supports that joint explanation but does not separately quantify either mechanismâs effect; that would require individual w/o multi-ref and w/o recall gate arms. Overall interaction under the hard constraint. Removing all mechanisms collapses iteration success to 0.3770.377, recall to 0.8080.808, and feasibility to 00. Across every ablation, accuracy can equal or exceed full REFINE (up to 0.8070.807 versus 0.7630.763) while recall remains below 1.01.0. The evidence therefore supports the intended division of labor: the initial Skill, intelligent sampling, and the multi-reflectionâgate pair contribute distinct search guidance or constraint control, and their combination is required to reliably return a deployable recall-safe Skill within budget. Model Robustness To test whether REFINEâs gains depend on a single reasoning engine, we replace DeepSeek-V3.2 with Kimi-K2.6, an independently trained open-weight MoE model from a different vendor, and re-run REFINE and the LLM Direct lower bound on all four scenarios (Table 5, evolution set, mean over three runs). Table 5: Model robustness on Kimi-K2.6 (evolution set, mean over three runs). Best per column within each scenario in bold. Scenario Configuration Accuracy (evo) Recall (evo) Phishing LLM Direct 0.730 1.000 Ours 0.960 1.000 Host-Proc. LLM Direct 0.790 0.900 Ours 0.840 1.000 NTLM-Hash LLM Direct 0.220 0.708 Ours 0.983 1.000 PROC2_HEYE LLM Direct 0.930 0.670 Ours 1.000 1.000 On Kimi-K2.6, REFINE again reaches recall=1.0recall=1.0 on all four evolution sets (3/3 runs each), matching its DeepSeek-V3.2 behavior, whereas the uncalibrated LLM Direct misses recall in three of the four scenarios (Host-Process 0.9000.900, NTLM-Hash 0.7080.708, PROC2_HEYE 0.6700.670). Within the recall=1.0recall=1.0 feasible region, REFINE substantially expands benign false-positive auto-closure, most strikingly on NTLM-Hash, where evolution-set accuracy rises from 0.2200.220 to 0.9830.983, echoing the 0.217â0.9070.217â 0.907 pattern on DeepSeek-V3.2. This indicates that the ability to reach the constrained optimum is not specific to one reasoning engine. Because DeepSeek-V3.2 and Kimi-K2.6 are independently trained MoE models from different vendors, consistently attaining the recall hard constraint on both suggests the gains stem from REFINEâs mechanism rather than a model-specific artifact. Privacy rules out closed APIs (SOC alert data cannot leave the enterprise), so we evaluate two representative self-hostable open-weight engines; broader capability-tier coverage is a natural next step. Consistent with the rest of the paper, the robustness claim is anchored on the evolution set, with cross-time generalization analyzed on DeepSeek-V3.2 in the main-results and case-study sections. Effect of Skill and Context Size REFINE and ACE both improve agent behavior through reflective iteration, but the carrier of improvement differs fundamentally: ACE treats the policy as an ever-accumulating rule set (a playbook), whereas REFINE maintains a compact, structured, partitioned Skill. Table 6 compares the token size of each methodâs final artifact per scenario. Table 6: Final-artifact token size (cl100k_base (OpenAI 2023), mean over three runs). The artifact is ACEâs accumulated playbook and REFINEâs output skill SbestS_best. Scenario ACE Ours ACE/Ours Phishing 58,070 4,707 12.3Ă Host-Process 42,147 7,586 5.6Ă NTLM-Hash 24,249 4,108 5.9Ă PROC2_HEYE 18,026 6,223 2.9Ă ACEâs playbook (18Kâ58K tokens) expands monotonically with scenario difficulty, whereas REFINEâs Skill stays within 4.1Kâ7.6K tokens, a 2.9Ăâ12.3Ă gap. The gap reflects bloat and overfitting sharing a source (ACE accumulates rules to fit the evolution distribution, but the bloated set fails to transfer, degrading test accuracy and recall) and deployment cost: a playbook fed into inference with every alert inflates continual overhead and is hard to audit, whereas a few-thousand-token structured Skill can be read and revised directly by operators. Conclusion We presented REFINE, which continuously evolves structured Skills to align LLM Agent alert triage with enterprise operational scales. REFINE localizes judgment blind spots from the global alert distribution and current error boundary, and constrains evolution through a recall gate. Experiments across four alert scenarios in a real industrial SOC show that REFINE maintains recall=1.0recall=1.0 on every evolution set while improving benign-alert closure; results on later time windows further provide evidence of cross-time transfer. References Agrawal et al. (2026) L. A. Agrawal, S. Tan, D. Soylu, N. Ziems, R. Khare, K. Opsahl-Ong, A. Singhvi, H. Shandilya, M. J. Ryan, M. Jiang, et al. GEPA: reflective prompt evolution can outperform reinforcement learning. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: Appendix M, Introduction, Self-Evolution Methods, Global Initial Skill Generation, Baselines. Ban et al. (2021) T. Ban, S. Ndichu, T. Takahashi, and D. Inoue Combat security alert fatigue with AI-assisted techniques. In Proceedings of the 14th Cyber Security Experimentation and Test Workshop, p. 9â16. Cited by: Introduction, SOC Alert Triage. Dykstra and Paul (2018) J. Dykstra and C. L. Paul Cyber operations stress survey (COSS): studying fatigue, frustration, and cognitive workload in cybersecurity operations. In 11th USENIX Workshop on Cyber Security Experimentation and Test (CSET 18), External Links: Link Cited by: SOC Alert Triage. Elkan (2001) C. Elkan The foundations of cost-sensitive learning. In Proceedings of the Seventeenth International Joint Conference on Artificial Intelligence, p. 973â978. Cited by: Appendix M. Fernando et al. (2024) C. Fernando, D. Banarse, H. Michalewski, S. Osindero, and T. RocktĂ€schel Promptbreeder: self-referential self-improvement via prompt evolution. In Proceedings of the 41st International Conference on Machine Learning, p. 13481â13544. Cited by: Self-Evolution Methods. Ferrag et al. (2024) M. A. Ferrag, M. Ndhlovu, N. Tihanyi, L. C. Cordeiro, M. Debbah, T. Lestable, and N. S. Thandi Revolutionizing cyber threat detection with large language models: A privacy-preserving BERT-based lightweight model for IoT/IIoT devices. IEEE Access 12, p. 23733â23750. Cited by: Introduction, SOC Alert Triage. Guo et al. (2024) Q. Guo, R. Wang, J. Guo, B. Li, K. Song, X. Tan, G. Liu, J. Bian, and Y. Yang Connecting large language models with evolutionary algorithms yields powerful prompt optimizers. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: Self-Evolution Methods. Habibzadeh et al. (2025) A. Habibzadeh, F. Feyzi, and R. E. Atani Large language models for security operations centers: a comprehensive survey. External Links: Link, 2509.10858 Cited by: SOC Alert Triage. Hasanov et al. (2024) I. Hasanov, S. Virtanen, A. Hakkala, and J. Isoaho Application of large language models in cybersecurity: a systematic literature review. IEEE Access 12, p. 176751â176778. Cited by: Introduction, SOC Alert Triage. Jalalvand et al. (2025) F. Jalalvand, M. B. Chhetri, S. Nepal, and C. Paris Alert prioritisation in security operations centres: a systematic survey on criteria and methods. ACM Comput. Surv. 57 (2), p. 42:1â42:36. Cited by: Introduction, SOC Alert Triage. Khattab et al. (2024) O. Khattab, A. Singhvi, P. Maheshwari, Z. Zhang, K. Santhanam, S. V. A, S. Haq, A. Sharma, T. T. Joshi, H. Moazam, et al. DSPy: compiling declarative language model calls into state-of-the-art pipelines. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: Self-Evolution Methods. Kokulu et al. (2019) F. B. Kokulu, A. Soneji, T. Bao, Y. Shoshitaishvili, Z. Zhao, A. DoupĂ©, and G. Ahn Matched and mismatched socs: a qualitative study on security operations center issues. In Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, p. 1955â1970. Cited by: SOC Alert Triage. Lee et al. (2002) W. Lee, W. Fan, M. Miller, S. J. Stolfo, and E. Zadok Toward cost-sensitive modeling for intrusion detection and response. J. Comput. Secur. 10 (1/2), p. 5â22. Cited by: Appendix M. Madaan et al. (2023) A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, et al. Self-refine: iterative refinement with self-feedback. Adv. Neural Inf. Process. Syst. 36, p. 46534â46594. Cited by: Self-Evolution Methods. Moosmann et al. (2026) J. Moosmann, I. Pekaric, and G. Apruzzese Can SOC operators explain their decisions while triaging alarms? a real-world study. External Links: Link, 2604.22001 Cited by: Introduction, SOC Alert Triage. Ndichu et al. (2026) S. Ndichu, T. Ban, S. Ozawa, T. Takahashi, and D. Inoue AI-driven security alert screening and alert fatigue mitigation in security operations centers: a survey. External Links: Link, 2605.08316 Cited by: SOC Alert Triage. OpenAI (2023) OpenAI Tiktoken: fast bpe tokeniser. Note: https://github.com/openai/tiktoken Cited by: Table 6. Polanyi (1997) M. Polanyi The tacit dimension. In Knowledge in Organisations, L. Prusak (Ed.), p. 135â146. Cited by: Introduction. Pryzant et al. (2023) R. Pryzant, D. Iter, J. Li, Y. Lee, C. Zhu, and M. Zeng Automatic prompt optimization with âgradient descentâ and beam search. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, p. 7957â7968. Cited by: Self-Evolution Methods. Shinn et al. (2023) N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao Reflexion: language agents with verbal reinforcement learning. Adv. Neural Inf. Process. Syst. 36, p. 8634â8652. Cited by: Self-Evolution Methods. Singh et al. (2025) R. Singh, S. Tariq, F. Jalalvand, M. B. Chhetri, S. Nepal, C. Paris, and M. Lochner LLMs in the soc: an empirical study of human-ai collaboration in security operations centres. External Links: Link, 2508.18947 Cited by: SOC Alert Triage. Tariq et al. (2025) S. Tariq, M. B. Chhetri, S. Nepal, and C. Paris Alert fatigue in security operations centres: research challenges and opportunities. ACM Comput. Surv. 57 (9), p. 224:1â224:38. Cited by: Introduction, SOC Alert Triage. Veeramachaneni et al. (2016) K. Veeramachaneni, I. Arnaldo, V. Korrapati, C. Bassias, and K. Li AI2^2: training a big data machine to defend. In 2016 IEEE 2nd International Conference on Big Data Security on Cloud (BigDataSecurity), IEEE International Conference on High Performance and Smart Computing (HPSC), and IEEE International Conference on Intelligent Data and Security (IDS), p. 49â54. Cited by: Introduction. Vielberth et al. (2020) M. Vielberth, F. Böhm, I. Fichtinger, and G. Pernul Security operations center: a systematic study and open challenges. IEEE Access 8, p. 227756â227779. Cited by: Introduction. Wei et al. (2025) B. Wei, Y. S. Tay, H. Liu, J. Pan, K. Luo, Z. Zhu, and C. Jordan CORTEX: collaborative LLM agents for high-stakes alert triage. In NeurIPS 2025 Workshop on Bridging Language, Agent, and World Models for Reasoning and Planning, External Links: Link Cited by: SOC Alert Triage. Xi et al. (2025) Z. Xi, W. Chen, X. Guo, W. He, Y. Ding, B. Hong, M. Zhang, J. Wang, S. Jin, E. Zhou, et al. The rise and potential of large language model based agents: a survey. Sci. China Inf. Sci. 68 (2), p. 121101. Cited by: SOC Alert Triage. Yang et al. (2024) C. Yang, X. Wang, Y. Lu, H. Liu, Q. V. Le, D. Zhou, and X. Chen Large language models as optimizers. In The Twelfth International Conference on Learning Representations, Vol. 2024. Cited by: Self-Evolution Methods. Yang et al. (2026) Y. Yang, J. Li, Q. Pan, B. Zhan, Y. Cai, L. Du, J. Zhou, K. Chen, Q. Chen, X. Li, et al. AutoSkill: experience-driven lifelong learning via skill self-evolution. External Links: Link, 2603.01145 Cited by: Self-Evolution Methods. Yuksekgonul et al. (2024) M. Yuksekgonul, F. Bianchi, J. Boen, S. Liu, Z. Huang, C. Guestrin, and J. Zou TextGrad: automatic âdifferentiationâ via text. External Links: Link, 2406.07496 Cited by: Self-Evolution Methods. Zhang et al. (2026) Q. Zhang, C. Hu, S. Upasani, B. Ma, F. Hong, V. Kamanuru, J. Rainton, C. Wu, M. Ji, H. Li, et al. Agentic context engineering: evolving contexts for self-improving language models. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: Introduction, Self-Evolution Methods, Global Initial Skill Generation, Baselines. Zhao et al. (2026) X. Zhao, C. Weber, and S. Wermter Agentic skill discovery. Robotics Auton. Syst. 196, p. 105248. Cited by: Self-Evolution Methods. Zhou et al. (2023) Y. Zhou, A. I. Muresanu, Z. Han, K. Paster, S. Pitis, H. Chan, and J. Ba Large language models are human-level prompt engineers. In The Eleventh International Conference on Learning Representations, Cited by: Self-Evolution Methods. Appendix A Key Notation Table 7: Key notation used throughout the paper. Symbol Description x An alert sample yâ0,1yâ\0,1\ Ground-truth label; 11 = escalate, 00 = dismiss y y Agent-predicted triage label S A Skill (structured natural-language Agent behavior specification encoding judgment rules, evidence-chain reasoning, and tool invocation protocols) S0S_0 Initial Skill generated via global analysis SbestS_best Final output Skill satisfying recall hard constraint evoD_evo Evolution set testD_test Held-out test set, used only for one-shot final evaluation; results reported and never fed back B A batch of samples drawn from evoD_evo P Global Pareto elite pool fSâ(x)f_S(x) Agentâs predicted label for x under Skill S N Maximum number of evolution iterations R Maximum reflection rounds per batch Îș Per-parent selection cap; a node selected as parent Îș times is excluded from further parent selection âH Evolution trajectory (per-iteration records of batch, Skill, and metrics) Appendix B Threat Model and Assumptions REFINE operates within the following environmental assumptions and trust boundaries. Deployment Scope REFINE targets enterprise-internal SOC triage workflows. The evolution set and test set are drawn from the same alert type (one rule or detection scenario per deployment), and both sets are sampled from non-overlapping time windows to prevent temporal leakage. Label Source and Quality Labels are derived from analyst operational disposals (escalate/dismiss) rather than specially annotated ground truth. They reflect the operational judgment scale of the organizationâasset priorities, risk tolerance, and disposal conventionsârather than universal security standards. Label inconsistency is treated as operational judgment-scale divergence rather than annotation noise: the same alert may legitimately receive different labels from different analysts due to differing contexts or standards. REFINE does not require labels to be globally noise-free across operators or time; it performs constrained evolution against the operational labels available in each evolution window. Adversarial Assumptions REFINE assumes no adversarial manipulation of the evolution set or labels. Alert data is assumed to be generated by the production detection system and reflects genuine operational traffic. Adversarial evasion of the deployed Skill (e.g., crafting alerts to exploit Skill blind spots) is outside the scope of this work. Tool Availability The Agent may invoke a fixed set of read-only security tools (threat intelligence, asset lookup, file hash queries, web search). Tool outputs are assumed to be accurate and available; tool failure or adversarial tool responses are not modeled. Appendix C Batch Training Procedure Algorithm 1 TrainBatch 0: Batch B, parent Skill SparentS_parent, max rounds R 0: Best recall-safe Skill for this batch, or null 1: ScurâSparentS_curâ S_parent; ââ Câ Skills produced in this batch 2: aââAccuracyâĄ(Sparent,B)a (S_parent,B); rââRecallâĄ(Sparent,B)r (S_parent,B) Batch-level best so far 3: for r=1r=1 to R do 4: Retrieve cached Agent reasoning trajectories of ScurS_cur on B 5: SâČâReflectâ(B,Scur,trajectories)S (B,S_cur,trajectories) 6: Evaluate SâČS on B; compute AccuracyâĄ(SâČ,B)Accuracy(S ,B) and RecallâĄ(SâČ,B)Recall(S ,B) 7: if RecallâĄ(SâČ,B)â„râRecall(S ,B)â„ r and (AccuracyâĄ(SâČ,B)>aâAccuracy(S ,B)>a or RecallâĄ(SâČ,B)>râRecall(S ,B)>r ) then 8: Success constraint: recall does not drop and â„1â„ 1 metric strictly improves 9: ââȘSâČC âȘ\S \; ScurâSâČS_curâ S Extend the same lineage in depth 10: aââmaxâĄ(aâ,AccuracyâĄ(SâČ,B))a â (a ,Accuracy(S ,B)); rââRecallâĄ(SâČ,B)r (S ,B) 11: else 12: break Within-batch regression; stop this batch 13: end if 14: end for 15: SââargâĄmaxSâ,RecallâĄ(S,B)=1.0âĄAccuracyâĄ(S,B)S^*â _S ,\,Recall(S,B)=1.0Accuracy(S,B) Batch-level recall gate 16: if SâS^* exists then 17: return SâS^* 18: else 19: return null Recall gate not met 20: end if Appendix D Deployment Re-Evolution Triggers REFINEâs deployment loop comprises two re-evolution trigger paths. Both triggers are grounded in observable online performance signals. Trigger Path 1: Safety Trigger (Hard) After the skill is deployed, the agent auto-closes (takes over) a portion of online alerts. Sampled checks over these âtaken-overâ alerts: any missed recall found thereinâan alert that should have been escalated but was auto-closedâmeans the recall hard constraint has been broken, and a new evolution round is triggered immediately. The trigger then re-samples evoD_evo from the latest time window of production disposal records and re-runs the global generation and evolution loop on the new evoD_evo. Trigger Path 2: Timeliness Trigger (Soft) In production, REFINE monitors online accuracy (or takeover rate). A statistically significant drop in accuracy (e.g., exceeding two standard deviations from the rolling baseline) indicates that the gap between the Skill and the current operational scale has accumulated to the point of affecting overall triage qualityâeven before any confirmed missed recall, the Skill is already outdated, and re-evolution is triggered early to re-align with the current scale before further degradation reaches the safety trigger. Appendix E The REFINE Algorithmic Procedure Algorithm 2 REFINE 0: Evolution set evoD_evo, iterations N, reflection rounds R, per-parent selection cap Îș 0: Recall-constrained best Skill SbestS_best, evolution trajectory âH 1: // Phase 1: Global initial Skill generation 2: S0âGenerateInitialSkillâ(evo)S_0 (D_evo) 3: // Phase 2: Initialize elite pool and trajectory 4: âS0Pâ\S_0\; âââ Hâ 5: metrics0âEvaluateâ(S0,evo)metrics_0 (S_0,D_evo) 6: // Phase 3: Self-evolution iterations 7: for i=1i=1 to N do 8: SparentâSelectParentâ(,Îș)S_parent (P,Îș) Roulette over P; parents already selected Îș times are excluded, forcing exploration 9: BâSmartSampleâ(evo,Sparent)B (D_evo,S_parent) Priority P1 >> P2 >> P3 10: SbatchâTrainBatchâ(B,Sparent,R)S_batch (B,S_parent,R) 11: if Sbatch=nullS_batch= null then 12: continue Recall gate not met 13: end if 14: metricsâEvaluateâ(Sbatch,evo)metrics (S_batch,D_evo) 15: ââââȘRecordIterationâ(i,B,Sbatch,metrics)H âȘ\RecordIteration(i,B,S_batch,metrics)\ 16: âUpdateElitePoolâ(,Sbatch,metrics)P (P,S_batch,metrics) 17: if AccuracyâĄ(Sbatch,evo)=1.0Accuracy(S_batch,D_evo)=1.0 then 18: break 19: end if 20: end for 21: // Phase 4: Output 22: SbestâargâĄmaxSâ,RecallâĄ(S,evo)=1.0âĄAccuracyâĄ(S)S_bestâ _S ,\,Recall(S,D_evo)=1.0Accuracy(S) 23: if SbestS_best exists then 24: return Sbest,âS_best,H 25: else 26: return null, âH No feasible Skill within budget; fail-safe fallback to human triage 27: end if Appendix F Dataset Statistics and Split Rationale Table 8: Dataset class distributions under temporal split. Esc. = Escalate, Dis. = Dismiss. evoD_evo is the earlier window and testD_test the strictly later window; both preferentially sample the real threats available in their own window and are not class-rebalanced, with evoD_evo additionally augmented with historical threats from within its window. Scenario Split n Esc. Dis. Esc.% Phishing evoD_evo 100 50 50 50.0% testD_test 150 66 84 44.0% Host-Process evoD_evo 100 40 60 40.0% testD_test 150 60 90 40.0% NTLM-Hash evoD_evo 100 8 92 8.0% testD_test 150 19 131 12.7% PROC2_HEYE evoD_evo 100 9 91 9.0% testD_test 150 5 145 3.3% Temporal Split Protocol For each scenario, alerts are ordered by their generation timestamp and cut at a fixed split point: all alerts before the cut form the evolution window, all alerts after it form the test window. From these two disjoint windows we draw fixed-size samplesâevoD_evo (n=100n=100) from the earlier window and testD_test (n=150n=150) from the strictly later windowâso the two sets are disjoint in time. The sizes are fixed across all four scenarios to keep evaluation budget and cross-scenario comparability consistent; the temporal split (which time window) and the fixed sample size (how many) are orthogonal choices. This mirrors the production workflow (evolve on historical alerts, deploy on future alerts) and rules out temporal leakage: no information from the test window can enter evolution. Within-Window Threat Augmentation and Evo-only Aggregation Both evoD_evo and testD_test preferentially sample the real threat (escalate) samples available in their respective windows and are never rebalanced to a fixed positive ratio; neither reflects the raw positive rate of the underlying SOC stream. The two sets differ in two preprocessing steps applied only to evoD_evo: (i) representative-aggregation, which removes redundancy and exposes diverse defects for evolution, and (i) within-window threat augmentation (below). testD_test receives neither; it simply takes the threats available in its later window. evoD_evo is additionally augmented with real historical threat (escalate) samples to obtain enough defect signal for reflection-driven evolution; these are distinct real alerts, not duplicated instances. The augmentation follows a single rule: positives are added up to at most 50% of the evolution set size; when real threats are insufficient to reach this cap, we use as many as exist. This is why the four scenarios differ in evo positive rate: Phishing reaches the 50% cap, while Host-Process (40%), PROC2_HEYE (9%), and NTLM-Hash (8%) are limited by the real threats available in the window. Crucially, all added positives are drawn exclusively from the earlier evolution window, never from the test window, so augmentation introduces no future leakage and no trainâtest overlap. Table 9: NTLM-Hash evolution trajectory (per-node, evolution set). Node Parent Acc Rec Key Skill change 0 â 0.56 1.00 Global init; escalates nearly all alerts (8 threats recalled, 44 benign wrongly escalated) 1 0 0.86 0.75 Introduces âstrong trusted local feature chainâ exclusion (four conditions required); downgrades VirusTotal to auxiliary evidence. Accuracy leaps, but the trusted rule over-suppresses and recall regresses 2 1 0.22 0.875 First expansion of node 1: repairs recall but draws the âtrustedâ boundary too tight; batch acc 1.0 yet global collapse to 0.22, Pareto-dominated by node 0 3 1 0.21 1.00 Second (and final, under cap Îș=2Îș=2) expansion of node 1: re-escalates nearly all alerts; batch acc 1.0 yet global collapse to 0.21, also dominated by node 0. Node 1 is now capped and excluded, so the search re-expands from node 0 4 0 0.91 0.875 Re-expands from node 0: âbehavior pattern over single indicators + complete risk-exclusion chain,â translating stability-contract boundary 1 (unknown/non-mainstream software accessing lsass must be recalled) 5 4 0.94 0.875 Refines trusted-identity assessment (valid signature + vendor standard path as core evidence, de-emphasizing companyName); globally weighted-optimal, but recall<1.0<1.0 6 5 0.87 1.00 Repairs the identity-missing missed recall (non-mainstream software with valid signature but missing identity info must be recalled); recall restored, accuracy slightly lower 7 (final SbestS_best) 5 0.91 1.00 Tightens the trusted-identity condition to fix the same missed recall; accuracy 0.91, recall=1.0=1.0; weighted-optimal, selected as SbestS_best through the recall gate Why is Recall Anchored on the Evolution Set? Test-window positive counts vary widely across scenarios (5â66), reflecting how many real threats each later window actually contained rather than any fixed target ratio; PROC2_HEYEâs later window, for instance, yielded only 5. Neither set is rebalanced to a fixed positive ratio. Recall is anchored on evoD_evo for a structural reason rather than a statistical one: evolution can only observe the evolution window, whereas testD_test is a strictly later, unseen future window held out to rule out temporal leakage. The recall=1.0=1.0 hard constraint is therefore enforced where optimization actually happens (evoD_evo), and test-set recall serves as an out-of-time check that the evolved Skill still holds on future alerts. Appendix G Dataset Scenario Descriptions The four scenarios were selected to cover distinct alert evidence patterns rather than to sample the SOC stream uniformly. Phishing Initial-access email alerts, where the main evidence comes from sender identity, subject/body phrasing, and link or credential-request cues. This scenario is the most text-like of the four and has the most balanced class split. Host-Process Endpoint execution alerts, where process ancestry, command line, parent-child relationships, and execution context dominate the decision. This scenario stresses reasoning over behavior chains rather than single indicators. NTLM-Hash Credential-access alerts centered on suspicious access to LSASS or related credential material. This scenario is the most brittle across time in the paper and is used as the main trajectory case study. PROC2_HEYE Command-and-control alerts with the strongest class imbalance in the set. This scenario mainly tests whether the Skill can preserve recall when positive evidence is sparse and benign traffic dominates. Appendix H NTLM-Hash Evolution Trajectory Table 9 gives the complete per-node trajectory of a single representative evolution run on NTLM-Hash over the evolution set (evoD_evo, n=100n=100). Nodes are numbered by the expansion order of the Pareto global search (node 0 corresponds to the initial Skill S0S_0); the âParentâ column reconstructs the search-tree structure (including the dead branch at nodes 2â3 and the backtracking to node 0). Under Pareto global search, the trajectory follows a leapâregressionâconvergence pattern. Node 1 raises accuracy from 0.56 to 0.86, but the âstrong trusted ruleâ over-suppresses and recall regresses to 0.75; nodes 2â3 are the two children node 1 spawns before it reaches the per-parent selection cap (Îș=2Îș=2), each reaching batch accuracy 1.0 on its 5-sample batch yet collapsing to 0.21â0.22 on the full evolution-set evaluation. Two mechanisms then jointly steer the search back to S0S_0: node 1, though holding the highest weighted score, becomes ineligible as a parent once it hits the cap, and its two children are Pareto-dominated by S0S_0 (higher on neither accuracy nor recall), leaving S0S_0 as the sole elite among the uncapped candidates. This exposes nodes 2â3 as a dead-end branch and underscores the value of global evaluation over the batch-local view: a reflection that is self-consistent within its 5-sample batch need not survive full evolution-set evaluation. Re-expanded from S0S_0, nodes 4â 5 attain 0.91â 0.94 (weighted-optimal) with recall stable at 0.875 via âbehavior pattern first + risk-exclusion chain + contract-boundary translationâ; the final reflection localizes and repairs the identity-missing missed recall (valid signature but missing identity information), and node 7 restores recall=1.0=1.0 while keeping accuracy 0.91. Notably, node 5 with the higher accuracy (0.94) is excluded by the recall gate because recall=0.875=0.875, and the final output is node 7 (0.91) with recall=1.0=1.0 as SbestS_bestâreflecting that the recall gate only filters and does not trade recall for accuracy. Appendix I Attributing the NTLM-Hash Test Accuracy Drop REFINEâs NTLM-Hash accuracy dropping from evolution-set 0.907 to test-set 0.537 is the largest cross-time degradation in the paper. Both windows are dominated by the same alert rule (95/100 evo, 137/150 test), ruling out a cross-rule shift; the actual drift is an intra-rule reshaping of benign trigger sourcesâ87.7% of test-window benign alerts come from processes unseen during training (new third-party security agents and newly onboarded employee applications). The failure is strictly confined to this training-unseen distribution: the Skill correctly ignores 87.5% of training-seen processes but only 47.4% of unseen ones, and 95.2% of its test FPs concentrate there (correcting them would raise test accuracy to 0.980). This is exactly the operational-scale drift of this framework, and empirically grounds the need for continual alignment. Appendix J Necessity of Decoupling Scoring, Pareto Retention, and the Hard-Constraint Gate This appendix elaborates the two-failure-mode argument for the frameworkâs batch/global search: why the two standard paths for collapsing multi-objective constrained optimization into a single solvable problem are ill-suited to text-space Skill optimization. Discrete-Jump Observation Skill optimization operates in natural-language text space. Unlike continuous parameter spaces, recall changes induced by text edits are discrete: a single text modification can drop recall from 1.0 to 0.75 in one step (NTLM-Hash S0âS_0â node 1), with no intermediate recall value along that edit. This observation is not a formal property of all text spacesâsome Skill classes may permit fine-grained adjustmentâbut as long as indivisible boundary jumps exist, the two standard methods below fail structurally. Failure Mode 1: Penalty Scalarization The standard way to fold multi-objective (Acc, Recall) into a single objective is a penalty: maxSâĄAccâĄ(S)âλâ maxâĄ(0,1âRecallâĄ(S)). _SAcc(S)-λ· (0,1-Recall(S)). This form admits no workable λ in text space. Recallâs discrete jumps provide no gradient signal to tune against: too-small λ degenerates into unconstrained optimization (any Acc-for-Recall trade is accepted), while too-large λ collapses onto the trivial feasible solution (escalate everything, minimizing Acc but achieving Recall==1.0). No middle regime exists: at a jump point, recall changes by 0.25 in one step, so the λ threshold is a single point rather than an interval. In other words, the smooth cost-constraint tradeoff that penalty methods require does not hold in text space. Failure Mode 2: Constraint-Dominance Ranking The standard treatment of multi-objective + hard-constraint is constraint-dominance ranking: sort by constraint violation first, then by Pareto relation among equally-violating solutions. This method treats all infeasible solutions as equivalentâany recall<1.0<1.0 is infeasible, with no distinction between recall=0.875=0.875 and recall=0.75=0.75. This equivalence is harmless in continuous spaces (constraint violation is smoothly measurable, and near-feasible solutions are close to the feasible region), but in text space it discards key genetic information. A strategy with recall=0.875=0.875 is one rule away from feasibility; the âalmost-feasibleâ information carried by that rule matters precisely because no smooth path from 0.875 back to 1.0 existsâthe next edit either jumps back to 1.0 or drops to 0.75. Constraint-dominance ranking deletes these âone-step-awayâ strategies as equivalent to âfar-awayâ ones, discarding the most valuable evolutionary intermediate states in text space. Derivation of the Decoupled Architecture The two failure modes above jointly point to a design direction: decoupling retention from output. The Pareto elite pool (a Pareto relation without constraint) retains both feasible and nearly-feasible strategies, preserving the âone-step-awayâ genetic information; the recall gate (a hard constraint independent of the retention logic) filters feasible candidates at output, guaranteeing deployment feasibility and confining the verification budget to candidates still in the feasible region. This decoupling is not a simple juxtaposition of Pareto and gate, but a direct response to the property that âmulti-objective + hard-constraintâ cannot be merged into a single solvable problem in text space. Appendix K Global Generation Prompt Template The prompt template used for the initial Skill generation in this framework. The prompt takes the evolution set evoD_evo as input and performs three steps in one shotâsample-feature analysis, detection-intent understanding, and Skill designâproducing an initial Skill S0S_0 with full-distribution coverage. Placeholders follow Jinja2 syntax; inference_template denotes the insertion point of the deploymentâs inference-time prompt template, ensuring that the generated Skill stays compatible with inference-time invocation. # Role You are a Skill design expert. Based on the analysis of the evolution set, generate the initial Skill. # Inputs 1. Inference template inference_template Deployment-side inference prompt template. 2. Evolution-set path evolution_set_path CSV in production; readable via shell tools. 3. Available tools available_tools Read-only tools available during generation. # Evolution-set analysis steps Step 1 Sample-feature analysis: count positive/negative ratio; summarize common features of each class; distinguish auxiliary noise-reduction cues from sufficient risk-exclusion evidence; identify the key judgment dimensions separating the two classes. Step 2 Detection-intent understanding: identify the core objective of the detection intent; analyze how it maps to sample features; identify boundary scenarios prone to false positives. Step 3 Skill design: determine core principles; design a structured triage strategy; identify empirical lessons and edge cases to emphasize. # Skill generation requirements 1. Clear core principles: 3-5 highest-priority rules. 2. Structured triage strategy: step-by-step analysis framework and decision logic. 3. Cover typical scenarios: cover the main patterns of both classes. 4. Unambiguous phrasing: use conditional sentences. 5. Concise and executable: directly guide Agent behavior, avoid redundant background. 6. Rigorous triage: distinguish risk-behavior evidence, environmental context, risk-exclusion evidence, uncertain information, and process/label metadata; "suggest dismiss" must come with a risk-exclusion chain. 7. Bounded whitelist-style experience: noise-reduction experience must state applicability conditions, non-applicable exclusions, and priority when conflicting with risk-behavior evidence. 8. Tool-usage policy: optional, only when information is insufficient or verification is needed; results must not be hardcoded into the Skill as fixed values or fixed allow/deny lists. 9. No speculation of external knowledge: do not preset trusted vendor/domain lists; do not infer external attributes from domains/program names alone. # Recommended Skill structure (Markdown) - Core principles: 3-5 highest-priority rules. - Triage strategy: step-by-step reasoning paths and decision logic. - Empirical lessons: high-value lessons, with applicability boundaries and conflict-handling. - Edge cases: handling of abnormal/under-informed/ambiguous inputs. # Output format 1. Thought process, wrapped in a ```thought block. 2. Skill content, wrapped in a ```skill block. Appendix L Multi-Round Reflection Prompt Template The prompt template used for multi-round reflection in the framework. The prompt takes the current Skill and the Agentâs within-batch execution trajectories as input, identifies error patterns, and revises the Skill. It shares the inference-time compatibility constraint, Skill generation requirements, and recommended Skill structure with the global generation prompt (Appendix K); the differences are mainly in the reflection input and analysis steps. # Role You are a Skill optimization expert. Based on the current Skillâs execution trajectories and feedback on a batch, revise the Skill to improve triage accuracy and consistency. # Inputs 1. Inference template inference_template Deployment-side inference prompt template. 2. Current Skill current_skill The Skill to be revised. 3. Batch trajectories batch_trajectories Each entry contains: sample identifier, alert details, Agent reasoning trajectory, model prediction, feedback. 4. Available tools available_tools Read-only tools available during reflection. # Analysis principle: no local view When analyzing error samples, attributing label conflicts, or comparing similar samples, do not conclude based on "features look similar". Two similar samples that receive different human dispositions often differ along other dimensions. Take the operatorâs perspective, combine the detection intent, and enumerate dimensions that could explain the disagreement; find the dimension that truly discriminates them and encode it as an executable condition in the Skill, rather than simply lowering the threshold or dismissing outright. # Analysis steps Step 1 Error-pattern identification: count errors and proportion; summarize common issues (misjudgment conditions, missing key information, broken reasoning chains); analyze whether errors relate to missing or ambiguous Skill descriptions; check whether false-positive fixes harden weak-context features into one-vote dismiss conditions. Step 2 Correct-sample attribution: identify key decision points where the model was correct; extract reusable reasoning strategies. Step 3 Skill gap analysis: compare the current Skill against correct sample trajectories; identify what to add, modify, or delete. # Skill generation requirements 1. Cover error scenarios: provide explicit handling rules for the identified error patterns. 2. Reinforce correct strategies: make the high-quality reasoning paths from correct samples explicit and followable. 3. Clear core principles: 3-5 highest-priority rules. 4. Structured triage strategy: step-by-step analysis framework and decision logic. 5. Cover typical scenarios: cover the main patterns of both classes. 6. Unambiguous phrasing: use conditional sentences. 7. Concise and executable: directly guide Agent behavior, avoid redundant background. 8. Rigorous triage: distinguish risk-behavior evidence, environmental context, risk-exclusion evidence, uncertain information, and process/label metadata; "suggest dismiss" must come with a risk-exclusion chain. 9. Bounded whitelist-style experience: state applicability conditions, non-applicable exclusions, and priority when conflicting with risk-behavior evidence. 10. Tool-usage policy: optional, only when information is insufficient or verification is needed; results must not be hardcoded into the Skill as fixed values or fixed allow/deny lists. 11. No speculation of external knowledge: do not preset trusted vendor/domain lists; do not infer external attributes from domains/program names alone. # Recommended Skill structure (Markdown) - Core principles: 3-5 highest-priority rules. - Triage strategy: step-by-step reasoning paths and decision logic. - Empirical lessons: high-value lessons, with applicability boundaries and conflict-handling. - Edge cases: handling of abnormal/under-informed/ambiguous inputs. # Output format 1. Thought process, wrapped in a ```thought block. 2. Skill content, wrapped in a ```skill block. Appendix M Supporting Mechanism Details This appendix gives the formal definitions of the supporting mechanisms (scoring weights and the Pareto elite pool). The design rationale for the other mechanisms (roulette parent selection, the per-parent cap Îș) is already covered in the main text. Scoring Weights The cost structure of alert triage is inherently asymmetric (as stated in the problem formulation): missed threats (FN) cost far more than false positives retained in the human queue (FP). Elkan (Elkan 2001) established that the optimal decision threshold in such asymmetric-cost settings is determined by the cost ratio, and Lee and Stolfo (Lee et al. 2002) further introduced cost-sensitive modeling into intrusion detection. REFINE assigns asymmetric weights to each prediction outcomeâTP (correct escalation) =+1=+1, TN (correct dismissal) =+3=+3, FN (missed threat) =â1=-1, FP (false alarm kept in queue) =0=0âforming the scalar scoreâĄ(S,)score(S,D). The gate guarantees FN=0FN=0 at output, so scoring among feasible strategies reduces to a linear function wTNâ |TN|+wTPâ |TP|+wFPâ |FP|w_TN·|TN|+w_TP·|TP|+w_FP·|FP| that directly maximizes the alert takeover rate; any weight combination satisfying wTN>wTP>wFPâ„0w_TN>w_TP>w_FPâ„ 0 produces the same strategy ranking. Scoring determines parent-selection probability and the success-constraint judgment; it does not directly decide which Skill enters the elite poolâthat is governed by the Pareto relation below. Formal Pareto Elite Pool Definition REFINE adopts GEPAâs (Agrawal et al. 2026) per-instance non-dominated retention: each evolution-set sample x is treated as a separate objective. With the per-sample score sâĄ(S,x)s(S,x) (from the weights above), the champions of x are âĄ(x)=argâĄmaxSââĄsâĄ(S,x)C(x)= _S s(S,x), i.e., the candidates handling x correctly; the elite pool is their union =âxâevoâĄ(x)P= _x _evoC(x), after pruning any candidate whose champion set x:SââĄ(x)\x:S (x)\ is a strict subset of anotherâs. Retaining any strategy that is uniquely best on even one sampleâthough globally lower in accuracy or recallâpreserves the intermediate diversity that a coarser (accuracy,recall)(accuracy,recall) dominance would discard.