Alignment-Constrained Dynamic Pruning for LLMs: Identifying and Preserving Alignment-Critical Circuits
Dev Patel, Gabrielle Gervacio, Diekola Raimi, Kevin Zhu, Ryan Lagasse, Gabriel Grand, Ashwinee Panda, Maheep Chaudhary
TL;DR
The paper tackles the challenge that dynamic pruning can degrade alignment safety in LLMs. It proposes Alignment-Aware Probe Pruning (AAPP), which combines probe-based pruning with a risk-aware gating mechanism that preserves alignment-critical circuits identified via historical safe and harmful prompts. Across multiple models and datasets, AAPP achieves up to ~50% higher refusal rates at matched compute and preserves toxicity and accuracy closer to unpruned baselines, thereby delivering safer and more efficient inference. This work offers a practical route to deploy efficient LLMs without substantially compromising safety, by explicitly constraining pruning to protect alignment-sensitive components.
Abstract
Large Language Models require substantial computational resources for inference, posing deployment challenges. While dynamic pruning offers superior efficiency over static methods through adaptive circuit selection, it exacerbates alignment degradation by retaining only input-dependent safety-critical circuit preservation across diverse inputs. As a result, addressing these heightened alignment vulnerabilities remains critical. We introduce Alignment-Aware Probe Pruning (AAPP), a dynamic structured pruning method that adaptively preserves alignment-relevant circuits during inference, building upon Probe Pruning. Experiments on LLaMA 2-7B, Qwen2.5-14B-Instruct, and Gemma-3-12B-IT show AAPP improves refusal rates by 50\% at matched compute, enabling efficient yet safety-preserving LLM deployment.
