ThinkingGuard: Decoding Implicit Hazards via Step-by-Step Risk Attribution in Multimodal Large Language Models

Ruochen Zhang, Yao Huang, Yitong Sun, Jiahe Xie, Jin Yan +3 more
9/29/2026
cs.CVcs.AIcs.LG

Official code: FroggyChen/ThinkingGuard (0 stars, last commit 2026-09-05).

Abstract

While Multimodal Large Language Models (MLLMs) are increasingly deployed in safety-critical domains, their reliability is threatened by multimodal implicit risks. Unlike explicit threats, these hazards emerge when individually benign text and neutral visual entities logically converge to induce unsafe outputs. Current detection methods fail to address this because they overlook the underlying risk activation mechanisms that govern cross-modal risk activation, leading to single-modality shortcut learning and hallucinated rationalizations. To bridge this gap, we first construct TriggerBench, the first dataset explicitly modeling risk compositionality (5,600 instances). By formally isolating Key Elements and Trigger Elements to build counterfactual contrastive pairs, TriggerBench eliminates risk residues and forces models to perform genuine logical deduction rather than superficial pattern matching, which provides a rigorous foundation for both large-scale training and fine-grained evaluation. Building on this, we propose a Step-Supervised Structured Reasoning training framework and employ it to train ThinkingGuard, a specialized guard model. Inspired by Situation Awareness theory, we decouple implicit risk identification into progressive cognitive stages, and utilize a step-reward Monte Carlo Tree Search algorithm to explore optimal reasoning trajectories, which are then distilled into the model through Dual-Constraint Preference Alignment. Extensive experiments across both standard and implicit safety benchmarks demonstrate that ThinkingGuard achieves strong performance. Project resources are available at https://github.com/FroggyChen/ThinkingGuard.

View on arXivView PDF

Code Implementations(1)

[ACMMM 2026]ThinkingGuard: Decoding Implicit Hazards via Step-by-Step Risk Attribution in Multimodal Large Language Models

00PythonJul 13, 20261 months ago

Similar Papers

Cite this paper

@article{zhang2026thinkingguard,
  title  = {ThinkingGuard: Decoding Implicit Hazards via Step-by-Step Risk Attribution in Multimodal Large Language Models},
  author = {Ruochen Zhang and Yao Huang and Yitong Sun and Jiahe Xie and Jin Yan and Jifan Ma and Yuanfang Guo and Xingxing Wei},
  year   = {2026},
  eprint = {2609.36562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.36562v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.36562.svg)](https://codeofpaper.com/paper/2609.36562)

Discussion