Pruning Unsafe Tickets: A Resource-Efficient Framework for Safer and More Robust LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Si, Wai Man, Li, Mingjie, Backes, Michael, Zhang, Yang
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911601411489792
author Si, Wai Man
Li, Mingjie
Backes, Michael
Zhang, Yang
author_facet Si, Wai Man
Li, Mingjie
Backes, Michael
Zhang, Yang
contents Machine learning models are increasingly deployed in real-world applications, but even aligned models such as Mistral and LLaVA still exhibit unsafe behaviors inherited from pre-training. Current alignment methods like SFT and RLHF primarily encourage models to generate preferred responses, but do not explicitly remove the unsafe subnetworks that trigger harmful outputs. In this work, we introduce a resource-efficient pruning framework that directly identifies and removes parameters associated with unsafe behaviors while preserving model utility. Our method employs a gradient-free attribution mechanism, requiring only modest GPU resources, and generalizes across architectures and quantized variants. Empirical evaluations on ML models show substantial reductions in unsafe generations and improved robustness against jailbreak attacks, with minimal utility loss. From the perspective of the Lottery Ticket Hypothesis, our results suggest that ML models contain "unsafe tickets" responsible for harmful behaviors, and pruning reveals "safety tickets" that maintain performance while aligning outputs. This provides a lightweight, post-hoc alignment strategy suitable for deployment in resource-constrained settings.
format Preprint
id arxiv_https___arxiv_org_abs_2604_15780
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Pruning Unsafe Tickets: A Resource-Efficient Framework for Safer and More Robust LLMs
Si, Wai Man
Li, Mingjie
Backes, Michael
Zhang, Yang
Machine Learning
Computation and Language
Machine learning models are increasingly deployed in real-world applications, but even aligned models such as Mistral and LLaVA still exhibit unsafe behaviors inherited from pre-training. Current alignment methods like SFT and RLHF primarily encourage models to generate preferred responses, but do not explicitly remove the unsafe subnetworks that trigger harmful outputs. In this work, we introduce a resource-efficient pruning framework that directly identifies and removes parameters associated with unsafe behaviors while preserving model utility. Our method employs a gradient-free attribution mechanism, requiring only modest GPU resources, and generalizes across architectures and quantized variants. Empirical evaluations on ML models show substantial reductions in unsafe generations and improved robustness against jailbreak attacks, with minimal utility loss. From the perspective of the Lottery Ticket Hypothesis, our results suggest that ML models contain "unsafe tickets" responsible for harmful behaviors, and pruning reveals "safety tickets" that maintain performance while aligning outputs. This provides a lightweight, post-hoc alignment strategy suitable for deployment in resource-constrained settings.
title Pruning Unsafe Tickets: A Resource-Efficient Framework for Safer and More Robust LLMs
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2604.15780