Security LLM Evaluation: Balancing Recall, Stability, and Cost

    A practical analysis of a cybersecurity LLM benchmark that measures single-run recall, aggregate recall, and stable detection across repeated runs. The results show why high aggregate coverage does not necessarily mean reliable production performance, and how organizations can balance detection capability, operating cost, false positives, latency, and human review.

    1. What This Evaluation Actually Measures

    A cybersecurity model cannot be judged solely by whether its answers sound fluent. In vulnerability analysis, threat hunting, malware investigation, and incident response, the more important question is whether the model can identify genuinely relevant security signals from large, fragmented, and noisy collections of material.

    According to the disclosed evaluation results, the test consumed approximately 11.7 billion tokens and focused primarily on the models’ ability to recall security-relevant information. In other words, the benchmark did not simply ask whether a model could generate a plausible analysis. It measured whether the model could identify as many predefined targets as possible from the provided evidence.

    These tests typically include 32 targets. A target might represent a vulnerability clue, attack behavior, configuration risk, malware characteristic, or critical piece of evidence in an incident investigation. The models are run multiple times, and the number of detected targets is calculated using several different methods.

    The results should therefore be separated into at least three dimensions:

    1. Single-run recall: How many targets are found in one execution;
    2. Aggregate recall: How many targets are found after combining the results of multiple executions;
    3. Stable hit rate: Whether the same target is detected in every execution.

    These metrics answer different questions: How high is the model’s potential ceiling? Can repeated runs expand coverage? And is the model consistent enough for operational use?

    2. The Highest Aggregate Recall Does Not Mean the Strongest Single Run

    In this evaluation, one general-purpose model from China identified 28 of the 32 targets after combining three runs, producing an aggregate recall of 87.5%. This was higher than the 25 to 26 targets identified by the other evaluated models.

    Viewed in isolation, the aggregate result is impressive. However, its single-run performance tells a different story. The model identified only 17 targets in the first run. Its final advantage therefore came mainly from complementary discoveries across multiple runs, rather than from consistently covering most risk points each time.

    This is a typical example of high potential coverage but low certainty.

    For example, suppose the three runs produced the following results:

    • First run: 17 targets;
    • Second run: 22 targets;
    • Third run: 21 targets;
    • Combined result: 28 targets.

    This indicates that the model did not focus on exactly the same findings in every analysis. It might overlook a low-salience clue in the first run, discover it in the second, and simultaneously miss some targets that it had previously identified.

    This behavior can be valuable in exploratory security analysis. Security teams can use multiple runs to broaden their search and reduce the probability of missed findings. However, inconsistent single-run results can create problems when the model is used for automated blocking, alert prioritization, or approval of high-risk operations.

    Therefore, “the highest recall after combining three runs” should be interpreted more precisely as follows:

    The model has strong potential for discovering security clues, but the consistency of its individual outputs still requires reinforcement through workflow design, prompt constraints, or cross-validation with other models.

    3. Stable Hit Rate Is Closer to Production Reliability

    Only 10 targets were identified in all three runs. Compared with the 28 targets found in aggregate, this is substantially lower and indicates significant variation between executions.

    The stable hit rate measures determinism. When a target is detected every time, it generally means that the target is highly recognizable or that the model has formed a consistent judgment based on the relevant features. If a target appears in only one run, several factors may be responsible.

    1. The clues are deeply hidden

    Incident evidence rarely states directly that a risk exists. Important information may be distributed across log fields, event timelines, process relationships, network connections, and privilege changes. The model must combine multiple weak signals before reaching a conclusion.

    2. The input context is too long

    When the input exceeds the model’s effective attention range, the model may pay uneven attention to the beginning, middle, and end of the material. Even when the overall input is unchanged, different generation paths can cause the model to focus on different sections across runs.

    3. The task description is not specific enough

    If the prompt only asks the model to “analyze whether there are security issues,” it may prioritize obvious vulnerabilities while overlooking behavior chains, abnormal configurations, or potential attack indicators. The less clearly the task is defined, the greater the variation is likely to be.

    4. The generation process is probabilistic

    Large language models do not perform deterministic matching like traditional rule engines. Even with identical inputs, sampling settings, context organization, and intermediate reasoning paths can lead to different conclusions.

    For production use, organizations should not focus only on the maximum recall from a single run. Nor should they conclude that a model is reliable solely because its results look strong after multiple runs. A more complete evaluation should record:

    • Average single-run recall;
    • Incremental recall gained through repeated runs;
    • Target-level stable hit rate;
    • Number of false positives;
    • Severity of missed targets;
    • Performance differences across security task categories.

    4. The Value of Another Model: Similar Performance at Lower Cost

    The evaluation also showed that another production model achieved a recall of 25/32, only one target behind the leading model, while costing approximately 69.8% less.

    This type of result is highly relevant to enterprise model selection. Security models should not be evaluated on score alone. Effectiveness, cost, response time, stability, and operational complexity all matter.

    If a model delivers only a small recall improvement while substantially increasing inference costs, whether it is worth adopting depends on the business context. For example:

    • High-re severity incidents requiring final review may justify a model with a higher recall ceiling;
    • Large volumes of low-risk logs are better suited to a lower-cost model with higher throughput;
    • Real-time alerting systems must also be evaluated for latency and concurrency;
    • Audit, compliance, and forensic workflows require explainable outputs and complete evidence references.

    A simple framework for comparing overall value is:

    1. Overall value = Recall benefit × Business weight
    2. - False-positive cost
    3. - Inference cost
    4. - Latency cost
    5. - Human review cost

    The business weight should not be the same for every target. Indicators of critical-asset compromise, high-severity vulnerabilities, and data breaches should carry significantly more weight than ordinary configuration issues. Cost comparisons become meaningful only when model metrics are mapped to actual security impact.

    5. Why a Single Overall Score Is Not Enough

    Cybersecurity tasks have a pronounced long-tail distribution. Some targets are easy to identify, such as obvious privilege anomalies, known attack patterns, or high-risk configurations. Others require complex correlation, such as inferring lateral movement from logs collected at multiple points in time or reconstructing an attack chain from process, file, and network activity.

    Adding all targets into one score can conceal important weaknesses. Evaluation should therefore be broken down by task type.

    1. Rule-based targets

    These targets contain clear keywords, fields, or patterns. They are useful for measuring basic information extraction capabilities.

    2. Correlation targets

    These require the model to connect multiple events, accounts, hosts, or time points. They primarily test contextual integration.

    3. Inference-based targets

    The evidence does not state the conclusion directly. The model must derive a reasonable judgment from a combination of behaviors. These targets better reflect analytical ability but are also more prone to false positives.

    4. Long-document localization targets

    The relevant clues are distributed across large amounts of background material. These targets test information filtering, prioritization, and cross-section integration.

    Target severity should also be included in the analysis. A model may miss only a few targets overall, but if those missed targets are high-risk findings, it may still be unsuitable for deployment.

    6. How to Design a More Reliable Security Model Evaluation

    To reduce the impact of random variation, organizations should establish a standardized evaluation process.

    Step 1: Fix the dataset and answer boundaries

    Every target should have a clear evaluation rule. The benchmark should ideally record:

    • Target description;
    • Relevant evidence;
    • Acceptable equivalent expressions;
    • Similar concepts that should not count as hits;
    • Target severity.

    This reduces subjectivity during manual scoring.

    Step 2: Run the evaluation repeatedly

    A single result cannot measure stability. Run the model at least three times with the same input and task description, and retain the complete outputs instead of storing only the final score.

    Step 3: Separate aggregate hits from stable hits

    After converting each run into a set of detected targets, the following metrics can be calculated:

    1. Aggregate recall = Union of targets detected across three runs / Total targets
    2. Stable hit rate = Intersection of targets detected across three runs / Total targets

    The frequency of each target should also be recorded. A target detected three times is a strongly stable finding, while a target detected once should be added to the priority review list.

    Step 4: Record false positives and evidence quality

    A security model must explain not only what it found, but also why it reached that conclusion. The evaluation should check whether the model:

    • Cited evidence that actually appears in the input;
    • Distinguished facts from speculation;
    • Misclassified normal behavior as an attack;
    • Omitted important conditions or limitations;
    • Proposed actionable follow-up validation steps.

    Step 5: Test different input organization methods

    The same material can be provided as a complete document, in segments, sorted by time, or grouped by asset. Different organization methods may significantly affect the results. A score produced under one prompt and input structure should not automatically be treated as an inherent property of the model.

    7. Recommendations for Practical Deployment

    The evaluation supports three direct conclusions.

    First, security models are better suited to a workflow based on multiple discovery passes, centralized deduplication, and human review than to a process that relies on a single answer for the entire assessment. Multiple runs can improve coverage, but findings must be deduplicated and their evidence consolidated to prevent output growth without additional value.

    Second, model selection should use a tiered strategy. A lower-cost model can perform large-scale initial screening, while a more capable model handles high-risk incident review. Rule engines and retrieval systems can provide deterministic evidence. A model is not the entire security system; it is one component in the broader analysis pipeline.

    Third, evaluation reports should disclose the performance ceiling, average performance, and stability. Publishing only the highest recall may cause readers to overestimate practical usability. Publishing only a single-run result may underestimate the value of multi-run collaboration.

    8. Limits of the Comparison

    This test did not include every leading model or all of the latest model versions. It therefore cannot be used to establish an industry-wide ranking. It is better understood as a comparative observation under a specific dataset, task configuration, and execution process.

    The approximately 11.7 billion tokens consumed also indicate substantial testing activity, but token volume alone does not determine evaluation quality. More important factors include whether the dataset is representative, whether the answer key has been validated, whether the test is reproducible, and whether false positives, latency, cost, and stability are measured alongside recall.

    Overall, the most valuable lesson from this evaluation is not simply which model ranked first. It is that the meaning of a “strong” security model has several dimensions: high recall represents exploratory capability, stable hits represent reliability, and lower cost represents scalability. Only by considering these factors together with evidence quality, false-positive control, and human review processes can organizations determine whether a model is truly suitable for cybersecurity production environments.