arXiv:2506.06866cs.LGcs.AI2025-06ICML被引 7

通过寻找又稀疏又平坦的子网络,提升剪枝后模型性能

SAFE: Finding Sparse and Flat Minima to Improve Pruning

  • 将剪枝建模为带稀疏约束的优化问题,显式追求参数平坦性
  • 在图像分类和语言建模任务中,剪枝后模型泛化能力显著提升
  • 对噪声数据鲁棒,适合真实场景应用

神经网络稀疏化常伴随性能下降,即使近年进展显著也难以恢复原性能。受鲁棒优化研究启发,本文旨在同时寻找稀疏且平坦的子网络。我们提出将剪枝建模为稀疏约束下的优化问题,以平坦性作为目标函数,通过增广拉格朗日对偶法求解,并引入广义投影操作,得到新的剪枝方法 SAFE 及其扩展 SAFE$^+$。在标准图像分类与语言建模任务上的大量实验表明,SAFE 持续生成稀疏度高且泛化性能更优的网络,表现媲美主流基线。此外,该方法对噪声数据具有较强鲁棒性,适用于真实复杂环境。

原文摘要 · Abstract (English)

Sparsifying neural networks often suffers from seemingly inevitable performance degradation, and it remains challenging to restore the original performance despite much recent progress. Motivated by recent studies in robust optimization, we aim to tackle this problem by finding subnetworks that are both sparse and flat at the same time. Specifically, we formulate pruning as a sparsity-constrained optimization problem where flatness is encouraged as an objective. We solve it explicitly via an augmented Lagrange dual approach and extend it further by proposing a generalized projection operation, resulting in novel pruning methods called SAFE and its extension, SAFE$^+$. Extensive evaluations on standard image classification and language modeling tasks reveal that SAFE consistently yields sparse networks with improved generalization performance, which compares competitively to well-established baselines. In addition, SAFE demonstrates resilience to noisy data, making it well-suited for real-world conditions.

模型剪枝稀疏性平坦性鲁棒性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。