HiveTraceGuard-Pro: A compact generative guardrail for prompt injection, jailbreaks, and adversarial obfuscationHiveTraceGuard-Pro: A Compact Generative Guardrail for Prompt Injection, Jailbreaks, and Adversarial Obfuscation
The authors release the 0.6B generative guardrail HiveTraceGuard-Pro, which achieves a combined-F1 of 0.88 on clean Russian requests and a PI-RU recall of 0.999 across a fifteen-model comparison, with a key of 0.7432 across nineteen aggregated groups.
It performs binary classification on user requests and assistant replies. Coverage includes prompt injection, jailbreaks, and surface obfuscation in the audited turn; retrieved documents are out of scope if not shown to the guardrail. It evaluates one turn at a time and does not test adaptive attacks against the released weights. Transforms are fixed and do not access gradients.
- Production environments need independent guardrails to block prompt injection, jailbreaks, and harmful replies, but existing reports rarely provide evidence on Russian prompt injection or Russian surface obfuscation, while deployment is also constrained by latency and memory.
- HiveTraceGuard-Pro uses Qwen3-0.6B with LoRA fine-tuning, using Russian and English corpora, same-topic harmful/benign pairing, and obfuscation transforms applied to both label classes. The model outputs only safe/unsafe, taking the larger of the two logits.
- The nineteen-group aggregate key is 0.7432, lower than 0.7641 and 0.7552. In the fifteen-model comparison, Russian clean requests have combined-F1 of 0.88, PI-RU recall is 0.999, and p50 is 14.3 ms. The full suite has FPR 0.268 and FNR 0.156. All reported reply results use the old independent reply serialization.
- The authors state that over-blocking exceeds missed detections, with FPR/FNR on the reply side trading off in precision and confusion, and that ultra-long context behavior is unspecified. The confirmation set reply FPR is 0.563. Weights are released, while the corpus, evaluation sets, and evaluation code remain internal.
- Evaluated models
- HiveTraceGuard-Pro
- Benchmarks
- nineteen benchmark groups (sixteen public)hivetrace/robustness-testRU-categoriesnvidia/Aegis-2.0hivetrace/insecure-promptsPI-ENPI-RUS-EvalToxicChatAya Red-teamingXSafetyRTP-LXBeaverTailsHarmBenchOpenAI ModerationSimpleSafetyTests
- Metrics
- aggregate keycombined-F1macro-F1harm-F1unsafe-class F1recallFPRFNRAUROCp50 latency
HiveTraceGuard-Pro is a 0.6B generative guardrail fine-tuned from Qwen3-0.6B via LoRA, supporting Russian and English, using a safe/unsafe binary classification rule to judge the final target turn. In a comparison covering 19 benchmark groups (16 public), its aggregate key is 0.7432, lower than two higher-scoring guardrails at 0.7641 and 0.7552; across 15 models it achieves the highest Russian robustness combined-F1 (0.88) and Russian prompt injection recall (0.999), with the lowest median latency at 14.3 ms. Overall FPR is 0.268 and FNR is 0.156; merged weights are released on Hugging Face under Apache-2.0, while the corpus and evaluation sets remain internal.
Related events and news
1 events · 1 news mentions
News that mentions this paper
Adversa AI 发布 10 月 GenAI 安全资源汇总
- Adversa AIcites the paper's id or linkAdversa AI 的 GenAI 安全资源精选(2026 年 10 月)
HiveTraceGuard-Pro: a compact generative guardrail for prompt injection, jailbreaks, and adversarial obfuscation
Paper analysis
What problem does this paper attempt to solve?
The authors aim to build a 0.6B Russian-English generative guardrail that separates harmful from benign content on the same topic and withstands surface obfuscation.
Production-grade LLMs need independent guardrails to judge whether requests and replies are safe, while existing evaluations rarely cover Russian prompt injection and Russian surface obfuscation, and deployment also requires low latency and low memory.
- Scenario: The authors state that production models face untrusted users, and guardrails can review requests before generation and replies before delivery; the guardrail is separate from the assistant, so review can be updated without retraining the assistant. Published guardrail training and evaluation are predominantly in English.
- Existing gaps: Russian attacks can combine instruction substitution with transliteration, keyboard layout substitution, symbol insertion, or informal rewriting. The authors state that existing evaluations provide limited evidence on how current guardrails handle these combinations.
- Core requirements: When serving Russian traffic, the guardrail must separate harmful intent from benign discussion of the same topic and maintain this distinction after surface-form variation. The authors also target deployments with tight latency and memory budgets.
- Threat model:
- Target behavior: Prompt injection overrides or ignores system instructions through instruction substitution or role manipulation; jailbreak restates the request with role-play, persuasion, hypothetical scenarios, or other semantic transformations while retaining malicious intent; surface obfuscation changes the text representation without changing intent.
- Victim location: The guardrail performs binary classification on user requests and assistant replies. In natural deployment, the request guardrail reviews the last user turn and the reply guardrail reviews the last assistant turn. This paper's reply benchmark instead uses an older standalone reply path.
- In scope: Injected instructions appearing in the reviewed turn, regardless of source. Instructions in retrieved documents that are never shown to the guardrail are out of scope.
- Not covered: The evaluation processes one turn at a time, does not test conditional behavior over longer conversation histories, and does not test adaptive attacks against released weights. Each evaluation transformation is fixed without access to model gradients.
- This paper proposes: HiveTraceGuard-Pro, a 0.6B generative guardrail with LoRA fine-tuning on Qwen3-0.6B, trained on Russian and English, using the same safe/unsafe rules for the final target turn. The corpus pairs harmful examples with benign examples from the same domain when corresponding samples exist and applies eight obfuscations to both labels.
What related research exists?
Related work is grouped into generative multi-domain guardrails, adversarial and multilingual guardrails, and runtime policy interfaces; the authors emphasize that they lack results on Russian injection and surface obfuscation.
Generative guardrails differ in what they audit and how policies reach the model. The authors categorize existing systems into fixed category sets, adversarial or multilingual auditing, and systems that hand policies directly to the model.
- Fixed-category multi-domain guardrails: Qwen3Guard [1], Llama Guard [10], and ShieldGemma [11] cover multiple safety domains and languages, and check against fixed category sets. The authors say their generative label emission mechanism is already established practice.
- Adversarial prompts and multilingual auditing: WildGuard [12] targets adversarial prompts and jailbreaks; PolyGuard [13] emphasizes multilingual auditing.
- Runtime policies and platforms: YuFeng-XGuard [2] adds risk reasoning and a runtime policy interface; SingGuard [3] accepts current policies across modalities at runtime; Shieldstral-1.0-3B [4] scores text and images against natural language policies; OpenGuardrails [5] packages a 15B reviewer into a deployable platform.
Baseline methods are the fifteen guardrails in Table 2 (0.5B to 15B) and four comparisons in Table 5: YuFeng-XGuard-Reason-0.6B, Qwen3Guard-Gen-0.6B, WildGuard 7B, Llama-Guard-3-8B. Benchmarks/datasets include nineteen benchmark groups (sixteen public), internal robustness-test, RU-categories, insecure-prompts, and Aegis-2.0, PI-EN/PI-RU, S-Eval, ToxicChat, Aya Red-teaming, XSafety, RTP-LX, BeaverTails, HarmBench, OpenAI Moderation, SimpleSafetyTests.
The authors say that even when these models report Russian support, they do not specifically report results for Russian prompt injection or Russian surface obfuscation. In Table 2, the 8B and 12B guardrails take 63 to 243 ms on their benchmark runs, while HiveTraceGuard-Pro takes 14.3 ms. The authors treat larger guardrails as accuracy references and include sub-1B variants when available.
How does the paper address this problem?
Using Qwen3-0.6B with LoRA, it learns only a binary classification verdict token and constructs the corpus with same-topic pairing and bidirectional obfuscation.
HiveTraceGuard-Pro fine-tunes Qwen3-0.6B with LoRA into a generative guardrail: the causal language model head computes a completion-only loss only for the adjudication token and the end-of-sequence marker, and at inference takes the larger of the safe and unsafe logits.
Problem setup and formalization
- Placement: In Figure 1, the request guardrail reviews the last user turn before LLM generation, and the response guardrail reviews the last assistant turn before output. unsafe is a triage signal; the surrounding application decides whether to block, refuse, or rewrite.
- Adjudication: The chat template keeps the user and assistant roles, and selects the last eligible turn as the target. The decision boundary is a fixed 0.5 under a two-way softmax, not calibrated per language. The published path has no input normalization; the reported labels are the model's direct outputs.
- Response evaluation path: The request-side evaluation matches natural deployment. All reported response results treat the response as an independent user turn, so they test response content classification and do not go through the template's assistant target branch. Except for the Aegis-2.0 check in Section B.1, that branch is not evaluated.
Corpus and pairing
- Sources: The training corpus merges moderation datasets, translation resources, synthetic adversarial examples, and internal robustness augmentations, containing Russian and English and two dialogue roles. The released training set has 464 092 rows, with Russian weight 0.597 and safe accounting for 0.585.
- Pairing: Where possible, each harmful example is paired with a semantically related benign example, so that false positives and false negatives are both tested within the same topic. In the Russian development set, harmful prompts are paired with benign prompts in the same domain, e.g., fascism against the history of fascism, drugs against pharmacology.
- Categories: Table 7 reports 35 013 rows across 14 harm categories, plus a policy category of 2 948 rows, used for balancing and stratification; the model predicts only a binary classification. Unclassified unsafe rows remain in the 192 464 total unsafe count. Labels are inherited by column; the corpus itself has no annotator agreement statistics.
- Decontamination: Candidate training rows are compared against four internal held-out sets using word-level 3-gram shingles. Rules are not uniform across assembly stages: some stages drop rows with more than 50% overlap, the stage contributing most of the corpus drops exact full matches of at least 40 characters, and leaves approximate matches to auditing.
Obfuscation transformations
- Training and evaluation: Table 9 lists eight training transformations, Table 13 lists eight evaluation transformations, and five appear on both sides. Only to_lower, to_upper, and informal_rewrite are evaluation-only.
- Augmentation scale: Mechanical obfuscation accounts for 47 421 rows (10.2%), inheriting the original labels. Another 19 398 rows wrap harmful seeds in jailbreak templates. The augmentation stage in Table 8 counts only the 38 729 newly added obfuscation rows and 13 764 red-team rows; the two counts cannot be added.
- Synthetic: 5 300 rows (1.14%) are generated by the team using language models. Labels are specified by generation unit before generation, then pass automatic content validation; substandard items are manually revised and re-validated, with no post-hoc label changes.
Training and release form
- Decoding: The released generation_config uses greedy, max_new_tokens of 1, and do_sample of false. The README additionally records that callers use the two adjudication token ids for constrained scoring and apply a two-way softmax to the adjudication logits.
- Length: 2048 tokens is the training cap. Forward passes were verified within the model's 40 960 position range; behavior beyond that range is unspecified. The tokenizer does not truncate automatically; the policy block is at the start of the prompt, the target turn and its markers at the end, and application-side length limits must shorten the dialogue between them.
- Release: Merged weights are released under Apache-2.0. The corpus, evaluation sets, and evaluation code remain internal. The weights are about 1.11 GiB; under a 2048-token context the allocator peaks at 1.92 GiB, or 1.39 GiB if logits are limited to the last position.
What experiments did the paper conduct?
Thirty-five guardrails are compared across nineteen groups; this model has an aggregate key of 0.7432 and Russian clean request combined-F1 of 0.88, but the suite FPR is 0.268.
Experimental setup
- Two suites: the broad suite has 35 released guardrails, 19 benchmark groups, and 44 datasets, of which 16 groups are public and 3 are internal. Ranking uses the geometric mean of the nineteen group scores, called the aggregate key. Seven groups have no benign class, and their group scores contribute only recall. Table 2 covers 15 of these guardrails: the 11 with the highest aggregate key, plus 4 widely deployed references, with parameters from 0.5B to 15B. All cells are reruns by the authors; the head-to-head comparison has not been reproduced by a third party.
- Metrics: macro-F1 is the unweighted average of the F1 of the safe class and the unsafe class; harm-F1 is only the F1 of the unsafe class; combined-F1 is computed by the suite harness on the merged safe and harmful slices using the same unsafe-class formula. Attack sets report recall only. The confirmation set uses 95% Wilson intervals; other tables are point estimates. No confidence intervals or multiple-comparison correction are reported for cross-model differences.
- Four internal sets (Table 1): robustness-test 11 879 rows (10 934 requests / 945 replies); RU-categories 220 rows per role per category; Aegis-2.0 is an external English holdout, with internal counts of 1 964 requests / 813 replies; the held-out set insecure-prompts is 156 requests / 156 replies. The first three influenced trade-offs during development.
- Two harnesses: suite results and internal holdout results come from different harnesses, and the numbers are not interchangeable. Models are scored only on rows where a usable verdict is emitted. Each guardrail uses its own adapter to preserve its public prompt format, decoding settings, and verdict parsing. Each guardrail is run once.
- Overlap markers: † indicates that PI-RU at least 27.1%, S-Eval attack 10.0%, Aegis-2.0 prompt 21.3%, and ToxicChat 3.2% overlap with training. The contamination scan is monolingual. Nemotron-8B-v3 is marked as evaluation leakage on Aegis-2.0 (§), and the measured values are not adjusted.
Main results
Table 2 is sorted by the nineteen-group aggregate key. The table below lists only combined-F1 / recall and p50; FPR/FNR are in parentheses in the original source. † and § are as defined above.
Swipe horizontally to read the table
Model Params Robust-clean PI-RU recall Aegis prompt p50 (ms) YuFeng-XGuard-Reason-8B 8B 0.81 0.909 0.85 71.79 SingGuard-2B 2B 0.87 0.742 0.84 53.35 HiveTraceGuard-Pro 0.6B 0.88 0.999† 0.82† 14.30 Shieldstral-1.0-3B 3B 0.72 0.836 0.85 14.71 Qwen3Guard-Gen-0.6B 0.6B 0.68 0.894 0.85 37.18 Llama-Guard-3-1B 1B 0.48 0.635 0.73 20.50 OpenGuardrails-Text-2510, Qwen3Guard-Gen-8B/4B, YuFeng-XGuard-Reason-0.6B, Nemotron-8B-v3, PolyGuard-Qwen-Smol, Nemotron-3.5-Content-Safety, Llama-Guard-3-8B, and Llama-Guard-4-12B are omitted from the table. Among them, the lowest Robust-clean is 0.48 for Llama-Guard-3-1B; Llama-Guard-4-12B is 0.49.
- The authors state: this model's clean Russian robustness combined-F1 of 0.88 is the highest among the fifteen models and also the highest in the broader suite. PI-RU recall is 0.999, missing 4 of 4 417 attacks. English prompt injection recall is 0.88, versus 0.90 for YuFeng-XGuard-Reason-8B. Augmented requests 0.853, replies 0.756; three guardrails are higher in the augmented column and three are also higher in the reply column, among which SingGuard-2B ties this model on precision in that table. In the full suite, three are higher on augmented requests and five are higher on replies.
- Aggregate and latency: the abstract gives a full-suite key of 0.7432, lower than 0.7641 and 0.7552. With only the sixteen public groups, the key is 0.7153, and four of the thirty-four other guardrails are higher. 14.3 ms is the lowest p50 in that table, 0.41 ms lower than Shieldstral-1.0-3B. The same weights under --enforce-eager give a p50 of 32.75 ms. Figure 2 plots the 22 guardrails with aggregate key above 0.55; a dashed line connects the point where "no model of the same size or smaller scores higher."
- Same-size comparison: relative to YuFeng-XGuard-Reason-0.6B (key 0.7200), this model is higher on every Russian column, English prompt injection, and Aegis-2.0 replies, with lower latency, but lower on the two S-Eval columns, Aegis-2.0 prompt, and ToxicChat. Relative to Qwen3Guard-Gen-0.6B (0.7118), it is higher on seven of the ten score columns and lower on the two Aegis-2.0 columns and ToxicChat. Most of the fifteen models are higher on Aegis-2.0 prompt, replies, and ToxicChat.
Internal holdout and confirmation set
- Development sets (Table 3, internal harness): augmented condition macro-F1 0.866, FPR 0.139, FNR 0.123, harm-F1 0.852. Clean requests FPR 0.016, FNR 0.041. Replies macro-F1 0.821, FPR 0.043, FNR 0.180, with the positive class making up only 6.5% of the 945 rows. RU-categories macro-F1 is 0.937. The synthetic clean subset macro-F1 is 0.952. AUROC is 0.997 on 4 579 clean requests and 0.985 on RU-categories. Of the 32 reported RU-categories cells, unsafe-class F1 ranges from 0.843 to 1.000, 25 are no lower than 0.90, and the lowest on the request side is 0.875.
- Untuned backbone: under the same verdict-token argmax, untuned Qwen3-0.6B plus an English guardrail prompt gives harm-FNR 0.87 on Aegis-2.0 and 0.93 on the robustness set, with benign-reply FPR 0.49–0.77. The released model gives harm-FNR 0.206 and 0.114 on these two request sets, with benign-reply FPR 0.193 and 0.043. The authors state that this comparison changes both the prompt and the scoring setup, so the effect of fine-tuning cannot be isolated.
- Held-out set (Table 4, evaluated only once after freezing): 156 Russian dialogues, all requests are injections, with no benign class. Request harm-F1 0.953, FNR 0.090 (Wilson 0.054–0.145); it detects all 22 prompt injections and 108 of 120 jailbreaks. Pooled replies macro-F1 0.602, safe-reply FPR 0.563 (40/71, Wilson 0.448–0.673), harmful-reply FNR 0.224 (harm-F1 0.874, 66/85 judged unsafe). The authors state that the upper bound of the development-set reply FPR interval of 0.043 and 0.193 is below this lower bound, and consider the narrow register of role-play continuations a possible source of distribution shift. The set is small, entirely Russian, and a single model seed, and the authors state it should be treated as a stress test. A classifier that labels everything unsafe would get a perfect score on the request block.
Confusion, external benchmarks, and suite error
- Confusion (Figure 3, Table 13): each transformation worsens at least one error rate relative to clean requests. wrong_layout has the highest FPR, 0.262; the held-out informal_rewrite has the highest FNR, 0.307; random_case has an FNR of 0.136. After aligning the cipher and rebalancing the augmentation, wrong_layout's request-side harm-FNR goes from 0.675 before the fix to 0.125 in the released version. The authors state that the two builds differ in more than the cipher, so this indicates only the direction of change, not a controlled ablation. In the additive rounds of Section G, improving one confusion error rate repeatedly worsens another, and none of the tested data mixtures removes this coupling. The three reply-side categories with the highest FPR are cybercrime 0.373, non-violent crime 0.373, and weapons 0.291.
- Ten public benchmarks (Table 5, values ×100): this model is highest on three rows and lowest on two, and is within 1.5 points of the highest value on three rows. Aya Russian recall 95.2, English 91.7, both the highest of the five. XSafety English unsafe-class F1 is 62.1. SimpleSafetyTests recall 91.0, versus 99.0 for all four comparisons. HarmBench reply F1 82.7, WildGuard 86.3. OpenAI Moderation 71.4, versus 79.0 for Llama-Guard-3-8B. ToxicChat 50.6, versus 54.9 for Qwen3Guard-Gen-0.6B. The authors state that the gaps are mainly on English benchmarks, but four of the seven English/Russian pairs have English recall no lower than Russian, pointing to benchmark-specific weaknesses.
- Full-suite error (Section 6, Figure 4): pooled FPR 0.268, FNR 0.156. Of the thirty-five guardrails, eight have lower FNR and twenty-five have lower FPR. Averaged by group, the twelve groups with a benign class have FPR 0.254, and the nineteen groups have FNR 0.184. The field median is FPR 0.227, FNR 0.222. In Figure 4, three injection detectors fall outside the plot: FPR 0.776, FPR 1.000, FNR 0.989. Qwen3Guard-Gen-0.6B has the same FPR as this model, 0.268, with an FNR difference of 0.004.
Other ablations and analyses
- A global threshold sweep on the three development sets gives τ = 0.532, with an average macro-F1 change of less than 0.001; per-set oracle thresholds improve macro-F1 by at most 0.003; the same sweep on the robustness-test reply slice improves it by 0.061. AUROC: RU-categories 0.985, pooled robustness-test 0.973, Aegis-2.0 0.888.
- The released robustness-augmented harm-F1 of 0.852 is above the three-random-seed mean of 0.844 ± 0.011. Two suite cells are too small, n = 16 and n = 61; the RTP-LX English reply FPR is based on 26 benign examples in a 999-row cell.
- The suite and internal harness give combined-F1 0.853 versus harm-F1 0.852 on augmented requests; on the reply side, unsafe-class F1 is 0.756 versus 0.671, with the internal harness having 15 more false positives and 1 more miss, and precision dropping from 0.689 to 0.568.
- In one exploratory probe, harmful requests padded to about 80 000 padding tokens were labeled safe. At the released operating point on the Russian robustness set, the guardrail flags 7.0% of benign turns and misses 11.5% of harmful turns.
- Three RU-categories topic pairs with no training class are used to test transfer: military conflict request-side harm-F1 0.875, copyright infringement 0.885; the request-side FPR of the three pairs ranges from 0.127 to 0.145. The authors state that with n = 220 they do not rank among them.
What are some points that can be further explored?
The authors list over-blocking, reply-side precision, obfuscation trade-offs, context length, and single-point estimates as areas requiring attention going forward.
Limitations and future directions noted by the authors
- Over-blocking exceeds misses (Section 6): the suite's pooled FPR is 0.268 and FNR 0.156; eight guardrails have lower FNR and twenty-five have lower FPR. Section D identifies the benign stress sets with the highest FPR.
- Reply side (Section 6): clean-reply harm-F1 0.671, versus 0.889 on the request side, mainly because precision is lower. Held-out set reply FPR 0.563, which does not transfer from the development set's 0.043. Except for the sensitivity check in Section B.1, the reported reply results do not evaluate the natural assistant branch of the chat template.
- Confusion trade-off (Section 6): across six rounds of additive data and one training-objective change, improving recall on confused harmful requests repeatedly increases over-blocking of confused benign requests, or vice versa. None of the tested changes removes this trade-off. Section 4.5 also states that because the experiments all keep 0.6B, data limits cannot be distinguished from capacity limits.
- Prompt length (Section 6, Section 5): the tokenizer does not truncate automatically, and behavior beyond the verified 40 960 positions is unspecified. Deployment should enforce a verified context limit while preserving the policy prefix and the target suffix.
- Scope of the aggregate results (Section 6): attack-set recall measures detection only and does not include benign over-blocking. The two languages share one global argmax boundary. Two cells have n = 16 and n = 61, insufficient for reliable ranking. Latency is single-request in-flight and does not estimate concurrent throughput. Several rankings depend on differences of a few thousandths, and each guardrail is run only once, giving point estimates without intervals.
- Scope and release (Section 5, Section 8): the model is not validated beyond Russian and English; it returns no category, explanation, or policy reasoning; it is not a monitor for multi-step agent trajectories or tool calls; it handles text only and provides no legal or compliance determination. Operators with different policies should relabel and fine-tune again. The corpus, evaluation sets, and evaluation code remain internal. Per-source SPDX license auditing remains an unfinished item. A separate held-out reply pool is reserved for a later iteration and is not part of the current row.
Scope of the experiments
- The broad suite evaluates 35 guardrails and 19 benchmark groups; the head-to-head covers 15 of them, with parameters from 0.5B to 15B, all rerun by the authors in the same run, once per guardrail (Section 4.1, Figure 2).
- The internal evaluation includes three sets that influenced development decisions and one confirmation set evaluated only once after freezing; the confirmation set is 156 Russian dialogues with one model seed (Section 4.4).
- Reply numbers come from an older standalone reply serialization; the natural assistant-role path is not evaluated except for the Section B.1 check on Aegis-2.0 (Section 4.1, Section 6).
- Evaluation transformations are fixed without access to gradients; adaptive attacks against the released weights are not tested, nor are dialogue histories longer than one turn (Section 3.1).
- The paper reports no confidence intervals or multiple-comparison correction for cross-model differences; the number of times the development sets were queried is also not recorded (Section 4.1, Section 4.4). PI-EN and PI-RU are translations of the same 4 417 upstream items. The contamination scan is monolingual, and the authors state that the low overlap measured on PI-EN cannot establish training independence.
Summarize the main content of the paper
The 0.6B Russian-English guardrail scores highest on the in-house Russian clean set and PI-RU, ranks third on the aggregated key, and over-blocking and reply precision remain the weaknesses flagged by the authors.
HiveTraceGuard-Pro is a 0.6B generative guardrail for request and response moderation, fine-tuned from Qwen3-0.6B via LoRA, trained on Russian and English, and outputs only a single safe/unsafe verdict.
- Problem: production models need guardrails that can be updated independently, yet existing reports rarely give results for Russian prompt injection and Russian surface obfuscation, and deployment is also constrained by latency and memory budgets.
- Approach: harmful examples are paired with in-domain benign examples where possible, and eight kinds of obfuscation are applied to both labels, making over-blocking on the same topic measurable. The decision takes the larger of the safe and unsafe logits. The response benchmark uses the old standalone response serialization rather than the assistant branch of the released chat template.
- Main results: across thirty-five guardrails and nineteen groups the aggregate key is 0.7432, below 0.7641 for the 8B and 0.7552 for the 2B; counting only the sixteen public groups it is 0.7153, with four other guardrails higher. In the fifteen-model comparison, Russian clean-request combined-F1 is 0.88, PI-RU recall is 0.999 (4 missed out of 4 417, training overlap at least 27.1%), and p50 is 14.3 ms. Augmented-request harm-F1 is 0.852. The full suite aggregates FPR 0.268 and FNR 0.156.
- Exceptions: held-out-set response FPR is 0.563 (40/71). Request-side FPR for wrong_layout is 0.262, and FNR for informal_rewrite is 0.307. In Table 5, SimpleSafetyTests recall is 91.0, versus 99.0 for all four comparators; ToxicChat unsafe-class F1 is 50.6.
- Authors' conclusion: the strongest results are on Russian tests within its domain; it is weaker on strong obfuscation, general English moderation benchmarks, and response-side precision. The merged weights are released under Apache-2.0, while the corpus, evaluation sets and evaluation code remain internal. The unsafe verdict is an input to moderation policy, not a complete policy decision.
Related papers
Show 3 more papers
- Why Do Safety Guardrails Degrade Across Languages?Analysis / interpretabilityarXiv