Yue Li, Xiaoling Wang, Xin Yi, Linlin Wang, Dongsheng Shi, Gerard de Melo
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
With the increasing size of Large Vision-Language Models (LVLMs), network pruning techniques aimed at compressing models for deployment in resource-constrained environments have garnered significant attention. However, we observe that pruning often leads to a degradation in safety performance. To address this issue, we present a novel and lightweight approach, termed Hierarchical Safety Realignment (HSR). HSR operates by first quantifying the contribution of each attention head to safety, identifying the most critical ones, and then selectively restoring neurons directly within these attention heads that play a pivotal role in maintaining safety. This process hierarchically realigns the safety of pruned LVLMs, progressing from the attention head level to the neuron level. We validate HSR across various models and pruning strategies, consistently achieving notable improvements in safety performance. To our knowledge, this is the first work explicitly focused on restoring safety in LVLMs post-pruning.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2505.16104")
get_code_for_paper("2505.16104")
have("2505.16104")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2505.16104.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2505.16104)
Connect an agent — have() is free.