SLAE: Sparse Locality-Aware Editing for Safety-Aligned MLLMs
Abstract
Multimodal large language models (MLLMs) gain powerful visual perception, but the additional modality also expands their attack surface. Recent studies reveal a particularly severe failure: a model that rejects an explicitly harmful request may comply when a benign query is paired with harmful visual content. This discrepancy suggests that text-centered safeguards do not reliably transfer to visually grounded harm. However, its internal cause remains poorly understood, and existing defenses provide limited targeted control. We trace this failure to sparse MLP neurons and find that the neurons responsible for visually grounded safety overlap only weakly with those supporting text-triggered refusal. Motivated by this observation, we propose Sparse Locality-Aware Editing for Safety-Aligned MLLMs (SLAE), a neuron-to-column editing method that strengthens visual safety while preserving benign capabilities. For each attack case, SLAE contrasts neuron contributions to unsafe compliance and safe refusal, retains the top-k neurons, and identifies cross-case importance by recurrence frequency rather than absolute attribution magnitude. Neurons repeatedly important for benign visual grounding are excluded from editing. SLAE then learns sparse offsets for the down-projection columns corresponding to the retained neurons and merges them into the original weights. Experiments on representative MLLMs show that SLAE substantially improves resistance to visually concealed harmful requests while maintaining benign question answering and general utility.
Create a lesson
Related papers
Safety-Critical Parameters in LLMs and MLLMs: Identification, Characterization, and Intervention
Shared title terminologycs.CRZefeng Wu, Weiwei Qi, Wei Gu et al.
Typographic Response Jailbreak: A Safety Blind Spot in Image Editing Models
Shared title terminologycs.CRWenzhuo Xu, Zonghao Ying, Deyue Zhang et al.
Celeritas: Architecture-Aware FHE Kernel Generation Across Diverse GPUs
Shared title terminologycs.CRSiddharth Jayashankar, Michael B. Sullivan, Simon Langowski et al.
Intelligent Event-Safe Cyber-Physical Attack Detection and Localization in Critical Water Infrastructure: A Cross-Dataset Study of SWaT and WADI
Shared title terminologycs.CRVictor Kebande
Data Poisoning Attacks and Defenses to Local Differential Privacy Protocols: A Survey
Shared title terminologycs.CRXinyu Li, Xuebin Ren, Shusen Yang et al.
Energy-Aware Intrusion Detection Granularity for IoT Gateways
Shared title terminologycs.CRHuixue Han, Shangzhi Xu, Tao Liu et al.