arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.04579cs.LGstat.ML
收藏

从持续学习到SGD及返回:持续线性模型更好的收敛率

From Continual Learning to SGD and Back: Better Rates for Continual Linear Models

Meta;Technion(技术ion学院);Department of Computer Science(计算机科学系);Tel Aviv University(特拉维夫大学);Blavatnik School of Computer Science and AI(Blavatnik计算机科学与人工智能学院);Google Research(谷歌研究);Department of Electrical and Computing Engineering(电气与计算工程系);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Itay Evron, Ran Levinstein, Matan Schliserman, Uri Sherman, Tomer Koren, Daniel Soudry, Nathan Srebro

AI总结:

本文提出持续线性模型中更优的收敛率,通过SGD分析遗忘机制,改进了持续回归和分类的遗忘率,并展示了通用方法在不同任务顺序下的收敛性。

摘要:

我们研究了常见的持续学习设置,其中一个过参数化的模型依次拟合一组可以联合实现的任务。我们分析了遗忘,定义为在k次迭代后之前任务的损失。对于持续线性模型,我们证明了拟合一个任务等同于在修改后的目标上进行一次随机梯度下降(SGD)步骤。我们开发了新的最后迭代SGD上界,在可实现的最小二乘设置中,并利用它们推导出持续学习的新结果。专注于T个任务上的随机顺序,我们建立了通用的遗忘率,而现有的率依赖于问题的维度或复杂性,并在高度过参数化的情况下变得不可行。在带替换的持续回归中,我们将最好的现有率从O((d-\bar{r})/k)改进到O(min(1/\sqrt[4]{k}, \sqrt{(d-\bar{r})}/k, \sqrt{T\bar{r}}/k)),其中d是维度性,\bar{r}是平均任务等级。此外,我们建立了没有替换的随机任务顺序的第一个速率。所得到的速率O(min(1/\sqrt[4]{T}, (d-\bar{r})/T))表明,仅通过随机化,而无需任务重复,可以防止在足够长的任务序列中发生灾难性遗忘。最后,我们证明了在可分离数据上的持续线性分类的匹配O(1/\sqrt[4]{k})遗忘率。我们的通用速率扩展到更广泛的方法,如块Kaczmarz和POCS,揭示了它们在i.i.d.和单次通过顺序下的损失收敛。

英文摘要:

We study the common continual learning setup where an overparameterized model is sequentially fitted to a set of jointly realizable tasks. We analyze forgetting, defined as the loss on previously seen tasks, after $k$ iterations. For continual linear models, we prove that fitting a task is equivalent to a single stochastic gradient descent (SGD) step on a modified objective. We develop novel last-iterate SGD upper bounds in the realizable least squares setup and leverage them to derive new results for continual learning. Focusing on random orderings over $T$ tasks, we establish universal forgetting rates, whereas existing rates depend on problem dimensionality or complexity and become prohibitive in highly overparameterized regimes. In continual regression with replacement, we improve the best existing rate from $O((d-\bar{r})/k)$ to $O(\min(1/\sqrt[4]{k}, \sqrt{(d-\bar{r})}/k, \sqrt{T\bar{r}}/k))$, where $d$ is the dimensionality and $\bar{r}$ the average task rank. Furthermore, we establish the first rate for random task orderings without replacement. The resulting rate $O(\min(1/\sqrt[4]{T},\, (d-\bar{r})/T))$ shows that randomization alone, without task repetition, prevents catastrophic forgetting in sufficiently long task sequences. Finally, we prove a matching $O(1/\sqrt[4]{k})$ forgetting rate for continual linear classification on separable data. Our universal rates extend to broader methods, such as block Kaczmarz and POCS, illuminating their loss convergence under i.i.d. and single-pass orderings.

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

↑