Shieldstral 1.0 3B: Mistral's Policy-Adaptive Multimodal Safety Classifier

August 9, 2026news

Mistral AI released Shieldstral 1.0 3B on August 4, 2026 — a 3-billion-parameter, Apache 2.0-licensed safety classifier that reframes content moderation as a single yes/no query answered in one forward pass. Built on Ministral-3-3B-Base-2512 with a native Pixtral vision encoder, it covers both text and image-plus-text inputs without separate model checkpoints. For teams building on smaller open-weight models, Shieldstral represents a shift in how guardrail logic is delivered: the policy lives in the prompt, not the weights.

The practical consequence is that operators replace retraining cycles with a plain-language question. A cybersecurity research tool and a mental-health platform can enforce entirely different moderation rules from the same 3B checkpoint — each call supplies its own <Instruct> context, <Query> policy question, and <Document> payload, and the model normalises its output over only the yes and no token IDs via softmax, producing a continuous score thresholded at τ=0.5. Multi-tenant SaaS platforms get a specific structural win: one model instance, per-customer policies, zero weight duplication.

Architecture and Inference Design

The forward pass structure is deliberate: a fixed system message establishes the task framing, and all policy specificity is pushed into the user message's three fields. Because the model only ever unembeds toward two token IDs, the output is a calibrated probability rather than a label — teams can tune the threshold per surface or route borderline scores to human review instead of hard-blocking. Mistral's guidance is one policy per call; for a broad safe/unsafe verdict, list all relevant categories inside <Instruct> and pose a single wide <Query>. This collapses prompt classification, response moderation, refusal detection, and toxicity detection into one problem formulation.

Deployment paths are already in place at release: vLLM ≥0.26.0 (recommended), llama.cpp via GGUF conversion with Q8_0, Q5_K_M, and Q4_K_M quantisation levels, SGLang, and Hugging Face Transformers. Fine-tuning is supported through Axolotl. The model fits in 16 GB of VRAM in BF16, running on a single GPU — within reach of teams that cannot justify a moderation vendor contract while also satisfying the data-residency requirements that drive enterprise VPC and on-prem deployments. For agentic pipelines where output gating adds latency at every step, the single-token emission keeps inference cost well below reasoning-based alternatives like GPT-OSS-Safeguard-20B.

Data Recipe: Scale and Contrastive Construction

Shieldstral's training corpus totals approximately 54.1 million samples: 45.2M open-source text samples, 4.4M synthetic contrastive text samples, and 4.5M multimodal samples. A template-based unification layer converts every source dataset into a shared instruction–query–document format through per-dataset processors, with randomised phrasings and calibrated strictness levels — strict for adversarial jailbreak content, lenient for response-quality data.

The 4.4M contrastive samples are the mechanistically interesting piece. An LLM rewrites a safe text into an unsafe variant that violates a target category but deliberately leaves sibling categories unviolated, producing a positive and a hard negative from a single generation call over identical underlying content. The model learns which specific policy is violated rather than a coarse safe/unsafe boundary — the claimed mechanism behind policy generalisation at inference time. Image data, which resists text-style synthesis, is supplemented with general-purpose image datasets as negatives, query mutation across a 14-subcategory visual taxonomy, and vision–language reranker filtering. Training used LoRA fine-tuning followed by a three-way SLERP merge with weights of 0.6 for public-plus-generated data, 0.3 for public-only data, and 0.1 for Ministral-3B-Instruct. The trained context window is 32,768 tokens across 12 languages.

Benchmark Results

Model Params Text Safety F1 (%) Multimodal Safety F1 (%) Adaptability F1 (%) Refusal Detection F1 (%)
Shieldstral-1.0-3B 3B 84.9 83.8 91.3 91.5
GPT-OSS-Safeguard 20B 84.9 94.1 93.7
Nemotron-3.5-Safety 4B 83.3 73.9 91.8
Qwen3Guard 8B 84.0 70.9 90.7
OmniGuard 7B 77.4 77.6 68.6
LlavaGuard 7B 71.6
WildGuard 7B 79.5 56.2 90.2
LlamaGuard-4 12B 69.1 37.5 38.8
ShieldGemma 9B 54.7 89.3

On individual text benchmarks, Shieldstral scores 99.4% F1 on HarmBench, 87.2% on Aegis v2 response, and 84.1% on ToxicChat. Multimodal results include 97.7% on VLGuard and 81.8% on UnsafeBench; LlavaGuard-7B still leads its namesake benchmark at 81.4%. The adaptability benchmark is constructed from a deliberately divergent taxonomy — 12 super classes, 26 subcategories, and 52 leaf categories with 90 fixed canonical queries, where no leaf maps one-to-one to the 11-super-class, 73-leaf training taxonomy — making Shieldstral's 91.3% there harder to attribute to label memorisation. GPT-OSS-Safeguard-20B leads adaptability at 94.1% and refusal detection at 93.7%, and it generates a reasoning trace; Shieldstral produces neither a reasoning trace nor its associated latency cost.

Documented weak points: multilingual prompt classification lags on Arabic and Indonesian, RTP-LX prompt F1 sits at 70.3 versus 86.1 for Nemotron-3.5-Safety-4B, and reliability drops on adversarial or obfuscated inputs and very long documents. These gaps matter for deployments where security-aware prompt handling is already a concern.

Shieldstral's aggregate text F1 matches GPT-OSS-Safeguard-20B at 84.9% while carrying roughly 6.7× fewer parameters, and it leads all evaluated baselines on multimodal safety — shifting the cost calculus for every team currently licensing a moderation API. Apache 2.0 licensing and single-GPU fit remove the two most common blockers to self-hosted guardrails. Whether the multilingual gaps close in subsequent versions will determine how far that shift extends beyond English-primary deployments.