HaloGuard 2.0: An Open-Weight Constitutional Output Guardrail for Multilingual Response SafetyHaloGuard 2.0: An Open-Weights Constitutional Output Guard for Multilingual Response Safety
The authors release the open-source streaming output guardrail HaloGuard 2.0-0.8B, which the authors state achieves macro F1 of 83.6 on six English response safety benchmarks, 2.6 points above the strongest streaming baseline.
The protected object is the LLM application that streams responses back to the user: after the input guardrail lets a request through, a jailbreak, gradual escalation, or benign request may still turn harmful mid-generation. The guardrail scores each token, and the application aborts the stream when it confirms a boundary violation. The authors state that the protection scope does not include tool calls or the retrieved documents themselves.
- Input guardrails cannot see the model's output after generation: jailbreaks, gradual escalation, or benign requests may all turn into harmful content mid-response, and post-hoc review is too late in streaming settings. What the authors aim to solve is judging while generating and stopping the stream at the appropriate moment.
- Add a linear token classification head on Qwen3.5-0.8B, output a safe/unsafe probability for each response token, and latch the decision with a two-arm threshold rule; training is in two stages, first training on 478,532 responses organized by the constitution, then using 106,043 paired counterfactual responses to correct the "prompt-only" shortcut, and finally averaging the two models with equal weight.
- The authors report: the English model's macro F1 on six response safety benchmarks rises from 72.8 for the base version to 83.6 (83.3 on held-out validation), with FP reduced by 38%; the multilingual version reaches 83.1 F1 on 17 languages of PolyGuardPrompts, 5.0 points above the strongest baseline; FNR on WildG remains 30.1.
- The authors note: tokens between onset and trigger have already leaked before triggering; weight averaging sacrifices mid-stream detection ability; the multilingual version has no onset supervision, and the rule cannot flag responses shorter than 3 tokens; Hindi and Thai have more misses; the training data are all monolingual. Evaluation covers only the 0.8B scale, and the authors plan to try larger models.
- Evaluated models
- HaloGuard 2.0-0.8BHaloGuard 2.0-Poly-0.8BHaloGuard 2.0, base guard (Phase 1)HaloGuard 2.0-Poly, base guardHaloGuard 1.0 (0.8B and 4B)
- Benchmarks
- HarmBenchSafeRLHFBeaverTailsXSTest-ResponseAegis 2.0WildGuardTestPolyGuardPromptsPolyGuardMix(训练用)
- Metrics
- F1PrecisionRecallFPRFNRmatched-pair accuracyonset recall
The paper proposes HaloGuard 2.0, an open-weight streaming output guardrail that gives a safe/unsafe probability for each response token in a single forward pass, allowing deployers to interrupt the generation stream after confirming harm. It reuses HaloGuard 1.0's constitutionally organized training corpus of 478,532 responses, and supervises token by token from the point where the response begins to be harmful. The authors found that a guardrail trained on conventional data learns a streaming-specific shortcut, judging only the prompt rather than the response, achieving only 13.9% correctness on matched safe/unsafe response pairs; they then used 106,043 counterfactual responses constructed against the base guardrail's failure modes for a second-stage correction, and released an equal-weight average of the base and corrected models. On six English response safety benchmarks, HaloGuard 2.0-0.8B reaches a macro F1 of 83.6, higher than 72.8, reduces false positives by 38%, uses 5-10 times fewer parameters than the strongest full-response guardrail, and scores 2.6 points higher than the strongest streaming guardrail Qwen3Guard-Stream-4B.
Paper analysis
What problem does this paper attempt to solve?
Input guardrails cannot see harm after generation; the authors aim to build a streaming output guardrail that judges while generating and stops at the appropriate moment.
Core question: how to judge token by token during streaming generation whether a response crosses the line, and stop immediately once there is enough evidence, rather than reviewing only after generation is complete.
- Problem setting: The authors state that some harmful responses come from seemingly harmless requests—gradually escalating multi-turn conversations, drifting role-play, jailbreaks whose payload only appears when answering; in agent and RAG settings the context may also contain injected instructions. Aligned models may also answer a benign question (such as pesticide toxicity) for several paragraphs before turning to operational content, and prompt-only scoring cannot see this.
- Shortcomings of existing methods: When a post-hoc classifier returns a verdict, harmful content may already have been shown to the user; buffering the entire response loses the latency advantage of streaming. The authors also note that in Table 1, LlamaGuard, WildGuard, ShieldGemma, PolyGuard, Shieldstral and others all classify only complete responses; Constitutional Classifiers is streaming but its weights are not public.
- Difficulties specific to streaming: Response prefixes are ambiguous, and the decision is not only safe/unsafe but also "when is the evidence sufficient". The authors state that streaming introduces two new kinds of errors: false triggering on a prefix that is actually safe, and triggering only after harmful content has already been shown.
- Core observation: In a typical response corpus, almost every harmful response is harmful from the first token (97.8% in Phase 1), so a guardrail can score based only on judging the prompt without reading the answer—the authors call this a streaming-specific shortcut and measure it directly with paired tests (Section 6.2).
- What the paper proposes: HaloGuard 2.0, an open-source constitutional streaming output guardrail based on Qwen3.5-0.8B, including an English version and a 17-language multilingual version, using two-stage training plus weight averaging to correct the above shortcut.
- Protection setup:
- Protected target: LLM applications that stream responses back to users, with the guardrail on the output side (Figure 1); it only provides a signal, and the action is decided by the application.
- Protection scope: directly harmful completions, legitimate responses to sensitive topics, and responses where harm appears after a disclaimer/refusal/role-play/long benign lead-in.
- Out of scope: tool calls, actions and retrieved documents (unless they appear as text in the response); chain of thought and refusal detection are not within the scope of this evaluation (Section 6.4).
- Assumed attack surface: The authors state that earlier models could be bypassed by "prepending a refusal" and "hiding the payload after a long benign lead-in", handled on the training and serving sides respectively (Section 7).
What related research exists?
Related work falls into four categories: full-response guardrails, streaming guardrails, constitutional data and counterfactual augmentation, and weight averaging; this paper differs from the closest work, Qwen3Guard-Stream, in onset acquisition and two-stage training.
Full-response open-source guardrails
- LlamaGuard (2023) defines content moderation as instruction-following classification over a risk taxonomy, with the same model handling prompt and response. WildGuard (2024) adds refusal detection, which the authors note is important for response moderation because refusals and harmful completions may share the same prompt but have opposite labels.
- ShieldGemma, NemoGuard and PolyGuard extend open-source moderation to new model families, enterprise taxonomies and 17 languages. OmniGuard reasons before labeling; GPT-OSS-Safeguard, Nemotron-3.5-Safety and Shieldstral support deployer-specified policies at inference time.
- The paper notes what these methods have in common: they all classify completed responses and must wait for generation to finish before giving a verdict.
Streaming output guardrails
- Constitutional Classifiers (CCs, 2025) trained a streaming output classifier that scores token by token and stops when a threshold is crossed, protecting a frontier model, with weights not public.
- Qwen3Guard-Stream (2025) adds a token-level classification head on a Qwen3 backbone, deriving token labels by sampling continuations for each prefix, scoring them with Qwen3Guard-Gen, and having an LLM reviewer confirm the earliest unsafe prefix.
- The authors' positioning: HaloGuard 2.0 is closest in form to Qwen3Guard-Stream and closest in data philosophy to CCs; the differences lie in how onset is obtained (constructed at generation time in Phase 2, an exact value rather than an estimate), how it is used (weighted in the loss and paired with safe responses), and how it is trained (two stages plus weight averaging).
Constitutional data and counterfactual augmentation
- Constitutional AI (2022) proposed supervising model behavior with written principles; CCs use a constitution of restricted/permitted content to synthesize classifier training data. HaloGuard 1.0 extends this into a full safety constitution and pairs each harmful prompt with a harmless counterfactual.
- Counterfactually augmented data (2020) and contrast sets (2020) harden decision boundaries with minimally different, differently labeled samples; the authors state that the natural minimal pair on the response side is two completions of the same prompt.
Weight averaging
- Wortsman et al. (2022) on robust fine-tuning and Model Soups (2022) show that weight averaging of fine-tuned models sharing an initialization often outperforms either endpoint; this paper adopts the simplest form—a uniform average of the base guardrail and the corrective fine-tuned model.
Baselines and benchmarks: The comparison baselines are open-source guardrails evaluated by Qwen3Guard and Shieldstral (LlamaGuard3-8B, LlamaGuard4-12B, WildGuard-7B, ShieldGemma-9B/27B, NemoGuard-8B, PolyGuard-Qwen-7B, OmniGuard-7B, Nemotron-3.5-Safety-4B, GPT-OSS-Safeguard-20B, Shieldstral-3B, Qwen3Guard-Gen/Stream in three sizes each); the evaluation benchmarks are HarmBench, SafeRLHF, BeaverTails, XSTest-Response, Aegis 2.0, WildGuardTest and the PolyGuardPrompts response labels.
How does the paper address this problem?
Qwen3.5-0.8B plus a zero-initialized linear token head scores token by token, onset derives token labels, and two-stage training corrects the "prompt-only" shortcut followed by equal-weight averaging.
Overall approach: add a linear head on a 0.8B backbone, output an unsafe probability for each response token in a single forward pass, and latch the decision with a two-arm threshold rule; training is in two stages, Phase 2 uses a paired counterfactual corpus to correct the streaming shortcut, and two models are released as an equal-weight average, HaloGuard 2.0.
Task definition and decision rule
- The guardrail reads prompt x and response r, and at each response position t outputs pt = pθ(UNSAFE ∣ x, r≤ t); prompt positions are not scored and serve only as context.
- The decision uses the two-arm rule t⋆ = min{t : pt ≥ τmax ∨ min(pt−1, pt) ≥ τrun}, with τmax=0.975 and τrun=0.70: the first arm catches a single high-confidence token (short compromised responses), the second arm catches sustained moderate evidence (gradual drift), and the decision latches after triggering.
- The authors impose a structural constraint on the English model: the rule must be able to trigger on harmful responses of 1–3 tokens; the multilingual version uses a single-arm rule (3 consecutive tokens ≥0.675) and cannot mark responses shorter than 3 tokens.
- Each training response carries one of three behavior labels (Complied/Refused/Mixed); safety labels look only at content, and for "refuse-then-comply" responses onset is counted from where the operational content begins.
Constitution and three corpora
- It follows the HaloGuard 1.0 constitution: 46 policies, 490 categories, 2,940 subcategories, four risk tiers and three safety buckets; response-side labels are assigned only to the response and are not inherited from the prompt.
- Phase 1 corpus: 478,532 prompt–response pairs, organized by the constitution's three buckets (harmful 55.2%, harmless-boundary 37.7%, shared-harmless 7.1%); produced by multiple generative models with different degrees of alignment, with 30.2% of responses unsafe; among the 144,721 unsafe responses, 97.8% are harmful from the first token (Figure 2).
- Phase 2 corrective corpus: 106,043 entries (safe 49.8%/unsafe 50.2%), built from error analysis of the base guardrail on an internal development set and six benchmarks; among 3,107 adjudication errors, 66.6% are genuine model errors, 19.4% benchmark mislabels, and 18.1% policy disagreements (Table 4; percentages exceed 100% because some errors have two attributions).
- Phase 2 generation follows four rules: every safe response has an unsafe twin with the same prompt, the same generator, and similar lexical length; onset is constructed at generation time (51.2% of unsafe responses have a safe lead-in segment) and is an exact value; each pair is verified by an independent reviewer; hash deduplication is applied against the 12,347 benchmark evaluation rows.
- Multilingual data: from 1,910,372 rows in PolyGuardMix, 1,080,192 rows containing responses are taken, with 5,000 held out for validation and a 20,000 development pool, training on 1,055,192 entries in 17 languages; there are only response-level labels, with no onset supervision; there are no shared prompt–response pairs with PolyGuardPrompts.
Model and training
- Architecture: Qwen3.5-0.8B backbone (of 24 layers, 18 are Gated DeltaNet linear attention and 6 are full attention), with the vision tower and LM head removed, adding a linear head pt = softmax(W ht + b)UNSAFE; the head is zero-initialized, and the authors state that conventional initialization causes the first-step gradient norm to exceed 500 and collapse to constant predictions.
- Token labels: tokens before onset are labeled safe and those after are labeled unsafe; prompt positions, contested responses, and responses whose harmful segment is truncated are labeled ∅ and excluded from the loss.
- The loss is a weighted token-level cross-entropy, with weight λ within ±16 tokens of onset (5 for Phase 1, 3 for Phase 2), applied only to responses that have a safe→unsafe transition.
- Phase 1: 2 epochs on 478,532 entries (29,910 steps, about 4.6 hours on 2×H100). Phase 2: a copy of the base guardrail is fine-tuned for 3 epochs on 106,043 entries, releasing θreleased = ½θbase + ½θcorrective. The authors report that the corrective model alone scores 69.1, and retraining Phase 1 with the corrective data mixed in scores 70.7, both below the base guardrail's 72.8, hence the averaging.
- No sequence packing: the authors state that the recurrent state of the linear attention layers crosses packed sample boundaries, with hidden-state differences for the same example of up to 0.23 on two-layer probes.
Serving and continuous red teaming
- At inference, the preamble and prompt are read only once, and each new token advances the recurrent state and KV cache and produces one pt; responses longer than 2,048 tokens are scored with head and tail dual windows taking the per-position maximum, and the authors state that a single window would let attackers hide the payload after a long lead-in or at the beginning.
- Appendix B: extends the HaloGuard 1.0 weekly red-team protocol to the output layer; red teaming attacks the stack where both layers are present, and each success is attributed to the layer that should have blocked it and enters that layer's next round of training data; on the output side, three attack types are tracked separately: late-onset, refuse-then-comply, and format-shift.
What experiments did the paper conduct?
Six English benchmarks plus a 17-language evaluation: English macro F1 rises from 72.8 to 83.6, multilingual 83.1; the paired test shows the base guardrail looks only at the prompt.
Experimental setup
- Models evaluated: HaloGuard 2.0-0.8B (English), HaloGuard 2.0-Poly-0.8B (17 languages), and their respective Phase 1 base guardrails; input-layer results are cited from HaloGuard 1.0 (0.8B/4B).
- Benchmarks: Six English response safety benchmarks totaling 12,347 items—HarmBench 400 (50.0% unsafe), SafeRLHF 5,978 (55.2%), BeaverTails 3,021 (57.4%), WildGuardTest 1,689 (16.7%), Aegis 2.0 813 (48.5%), XSTest-Response 446 (17.5%) (Table 8); multilingual uses PolyGuardPrompts response labels, 29,053 items (1,709 conversations × 17 languages, 16.6% unsafe).
- Baselines: Open-source guardrails reported by Qwen3Guard and Shieldstral (see Question 2); English baseline scores are cited from these two reports, and multilingual baselines are cited from the PolyGuard and Qwen3Guard reports.
- Metrics and verdicts: precision, recall, F1, FPR, FNR; HaloGuard 2.0 is scored by streaming verdict—Equation (2) judges unsafe if any response token triggers, using only response-level safety labels, not refusal labels.
- Threshold selection: One global rule is used for all benchmarks, with no per-benchmark threshold tuning; the two thresholds are selected by grid search on the benchmarks themselves (step size 0.025), and the authors estimate optimistic bias via half-splits and two random seeds in both directions, with held-out macro F1 of 83.3 (83.5/83.2) and in-sample 83.6.
- Streaming behavior test: 664 generated responses form 332 pairs (same prompt, one unsafe response that turns harmful mid-way plus one safe twin), frozen before any Phase 2 data generation and sharing no prompts with training; the authors note it comes from the same pipeline as the Phase 2 corpus and will favor models trained on that corpus.
Main results
According to Table 10 (response harmfulness F1; HaloGuard 2.0 uses the global streaming rule, base guardrails use their own best global rule):
Swipe horizontally to read the table
Model Scale HarmB SafeRLHF BeaverTails XSTest-R Aegis 2.0 WildG Average HaloGuard 2.0-0.8B 0.8B 96.4 81.7 83.0 85.4 83.5 71.9 83.63 Base guardrail (Phase 1) 0.8B 91.6 71.7 72.3 68.0 74.1 58.9 72.76 Qwen3Guard-Gen 4B 86.7 69.8 86.6 92.7 86.1 79.5 83.57 Qwen3Guard-Gen 8B 87.2 70.5 86.6 92.1 86.1 78.9 83.57 Qwen3Guard-Stream 4B 84.3 67.6 86.0 88.5 83.1 76.4 80.98 Shieldstral 3B 87.0 62.0 85.0 93.5 87.2 80.4 82.52 GPT-OSS-Safeguard 20B 88.2 63.8 83.8 93.8 75.2 80.7 80.92 WildGuard 7B 86.3 64.2 84.4 94.7 83.2 75.4 81.37 (Table 10 also has rows for LlamaGuard3/4, ShieldGemma-9B/27B, NemoGuard, PolyGuard-Qwen, OmniGuard, Nemotron-3.5-Safety, Qwen3Guard-Gen-0.6B, and Qwen3Guard-Stream-0.6B/8B, omitted here; the lowest average is ShieldGemma-9B at 62.33.)
- The authors state that HaloGuard 2.0-0.8B has the highest average in the table at 83.63, leading Qwen3Guard-Gen-4B/-8B (83.57) by 0.06 with 5–10× fewer parameters, and is 2.6 points above the strongest streaming baseline Qwen3Guard-Stream-4B (81.0).
- The largest gains over the base guardrail are on XSTest-R (+17.4) and WildG (+13.0) (Figure 4); the authors state these two benchmarks consist mainly of "safe responses to harmful-sounding prompts," exactly where the prompt-driven and lexical FP types concentrate; total FP drops from 1,465 to 912.
- Exceptions: HaloGuard 2.0-0.8B trails the best baseline on four benchmarks—BeaverTails by 3.6, Aegis 2.0 by 4.1, WildG by 8.8, XSTest-R by 9.3; on WildG the FNR is 30.1 (about 69 FP vs. 85 FN), and the authors state it misses nearly one-third of harmful responses, the main target for the next correction round.
Streaming behavior (paired onset test)
- What was measured: On 332 pairs, whether the guardrail triggers on the unsafe response and does not trigger on the safe twin.
- Results: The base guardrail handles only 13.9% of pairs correctly, triggers on both in 45.8%, triggers on neither in 40.4%, and never triggers only on the safe twin; its median first trigger on unsafe responses is 40 tokens before onset. Authors' interpretation: never getting a pair backwards shows it relies on the prompt shared by both.
- Similar evidence on benchmarks: For an intermediate model, 37.4% of FPs trigger within the first three tokens of the response; responses that will be falsely labeled score 0.59 on the first token, versus 0.24 for those that will not.
- Cost of averaging: Moving from equal-weight averaging to the pure correction model raises onset recall from 47.6% to 72.6% and lowers macro F1 from 81.0 to 76.3 (same verdict rule, an earlier Phase 2 round).
Multilingual evaluation
- What was measured: PolyGuardPrompts 17-language response labels, 29,053 items; Poly-0.8B training data shares no prompt–response pairs with the benchmark, and the correction data seeds come from that benchmark's failure cases.
- Results: Response F1 83.1 (17-language macro average, Table 13/16), 5.0 points above the strongest baseline on the same labels Qwen3Guard-Gen-4B (78.1) and 7.3 points above the strongest streaming guardrail Qwen3Guard-Stream-8B (75.8). By language group (Table 15): European 85.5, CJK 83.1, Arabic-script 82.7, Southeast Asian (Thai) 73.9, Indic (Hindi) 64.2, English reference 87.1.
- Error structure: Unlike the English version, the multilingual version has more false labels than misses (1,482 FP vs. 360 FN); the correction stage brings +18.2 F1 (English +10.9), with FN down 76% (1,531→360) and FP down 26% (1,999→1,482) (Table 14). Hindi's FNR reaches 22.2, and the authors state it misses more than one in five harmful responses.
Other ablations and analyses
- Relabeling only 19,033 borderline responses as safe (without unsafe twins): FPR halves but recall loses 17 points (Section 4.4).
- Early correction corpus with twins from different generators: held-out pair accuracy rises from 13.9% to 88%, but six-benchmark F1 gains only +0.16; the authors attribute part of the gap to generator confounding.
- On Aegis 2.0 the correction stage buys only recall: FNR drops from 23.9 to 7.9, FPR barely moves (27.7→27.0), and the authors state this is the only benchmark whose FP pattern did not respond to the correction data (Table 11).
- Aggregating the 12,347 responses, the released model has precision 84.1, recall 80.5, FPR 14.3%, FNR 19.5%, with more misses than false labels (Table 14).
- Serving cost: single H100, 512-token prefill, 22.2 ms per step at batch 1 and 23.7 ms at batch 64, i.e., 0.37 ms/token/stream at 64 concurrent streams; step latency is independent of response length (22.6/22.2/22.8 ms at 128/512/1,024 tokens).
- Input-layer comparison (Table 12): HaloGuard 1.0 averages 90.9 (0.8B)/92.1 (4B) on seven prompt benchmarks; on the three benchmarks that label both prompt and response, response classification is harder for models of the same scale (e.g., WildG 95.9 vs. 71.9), and the authors note this compares two tasks, not two models.
What are some points that can be further explored?
The authors list limitations including leakage before triggering, averaging sacrificing mid-stream detection, and no onset supervision in the multilingual version, and plan to study training methods that preserve streaming gains and larger models.
Limitations noted by the authors and future directions
- Leakage before triggering: A blocked harmful response has already emitted several tokens between onset and triggering; the authors suggest that deployers who cannot tolerate leakage for the most severe policies buffer a small segment of output before displaying it (Section 7).
- Cost of weight averaging: Averaging brings benchmark gains but sacrifices mid-stream detection ability; deployers who prioritize early blocking can choose weights biased toward the corrective side (Section 7).
- Phase 1 onset is inferred: Reviewers cite the first harmful segment and then match and locate it; responses where the two reviewers disagree have no onset, are marked contested and excluded from the loss; the authors state that the boundary between analytical details and operational steps is sometimes genuinely disputed (Section 7).
- Multilingual version has no onset supervision: PolyGuardMix has only response-level labels, and every unsafe multilingual response is supervised as unsafe from the first token throughout; its rule requires 3 tokens and cannot mark harmful responses of 1–2 tokens (Section 7).
- The two models have opposite error structures: The English version has more missed detections than false flags (most evident on WildG), while the multilingual version is the opposite; the authors suggest deployers calibrate thresholds according to their respective error structures; missed detections in Hindi and Thai are notably more than in the European and CJK language groups; training records are all monolingual, and code-switched inputs are only partially covered (Section 7).
- Future directions: Find training methods that preserve streaming improvements during averaging; try larger models (the authors state that sizes above 0.8B have not yet been tried); session-level scoring, category attribution, tool-call scoring, and joint evaluation of input and output guardrails on shared test concepts (Section 8); chain-of-thought training data is left for future versions (Section 6.4).
Scope of experimental coverage
- The models under test are the two 0.8B guardrails in this paper and their Phase 1 base version; baseline scores are cited from three reports, Qwen3Guard, Shieldstral and PolyGuard, and the authors did not rerun these baselines themselves (footnotes to Table 9/10/13).
- English evaluation covers six benchmarks totaling 12,347 responses; multilingual covers 29,053 entries in 17 languages of PolyGuardPrompts; the five model scores under the Shieldstral protocol (29,240 samples) are marked by the authors as "indicative only".
- The evaluation does not include RTP-LX (the authors state that its constitution does not treat rude content without harmful uplift as a harmful response), does not include responses containing chain of thought, and does not include refusal detection (Section 6.4).
- The two thresholds of the decision rule were selected by grid search on the evaluation benchmarks themselves, and the authors use a half split to estimate optimistic bias (83.3 held-out vs. 83.6 in-sample); the paper does not report the number of repeated runs for each benchmark.
- The paired onset test set (332 pairs) and the Phase 2 corpus come from the same generation pipeline, and the authors note that it will favor models trained on that corpus; the red-team protocol (Appendix B) describes the process, and the paper does not report its number of cycles or attack success rate figures.
Summarize the main content of the paper
Open-source 0.8B streaming output guardrail: token-by-token scoring plus a two-arm rule, two-stage training corrects the "prompt-only" shortcut, English macro F1 83.6, multilingual 83.1.
HaloGuard 2.0 is an open-weight streaming output guardrail technical report released by Astroware AI, whose goal is to judge safety token by token during response generation, so that a deployed system can immediately abort the stream when it confirms a boundary violation, filling the gap that input guardrails cannot see generated content.
- Problem to solve: The authors state that jailbreaks, gradual escalation, or benign requests may all turn harmful mid-response, and post-hoc moderation is too late in streaming settings; moreover, in regular corpora 97.8% of harmful responses are harmful from the first token, so a guardrail easily learns to judge only the prompt without reading the answer.
- Method highlights: Qwen3.5-0.8B plus a zero-initialized linear token head, a single forward pass outputs an unsafe probability for each response token, and a two-arm threshold rule (single token ≥0.975 or two consecutive tokens ≥0.70) latches the verdict; training has two stages—train the base guardrail on 478,532 constitution-organized responses, then build 106,043 paired counterfactual responses targeting its errors for corrective fine-tuning, and release the equal-weight average of the two models; unsafe responses are supervised token by token from onset, with ±16 tokens around onset weighted.
- English main results: On six response safety benchmarks (12,347 items), macro F1 rises from 72.8 for the base guardrail to 83.6 (83.3 on half-split held-out validation), and FP drops from 1,465 to 912; the authors state that with 0.8B parameters it matches the strongest full-response guardrail Qwen3Guard-Gen-4B/-8B (83.57) and is 2.6 points above the strongest streaming baseline.
- Streaming behavior evidence: On 332 paired tests the base guardrail handles only 13.9% correctly and never falsely triggers only on the safe twin, from which the authors judge that it makes decisions based on the prompt; the correction stage combined with weight averaging fixes this shortcut, but the authors report that averaging itself loses mid-stream detection ability (onset recall 47.6% vs. 72.6% for the pure correction model).
- Multilingual results: Poly-0.8B reaches 83.1 F1 on PolyGuardPrompts in 17 languages, 5.0 points above the strongest baseline; but Hindi (64.2) and Thai (73.9) lag clearly, and this version has no onset supervision and cannot flag responses shorter than 3 tokens.
- Authors' conclusions and implications: The authors argue that a streaming guardrail needs to learn two boundaries at once—the content boundary (distinguishing discussion from incitement) and the temporal boundary (when the evidence is sufficient)—and that training only on completions that are "harmful from the start" loses the latter; the remaining error is concentrated in WildG misses (FNR 30.1), and the authors plan to study training methods that preserve streaming gains under averaging and to try larger models.