atlas

Research map / Vision-language and multimodal / Multimodal LLMs

Layer-wise Alignment: Examining Safety Alignment Across Image Encoder Layers in Vision Language Models

ICML 2025 · Vision-language and multimodal › Multimodal LLMs · approach: VLM capability analysis · 0 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.

Shows that early-exiting from intermediate image-encoder layers (ICET) of VLMs makes them produce harmful answers to harmful text with benign images, and proposes Layer-wise Clip-PPO (L-PPO) to reduce this vulnerability.

Problem

VLM safety alignment is tuned only on the default final image-encoder embeddings, so using intermediate image-encoder layer embeddings (early exit) at inference may bypass safety and produce harmful outputs.

Approach

Identifies an image-encoder early-exit vulnerability (ICET) where harmful text paired with a safe image yields harmful responses when intermediate encoder layers are used, and applies PPO-based RLHF in which the policy receives the intermediate-layer image embedding (L-PPO) to align the VLM for that layer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply layer-wise PPO alignmentLLaVA-1.5 · Custom Prompts (CP)AASR: 64.62 -> 37.96Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · Custom Prompts (CP)ATS: 10.71 -> 6.24Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · Custom Prompts (CP)ATR: -0.09 -> 0.66Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · miniJailbreak-V28K redteam queries (MR)AASR: 50.58 -> 10.50Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · miniJailbreak-V28K redteam queries (MR)ATS: 7.92 -> 5.19Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · miniJailbreak-V28K redteam queries (MR)ATR: -0.34 -> 0.31Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · AdvBench-COCO (AC)AASR: 62.68 -> 42.42Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · AdvBench-COCO (AC)ATS: 6.21 -> 4.92Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · AdvBench-COCO (AC)ATR: -0.20 -> 0.49Helped
Apply layer-wise PPO alignmentLLaVA-1.5 · VQA-v2AAS-UT: 48.73 -> 48.23No clear effect
Vary the value function coefficient across the tested grid (ablation)L-PPO on LLaVA-1.5 · Safety alignment experimentsOverall resultsNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: RedTeam 2K JailBreak-V28K AdvBench MS-COCO HH-RLHF VQA-v2 XSTest

Benchmarks: RedTeam 2K custom prompts AdvBench-COCO minijailbreak-V28K redteam queries VQA-v2 XSTest

Metrics: Attack Success Rate (Llama Guard) Total Rewards (reward model) Toxicity Score (Perspective API) VQA accuracy Average Total Rewards on utility

Baselines: Original inference (default final-layer embeddings) SFT-based safety alignment

Builds on: Clip-PPO RLHF LLaVA-1.5 GAE

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