Mistral Releases Shieldstral: An Open-Weight 3B Content Moderation Model
Translated by a model; the original is in Russian.
Mistral has unveiled Shieldstral — a multimodal safety classifier with 3 billion parameters and open weights. The model is released under the Apache 2.0 license and, according to the company, runs on a single NVIDIA GPU with 16 GB of memory. Despite this modest size, it is said to match open “guardian” models seven times larger, and to set a new state of the art on multimodal moderation.
Policy as a question
The core idea behind Shieldstral is that moderation is framed as a binary question-and-answer task. Conventional guardrail models bake a fixed set of harm categories straight into their weights, and retraining is required to point them at a new task. Mistral rightly notes that there is no single correct set of categories: the very same material is safe for a cybersecurity tool and harmful on a mental-health platform.
So here the policy is written in plain words right while the model is running. A request has three parts: the evaluation context and strictness (Instruct), a single yes/no question — for example, “does this content promote violence?” (Query), and the material to be checked itself: text, a query-response pair, or an image (Document). The model reads the logits of the yes and no tokens and turns them into a continuous safety score in a single pass. This formulation unifies query classification, response moderation, refusal detection, and toxicity identification into one task, and the policies themselves can be changed without retraining.
Betting on data
The developers stress the point: a small model beats large ones if the data is prepared correctly. Heterogeneous public datasets — from binary labels to detailed multi-level taxonomies — are brought to a common format, and the wording of the instructions is varied so the model does not overfit to a single style. To teach it to discriminate rather than memorize, pairs of nearly indistinguishable policies were created: text was rewritten so as to violate one policy but not its neighbor. For images, which cannot be synthesized by a language model, additional sets were used along with filtering through a vision-language reranker.
The final model was assembled by merging several LoRA checkpoints with the SLERP method, and training was carried out on the company's in-house Forge platform.
Shieldstral was released as part of the Open Secure AI Alliance together with NVIDIA and other organizations. On the roadmap: multilinguality, robustness on long documents, and expanded multimodal safety.
Source: Hacker News
Comments
Sign in, to comment.