The efficiency and safety dilemma of large reasoning models: how quantization and pruning affect jailbreak robustnessOn the Efficiency-Safety Dilemma in Large Reasoning Models
Translation in progress — untranslated text is omitted.
This study is the first to systematically analyze the interaction between efficiency, jailbreak vulnerability, and reasoning capability in large reasoning models (LRMs). The study finds that efficiency methods such as quantization and pruning superficially reduce jailbreak attack success rates, but this improvement is often superficial, mainly stemming from reasoning degradation causing failed malicious response attempts, not genuine alignment enhancement. Mechanistic analysis of representation drift confirms a strict coupling between reasoning capability loss and the model's ability to maintain malicious semantic trajectories. The study also finds that quantization combined with pruning is the optimal strategy for balancing efficiency and robustness, providing an empirical basis for distinguishing true safety alignment from capability-induced failures.
- LRMs incur high inference costs due to chain-of-thought reasoning; quantization, pruning, and KV cache compression are used to reduce costs, but the authors believe the impact of these methods on jailbreak robustness still lacks systematic evaluation.
- Apply GPTQ, AWQ, Wanda, SparseGPT, SnapKV, and PyramidKV on QwQ-32B, R1D-Qwen-32B, R1D-Llama-8B, use H-COT and Mousetrap HR for safety, use MATH-500 and AIME pass@1 for reasoning, and analyze coupling with inter-layer representation drift.
- The authors say efficiency methods often lower HR, but this mostly comes from "attempted but failed" malicious responses rather than increased refusals; reasoning and harmfulness scores are positively correlated. Quantization is closest to the original model, and at about 40% memory, quantization plus pruning offers a better balance between reasoning and safety.
- The authors note that the evaluation is limited to black-box, main-text models up to 32B, and static single-turn benchmarks. Experiments cover three open-source LRMs, two jailbreak benchmark types with 50 prompts each, three temperatures, and GPT-4o majority voting.