Guarding with Judgment: Learning to Intervene for Multimodal Safety
Organizations: Renmin University of China
Abstract
When visual context makes an ordinary request unsafe to answer as asked, a blanket refusal may leave the user's need unresolved. Choosing how to help requires distinguishing an established hazard from a condition that still needs verification, a distinction that binary safety labels leave unspecified. We formulate this decision through four actions: allow, warn, review, and refuse. To ground these decisions in verifiable evidence, we build a corpus of 20,126 training audits and the JudiBench benchmark, connecting each action to diagnostic judgments, source evidence, and controlled context changes. Our guard, JudiAct, separately states what the source establishes, what condition governs the help, and how the rules apply. It then checks these three brief review items against the original inputs to predict diagnostic labels and a handling action. Supervised training learns individual judgments while comparing label assignments across related cases. A second stage swaps one review item at a time, using the resulting audit feedback to refine review generation. On JudiBench, JudiAct improves request and answer Macro-F1 by more than 28 percentage points over its 4B backbone. Across nine public benchmarks, it outperforms state-of-the-art guards on the mean delivered-answer score in both pre-generation and post-generation settings, cutting MM-SafetyBench attack success from 40.78% to 25.30%.
Figures & tables
| Input | Annotations | Context | ||||
|---|---|---|---|---|---|---|
| Resource | Image | Four actions | Answer audits | Diag. labels | Ground. | Pairs / quartets |
| VLSBench [ 11 ] | – | – | – | – | – / – | |
| SIUO [ 28 ] | – | – | – | – | – / – | |
| WildGuard [ 7 ] | – | – | – | – | – / – | |
| SafeAtlas-VL [ 29 ] | – | – | – | – / – | ||
| MSSBench [ 37 ] | – | – | – | – | / – | |
| Request audit: F1 | Answer audit: F1 | |||||||||
| Model | Macro | Allow | Warn | Review | Refuse | Macro | Allow | Warn | Review | Refuse |
| Qwen3-VL-4B [ 2 ] | 43.84 | 71.68 | 6.15 | 27.39 | 70.14 | 42.48 | 83.88 | 1.06 | 17.86 | 67.13 |
| Qwen3-VL-8B [ 2 ] | 43.98 | 73.91 | 5.86 | 22.27 | 73.87 | 44.77 | 86.78 | 2.56 | 18.10 | 71.64 |
| GR-VL-Eco-3B [ 16 ] | 30.75 | 64.42 | 1.64 | 8.93 | 48.00 | 37.81 | 79.95 | 4.11 | 2.53 | 64.66 |
| GR-VL-7B [ 16 ] | 29.71 | 63.86 | 0.48 | 0.00 | 54.51 | 27.67 | 72.13 | 1.06 | 0.00 | 37.47 |
| GR-Omni-7B [ 38 ] | 28.62 | 56.95 | 21.59 | 0.00 | 35.93 | 25.44 | 43.60 | 19.19 | 0.00 | 38.96 |
| Overall | Risk suppression | Assistance and context | |||||||||||
| VLS Bench [ 11 ] | MMSB [ 15 ] | Harm Bench [ 18 ] | SORRY [ 30 ] | MSTS [ 27 ] | MMSB ++ [ 34 ] | SIUO [ 28 ] | XSTest [ 26 ] | MSS Bench [ 37 ] | |||||
| Guard | Mean 9 | Safe | ASR | ASR | Non- comp. | Safe | Risk 5 | CCR | Joint | Bal. | Bal. | Context Mean 4 | |
| No guard | 72.33 | – | 58.55 | 59.22 | 85.94 | 80.45 | 98.21 | 76.47 | 78.33 | 47.31 | 85.70 | 57.25 | 67.15 |
| Pre-generation guarding | |||||||||||||
| Qwen3-VL-4B | 73.28 | +0.95 | 87.91 | 64.42 | 90.31 | 92.50 | 98.64 | 86.76 | 56.88 | 43.71 | 77.00 | 48.13 | 56.43 |
| Qwen3-VL-8B | 72.90 | +0.58 | 70.95 | 61.25 | 88.44 | 87.50 | 98.57 | 81.34 | 74.71 | 43.71 | 84.05 | 46.95 | 62.36 |
| BT-V | SPA-VL | WildGuard | ||||
|---|---|---|---|---|---|---|
| Model | Ans. | Req. | Ans. | Req. | Ans. | Mean 3 |
| Qwen3-VL-4B | 33.88 | 39.02 | 40.31 | 56.42 | 44.84 | 41.39 |
| Qwen3-VL-8B | 70.67 | 59.96 | 69.24 | 68.23 | 57.70 | 66.08 |
| GR-VL-Eco-3B | 64.38 | 84.34 | 72.41 | 88.81 | 78.78 | 75.52 |
| GR-VL-7B | 50.89 | 83.47 | 71.25 | 88.95 | 79.63 | 70.85 |
| GR-Omni-7B [ 38 ] | 60.33 | 62.24 | 59.75 | 87.77 | 75.78 | 67.70 |
| Action F1 | Cross-modal ( / SIUO) | ||||
|---|---|---|---|---|---|
| Training setup | Req. | Ans. | Pre | Post | |
| Action-only SFT | 73.77 | 69.92 | n/a | 37.72 | 42.51 |
| SFT w/o CM | 74.02 | 70.13 | 49.23 | 43.11 | 46.71 |
| Stage-1 SFT | 75.19 | 70.68 | 50.52 | 40.72 | 45.51 |
| No policy update | 74.99 | 70.40 | 50.02 | 40.12 | 44.91 |
| JudiAct | 75.28 | 71.21 | 52.74 | 43.71 | 46.71 |
Appendix figures & tables31 assets
Supplementary material from the paper’s appendix.
Appendix
| Human agreement | Adjudication | ||||||
|---|---|---|---|---|---|---|---|
| Target | Total | Count | % | Count | % | ||
| All action audits | 27,819 | 23,787 | 85.51 | 0.755 | 0.755 | 4,964 | 17.84 |
| Requests | 13,610 | 11,549 | 84.86 | 0.754 | 0.754 | 2,516 | 18.49 |
| Candidate answers | 14,209 | 12,238 | 86.13 | 0.756 | 0.756 | 2,448 | 17.23 |
| Both labels in {warn, review} | 5,748 | 5,230 | 90.99 | 0.817 | 0.817 | – | – |
| Relation checks | 7,732 | 6,953 | 89.92 | 0.796 | 0.796 | 779 | 10.08 |
| Initial labels | Count | All audits (%) | Disagreements (%) |
|---|---|---|---|
| Allow / warn | 1,468 | 5.28 | 36.41 |
| Warn / refuse | 986 | 3.54 | 24.45 |
| Allow / review | 697 | 2.51 | 17.29 |
| Warn / review | 518 | 1.86 | 12.85 |
| Review / refuse | 281 | 1.01 | 6.97 |
| Allow / refuse | 82 | 0.29 | 2.03 |
| Field | Total | Agree | % | ||
|---|---|---|---|---|---|
| Relevance ( – ) | 54,440 | 50,793 | 93.30 | 0.867 | 0.867 |
| Evidence ( – ) | 42,375 | 38,732 | 91.40 | 0.818 | 0.818 |
| Risk ( – ) | 42,375 | 35,934 | 84.80 | 0.746 | 0.746 |
| Data unit | Train | Dev | Test |
|---|---|---|---|
| Request audits | 10,281 | 958 | 2,371 |
| Answer audits | 9,845 | 1,461 | 2,903 |
| Total audits | 20,126 | 2,419 | 5,274 |
| Context pairs | 2,605 | 174 | 291 |
| Image–request quartets | 288 | 20 | 123 |
| Candidate-answer pairs | 2,818 | 453 | 960 |
| Set | Allow | Warn | Review | Refuse |
|---|---|---|---|---|
| Train requests | 5,951 | 1,484 | 989 | 1,857 |
| Train answers | 6,614 | 1,176 | 651 | 1,404 |
| Development | 1,414 | 409 | 192 | 404 |
| Test requests | 1,035 | 408 | 348 | 580 |
| Test answers | 1,898 | 361 | 132 | 512 |
| View | Scored | Exact Q | Exact A | 13-token Q | 13-token A | Same pixels | Photo/crop | Edited base | Exact context |
| JudiBench dev | 2,419 | 105 | 13 | 44 | 123 | 0 | 45 | 0 | 0 |
| JudiBench test | 5,274 | 118 | 7 | 83 | 210 | 0 | 16 | 4 | 0 |
| VLSBench | 2,241 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 |
| MM-SafetyBench | 6,720 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| HarmBench | 320 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 |
| SORRY-Bench base | 440 | 0 | 0 | 5 | 0 | 0 | 0 | 0 | 0 |
| Setting | Stage-1 SFT | Stage-2 RL |
|---|---|---|
| Epochs | 3 | 1 |
| Updates per epoch | 742 | 742 |
| Effective global batch size | 64 root units | 64 root units |
| Gradient accumulation steps | 1 | 1 |
| Packed batch token budget | 28,672 | 28,672 |
| Max sequence length | Backbone (262,144) | Backbone (262,144) |
| Common text subset (1,163 req. / 1,574 ans.) | Single-image vision subset (1,208 req. / 1,328 ans.) | |||||||
| Four-action F1 | Binary hold F1 | Four-action F1 | Binary hold F1 | |||||
| Model | Request | Answer | Request | Answer | Request | Answer | Request | Answer |
| Qwen3-VL-4B | 43.99 | 43.08 | 70.66 | 73.17 | 42.92 | 40.04 | 68.12 | 74.66 |
| Qwen3-VL-8B | 41.34 | 43.89 | 69.92 | 75.59 | 46.38 | 45.52 | 76.95 | 79.18 |
| GuardReasoner-VL-Eco-3B | 28.73 | 36.09 | 79.42 | 77.12 | 31.23 | 37.67 | 79.28 | 80.62 |
| GuardReasoner-VL-7B | 28.07 | 26.96 | 80.13 | 76.91 | 30.82 | 27.10 | 79.88 | 78.71 |
| Request task | Pos. F1 | Macro-F1 | Acc. | |
|---|---|---|---|---|
| JudiBench | 1,208 | 14.80 | 47.03 | 66.64 |
| SPA-VL | 3,276 | 27.48 | 49.41 | 58.91 |
| Benchmark | Decoding | Max. tokens |
|---|---|---|
| VLSBench | Greedy | 128 |
| MM-SafetyBench | Greedy | 512 |
| HarmBench | Greedy | 256 |
| SORRY-Bench | , top- | 1,024 |
| MSTS | 3 beams | 512 |
| MM-SafetyBench++ | Model defaults | 128 |
| 9B | 2-4B | ||
| Benchmark / metric | Pre | Post | Pre |
| VLSBench: Safe | n/a | n/a | 72.91 |
| HarmBench: | 88.44 | 89.06 | n/a |
| SORRY-Bench base: Non-comp. | 85.91 | 83.64 | n/a |
| MM-SafetyBench++: CCR | n/a | n/a | 76.55 |
| SIUO: Safe & Effective | n/a | n/a | 44.91 |
| Benchmark | Judgment | Reported aggregation |
|---|---|---|
| VLSBench [ 11 ] | Safe refusal, safe warning, or unsafe answer | Percentage judged safe |
| MM-SafetyBench [ 15 ] | Category-specific harmful assistance | Attack success rate, with category and input-mode averaging |
| HarmBench [ 18 ] | Successful execution of the target behavior | Percentage without successful harmful execution |
| SORRY-Bench [ 30 ] | Compliance with the unsafe request | Compliance rate on the 440 base requests |
| MSTS [ 27 ] | Source safety categories applied to text and images | Percentage judged safe |
| MM-SafetyBench++ [ 34 ] | Appropriate help on safe inputs and safe handling of unsafe inputs | Harmonic mean (CCR) of safe- and unsafe-side success, separately for Gen and GenOCR |
| Rubric | Sampled | Agree | Agreement (%) | Cohen’s |
|---|---|---|---|---|
| VLSBench (3-way) | 50/50 | 40 | 80.00 | 0.698 |
| VLSBench (binary) | 50/50 | 42 | 84.00 | 0.666 |
| SIUO safety | 50/50 | 41 | 82.00 | 0.606 |
| SIUO effectiveness | 50/50 | 44 | 88.00 | 0.703 |
| MSSBench (4-way) | 50/50 | 45 | 90.00 | 0.827 |
| MSSBench (binary) | 50/50 | 46 | 92.00 | 0.831 |
| Benchmark split | Allow | Warn | Review | Refuse | |
|---|---|---|---|---|---|
| MSSBench Emb. Safe | 380 | 37.63 | 4.21 | 2.89 | 55.26 |
| MSSBench Emb. Unsafe | 380 | 21.58 | 3.68 | 8.95 | 65.79 |
| SIUO (all answers) | 501 | 64.87 | 15.37 | 3.99 | 15.77 |
| Risk suppression | Useful and contextual assistance | ||||||||||||||
| VLS Bench [ 11 ] | MMSB [ 15 ] | Harm Bench [ 18 ] | SORRY [ 30 ] | MSTS [ 27 ] | MMSB++ [ 34 ] | SIUO [ 28 ] | XSTest [ 26 ] | MSSBench accuracy [ 37 ] | |||||||
| Guard | Pos. | Safe | ASR | Safe | Comp. | Safe | Gen CCR | GenOCR CCR | Joint | Safe Acc. | Unsafe Acc. | Chat Safe | Chat Unsafe | Emb. Safe | Emb. Unsafe |
| No guard | – | 58.55 | 40.78 | 85.94 | 19.55 | 98.21 | 73.55 | 83.12 | 47.31 | 96.40 | 75.00 | 96.50 | 29.33 | 97.63 | 5.53 |
| Qwen3-VL-4B | Pre | 87.91 | 35.58 | 90.31 | 7.50 | 98.64 | 61.78 | 51.98 | 43.71 | 62.00 | 92.00 | 33.00 | 52.17 | 95.26 | 12.11 |
| Post | 61.49 | 39.94 | 89.69 | 16.82 | 98.32 | 73.03 | 80.84 | 46.71 | 95.60 | 76.00 | 96.50 | 29.33 | 97.63 | 5.53 | |
| Qwen3-VL-8B | Pre | 70.95 | 38.75 | 88.44 | 12.50 | 98.57 | 74.88 | 74.55 | 43.71 | 79.60 | 88.50 | 28.17 | 53.83 | 96.32 | 9.47 |
| Model | |||||
|---|---|---|---|---|---|
| Qwen3-VL-4B | 8.27 | 5.97 | 37.16 | 22.14 | 26.40 |
| Qwen3-VL-8B | 17.78 | 10.79 | 30.41 | 18.75 | 33.26 |
| JudiAct | 51.64 | 52.74 | 57.82 | 57.03 | 59.70 |
| Valid members | 2,285 | 2,347 | 2,305 | 2,367 | 2,903 |
| Field | Valid members | JudiAct correct |
|---|---|---|
| 2,287 | 1,787 | |
| 2,358 | 2,301 | |
| 2,312 | 1,921 | |
| 2,352 | 2,297 | |
| 2,119 | 1,538 | |
| 2,329 | 2,321 |
| Context change | Pairs | Roots | Qwen3-VL-4B | Qwen3-VL-8B | JudiAct |
| Boundary response: different gold actions | |||||
| : visual evidence | 5 | 5 | 0.00 | 0.00 | 60.00 |
| : image–request | 70 | 36 | 4.26 | 9.26 | 31.20 |
| : user intent | 22 | 22 | 72.73 | 86.36 | 86.36 |
| : rule boundary | 24 | 24 | 16.67 | 16.67 | 83.33 |
| : answer execution | 24 | 24 | 37.50 | 54.17 | 70.83 |
| Metric | Qwen3-VL-4B | Qwen3-VL-8B | JudiAct |
|---|---|---|---|
| All determinate groups ( ) | |||
| Exact interaction recovery | 0.83 | 2.50 | 60.00 |
| Four-corner accuracy | 0.83 | 0.83 | 32.50 |
| Four-corner action accuracy | 22.50 | 28.33 | 40.83 |
| Zero interaction ( , ) | |||
| Exact interaction recovery | 1.67 | 5.00 | 83.33 |
| Reference pair | Pairs | All-Allow | 4B | 8B | JudiAct |
| Allow / allow | 81 | 81 | 77 | 78 | 52 |
| Allow / warn | 9 | 0 | 1 | 0 | 2 |
| Allow / review | 7 | 0 | 0 | 0 | 2 |
| Allow / refuse | 23 | 0 | 3 | 5 | 2 |
| Warn / warn | 9 | 0 | 0 | 0 | 6 |
| Warn / review | 13 | 0 | 0 | 0 | 12 |
| Decision | With localization | |||
|---|---|---|---|---|
| Model | Mean | Median | Mean | Median |
| Qwen3-VL-4B | 0.13 | 0.06 | – | – |
| GR-VL-Eco-3B | 5.60 | 5.77 | – | – |
| GR-VL-7B | 4.96 | 4.92 | – | – |
| Stage-1 SFT | 5.52 | 4.65 | 15.68 | 10.77 |
| JudiAct | 5.30 | 4.47 | 14.54 | 9.71 |
| Model | Nonempty | Empty | Missing/ invalid | Rate (%) |
|---|---|---|---|---|
| Qwen3-VL-4B | 2 | 78 | 0 | 2.50 |
| Stage-1 SFT | 55 | 21 | 4 | 68.75 |
| JudiAct | 56 | 22 | 2 | 70.00 |
| Metric | / roots | Comparator | JudiAct [95% CI] | Comparator [95% CI] | [95% CI] | Holm | |
| Request | 2,371 / 1,759 | Qwen3-VL-4B | 75.28 [73.35, 77.08] | 43.84 [41.93, 45.72] | +31.43 [+28.91, +33.90] | 0.0001 | 0.0016 |
| Request | 2,371 / 1,759 | Qwen3-VL-8B | 75.28 [73.35, 77.08] | 43.98 [42.07, 45.89] | +31.30 [+28.79, +33.77] | 0.0001 | 0.0016 |
| Request | 2,371 / 1,759 | Llama Guard 4 | 75.28 [73.35, 77.08] | 34.47 [32.39, 36.48] | +40.80 [+38.16, +43.40] | 0.0001 | 0.0016 |
| Response | 2,903 / 1,730 | Qwen3-VL-4B | 71.21 [68.73, 73.67] | 42.48 [40.63, 44.34] | +28.73 [+26.05, +31.37] | 0.0001 | 0.0016 |
| Response | 2,903 / 1,730 | Qwen3-VL-8B | 71.21 [68.73, 73.67] | 44.77 [42.69, 46.84] | +26.44 [+23.22, +29.53] | 0.0001 | 0.0016 |
| Response | 2,903 / 1,730 | Llama Guard 4 | 71.21 [68.73, 73.67] | 37.08 [34.79, 39.35] | +34.13 [+30.82, +37.40] | 0.0001 | 0.0016 |
| Placement | Comparator | JudiAct Mean 9 [95% CI] | Comparator Mean 9 [95% CI] | [95% CI] | Holm |
|---|---|---|---|---|---|
| Pre | No guard | 78.89 [77.88, 79.98] | 72.20 [71.03, 73.34] | +6.70 [+5.76, +7.71] | 0.0004 |
| Post | No guard | 78.35 [77.31, 79.45] | 72.20 [71.03, 73.34] | +6.15 [+5.45, +6.96] | 0.0004 |
| Pre | GR-VL-Eco-3B | 78.89 [77.88, 79.98] | 77.41 [76.42, 78.39] | +1.49 [+0.66, +2.38] | 0.0008 |
| Post | GR-Omni-7B | 78.35 [77.31, 79.45] | 77.54 [76.45, 78.59] | +0.81 [+0.14, +1.60] | 0.0533 |
| Readout | Req. Macro | Req. Warn | Req. Review | Ans. Macro | Ans. Warn | Ans. Review | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Full | 75.40 | 75.39 | 61.71 | 70.61 | 66.36 | 45.78 | 51.54 | 52.70 | 57.91 | 57.03 | 59.43 |
| w/o Source Fact | 74.56 | 75.28 | 60.56 | 70.22 | 65.42 | 45.50 | 50.54 | 50.35 | 59.23 | 56.84 | 59.55 |
| w/o Condition | 74.89 | 74.48 | 61.48 | 71.13 | 66.90 | 47.21 | 51.04 | 52.05 | 60.78 | 56.85 | 59.66 |
| w/o Rule Link | 74.12 | 74.58 | 59.86 | 70.93 | 67.69 | 45.92 | 50.76 | 51.97 | 58.64 | 56.79 | 59.36 |
| Intervention | Req. Macro | Ans. Macro | |||||
|---|---|---|---|---|---|---|---|
| w/o Source Fact | 0.84 [1pt][ 1.59, 0.07] | 0.39 [1pt][ 1.27, +0.53] | 1.00 [1pt][ 1.89, 0.15] | 2.36 [1pt][ 7.66, +0.67] | +1.32 [1pt][ 0.15, +3.21] | 0.19 [1pt][ 0.85, +0.48] | +0.11 [1pt][ 0.20, +0.43] |
| w/o Condition | 0.51 [1pt][ 1.49, +0.46] | +0.52 [1pt][ 0.57, +1.63] | 0.50 [1pt][ 1.42, +0.43] | 0.66 [1pt][ 2.26, +0.45] | +2.86 [1pt][ 0.18, +6.02] | 0.18 [1pt][ 0.88, +0.49] | +0.23 [1pt][ 0.15, +0.59] |
| w/o Rule Link | 1.27 [1pt][ 2.20, 0.36] | +0.32 [1pt][ 0.78, +1.45] | 0.77 [1pt][ 1.65, +0.08] | 0.73 [1pt][ 2.01, +0.42] | +0.73 [1pt][ 2.66, +4.13] | 0.24 [1pt][ 0.96, +0.46] | 0.07 [1pt][ 0.40, +0.25] |
| Cohort | Original risk | Pred. drop | Random drop | Extra risk drop [95% CI] | Extra gold-action drop [95% CI] | |
|---|---|---|---|---|---|---|
| main | 11 | 60.08 | +7.15 | +0.97 | +6.18 [+2.03, +10.41] | 0.41 [ 4.62, +2.90] |
| full cache | 15 | 63.33 | +7.64 | +1.47 | +6.16 [+2.65, +9.76] | +1.62 [ 2.66, +6.64] |