yuebanlaosiji/Sentinel-VL-4B
End-to-end 4B Multimodal Guardrail distilled from DeepSeek-V4.1-Flash-1017 onto Qwen/Qwen3-VL-4B-Instruct.
Covers Prompt Injection / Jailbreak (B), Content Policy Compliance (C), and Cross-Modal Joint Attacks (D) in a single max_tokens=1 forward pass.
Branches & Weights
main: Standalone merged BF16 weights (safetensors).
fp8: Ada/Hopper W8A8-FP8 (compressed-tensors FP8_DYNAMIC) with Vision Tower + Merger preserved in BF16.
Calibrated Scoring Parameters
| Parameter |
Value |
Description |
| Temperature ($T$) |
0.8696 |
Fitted on FP8 validation logits |
| Direct Pass |
< 0.1810 |
Allow immediately |
| Gray-Zone Async Review |
[0.1810, 0.9422) |
Allow/challenge per policy & sample for flywheel |
| Direct Block |
>= 0.9422 |
High-confidence malicious (<= 0.5% FPR target) |
Locked Token IDs (A/B/C/D) |
{'A': 32, 'B': 33, 'C': 34, 'D': 35} |
Apply uniform logit_bias: +100 with top_logprobs=4 |
Golden Test Benchmark
| Metric |
Score |
| PR-AUC |
0.9827 |
| ROC-AUC |
0.9767 |
| Recall @ 1.0% FPR |
0.8051 |
| Recall @ 0.5% FPR |
0.7978 |
| Calibrated ECE |
0.0447 |