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

ZO-SAM:零阶尖锐度感知最小化用于高效稀疏训练

ZO-SAM: Zero-Order Sharpness-Aware Minimization for Efficient Sparse Training

Clemson University(克莱姆森大学);University of Arizona(亚利桑那大学)

Jie Ji, Gen Li, Kaiyuan Deng, Fatemeh Afghah, Xiaolong Ma

AI总结:

本文提出ZO-SAM,通过整合零阶优化提升稀疏训练效率,降低计算成本并提高鲁棒性。

摘要:

深度学习模型尽管在性能上令人印象深刻,但仍然面临高昂的计算成本和内存需求,限制了其在资源受限环境中的应用。稀疏神经网络通过大幅减少参数数量和计算开销来缓解这些限制。然而,现有的稀疏训练方法往往会产生混乱和嘈杂的梯度信号,严重阻碍收敛和泛化性能,特别是在高稀疏率水平下。为解决这一关键挑战,我们提出了零阶尖锐度感知最小化(ZO-SAM),一种新的优化框架,通过在SAM方法中战略性地整合零阶优化。与传统SAM不同,ZO-SAM在扰动期间仅需要一次反向传播步骤,选择性地利用零阶梯度估计。这种创新方法将反向传播计算成本降低了一半,显著降低了梯度方差,并有效消除了相关的计算开销。通过利用SAM识别平坦极小值的能力,ZO-SAM稳定了训练过程并加速了收敛。这些效率提升在稀疏训练场景中尤为重要,因为在稀疏训练中计算成本是限制SAM实用性的主要瓶颈。此外,使用ZO-SAM训练的模型在分布偏移下表现出更强的鲁棒性,进一步拓宽了其在实际部署中的实用性。

英文摘要:

Deep learning models, despite their impressive achievements, suffer from high computational costs and memory requirements, limiting their usability in resource-constrained environments. Sparse neural networks significantly alleviate these constraints by dramatically reducing parameter count and computational overhead. However, existing sparse training methods often experience chaotic and noisy gradient signals, severely hindering convergence and generalization performance, particularly at high sparsity levels. To tackle this critical challenge, we propose Zero-Order Sharpness-Aware Minimization (ZO-SAM), a novel optimization framework that strategically integrates zero-order optimization within the SAM approach. Unlike traditional SAM, ZO-SAM requires only a single backpropagation step during perturbation, selectively utilizing zero-order gradient estimations. This innovative approach reduces the backpropagation computational cost by half compared to conventional SAM, significantly lowering gradient variance and effectively eliminating associated computational overhead. By harnessing SAM's capacity for identifying flat minima, ZO-SAM stabilizes the training process and accelerates convergence. These efficiency gains are particularly important in sparse training scenarios, where computational cost is the primary bottleneck that limits the practicality of SAM. Moreover, models trained with ZO-SAM exhibit improved robustness under distribution shift, further broadening its practicality in real-world deployments.

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

↑