atlas

Research map / Vision-language and multimodal / Multimodal LLMs

ETA: Evaluating Then Aligning Safety of Vision Language Models at Inference Time

ICLR 2025 · Vision-language and multimodal › Multimodal LLMs · approach: VLM capability analysis · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ETA, a training-free two-phase inference-time framework that evaluates image and response safety (CLIP-based pre-generation check and reward-model post-generation check) and then aligns flagged outputs via an interference prefix plus sentence-level best-of-N search guided by safety and CLIP utility scores.

Problem

VLMs are easily jailbroken through adversarial or harmful visual inputs, and existing defenses are either resource-intensive fine-tuning methods or inference-time methods that ignore visual safety checks and give generic refusals, hurting helpfulness.

Approach

Evaluate both the input image (CLIP similarity to unsafe-category prompts) and the output text (safety-formatted reward model score) before aligning; when both flag unsafe, prefill a safety prefix and run sentence-level best-of-N guided by a combined RM safety score and CLIP utility score.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply ETA rather than ECSOLLaVA-1.5-7B · FigStep VanillaUSR: 37.40 -> 7.80Helped
Apply ETA rather than ECSOLLaVA-1.5-7B · Adv. Image+Text UnconstrainedUSR: 95.00 -> 22.50Helped
Apply ETA rather than ECSOLLaVA-1.5-13B · Adv. Image+Text UnconstrainedUSR: 95.00 -> 12.50Helped
Apply ETA rather than vanilla decodingLLaVA-1.5-7B · SPA-VL HelpGPT-4 win-tie (%): 96.6Helped
Apply ETA inference-time alignmentLLaVA-1.5-7B · TextVQAaccuracy: 58.20 -> 58.15Hurt
Add continuous-to-discrete mapping for visual embeddingsLLaVA-1.5-7B · SPA-VL HarmUSR: 46.04 -> 39.25Helped
Remove shallow and deep alignment (ablation)ETA · SPA-VL HarmUSR: 16.98 -> 46.04Hurt
Remove shallow alignment while retaining deep safety and utility guides (ablation)ETA · SPA-VL HarmUSR: 16.98 -> 32.08Hurt
Remove deep alignment and its safety and utility guides (ablation)ETA · SPA-VL HarmUSR: 16.98 -> 30.94Hurt
Remove the deep-alignment utility guide (ablation)ETA · SPA-VL HarmHelpful Score: 8.50 -> 8.38Hurt
Add the deep-alignment utility guide (ablation)ETA with shallow alignment and safety guide · SPA-VL HarmHelpful Score: + 0.12/10Helped
Add the deep-alignment utility guide (ablation)ETA with shallow alignment and safety guide · SPA-VL HarmUSR: + 0.38/100Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SPA-VL COCO MM-SafetyBench

Benchmarks: SPA-VL Harm MM-SafetyBench FigStep Unconstrained adversarial image attack AdvBench MME MMBench ScienceQA-IMG VQAv2 TextVQA MMMU-Pro SPA-VL Help

Metrics: Unsafe Rate (USR) Attack Success Rate (ASR) win-tie rate helpful score inference time

Baselines: ECSO VLGuard Posthoc-LoRA VLGuard Mixed-LoRA

Builds on: ECSO best-of-N sampling CLIP ArmoRM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy