arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.09430cs.LG
收藏

理解延迟随机梯度下降的泛化性

Towards Understanding the Generalizability of Delayed Stochastic Gradient Descent

Intelligent Game and Decision Lab(智能游戏与决策实验室);College of Computer Science and Technology(计算机科学与技术学院);National University of Defense Technology(国防科技大学);Sun Yat-sen University(中山大学);JD Explore Academy(京东探索研究院)

Xiaoge Deng, Li Shen, Shengwei Li, Tao Sun, Dongsheng Li, Dacheng Tao

AI总结:

本文研究异步延迟SGD的泛化误差,利用生成函数分析建立平均稳定性,导出更紧的误差上界,证明异步延迟可降低泛化误差,并经实验验证。

摘要:

以异步方式执行的随机梯度下降(SGD)在训练大规模机器学习模型中起着至关重要的作用。然而,异步延迟SGD的泛化性能——这是评估机器学习算法的一项基本指标——却很少被探索。现有的泛化误差界相当悲观,无法揭示异步延迟与泛化之间的关联。在本文中,我们研究了具有异步延迟τ的SGD的更紧的泛化误差界。利用生成函数分析工具,我们首先建立了延迟梯度算法的平均稳定性。基于这种算法稳定性,我们分别针对二次凸和强凸问题,提供了泛化误差的上界为Õ((T-τ)/(nτ))和Õ(1/n),其中T指迭代次数,n是训练数据量。我们的理论结果表明,异步延迟降低了延迟SGD算法的泛化误差。类似的分析可以推广到随机延迟设置,实验结果验证了我们的理论发现。

英文摘要:

Stochastic gradient descent (SGD) performed in an asynchronous manner plays a crucial role in training large-scale machine learning models. However, the generalization performance of asynchronous delayed SGD, which is an essential metric for assessing machine learning algorithms, has rarely been explored. Existing generalization error bounds are rather pessimistic and cannot reveal the correlation between asynchronous delays and generalization. In this paper, we investigate sharper generalization error bound for SGD with asynchronous delay $τ$. Leveraging the generating function analysis tool, we first establish the average stability of the delayed gradient algorithm. Based on this algorithmic stability, we provide upper bounds on the generalization error of $\tilde{\mathcal{O}}(\frac{T-τ}{nτ})$ and $\tilde{\mathcal{O}}(\frac{1}{n})$ for quadratic convex and strongly convex problems, respectively, where $T$ refers to the iteration number and $n$ is the amount of training data. Our theoretical results indicate that asynchronous delays reduce the generalization error of the delayed SGD algorithm. Analogous analysis can be generalized to the random delay setting, and the experimental results validate our theoretical findings.

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

↑