Skip to content

SecJev: bringing security expertise to System One decision modelsSecJev: Bringing Security Expertise to System One Decision Models

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2610.03073· Zheng Chen, Fei Yu, Haohao Huang, Yang Li, Anlong Chen, Lei Chen·Indexed by this site · 2026-10-05· Originally publishedDefenses

Quick read

Defenses

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

SecJev specializes Kev-style decision models; on the security test task-macro, 0.8B exceeds Kev-9B by 20.51 percentage points.

Questions
Security workflows need to turn complex observations and explicit policies into decisions; the same observation often corresponds to multiple questions such as injection judgment, trust boundaries, or quorum. Jev-like models can return typed probabilities; the authors believe security-domain judgment still needs to be added.
Methods
SecJev freezes the Qwen3.5 backbone, trains rank-16 LoRA and a pointer head, follows Kev's single-candidate scoring, and outputs Boolean, choice, and ordered. Corpus: 170,185 questions, 14 tasks, scenario-weighted cross-entropy training, calibration set fits temperature.
Experiments and results
Across the four scales, task-macro on security tests is higher than initialization; 0.8B is 20.51 percentage points higher than Kev-9B. On BIPIA, SecJev-4B accuracy is 72.00%, injection-question FPR 0; on IoT-23, SecJev-4B accuracy is 65.10%, FPR 66.40%.
Limitations and future work
The authors point out that only decisions on given observations are evaluated; end-to-end defense and autonomous response require separate deployment evaluation; task difficulty is uneven, with one run per condition and seed variation not tested. Experiments include four scales, 14 tasks, and BIPIA, IoT-23.
Experimental setupSecJev-0.8B、SecJev-2B et al. · SecJev-Corpus、BIPIA et al. · task-macro accuracy、micro accuracy et al.
Evaluated models
SecJev-0.8BSecJev-2BSecJev-4BSecJev-9B
Benchmarks
SecJev-CorpusBIPIAIoT-23Kev general decision (decision-v7)Kev general transfer (transfer-v4)
Metrics
task-macro accuracymicro accuracytask-macro balanced accuracyRecallFPRNLLBrierECE
AI summaryThe researchers propose SecJev, claimed to be the first security-oriented Jev-like family of decision models, with parameter sizes ranging from 0.8B to 9B, based on Kev's single-candidate scoring, learning Boolean, choice, and ordered decisions from text, telemetry, and observation history. The team built SecJev-Corpus, unifying source-label prediction and explicit policy evaluation across 14 tasks and 8 source types, covering tool outputs, traffic, federated updates, consensus, authentication, and vehicle messages. Security specialization improved every model in the family; SecJev-0.8B exceeded general Kev-9B by 20.51 percentage points in task-macro accuracy, and reproduced gains on prompt injection and traffic decisions, accompanied by false positives dependent on capture.

The researchers propose SecJev, claimed to be the first security-oriented Jev-like family of decision models, with parameter sizes ranging from 0.8B to 9B, based on Kev's single-candidate scoring, learning Boolean, choice, and ordered decisions from text, telemetry, and observation history. The team built SecJev-Corpus, unifying source-label prediction and explicit policy evaluation across 14 tasks and 8 source types, covering tool outputs, traffic, federated updates, consensus, authentication, and vehicle messages. Security specialization improved every model in the family; SecJev-0.8B exceeded general Kev-9B by 20.51 percentage points in task-macro accuracy, and reproduced gains on prompt injection and traffic decisions, accompanied by false positives dependent on capture.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Security workflows need typed decisions; SecJev specializes Jev-like scorers to security tasks.

    Security workflows need to turn complex observations and explicit policies into typed decisions; the general Jev-like interface lacks security specialization.

    • Scenario: The authors state that workflows repeatedly process tool outputs, authentication histories, or voting evidence. The same response may need to both judge injection and decide trust-boundary actions; voting evidence may need both quorum judgment and policy decisions.
    • Interface gap: Jev returns typed predictions and probabilities; Kev provides pointer heads and Boolean, choice, and ordered interfaces. The authors argue that security specialization requires this interface to interpret domain observations and apply stated policies.
    • Observation: Different questions in one scenario can share the same model and typed interface; candidate descriptions are inputs, so one head can correspond to different answer vocabularies.
    • Proposal: The authors propose SecJev, which they say is, to their knowledge, the first security-oriented Jev-like model family (0.8B, 2B, 4B, 9B). SecJev-Corpus collects source-annotation prediction and explicit policy evaluation into 14 tasks across eight sources, and uses scenario-weighted training for adapters and decision heads.
  2. What related research exists?

    Related work is divided into specialization, decision interfaces, and security observations; SecJev builds on Kev's single-pass scoring.

    Domain and security specialization

    • Gururangan et al. (2020), Wadden et al. (2025), Shi et al. (2025), Zeng et al. (2024): domain-adaptive pretraining or instruction fine-tuning to align language models to specialized distributions.
    • CyberBench and CyberInstruct (Liu et al., 2024): a multi-task cybersecurity benchmark, and a generative model family for security instruction fine-tuning. SecBench (Jing et al., 2024) evaluates security knowledge and reasoning with multiple-choice and short-answer questions.
    • Song et al. (2025): anomaly detection in behavior logs using LLM fine-tuning.

    Decision interfaces

    • Jev (Almeida, 2026) provides typed System One predictions; Kev (Palmer, 2026) provides the pointer heads used in this paper, as well as Boolean, choice, and ordered-score interfaces. LoRA (Hu et al., 2022) and temperature scaling (Guo et al., 2017) are the adaptation and confidence methods used here.
    • Sood and Savelka (2026): classification-head fine-tuning that scores each context–candidate sequence separately. The paper treats this as an alternative discriminative multiple-choice interface and compares it with shared single-pass scoring.
    • Wu and Lim (2026): study prompt injection against Jev typed-probability decisions. The paper says this motivates evaluating how decision models interpret security evidence.

    Security observation and policy data

    • AgentDojo (Debenedetti et al., 2024) and InjecAgent (Zhan et al., 2024) provide tool-integration injection scenarios.
    • CICIoT2023, ToN-IoT, LANL, and VeReMi provide network, authentication, and vehicle observations (Neto et al., 2023; Moustafa, 2021a; Kent, 2015; Hermann et al., 2026).
    • Twins and ByzFL support controlled consensus and federated learning scenarios (Bano et al., 2022; González et al., 2025). The paper says the corpus preserves their target semantics and writes questions and candidate meanings with the same interface.

    Baselines and benchmarks

    • Baselines: majority semantic class on each task's training set; official Kev (0.8B/4B/9B) and the authors' 2B general-decision initialization; answer-only generative SFT; 0.8B candidate-sequence classification head; 0.8B direct-Qwen pointer without Kev initialization.
    • Benchmarks: SecJev-Corpus security test; BIPIA-derived decisions and IoT-23 connection labels; Kev's general decision and general transfer suites.

    The authors position this paper as: connecting security specialization to a Jev-like shared single-pass candidate scorer, covering both source-annotation prediction and explicit policy decisions, and comparing with single-token generation and candidate-sequence classification.

  3. How does the paper address this problem?

    Freeze the backbone, use LoRA and pointer heads to learn Boolean, choice, and ordered security decisions.

    The overall approach is security adaptation on Kev's single-pass candidate scorer: SecJev freezes the backbone, trains LoRA and pointer heads, and learns three types of typed decisions with scenario-weighted cross-entropy. The Figure 1 caption states: solid lines are forward computation for training and inference; gray dashed lines feed gold labels and logits into scenario-weighted cross-entropy; coral dashed lines update only LoRA and heads.

    Decision interface

    • Scenario: state s plus several questions. Each question has instruction q and candidate descriptions C. The state can be text, telemetry, or observation history, and contains the policy needed for that question.
    • Output: Boolean returns the probability of true; choice returns candidate probabilities and the highest-score key; ordered additionally returns the expected rank, i.e., for ranks 0 to K−1, sum (k−1) times the corresponding probability.
    • Rendering: Each question is an independent causal row containing the state, question, separated candidates, and decision marker; field names and order are unchanged to fit Qwen3.5's hybrid recurrent and attention backbone. Rows can be batched; question tokens are not shared across rows; candidate order is visible within a row.

    Single-pass candidate scoring

    hd and hk are the hidden states at the final decision marker and the end separator of candidate k, respectively. A shared affine projection to dp=256, and the candidate score is

    zk=(WQ hd+bQ)⊤(WK hk+bK)/√dp

    The probability is

    p(ck∣ s,q,C)=exp(zk/T)/∑jexp(zj/T)

    During training T=1, and prediction takes the maximum-probability candidate. Keys and probabilities are assembled after scoring; answer tokens are not autoregressively decoded. All three output types use only candidate cross-entropy, with no ordinal distance loss. Additionally, a positive scalar temperature is fitted on the calibration split to minimize NLL; scaling changes confidence, not the highest-score candidate.

    Security adaptation

    • Initialization: 0.8B, 4B, and 9B inherit published Kev adapters and heads. 2B first learns general decisions on Qwen3.5-2B-Base using Kev general-decision data plus date reasoning and missing-evidence supplementation sets. The authors state this is an internal initialization, not official Kev.
    • Trainable parts: backbone frozen. rank-16 LoRA, scale 32, dropout 0.05, plus pointer heads. Adapters cover attention, feedforward, and DeltaNet projections. All four sizes use three security training epochs; each security question appears once per epoch, with no general-domain replay.
    • Loss: the weight of question j in scenario i is 1/mi. Over N scenarios, the loss is the average of within-scenario mean log-likelihoods, then averaged again. Optimization uses AdamW, weight decay 0.01, gradient clipping 1.0; peak learning rate 2e-5 in the first epoch, 1e-5 thereafter, effective batch sizes 128 and 192.

    Corpus and tasks

    SecJev-Corpus has 170,185 questions, 115,324 scenarios, eight sources, and 14 tasks (Table 1). Of these, Boolean 137,067, choice 25,721, ordered 7,397. Ordered involves only consensus evidence, with explicit meanings for each level. Two objective types: predicting source annotations from observations; policy evaluation against displayed rules and history.

    • Tool outputs: AgentDojo retains trusted requests, tool calls, untrusted responses, and trust policies; questions are whether an injection is present, and whether the response should be treated as data or have its redirect instructions excluded. InjecAgent distinguishes information-transfer requests from other operations; the objective describes the requested operation, not whether the attack succeeded. Detection statements containing only positive classes are excluded.
    • Traffic and vehicles: CICIoT2023 predicts attack capture labels from measured traffic. ToN-IoT predicts connection labels from protocol and application telemetry, omitting endpoint identities. VeReMi predicts the manipulation label of the last message from local vehicle message history, as well as ten attack/normal classes.
    • Updates, voting, and authentication: ByzFL supervises from 80 controlled MNIST experiments; inputs include update magnitudes, median distances, and historical cosine similarity, referencing FoolsGold; labels distinguish attack-generated updates from honest local training, including non-IID clients. Twins questions cover visible conflicts, quorum, certificate actions, and evidence levels; the stated policy is to reject observed conflicting voters, otherwise accept if quorum is reached, otherwise wait. LANL uses the current event and the previous 300 seconds of history for the source account/computer, excluding same-second events because order is unknown; this is post-hoc triage, where current success or failure may be visible.

    Splits and quality control

    Table 2: training 118,818 questions/81,410 scenarios, calibration 14,821/9,333, development 14,912/9,911, test 21,634/14,670. Questions from the same scenario are not split. Grouping is by capture, source host, simulation run, date, or normalized tool response; VeReMi preserves an independent test boundary. Each semantic class has at least 50 questions per task/split; class proportion does not exceed 80%, and the maximum cross-split class proportion difference is 8.58 percentage points. Correct answer positions for unordered questions are distributed within classes and splits; ordered ranks keep their original order. Inputs exclude supervision and source information, and are not truncated within 8,192 tokens. 37,490 LANL/Twins questions were recomputed with independent policy.

  4. What experiments did the paper conduct?

    On the security test, 0.8B exceeds Kev-9B by 20.51 percentage points; IoT-23 FPR is 66.40%.

    Experimental Setup

    • Models: SecJev-0.8B/2B/4B/9B. Init. is official Kev (0.8B/4B/9B) and the authors' 2B general decision model. Comparisons include generative SFT on matching Qwen3.5 backbones (0.8B/4B), a candidate-sequence classification head on Qwen3.5-0.8B-Base, and a 0.8B pointer without Kev initialization.
    • Data: Security test is all 21,634 questions, 14 tasks. Transfer confirmation is BIPIA 600 answers, IoT-23 1,000 connections. General held-out is general decision 1,200 questions, general transfer 656 questions.
    • Metrics and baselines: task-macro weights 14 tasks equally; micro weights by question; balanced macro averages class recall within tasks. Accuracy for all three output types takes the highest-probability candidate. Also NLL, Brier, ECE, Recall, FPR, latency, and peak memory. Majority-class baseline takes the most common semantic class in each task's training set. Paired 95% intervals are 2,000 source-stratified whole-group resamples.
    • Precision and checkpoints: Main accuracy uses FP32 backbone for 0.8B/2B/4B, BF16 for 9B; adapters and heads are FP32. Development-set task-macro balanced accuracy selects checkpoints: 0.8B/2B/4B are epoch 3; reported 9B is epoch 2 retained after checking out-of-fold scores (Appendix F).
    • Latency: One RTX 3090, BF16 backbone, FP32 adapters and heads. One question per request, no prompt cache reuse. Short inputs up to 512 tokens, long inputs 2,048–8,192; 100 fixed development questions per bucket, timed five times.

    Main Results

    Per Table 3 (%). 2B's Init. is the authors' general decision model, not official Kev. 9B SecJev is epoch 2 from Appendix F; 0.8B/2B/4B are epoch 3. In main results, 9B backbone is BF16, others FP32.

    Swipe horizontally to read the table

    ScaleInit. task-macroSecJev task-macroSecJev microSecJev balanced
    0.8B50.9490.3485.0388.00
    2B52.1592.9886.4890.31
    4B67.8894.5188.0192.42
    9B69.8294.0887.1891.27
    • The authors report macro gains for the four scales as 39.40, 40.83, 26.63, 24.26 percentage points, with paired intervals not containing 0; 4B is [18.59, 30.75], all intervals in Table 26. Training majority-class task-macro is 62.89%. SecJev-0.8B is 20.51 percentage points higher than Kev-9B.
    • The authors give 4B breakdowns: three tool-text tasks from 63.38% to 99.30%, five source-labeling tasks from 50.53% to 85.19%, six explicit-policy tasks from 84.58% to 99.87%. The authors state gains also extend to source-label prediction and tool-response interpretation.
    • ByzFL is highest at 2B, Table 3 is 97.50%. Both VeReMi tasks are below 72%: 4B is 70.34% and 69.23%. Vehicle-message classification has 6,642 test questions, but macro-average counts only two items; the authors use this to explain micro being lower than macro.

    Comparison with Other Decision Interfaces

    • Protocol: Generative SFT uses the same security data, rank-16 LoRA, scenario weighting, and three epochs, predicting one answer-key token; decoding uses answer-key grammar, invalid outputs count as errors. The 0.8B classification head scores shared scalar scores on separately encoded context–candidate sequences.
    • Accuracy: Under FP32, generative task-macro is 0.8B/4B 90.02%/94.35%, SecJev is 90.34%/94.51%; balanced macro is 87.79%/92.30% vs. 88.00%/92.42% (Section 5.3). The 0.8B classification head is 89.85% macro, 86.84% balanced; direct-Qwen pointer is 88.17%, 83.75% (Table 7, Table 29).
    • Cost: Table 4 re-measures under unified BF16. SecJev-0.8B short/long median 79.2/164.1 ms, peak memory 2.56 GiB; generative is 80.4/167.4 ms, 3.52 GiB. 4B is 10.18 vs. 12.58 GiB. The authors state short/long median speedup ratios are 1.02/1.02x for 0.8B and 1.07/1.04x for 4B. Under batch-eight, 4B both methods and Kev-9B run out of memory; 0.8B throughput is 4.33 questions/s for both SecJev and generative, direct-Qwen is 4.45. Macro under unified BF16 is SecJev-0.8B 90.46%, Kev-9B 69.79%, not the same setting as the cross-precision comparison in Table 3.

    New-Source Confirmation

    • Setup: Freeze SecJev-4B epoch 3 and SecJev-9B epoch 2, compare with matching Kev and a 4B generative model selected on development set (Table 5). BIPIA is 150 new contexts, 600 answers, keeping original payload templates and changing backgrounds; recall and FPR count only binary injection questions. IoT-23 is four new captures, 1,000 connections, 500 per class, predicting source labels with 13 shared telemetry features.
    • BIPIA: SecJev-4B/9B accuracy 72.00%/73.00%, Kev is 50.17%/50.83%, FPR both 0.00, injection recall 48.67%/44.00%. Generative 4B is 54.33%. The authors state SecJev-4B is 17.67 percentage points higher on these new backgrounds and claim it better identifies injected tool content.
    • IoT-23: The authors report SecJev improves accuracy from Kev's 50.00% to 65.10%/60.80%. Generative 4B is 68.10%, recall 87.60%, FPR 51.40%; SecJev-4B recall 96.60%, FPR 66.40%. The authors state the two interfaces have different transfer profiles, generative has a more balanced precision–recall on traffic under fixed decision rules, and state false positives depend on capture.

    Consistency, Initialization, and Confidence

    • Paraphrase and permutation (Table 6): 1,400 paraphrase pairs reduce accuracy across the four scales by 0.07–0.93 percentage points, semantic agreement 95.36%–98.36%. 500 choice-permutation pairs change accuracy by −0.80 to +0.40 percentage points, agreement 97.40%–98.80%. 0.8B paraphrase drops federated updates from 91% to 85%, vehicle attack types from 39% to 32%. On 9B, ToN-IoT drops from 95% to 89%, CICIoT rises from 88% to 95%.
    • Initialization (Table 7): With fixed backbone, pointer, security data, and three epochs, Kev-initialized 0.8B test macro is 90.34%, balanced 88.00%; training directly on Qwen3.5 is 88.17%, 83.75%. The authors state gains are uneven: direct-Qwen is better on AgentDojo boundary actions and federated updates, Kev initialization has larger gains on vehicle tasks (Appendix G).
    • Retention and calibration: In Table 8, general decision accuracy changes by no more than 0.50 percentage points. 0.8B general transfer drops from 68.45% to 66.01%, paired interval [−4.73, −0.15]; other general accuracy intervals contain 0. Table 9: temperature scaling reduces security-test NLL across scales but worsens Brier and ECE; 9B NLL from 0.364 to 0.355, ECE from 1.53% to 2.48%. The authors state this is consistent with optimizing only NLL.

    Other Ablations and Analyses

    • Human review of 280 questions, 20 per task: answer agreement 261/280 (93.21%); 180 tool-text and explicit-policy questions, both annotators agree with corpus labels; 100 source-labeling questions agree on 81, both consider evidence sufficient on 28 (Section 6.4).
    • Independent policy recomputation on 37,490 LANL/Twins questions, the authors report 0 disagreements (Table 10).
    • On the general suite, security temperature reduces NLL, Brier, and ECE for SecJev at all scales, but the authors state it does not fully restore initialization confidence; 0.8B transfer calibration ECE is 21.10%, initialization is 4.19% (Table 27).
    • Exploratory IoT-23 (Table 13) SecJev-4B accuracy 88.40%, FPR 23.00%; confirmation set Table 5 is 65.10%, 66.40%. Appendix F states 9B once selected checkpoints by out-of-fold scores; those scores are exploratory transfer.
    • Table 23: 9B epoch 3 security macro is 94.51%, IoT-23 75.70%; epoch 2 is 94.08% and 83.70%. Reported results retain epoch 2.
    • Appendix I: classification-head global temperature reduces test NLL from 0.433 to 0.420, Brier rises from 0.2178 to 0.2184, ten-bin ECE rises from 1.81% to 2.23%, accuracy unchanged.
  5. What are some points that can be further explored?

    The authors note that decisions are limited to given observations, one run per condition, and seed variation was not tested.

    Limitations and Future Directions Noted by the Authors

    • Decision scope (Limitations): Only candidate decisions on given observations are evaluated. Capture and experimental labeling may depend on information beyond a single input; those tasks measure source-label prediction; policy tasks measure applying the demonstrated rules. End-to-end attack defense and autonomous response require separate deployment evaluation.
    • Task difficulty (Limitations): The 14 tasks are uneven in difficulty; high scores on policy tasks coexist with lower vehicle-message accuracy. task-macro weights tasks equally.
    • Grouping and transfer (Limitations): Recorded group boundaries are for specific dependencies; residual semantic overlap, and transfer beyond tested sources, remain open.
    • Human review (Limitations): Answer disagreements concentrate in source-labeling tasks, showing telemetry provides incomplete evidence for source labeling.
    • Precision (Limitations): Main accuracy uses FP32 for smaller backbones and BF16 for 9B; efficiency comparisons use matched precision.
    • Replication (Limitations): One run per training condition. Generative comparison changes both initialization and output mechanism; 0.8B has a direct-Qwen pointer comparison. The small accuracy differences between SecJev and generative SFT describe these runs; training seed variation remains unmeasured.

    Experimental Coverage

    • Security tests include 0.8B, 2B, 4B, 9B, all 21,634 test questions from SecJev-Corpus, 14 tasks (Section 5.1, Table 3).
    • Interface comparisons include answer-only generative SFT (0.8B and 4B), 0.8B candidate-sequence classification head, and 0.8B direct-Qwen pointer (Section 5.3, Table 29).
    • New-source confirmation uses frozen SecJev-4B/9B, matching Kev, and 4B generative model, BIPIA 600 answers, IoT-23 1,000 connections (Section 5.4, Table 5).
    • Analyses include 1,400 paraphrase pairs, 500 choice-permutation pairs, 1,200 general decision questions, 656 general transfer questions, temperature on calibration split, and 280-question two-person review (Section 6).
    • The paper states one run per training condition; reported 9B corresponds to epoch 2 from Appendix F, 0.8B/2B/4B are epoch 3.
  6. Summarize the main content of the paper

    SecJev uses a shared scorer for security decisions; 0.8B task-macro exceeds Kev-9B.

    SecJev is a family of security decision models from 0.8B to 9B; the authors claim it is, to their knowledge, the first security-oriented Jev-like family.

    • Problem: Turn tool outputs, traffic, federated updates, consensus, authentication, and vehicle messages into Boolean, choice, or ordered decisions. The general interface returns typed probabilities; specialization handles interpreting observations and applying stated policies.
    • Method: Freeze the Qwen3.5 backbone, train rank-16 LoRA and a pointer head, follow Kev's single-candidate scoring. 0.8B/4B/9B inherit official Kev; 2B uses the authors' general decision initialization. Corpus: 170,185 questions, 14 tasks, scenario-weighted cross-entropy training for three epochs, calibration set fits one temperature.
    • Testing: On 21,634 security test questions, task-macro for the four scales is 90.34%, 92.98%, 94.51%, 94.08% (Table 3; 9B is epoch 2, backbone BF16). Macro gains relative to initialization are 39.40, 40.83, 26.63, 24.26 percentage points. SecJev-0.8B is 20.51 percentage points higher than Kev-9B. Two VeReMi tasks are below 72%.
    • Comparison: Under FP32, generative SFT task-macro is 0.8B 90.02%, 4B 94.35%; SecJev is 90.34%, 94.51%. In Table 4, 0.8B peak memory is 2.56 GiB, generative SFT is 3.52 GiB. On BIPIA, SecJev-4B accuracy is 72.00% (Kev-4B 50.17%, injection-question FPR 0); on IoT-23, SecJev-4B is 65.10%, FPR 66.40%, generative 4B is 68.10%, FPR 51.40%.
    • Authors' conclusion: The authors state specialization improved every model, is close in accuracy to fine-tuning that only generates answer keys with lower peak memory, and transfers gains to new source groups; general decision initialization also strengthened 0.8B. The ethics section states that predictions can be wrong when evidence is incomplete, and actions require separate policies and evaluation.

Related papers

Show 3 more papers
Read originalarxiv.org