NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Shieldstral

Antonia Calvi, Avinash Sooriyarachchi, Giada Pistilli, Guillaume Lample, Maarten Buyl, Maximilian Augustin, Maximilian Müller, Pierre Stock, Tom Bewley, Wassim Bouaziz, Yimu Pan, Abdelaziz Bounhar, Abhijeet Somani, Aditi Kabra, Adrian Valente, Adrien Petralia, Adrien Sadé, Alan Jeffares, Albert Jiang, Aleksandr Timashov, Alexandre Cahill, Alexandre Gavaudan, Alexandre Laval, Alexandre Sablayrolles, Amélie Héliou, Amos You, André Jonasson, Andrew Bai, Andrew Ehrenberg, Andrew Zhao, Angele Lenglemetz, Anmol Agarwal, Arata Suzuki, Arjun Majumdar, Arthur Fournier, Artjom Joosen, Aylin Guliz Akkus, Aysenur Karaduman, Baptiste Bout, Baptiste Rozière, Baudouin De Monicault, Benjamin Holzschuh, Benjamin Lefaudeux, Benjamin Tibi, Bernhard Stadlbauer, Błażej Osiński, Camille Le Scao, Chaoran Yu, Charlotte Cronjäger, Chen-Yo Sun, Chris Bamford, Christian Wallenwein, Christophe Renaudin, Clémence Lanfranchi, Corentin Barreau, Corentin Sautier, Cristiana-Diana Diaconu, Cyprien Courtot, Daniel Marczak, Darius Dabert, Diego de Las Casas, Dominik Nuss, Dylan Rubini, Dzmitry Soupel, Elizaveta Demyanenko, Elliot Chane-Sane, Emilien Fugier, Emmanuel Gottlob, Erik Aas, Etienne Goffinet, Étienne Millon, Eujeong Choi, Fabian Paischer, Fabian Schlager, Faruk Ahmed, Federico Baldassarre, Filip Szatkowski, Florian Wiesner, Gabrielle Berrada, Gaëtan Ecrepont, Gaétan Lepage, Gaspard Blanchet, Gaspard Donada-Vidal, Gauthier Delerce, Gauthier Guinet, Genevieve Hayes, Georgii Novikov, Gianluca Galletti, Guillaume Breton, Guillaume Kunsch, Guillaume Martin, Guillaume Raille, Gunjan Dhanuka, Gunshi Gupta, Han Zhou, Harshil Shah, Hasan Furkan Vural, Hédi Hadiji, Hope McGovern, Hugo Cisneros, Hugo Thimonier, Indraneel Mukherjee, Ivan Cuevas Salazar, Jacques Sun, Jan Ludziejewski, Jason Rute, Jean Quentin, Jean-Hadrien Chabran, Jean-Malo Delignon, Jie Zhang, Joachim Studnia, Joep Barmentlo, Johannes Brandstetter, John Harvill, Jonas Amar, Jonas Schweizer, Joséphine Delas, Josselin Somerville, Julien Denize, Julien Tauran, Kartik Khandelwal, Khyathi Raghavi Chandu, Kilian Tep, Kush Jain, Larissa Laich, Laura Calem, Laurence Aitchison, Laurent Callot, Laurent Fainsin, Léo Cotteleer, Léonard Blier, Lingxiao Zhao, Louis Martin, Louis Serrano, Lucile Saulnier, Ludovic Ho Fuh, Luis Montero, Manon Chossegros, Marcin Możejko, Margaret Jennings, Markus Hennerbichler, Martin Alexandre, Mathieu Poirée, Mathieu Schmitt, Mathilde Guillaumin, Matthieu André, Matthieu Dinot, Matthieu Futeral, Maurits Bleeker, Mauro Comi, Max Mynter, Maxim Berman, Maxime Darrin, Maxime Louis, Melina Jingting Laimon, Mert Unsal, Mia Chiquier, Michael Pilcer, Michał Pietruszka, Michał Zając, Mikhail Biriuchinskii, Minh-Quang Pham, Minwoo Kang, Morgane Rivière, Namit Katariya, Nathan Grinsztajn, Nathan Simpson, Neeraj Aggarwal, Neha Gupta, Ola Mysiak, Oliver Leicht, Olivier Bousquet, Olivier Duchenne, Parag Jain, Patricia Wang, Patrick Blies, Patrick von Platen, Paul Jacob, Paul Wambergue, Paula Kurylowicz, Pavan Kumar Reddy, Pavel Kuksa, Philippe Pinel, Philomène Chagniot, Pierre-André Savalle, Piotr Milos, Prateek Gupta, Pravesh Agrawal, Quentin Desreumaux, Quentin Torroba, Quercus Hernandez, Ram Ramrakhya, Randall Isenhour, Ranjit Parva, Raul Perez Pelaez, Reinhard Sonnleitner, Rémi Delacourt, Richard Kurle, Rishi Shah, Rob Romijnders, Rohin Arora, Romain Sauvestre, Roman Soletskyi, Rosalie Millner, Rupert Menneer, Sagar Vaze, Samuel Barry, Samuel Belkadi, Samuel Humeau, Sanchit Gandhi, Sandeep Subramanian, Sarthak Mittal, Saskia Adaime, Sean Cha, Sebastian Kaltenbach, Shashwat Dalal, Shashwat Verma, Sherif Waly, Shrimai Prabhumoye, Siddhant Waghjale, Siddharth Gandhi, Simon Lepage, Simon Sorg, Soham Ghosh, Sophie Marbach, Srijan Mishra, Stanislas Lange, Steve Hong, Sumukh Aithal, Szymon Antoniak, Tarun Kumar Vangani, Teven Le Scao, Théo Cachet, Thibaut Lavril, Thomas Chabal, Thomas Coste, Thomas Defard, Thomas Foubert, Thomas Robert, Thomas Wang, Tianyu Zhang, Tim Lawson, Timothée Lacroix, Tobias Kronlachner, Tom Edwards, Tomas Hodan, Tuhin Das, Tyler Wang, Ulrick Ble, Umar Jamil, Umberto Tomasini, Valentin Macé, Van Phung, Vedant Nanda, Victor Jouault, Victor Letzelter, Victor Paltz, Victor Poucheret, Vincent Maladière, Vincent Pfister, Virgile Richard, Vladislav Bataev, Wen Ding Li, William Havard, William Marshall, Xinghui Li, Xingran Guo, Xinyu Yang, Yann Dreze, Yassine El Ouahidi, Yassir Bendou, Yihan Wang, Yves Martin des Taillades, Zaccharie Ramzi, Zhenlin Xu, Zsofia CsakanyarXiv 2026

TL;DR

Shieldstral is a compact, 3B-parameter multimodal safety classifier that unifies diverse content moderation tasks into a simple binary question-answering problem. By leveraging a massive 54.1-million-sample dataset and a flexible prompt structure, it matches or outperforms guardrail models up to 7× its size on text safety benchmarks and sets a new state-of-the-art for multimodal safety.

What Problem Does This Paper Address?

Most existing guardrail models classify content safety based on a rigid, fixed taxonomy of categories (e.g., flagging "violence" or "hate speech"). This approach suffers from two major limitations:

  1. Dataset Incompatibility: Public safety datasets are highly heterogeneous, meaning there is no single taxonomy that fits them all.
  2. Lack of Policy Adaptability: A fixed-category model cannot adjust to different deployment contexts. For instance, content that is perfectly acceptable for a cybersecurity research tool might be deeply harmful if presented on a mental health support platform.

The authors introduce Shieldstral to bridge this gap, creating a model that can adapt to custom, free-form natural language safety policies at inference time.

Methods

Shieldstral reformulates content moderation as a binary question-answering task. Instead of outputting a specific category, the model processes a structured prompt containing three main components:

  • <Instruct>: High-level task framing (e.g., defining the strictness level).
  • <Query>: A specific yes/no question about the safety rule (e.g., "Does this content promote physical violence?").
  • <Document>: The text and/or image content being evaluated.
Figure 1: Shieldstral architecture. An instruction, a natural-language query, and content (text, image, or both) are composed into a structured prompt, then processed by the model in a single forward pass. The softmax- normalised logits of the “yes” and “no” tokens yield a continuous safety score that is thresholded for binary classification.

The model is built on top of Ministral-3B-Base, utilizing a Pixtral vision encoder for native multimodal support. At inference time, the model evaluates the softmax-normalized log-probabilities of the "yes" and "no" tokens to produce a continuous safety score.

To train the model effectively without sacrificing standard benchmark performance, the authors use LoRA fine-tuning to create two distinct checkpoints: one trained on public safety data (P) and one trained on public data combined with generated taxonomy data (PG). They then use SLERP (Spherical Linear Interpolation) model merging to blend these checkpoints with the base instruct model, combining benchmark calibration with policy-adaptive generalization.

Datasets

The authors constructed a massive training pipeline totaling 54.1 million samples:

  • 45.2M open-source text samples unified into the instruction-query-document format.
  • 4.4M synthetic contrastive text samples generated by an LLM to teach the model subtle distinctions between similar categories.
  • 4.5M multimodal samples, supplementing limited visual moderation data with general-purpose image classification and object-detection datasets.

For evaluation, the authors tested Shieldstral across 16 standard benchmarks (including WildGuardTest, ToxicChat, HarmBench, and VLGuard). Crucially, they also designed a completely independent, symmetric evaluation taxonomy consisting of 12 superclasses and 52 leaf categories to test policy adaptability on entirely unseen safety rules.

Key Insights and Ideas

  • The Power of Binary QA Unification: Reducing safety to a simple "yes/no" question allows completely heterogeneous datasets with wildly different label formats (binary flags, multi-label taxonomies, etc.) to be consolidated under a single training framework.
  • Contrastive Curation is Essential: To make a model truly policy-adaptive, it isn't enough to just show it "unsafe" data. By pairing the same piece of content with both matching (positive) and non-matching (negative) queries, the model is forced to learn which specific policy a piece of content violates.
Example of contrastive training pairs generated from a single LLM call.
  • Efficiency via Single-Token Output: Unlike larger models that rely on heavy chain-of-thought reasoning traces to achieve policy flexibility, Shieldstral achieves high adaptability in a single forward pass, making it highly viable for low-latency production deployment.

Key Results

  • Top-Tier Text Safety: Despite its small 3B size, Shieldstral achieved an overall F1 score of 84.9% across text safety benchmarks, matching the performance of the 7× larger GPT-OSS-Safeguard-20B.
  • Multimodal State-of-the-Art: Shieldstral achieved an average F1 score of 83.8% on multimodal safety benchmarks, outperforming all evaluated baselines (including OmniGuard-7B at 77.6%).
  • High Adaptability: On the independent, fine-grained evaluation taxonomy, Shieldstral reached 91.3% F1, demonstrating a robust ability to generalize to novel, user-defined safety policies.

Limitations and Future Work

  • Low-Resource Languages: While Shieldstral performs strongly in high-resource languages, the authors note that it underperforms in prompt classification for lower-resource languages such as Arabic and Indonesian.
  • Visual Data Constraints: Modifying images at scale synthetically is far more difficult than modifying text. As a result, the multimodal pipeline relied primarily on query mutation rather than generating hard visual negatives. The authors suggest that grounding textual safety concepts more deeply into visual content remains an open area for improvement.

Summary updated

BibTeX
@misc{calvi2026shieldstral,
  author = {Antonia Calvi and Avinash Sooriyarachchi and Giada Pistilli and Guillaume Lample and Maarten Buyl and Maximilian Augustin and Maximilian Müller and Pierre Stock and Tom Bewley and Wassim Bouaziz and Yimu Pan and Abdelaziz Bounhar and Abhijeet Somani and Aditi Kabra and Adrian Valente and Adrien Petralia and Adrien Sadé and Alan Jeffares and Albert Jiang and Aleksandr Timashov and Alexandre Cahill and Alexandre Gavaudan and Alexandre Laval and Alexandre Sablayrolles and Amélie Héliou and Amos You and André Jonasson and Andrew Bai and Andrew Ehrenberg and Andrew Zhao and Angele Lenglemetz and Anmol Agarwal and Arata Suzuki and Arjun Majumdar and Arthur Fournier and Artjom Joosen and Aylin Guliz Akkus and Aysenur Karaduman and Baptiste Bout and Baptiste Rozière and Baudouin De Monicault and Benjamin Holzschuh and Benjamin Lefaudeux and Benjamin Tibi and Bernhard Stadlbauer and Błażej Osiński and Camille Le Scao and Chaoran Yu and Charlotte Cronjäger and Chen-Yo Sun and Chris Bamford and Christian Wallenwein and Christophe Renaudin and Clémence Lanfranchi and Corentin Barreau and Corentin Sautier and Cristiana-Diana Diaconu and Cyprien Courtot and Daniel Marczak and Darius Dabert and Diego de Las Casas and Dominik Nuss and Dylan Rubini and Dzmitry Soupel and Elizaveta Demyanenko and Elliot Chane-Sane and Emilien Fugier and Emmanuel Gottlob and Erik Aas and Etienne Goffinet and Étienne Millon and Eujeong Choi and Fabian Paischer and Fabian Schlager and Faruk Ahmed and Federico Baldassarre and Filip Szatkowski and Florian Wiesner and Gabrielle Berrada and Gaëtan Ecrepont and Gaétan Lepage and Gaspard Blanchet and Gaspard Donada-Vidal and Gauthier Delerce and Gauthier Guinet and Genevieve Hayes and Georgii Novikov and Gianluca Galletti and Guillaume Breton and Guillaume Kunsch and Guillaume Martin and Guillaume Raille and Gunjan Dhanuka and Gunshi Gupta and Han Zhou and Harshil Shah and Hasan Furkan Vural and Hédi Hadiji and Hope McGovern and Hugo Cisneros and Hugo Thimonier and Indraneel Mukherjee and Ivan Cuevas Salazar and Jacques Sun and Jan Ludziejewski and Jason Rute and Jean Quentin and Jean-Hadrien Chabran and Jean-Malo Delignon and Jie Zhang and Joachim Studnia and Joep Barmentlo and Johannes Brandstetter and John Harvill and Jonas Amar and Jonas Schweizer and Joséphine Delas and Josselin Somerville and Julien Denize and Julien Tauran and Kartik Khandelwal and Khyathi Raghavi Chandu and Kilian Tep and Kush Jain and Larissa Laich and Laura Calem and Laurence Aitchison and Laurent Callot and Laurent Fainsin and Léo Cotteleer and Léonard Blier and Lingxiao Zhao and Louis Martin and Louis Serrano and Lucile Saulnier and Ludovic Ho Fuh and Luis Montero and Manon Chossegros and Marcin Możejko and Margaret Jennings and Markus Hennerbichler and Martin Alexandre and Mathieu Poirée and Mathieu Schmitt and Mathilde Guillaumin and Matthieu André and Matthieu Dinot and Matthieu Futeral and Maurits Bleeker and Mauro Comi and Max Mynter and Maxim Berman and Maxime Darrin and Maxime Louis and Melina Jingting Laimon and Mert Unsal and Mia Chiquier and Michael Pilcer and Michał Pietruszka and Michał Zając and Mikhail Biriuchinskii and Minh-Quang Pham and Minwoo Kang and Morgane Rivière and Namit Katariya and Nathan Grinsztajn and Nathan Simpson and Neeraj Aggarwal and Neha Gupta and Ola Mysiak and Oliver Leicht and Olivier Bousquet and Olivier Duchenne and Parag Jain and Patricia Wang and Patrick Blies and Patrick von Platen and Paul Jacob and Paul Wambergue and Paula Kurylowicz and Pavan Kumar Reddy and Pavel Kuksa and Philippe Pinel and Philomène Chagniot and Pierre-André Savalle and Piotr Milos and Prateek Gupta and Pravesh Agrawal and Quentin Desreumaux and Quentin Torroba and Quercus Hernandez and Ram Ramrakhya and Randall Isenhour and Ranjit Parva and Raul Perez Pelaez and Reinhard Sonnleitner and Rémi Delacourt and Richard Kurle and Rishi Shah and Rob Romijnders and Rohin Arora and Romain Sauvestre and Roman Soletskyi and Rosalie Millner and Rupert Menneer and Sagar Vaze and Samuel Barry and Samuel Belkadi and Samuel Humeau and Sanchit Gandhi and Sandeep Subramanian and Sarthak Mittal and Saskia Adaime and Sean Cha and Sebastian Kaltenbach and Shashwat Dalal and Shashwat Verma and Sherif Waly and Shrimai Prabhumoye and Siddhant Waghjale and Siddharth Gandhi and Simon Lepage and Simon Sorg and Soham Ghosh and Sophie Marbach and Srijan Mishra and Stanislas Lange and Steve Hong and Sumukh Aithal and Szymon Antoniak and Tarun Kumar Vangani and Teven Le Scao and Théo Cachet and Thibaut Lavril and Thomas Chabal and Thomas Coste and Thomas Defard and Thomas Foubert and Thomas Robert and Thomas Wang and Tianyu Zhang and Tim Lawson and Timothée Lacroix and Tobias Kronlachner and Tom Edwards and Tomas Hodan and Tuhin Das and Tyler Wang and Ulrick BLE and Umar Jamil and Umberto Tomasini and Valentin Macé and Van Phung and Vedant Nanda and Victor Jouault and Victor Letzelter and Victor Paltz and Victor Poucheret and Vincent Maladière and Vincent Pfister and Virgile Richard and Vladislav Bataev and Wen Ding Li and William Havard and William Marshall and Xinghui Li and Xingran Guo and Xinyu Yang and Yann Dreze and Yassine El Ouahidi and Yassir Bendou and Yihan Wang and Yves Martin des Taillades and Zaccharie Ramzi and Zhenlin Xu and Zsofia Csakany},
  title = {{Shieldstral}},
  year = {2026},
  eprint = {2607.25857},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.25857},
}
Figure