基于逐样本裁剪的鲁棒快速训练 Robust and Fast Training via Per-Sample Clipping 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-05-04
👁️ 预览文献
💡 AI 中文简介
本文提出一种基于逐样本梯度裁剪的鲁棒梯度估计方法,称为PS-Clip-SGD,并从理论和实验两方面分析其性质。理论上,该方法在重尾梯度噪声下对非凸优化问题达到最优的期望收敛速率,并给出高概率收敛保证。实验上,在CIFAR-100上训练AlexNet时,即使计入逐样本裁剪的额外计算时间,PS-Clip-SGD仍优于带动量的SGD和标准梯度裁剪。此外,在梯度累积场景下,于小批量层面裁剪可提升训练性能且几乎不增加计算成本。
领域机器学习优化 / 随机优化
适合谁读需要一定专业背景
核心贡献1. 提出逐样本裁剪SGD(PS-Clip-SGD),在重尾梯度噪声下为非凸优化提供最优期望收敛速率及匹配的高概率保证。2. 实验证明其在AlexNet/CIFAR-100上优于带动量SGD和标准梯度裁剪,并发现梯度累积时小批量层面裁剪可提升性能且几乎无额外计算成本。
关键数据在CIFAR-100上训练AlexNet,PS-Clip-SGD优于带动量SGD和标准梯度裁剪,即使计入逐样本裁剪的额外计算时间;梯度累积时小批量层面裁剪几乎不增加计算成本。
推荐理由如果你关心重尾噪声下的鲁棒训练,这篇工作既给出理论保证又用实验证明逐样本裁剪真的更快更稳,值得一读。
关键词["逐样本梯度裁剪", "随机梯度下降", "重尾噪声", "非凸优化", "收敛速率"]

原文摘要

查看英文原文摘要

We propose a robust gradient estimator based on per-sample gradient clipping and analyze its properties both theoretically and empirically. We show that the resulting method, per-sample clipped SGD (PS-Clip-SGD), achieves optimal in-expectation convergence rates for non-convex optimization problems under heavy-tailed gradient noise. Moreover, we establish high-probability convergence guarantees that match the in-expectation rates up to polylogarithmic factors in the failure probability. We complement our theoretical results with multiple numerical experiments. In particular, we demonstrate that PS-Clip-SGD outperforms both vanilla SGD with momentum and standard gradient clipping when training AlexNet on the CIFAR-100 dataset, even after accounting for the additional computational time caused by per-sample clipping. We also empirically show that, in the presence of gradient accumulation, applying clipping at the mini-batch level can improve training performance while incurring virtually no additional computational cost. This finding is particularly interesting, as it contradicts the common practice of applying clipping only after all accumulation steps have been completed.