Nexus scissor: enhance open-access language model safety by connection pruning

Read full text
Authors: Peihua Mai, Youjia Yang, Ran Yan, Yan Pang
Cited by: 0
References: 24

Abstract

Large language models (LLMs) are vulnerable to adversarial attacks that bypass safety measures and induce the model to generate harmful content. Securing open-access LLMs against these adversarial attacks is especially challenging due to their offline, unregulated, and often secretive usage. To defend open-access models against a broad spectrum of attacks, it is critical to mitigate their inherent capacity to retrieve malicious responses. Inspired by spreading activation theory, this paper proposes the Nexus Scissor, a framework based on connection pruning, to prevent LLMs from recalling harmful content, thereby bolstering their security against a range of jailbreak attacks. Nexus Scissor severs the link between the malicious target and its immediate harmful knowledge, while maintaining the integrity of the remaining knowledge graph. Empirical analysis demonstrates that our proposed Nexus Scissor effectively enhances the safety of open-access LLMs against various adversarial attacks, with minimal impact on performance across common benchmarks.

Fields of Study & Subjects

Adversarial Robustness in Machine Learning Advanced Graph Neural Networks Topic Modeling

Publication details

Journal / source
npj Artificial Intelligence
Volume
2
Issue
1
Publication date
7 January 2026
Language
EN