Recall-First Security Model Evaluation: Methodology Lessons from a 10-Billion-Token Offline Test
This article examines the evaluation design behind a 10-billion-token-scale offline security model test and turns it into a reusable methodology. It explains why multi-turn, multi-model, multi-case testing is expensive; why recall is a key capability indicator; how to interpret recall leadership through confidence intervals, case representativeness, token efficiency, and checkpoint consistency; and how to build a reproducible offline evaluation pipeline with cost controls and practical reporting metrics.
A 10-billion-token-scale offline security model evaluation raises two main questions. First, why are long-horizon, multi-model, multi-case evaluations so expensive? Second, why has recall become a key metric for distinguishing security model capability? This article does not rank or recommend any specific product. Instead, it abstracts the evaluation design from a public offline test into a reusable methodology, discussing how to interpret “recall leadership” scientifically and how to build a reproducible, explainable, and continuously regressable security model evaluation pipeline.
1. Background: What a 10-Billion-Token-Scale Run Shows
In the original test, the evaluated objects covered multiple model versions, including pre-release and production checkpoints. Each model ran 32 cases three times, for a total of 96 runs. Each run allowed up to 30 exploration turns, and the models had no internet access. These numbers alone explain the source of the 10-billion-token-scale consumption: parallel multi-model runs, broad case coverage, repeated runs, context accumulation per turn, and an exploration cap of up to 30 turns quickly amplify token usage.
The value of this kind of evaluation is not “who burned more tokens.” Rather, it approximates how real security auditing works. Code security auditing is not a one-shot question-and-answer task. It requires reading context, forming hypotheses, validating paths, and eliminating false positives over multiple turns. The offline constraint further removes interference from external knowledge retrieval and web search, making results more dependent on the model’s own reasoning, context understanding, and tool use. Therefore, 10-billion-token-scale consumption is essentially the evaluation cost paid for “reproducible multi-turn security auditing capability.”
2. Evaluation Protocol: Why 32 Cases, 3 Runs, and a 30-Turn Cap
Running 32 cases three times each, for 96 runs, balances coverage and statistical stability. A single run is easily affected by random sampling, context organization, and differences in exploration paths. Repeating the same case three times makes it possible to observe stability on the same problem and avoid mistaking an occasional finding for a stable capability. For security auditing, stability matters as much as recall: a model that occasionally finds a high-risk vulnerability is very different, from an engineering perspective, from one that reliably finds it.
The cap of up to 30 exploration turns per run sets a boundary between cost and depth. With too few turns, the model may not have completed path validation. With too many turns, token cost, latency, and accumulated false positives all rise. The evaluation report should record both “the proportion of runs that hit the turn cap” and “the distribution of turns in which effective findings occur.” Otherwise, looking only at final recall may hide the problem of long-tail cases being truncated.
The models’ lack of internet access is another key constraint. It reduces the risk of external knowledge leakage and case contamination, bringing the evaluation closer to offline intranet auditing scenarios. However, it also means the model cannot obtain the latest vulnerability intelligence and must rely more on reasoning for defect types after its training data cutoff. Offline evaluation results should therefore be understood as “a capability snapshot under given knowledge boundaries and tool conditions,” not as absolute conclusions for all real-world environments.
3. Why Recall Becomes the Focus
In security auditing, the cost of missed findings is usually higher than the cost of false positives. Recall measures how many of the known issues that should be found were actually found by the model, and it directly corresponds to missed-detection risk. For high-risk vulnerabilities, authorization bypasses, injection defects, and similar scenarios, insufficient recall means risks are simply let through. Therefore, when recall becomes the most discriminative metric in a public test, it does capture one of the core values of security models.
But recall cannot be used in isolation. A model can raise recall by producing a large number of alerts, while introducing unacceptable false-positive costs. It may also perform well only on high-frequency defect types and fail on long-tail cases. A professional evaluation should therefore report overall recall, recall stratified by severity, false-positive rate or precision, average turn to finding, token efficiency, variance across runs, and consistency between pre-release and production checkpoints. Only when these metrics are combined can one answer whether the model is usable for production auditing.
4. How to Interpret “Recall Leadership”: Four Cautions
First, sample size and confidence intervals. Thirty-two cases with three runs each provide repeated observations, but the case set is still limited. Whether the gap between the top recall score and second place is statistically significant requires confidence intervals, not just rankings.
Second, case set representativeness. The distribution of security defect types, languages, frameworks, and severity levels all affect recall. If the case set overrepresents a certain defect type, rankings may be structurally inflated. Stratified results should be disclosed to avoid replacing fine-grained capability judgment with an overall leaderboard.
Third, cost and efficiency. A 10-billion-token-scale run means token efficiency may differ greatly across models. High recall with excessively high token cost may not be usable in production. It is advisable to introduce auxiliary metrics such as “vulnerabilities recalled per million tokens” or “average token cost per case.”
Fourth, differences between pre-release and production checkpoints. When evaluated objects include pre-release and production versions, checkpoint differences should be treated as regression signals rather than marketing conclusions. A pre-release version may improve on one case type while regressing on others, so continuous regression on a fixed benchmark set is needed.
5. Engineering Implementation: A Reproducible Offline Evaluation Pipeline
To make evaluation reproducible, it is advisable to split it into four layers: case management, sandbox execution, model interaction, and metric aggregation. The case management layer is responsible for versioned cases and labels. The sandbox execution layer provides a resettable runtime environment without external network access. The model interaction layer records each turn’s input, output, and token consumption. The metric aggregation layer generates reports by case, defect type, and severity. General container platforms, object storage, and logging services can support this kind of pipeline.
A pseudocode outline is as follows:
for case in case_set:for run in range(3):ctx = init_context(case)for turn in range(30):action = model.propose(ctx)result = sandbox.execute(action)ctx = update_context(ctx, result)if result.has_finding():record_finding(case.id, run, turn, result)if should_stop(ctx, result):breakrecord_tokens(case.id, run, ctx.tokens_used)report = aggregate(recall_by_severity,false_positive_rate,avg_turn_to_finding,token_efficiency,variance_across_runs)
Key logs must include case ID, run number, turn, token consumption, finding type, whether it is a false positive, and whether the turn cap was reached. Without these fields, later analysis cannot explain rankings or perform regression comparisons.
6. Cost and Efficiency Optimization
10-billion-token-scale consumption is not unavoidable. From an engineering perspective, costs can be reduced through early stopping, context compression, budget allocation by severity, caching repeated context, parallel scheduling, and stratified sampling. However, optimization must not come at the expense of recall. Early-stopping rules should be based on whether critical paths have been covered, not merely on turn count. Context compression should retain code slices, call chains, and validation results. Budget allocation should prioritize high-risk cases. Evaluation reports should present recall and token cost before and after optimization to avoid “saving tokens but losing vulnerabilities.”
7. Deployment Recommendations
When building a security model evaluation system, enterprises should prioritize an internal benchmark set rather than chasing public leaderboards. The benchmark set should cover defect types, severity levels, and false-positive scenarios from real codebases, and double-blind annotation should be used to reduce bias. For evaluation frequency, pre-release checkpoints should be used for regression, and production versions should be used for admission. The report template should fix five metrics: recall, false-positive rate, token efficiency, stability, and truncation rate. This ensures that conclusions are explainable, reproducible, and comparable.
8. Conclusion
The truly valuable information from a 10-billion-token-scale security model test is not a single ranking, but the evaluation dimensions it exposes: multi-turn exploration under offline constraints, stability across repeated runs, the balance between recall and false-positive rate, and token cost versus engineering usability. Recall leadership can be an important signal, but it must be judged together with case set representativeness, confidence intervals, stratified results, and cost efficiency. Abstracting public tests into an internal reproducible evaluation pipeline is a key step for security models to move toward production auditing.
