arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08137cs.LGcs.AIcs.CY
收藏

权重剪枝放大了偏见:压缩LLM用于边缘AI的多方法研究

Weight Pruning Amplifies Bias: A Multi-Method Study of Compressed LLMs for Edge AI

Meta

Plawan Kumar Rath, Rahul Maliakkal

AI总结:

研究探讨了三种指令微调模型在不同剪枝方法下的公平性影响,发现激活感知剪枝虽保持低困惑度但放大偏见,而随机剪枝破坏语言能力但产生随机偏见,揭示剪枝对对齐风险高于量化。

摘要:

权重剪枝被广泛用于在资源受限的物联网和边缘设备上部署大语言模型,但其对模型公平性的影响仍不明确。我们对三个指令微调模型(Gemma-2-9b-it、Mistral-7B-Instruct-v0.3、Phi-3.5-mini-instruct)在三种剪枝方法(随机、幅度、Wanda)和四个稀疏率(10-70%)下进行受控实证研究,使用12,148个BBQ偏见基准项目和5个随机种子,总计2,368,860次推断记录。我们的结果揭示了智能剪枝悖论:激活感知剪枝(Wanda)几乎完美地保持困惑度(在50%稀疏率下,Mistral-7B的困惑度仅增加3.5%),但产生最高偏见放大,Stereotype Reliance Score增加83.7%,在70%稀疏率下,47-59%之前无偏的项目发展出新的刻板行为。随机剪枝破坏语言能力(困惑度超过10^4并达到10^8)但仅产生随机机会偏见。我们进一步显示,无结构剪枝在真实边缘硬件上提供零存储节省和零推断延迟减少,削弱了其在物联网部署中的主要动机。在180次密集vs剪枝比较中,141次(78.3%)显著(p < 0.05)且平均|h|=0.305。已发表的量化研究报告最多21%的响应在偏见和无偏状态之间翻转;我们的剪枝结果显示转换率几乎高3倍(47-59%),表明剪枝对对齐的风险高于量化。这些发现表明,基于困惑度的评估提供虚假的等效行为保证,并且物联网部署流程在部署剪枝模型到边缘前需要偏见意识的验证。

英文摘要:

Weight pruning is widely advocated for deploying Large Language Models on resource-constrained IoT and edge devices, yet its impact on model fairness remains poorly understood. We conduct a controlled empirical study of three instruction-tuned models (Gemma-2-9b-it, Mistral-7B-Instruct-v0.3, Phi-3.5-mini-instruct) across three pruning methods (Random, Magnitude, Wanda) at four sparsity levels (10-70%) on 12,148 BBQ bias benchmark items with 5 random seeds, totaling 2,368,860 inference records. Our results reveal a Smart Pruning Paradox: activation-aware pruning (Wanda) preserves perplexity nearly perfectly (just 3.5% increase at 50% sparsity for Mistral-7B), yet produces the highest bias amplification, with Stereotype Reliance Score increasing 83.7% and 47-59% of previously unbiased items developing new stereotypical behaviors at 70% sparsity. Random pruning destroys language capability entirely (perplexity exceeding $10^4$ and reaching $10^8$) but produces only random-chance bias. We further show that unstructured pruning provides zero storage savings and zero inference latency reduction on real edge hardware, undermining the primary motivation for its use in IoT deployment. Of 180 dense-vs-pruned comparisons, 141 (78.3%) are significant ($p < 0.05$) with mean $|h| = 0.305$. Published quantization studies report up to 21% of responses flipping between biased and unbiased states; our pruning results show transition rates nearly three times higher (47-59%), suggesting pruning poses a categorically greater risk to alignment than quantization. These findings demonstrate that perplexity-based evaluation provides false assurance of behavioral equivalence, and that IoT deployment pipelines require bias-aware validation before deploying pruned models at the edge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑