arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06402cs.LG
收藏

SparseForge:通过Hessian引导的软掩码退火实现高效的半结构化LLM稀疏化

SparseForge: Efficient Semi-Structured LLM Sparsification via Annealing of Hessian-Guided Soft-Mask

Tsinghua University(清华大学)

Liu Hanzuo, Chaofan Lin, Weixuan Sun, Yulong Wang, Key, Rayying, Mingyu Gao

AI总结:

SparseForge通过优化稀疏掩码而非扩大重训练token数量,实现高效的半结构化LLM稀疏化,提升稀疏恢复效率,实验显示其在准确率与效率的权衡上优于现有方法。

摘要:

半结构化稀疏性为通过原生硬件支持加速大语言模型(LLMs)提供了实用路径,但训练后半结构化剪枝常因强结构耦合导致显著质量下降。现有方法依赖大规模稀疏重训练以恢复精度,导致计算成本高。我们提出SparseForge,一种训练后框架,通过直接优化稀疏掩码而非扩大重训练token数量来提升恢复效率。SparseForge结合Hessian感知的重要性估计与逐步退火的软掩码,将其转化为硬件可执行的结构化稀疏性,实现稳定且高效的稀疏恢复。在LLaMA-2-7B下2:4稀疏率下,SparseForge仅使用5B重训练token就实现了57.27%的零样本准确率,超过了密集模型的56.43%准确率,并接近使用40B token的最先进方法的57.52%结果。此类改进在稀疏性与效率的权衡上在不同模型家族中均表现出一致性。

英文摘要:

Semi-structured sparsity provides a practical path to accelerate large language models (LLMs) with native hardware support, but post-training semi-structured pruning often suffers from substantial quality degradation due to strong structural coupling. Existing methods rely on large-scale sparse retraining to recover accuracy, resulting in high computational cost. We propose SparseForge, a post-training framework that improves recovery efficiency by directly optimizing the sparsity mask rather than scaling up retraining tokens. SparseForge combines Hessian-aware importance estimation with progressive annealing of soft masks into hardware-executable structured sparsity, enabling stable and efficient sparse recovery. On LLaMA-2-7B under 2:4 sparsity, SparseForge achieves 57.27% average zero-shot accuracy with only $\textbf{5B}$ retraining tokens, surpassing the dense model's 56.43% accuracy and approaching the 57.52% result of a state-of-the-art method using $\textbf{40B}$ tokens. Such improvements on the accuracy-efficiency trade-off from SparseForge are shown to be consistent across model families.

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

↑