Risk-adaptive Activation Steering for Safe Multimodal Large Language Models
Jonghyun Park, Minhyuk Seo, Jonghyun Choi
TL;DR
This work addresses safety in multimodal LLMs when harmful intent is embedded in images, a scenario where traditional training-based alignment and inference-time prompts struggle. The authors introduce Risk-adaptive Activation Steering (RAS), a three-stage, inference-time defense: vision-aware query reformulation to strengthen cross-modal attention, exponentially weighted risk evaluation to produce continuous risk scores, and risk-adaptive activation steering that scales refusals to the assessed risk. By steering model activations toward refusal vectors only for high-risk queries, RAS achieves substantial reductions in attack success rates while preserving utility on benign tasks and delivering faster inference than iterative refinement baselines. Across multiple models and safety/utility benchmarks, RAS demonstrates effective, efficient safety improvements suitable for practical deployment.
Abstract
One of the key challenges of modern AI models is ensuring that they provide helpful responses to benign queries while refusing malicious ones. But often, the models are vulnerable to multimodal queries with harmful intent embedded in images. One approach for safety alignment is training with extensive safety datasets at the significant costs in both dataset curation and training. Inference-time alignment mitigates these costs, but introduces two drawbacks: excessive refusals from misclassified benign queries and slower inference speed due to iterative output adjustments. To overcome these limitations, we propose to reformulate queries to strengthen cross-modal attention to safety-critical image regions, enabling accurate risk assessment at the query level. Using the assessed risk, it adaptively steers activations to generate responses that are safe and helpful without overhead from iterative output adjustments. We call this Risk-adaptive Activation Steering (RAS). Extensive experiments across multiple benchmarks on multimodal safety and utility demonstrate that the RAS significantly reduces attack success rates, preserves general task performance, and improves inference speed over prior inference-time defenses.
