Understanding SGD with Exponential Moving Average: A Case Study in Linear Regression

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Xuheng, Gu, Quanquan
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913699629891584
author Li, Xuheng
Gu, Quanquan
author_facet Li, Xuheng
Gu, Quanquan
contents Exponential moving average (EMA) has recently gained significant popularity in training modern deep learning models, especially diffusion-based generative models. However, there have been few theoretical results explaining the effectiveness of EMA. In this paper, to better understand EMA, we establish the risk bound of online SGD with EMA for high-dimensional linear regression, one of the simplest overparameterized learning tasks that shares similarities with neural networks. Our results indicate that (i) the variance error of SGD with EMA is always smaller than that of SGD without averaging, and (ii) unlike SGD with iterate averaging from the beginning, the bias error of SGD with EMA decays exponentially in every eigen-subspace of the data covariance matrix. Additionally, we develop proof techniques applicable to the analysis of a broad class of averaging schemes.
format Preprint
id arxiv_https___arxiv_org_abs_2502_14123
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding SGD with Exponential Moving Average: A Case Study in Linear Regression
Li, Xuheng
Gu, Quanquan
Machine Learning
Optimization and Control
Exponential moving average (EMA) has recently gained significant popularity in training modern deep learning models, especially diffusion-based generative models. However, there have been few theoretical results explaining the effectiveness of EMA. In this paper, to better understand EMA, we establish the risk bound of online SGD with EMA for high-dimensional linear regression, one of the simplest overparameterized learning tasks that shares similarities with neural networks. Our results indicate that (i) the variance error of SGD with EMA is always smaller than that of SGD without averaging, and (ii) unlike SGD with iterate averaging from the beginning, the bias error of SGD with EMA decays exponentially in every eigen-subspace of the data covariance matrix. Additionally, we develop proof techniques applicable to the analysis of a broad class of averaging schemes.
title Understanding SGD with Exponential Moving Average: A Case Study in Linear Regression
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2502.14123