Anthropic、多言語・多モーダル安全分類器「Shieldstral」を発表
本文の状態
日本語全文を表示中
詳細モードで約8分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
TLDR AI
Anthropic は、テキスト安全性で最大 7 倍のモデルに匹敵し、多モーダルモデレーションで新 SOTA を達成する 3B パラメータのオープンウェイト AI「Shieldstral」を発表した。
AI深層分析を開く2026年8月5日 23:44
AI深層分析
キーポイント
ポリシー適応型アーキテクチャ
従来の固定されたハームカテゴリに依存せず、推論時に自然言語の質問としてポリシーを記述することで、再学習なしで異なるコンテキストや厳格さに即座に対応する。
高性能な軽量モデル
3B パラメータという小型サイズでありながら、テキスト安全性において 7 倍の規模を持つ既存モデルに匹敵し、多モーダルモデレーションで新たな最高性能を記録する。
単一インターフェースでの統合
プロンプト分類、レスポンスモデレーション、拒絶検出、毒性検出を一つのタスクとして統一し、テキストと画像の両方を単一のモデルで処理する。
オープンウェイトとしての公開
Mistral AI は NVIDIA 等と共に設立した「Open Secure AI Alliance」の初回メンバーとして、同社を Apache 2.0 ライセンスの下で Hugging Face で公開した。
多様なデータソースの統合と統一フォーマット
異なる分類体系やラベル形式を持つ安全データセットを、統一された指示・クエリ・ドキュメント形式に変換して1つの枠組みに統合する。
重要な引用
"Shieldstral takes a different approach: you write the policy as a plain-language question at inference time, and the model returns a calibrated safety score."
"matches or outperforms open guard models up to 7× its size across text safety"
If trained on a fixed set of policy labels, a model learns only to classify those predefined policies, rather than reasoning about the precise boundaries of a given policy.
We construct sets of deliberately similar, easily confused policies and ask an LLM to rewrite safe text into contrastive pairs.
編集コメントを表示
編集コメント
Mistral AI が公開した Shieldstral は、安全対策の柔軟性と効率性を劇的に向上させる画期的なアプローチを示している。特に、再学習不要でポリシーを動的に適用できる点は、多様なユースケースに対応する現代の AI 開発において極めて重要な価値を持つ。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Thinking
概要
テキストの安全性において 7 倍規模のモデルに匹敵し、マルチモーダルなモデレーションでは新たな最高記録を達成した、3B パラメータのオープンウェイト・ポリシー適応型マルチモーダル安全分類器です。
「このコンテンツは保護されたグループに対する暴力を扇動していますか?この画像は未成年者に見せても安全ですか?アシスタントはこのリクエストを拒否しましたか?」
モデルを実装するすべてのプロダクトは、こうした問いに答えなければなりません。しかし、適切な回答はプロダクトの内容や対象ユーザー、そしてその瞬間の状況によって異なります。あるコンテンツがサイバーセキュリティ研究ツールでは問題なくても、メンタルヘルスプラットフォームでは有害となる可能性があります。従来のガードレールモデルは、危害のカテゴリを固定された分類体系として重みに埋め込んでしまうため、新しい展開コンテキストに合わせてターゲットを絞り直すには再学習が必要です。さらに、安全性の定義はアプリケーションやドメインによって異なるため、そもそも「正解」となるカテゴリセットなど存在しません。
Shieldstral はこれとは異なるアプローチを採用しています。推論時に平易な言葉でポリシーを質問として記述するだけで、モデルが補正された安全スコアを返します。再学習は不要で、テキストと画像の両方を一つのインターフェースで扱い、結果は単一のトークンから得られる判定となります。詳しくは、こちらの技術報告書をご覧ください。
NVIDIA や他の組織と共に「Open Secure AI Alliance」の創設メンバーとして、本日私たちはShieldstralを Apache 2.0 ライセンスの下でオープンウェイトモデルとして公開します。ダウンロードはこちらから可能です。
モデレーションを「質問」に置き換える
Shieldstral は、コンテンツのモデレーションを二値の質問応答タスクとして捉えています。各リクエストには以下の 3 つの部分があります。
*— 評価の文脈、厳格さ、および(任意で)何が不安全なコンテンツに該当するかという定義。- `` — はい/いいえで答える単一の質問。例:"このコンテンツは身体的暴力を促進していますか?"
- `` — 判断対象となるコンテンツ。プロンプト、レスポンス、プロンプトとレスポンスのペア、あるいはテキスト付きの画像などです。
推論時にはモデルは yes と no のロジットのみを読み取り、これをソフトマックス正規化して連続的な安全性スコアに変換します。このシンプルな定式化には多くの利点があります。プロンプト分類、レスポンスモデレーション、拒絶検出、毒性検出といった多様なタスクを単一の問題に統合できるからです。また、ポリシーをプロンプト内に完全に記述できるため、デプロイ時に新しいポリシーに対応する際にも 1 つのチェックポイントで済みます。
ハイライト
- 強力なパフォーマンス — テキスト安全性、拒絶検出、ポリシー適応性、マルチモーダルベンチマークにおいて、オープンガードモデルの最大 7 倍の規模に匹敵し、場合によっては上回る性能を発揮します。
- 適応性と柔軟性 — 単一の自然言語インターフェースで、プロンプト、レスポンス、およびプロンプトとレスポンスのペアにわたるテキスト、画像、そしてテキスト+画像のコンテンツをカバーします。ポリシーは自由形式のクエリとして提供され、再学習なしで推論時にターゲットを変更できます。
- 小型かつ多様なソースで訓練 — 16GB GPU 1 枚で動作する 3B モデルです。多様なラベル形式と分類体系を持つ実データと合成データを統合し、単一のフレームワークとして訓練されています。
- 継続的な安全性スコア — 単一の順伝播から較正された
yes/noの確率を返すため、離散的なラベルに依存するのではなく、信頼度に基づいて閾値を設定したりランキング付けたりできます。 - オープンソース — Apache 2.0 ライセンスのモデル重みです。
ベンチマーク
Shieldstral を、4 つの軸において最大で自身より 7 倍大きいオープンガードモデルと比較して評価しました。すべての評価サンプルは訓練データから除外されています。
構築方法
核となるアイデアは、「データが適切であれば、小型モデルが大規模モデルを上回れる」という点です。データを適切に整えるためには、4 つの課題を解決する必要がありました。
多様なデータを統一する。公共安全に関するデータセットは、分類体系やラベル、注釈の規約において互いに矛盾しています。例えば、単純な「安全/不安全」の二値フラグから、細粒度なマルチラベル分類まで様々です。私たちは各データセット専用のプロセッサを用いて、すべてのデータを統一された「指示–クエリ–ドキュメント」形式に変換します。さらに、指示やクエリの表現、プロンプトとレスポンスの区切り方を意図的に変化させることで、モデルが特定のスタイルに過学習するのを防ぎ、さまざまな言い回しに対応できる汎化能力を身につけさせます。また、データソースごとに厳格さを調整します。敵対的なジャイルブレイク攻撃には厳しい基準を適用し、レスポンスの品質に関するデータには緩い基準を採用することで、モデルが適切な判断境界線を学習できるようにします。これにより、本来は互換性のない複数の情報源を統合することが可能になります。
暗記ではなく、識別力を教える。固定されたポリシーラベルセットで訓練すると、モデルはその事前に定義されたポリシーを分類するだけになり、特定のポリシーの正確な境界線について推論する力が育ちません。その結果、新しいポリシーへの一般化が阻害されてしまいます。そこで私たちは、意図的に似ていて混同しやすいポリシーのセットを構築し、大規模言語モデル(LLM)に安全なテキストを対照的なペアへと書き換えさせます。各書き換えは、特定のポリシーには違反するが、その関連する別のポリシーには違反しないように設計されています。これにより、モデルはコンテンツが「どの具体的なポリシー」に違反しているかを識別するスキルを習得します。この能力は、推論時に未見のユーザー定義ポリシーに対しても転移可能です。
画像の安全性を確保する。 画像はテキストのように LLM が自由に合成できるものではないため、視覚的な安全データは限られています。この課題に対処するため、限られたモデレーション用データセットに汎用画像データセットを高品質なネガティブ例として追加し、クエリを変異させてデータセットを拡張します。さらに、すべての画像とクエリのペアをビジョン・ランゲージの再ランクャーに通すことで、誤ラベルされたデータやハルシネーション(幻覚)を削減しています。
補完的なチェックポイントを組み合わせる。 LoRA による微調整と SLERP を用いたマージを行い、公開データでキャリブレーションされたチェックポイント、生成データから細粒度のポリシー識別能力を追加したチェックポイント、そしてベースとなるインストラクションモデルを統合します。このマージにより、単一のモデル内で共通するポリシーのキャリブレーションと適応力を回復し、ベースモデルが持つ指示従順性をモデレーションタスクへ転移させます。
Forge での構築。 Shieldstral は、カスタムモデルのトレーニング、アライメント、評価を行うプラットフォームである Forge の上でエンドツーエンドで構築されました。Forge が最先端の分散学習基盤の上でインフラストラクチャ、データとモデルのシャード化、メトリクス、ログ管理を担ったため、チームは安全性モデルの品質を決める「データ」の開発に集中できました。
次のステップ
Shieldstral は、すべての製品を一つの凍結された分類体系に押し込むのではなく、文脈に応じて適応するモデレーションへの一歩です。私たちは多言語対応の拡大、長文ドキュメントに対する堅牢性の向上、そしてより広範なマルチモーダル安全性の研究を続けています。コミュニティがこれの上にどのような成果を生み出すか、楽しみにしています。
*追伸:採用情報です!AI の向上に貢献したい方は、キャリアページをご覧ください。*
原文を表示
Thinking
Summary
A 3B open-weights, policy-adaptive multimodal safety classifier that matches models up to 7x its size on text safety and sets a new state of the art on multimodal moderation.
“Does this content promote violence against a protected group? Is this image safe to show to a minor? Did the assistant refuse the request?”
Every product that ships a model needs to answer questions like these — but the right answer depends on the product, the audience, and the moment. The same content can be fine for a cybersecurity research tool and harmful on a mental-health platform. Most guardrail models bake a fixed taxonomy of harm categories into their weights, so re-targeting them to a new deployment context means retraining. And because safety definitions differ across applications and domains, there is no single "correct" set of categories to model in the first place.
Shieldstral takes a different approach: you write the policy as a plain-language question at inference time, and the model returns a calibrated safety score. No retraining, one interface for text and images, and a verdict from a single token. Please refer to our technical report here.
As an inaugural member of the Open Secure AI Alliance with NVIDIA and other organizations, today we're releasing Shieldstral as open weights under Apache 2.0, available for download here.
Moderation as a question
Shieldstral frames content moderation as a binary question-answering task. Each request has three parts:
- <Instruct> — the evaluation context, strictness, and (optionally) a definition of what counts as unsafe content.
- <Query> — a single yes/no question, e.g. "Does this content promote physical violence?"
- <Document> — the content to judge: a prompt, a response, a prompt–response pair, or an image with optional text.
At inference the model reads out only the yes and no logits and softmax-normalizes them into a continuous safety score. This one simple formulation does a lot of work: it unifies prompt classification, response moderation, refusal detection, and toxicity detection into a single problem; it lets policies live entirely in the prompt, so one checkpoint adapts to novel policies at deployment time.
Highlights
- Strong performance — matches or outperforms open guard models up to 7× its size across text safety, refusal detection, policy adaptability, and multimodal benchmarks.
- Adaptive and flexible — a single natural-language interface covers text, image, and text+image content across prompts, responses, and prompt–response pairs. Policies are supplied as free-form queries and re-targeted at inference time, without retraining.
- Small, trained on heterogeneous sources — a 3B model that runs on a single 16GB GPU, trained on real and synthetic data with diverse label formats and taxonomies, consolidated into one framework.
- Continuous safety score — returns a calibrated yes/no probability from a single forward pass, so you can threshold or rank by confidence rather than relying on a discrete label.
- Open — Apache 2.0 weights.
Benchmarks
We evaluate Shieldstral against open guard models up to 7x its size across four axes. All evaluation samples are held out from training.
How we built it
The core idea is that a small model can beat much larger ones if the data is right. Getting the data right meant solving four problems:
Unify heterogeneous data. Public safety datasets disagree on taxonomies, labels, and annotation conventions — from binary safe/unsafe flags to fine-grained multi-label taxonomies. We convert every dataset into the same instruction–query–document format with a per-dataset processor, and we vary the wording of instructions, queries, and prompt–response delimiters so the model generalizes across phrasing instead of overfitting to one style. We also calibrate strictness per source — strict for adversarial jailbreaks, lenient for response-quality data — so the model learns *calibrated* decision boundaries. This lets us consolidate sources that would otherwise be incompatible.
Teach discrimination, not memorization. If trained on a fixed set of policy labels, a model learns only to classify those predefined policies, rather than reasoning about the precise boundaries of a given policy. This prevents generalization to novel policies. Instead, we construct sets of deliberately similar, easily confused policies and ask an LLM to rewrite safe text into contrastive pairs: each rewrite is engineered to violate one policy but not its sibling. This trains the model to *distinguish which specific policy a piece of content violates*, a skill that transfers to unseen, user-defined policies at inference time.
Ground safety in images. Unsafe images can't be synthezised by an LLM the way text can, so visual safety data is scarce. We supplement limited moderation datasets with general-purpose image datasets as high-quality negatives, mutate queries to augment the dataset, and filter every image–query pair through a vision–language reranker to reduce mislabeled data and hallucinations.
Combine complementary checkpoints. We fine-tune with LoRA and merge — via SLERP — a checkpoint calibrated on public data, one that adds fine-grained policy discrimination from generated data, and the base instruct model. The merge recovers common policy calibration and policy adaptability in a single model, and instruction-following from the base model transfers to the moderation task.
Forge. We built Shieldstral end to end on Forge, our platform for training, aligning, and evaluating custom models. Forge managed the infrastructure, data and model sharding, metrics, and logging on top of state-of-the-art distributed training, so the team could stay focused on the data which is what determines the safety model's quality.
What's next
Shieldstral is a step toward moderation that adapts to context instead of forcing every product through one frozen taxonomy. We're continuing to push on multilingual coverage, longer-document robustness, and broader multimodal safety — and we'd love to see what the community builds on top of it.
*BTW, we're hiring! If you want to help make AI better, see our *careers page*.*
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み