arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.13853cs.LGcs.SYeess.SYstat.ML
收藏

ORFit:通过桥接正交梯度下降与递归最小二乘实现单遍学习

ORFit: One-Pass Learning via Bridging Orthogonal Gradient Descent and Recursive Least-Squares

Laboratory for Information and Decision Systems, Massachusetts Institute of Technology, Cambridge, MA 02139, USA(信息与决策系统实验室,麻省理工学院);Centre for Assured and Connected Autonomy, Cranfield University, Cranfield, Bedfordshire MK43 0AL, UK(保障与连接自主性中心,克兰菲尔德大学)

Youngjae Min, Namhoon Cho, Navid Azizan

AI总结:

本文研究单遍学习问题,提出ORFit算法,通过正交梯度下降方向更新参数,结合递归最小二乘法实现线性内存与计算效率,并利用增量主成分分析最小化最坏情况遗忘,证明其参数与多遍SGD收敛结果一致。

摘要:

尽管大型机器学习模型在各个领域展现出了卓越的性能,但它们的训练通常需要对训练数据进行多次遍历的迭代。然而,由于计算和内存限制以及潜在的隐私问题,在数据以流的形式到达的许多现实场景中,存储和访问所有数据是不切实际的。在本文中,我们研究了单遍学习问题,即模型在顺序到达的数据上进行训练,而无需在先前的数据点上重新训练。受过度参数化模型的有效性和良性过拟合现象的启发,我们提出了正交递归拟合(ORFit),这是一种单遍学习算法,旨在完美拟合每个新数据点,同时对先前数据点的预测进行最小限度的改变。ORFit 在与过去梯度正交的方向上更新参数,类似于持续学习中的正交梯度下降(OGD)。我们表明,有趣的是,ORFit 的更新导致了一种类似于自适应滤波中的递归最小二乘(RLS)算法的操作,但在内存和计算效率上有了显著提高,即与参数数量呈线性关系,而不是二次关系。为了进一步减少内存使用,我们通过增量主成分分析(IPCA)利用了流数据的结构。我们表明,使用主成分是最小最大化最优的,即它最小化了未知未来更新对先前预测的最坏情况遗忘。此外,我们证明,对于过度参数化的线性模型,ORFit 获得的参数向量与标准多遍随机梯度下降(SGD)将收敛到的结果相匹配。最后,我们将结果扩展到与深度学习相关的高度过度参数化模型的非线性设置中。

英文摘要:

While large machine learning models have shown remarkable performance in various domains, their training typically requires iterating for many passes over the training data. However, due to computational and memory constraints and potential privacy concerns, storing and accessing all the data is impractical in many real-world scenarios where the data arrives in a stream. In this paper, we investigate the problem of one-pass learning, in which a model is trained on sequentially arriving data without retraining on previous datapoints. Motivated by the demonstrated effectiveness of overparameterized models and the phenomenon of benign overfitting, we propose Orthogonal Recursive Fitting (ORFit), an algorithm for one-pass learning which seeks to perfectly fit each new datapoint while minimally altering the predictions on previous datapoints. ORFit updates the parameters in a direction orthogonal to past gradients, similar to orthogonal gradient descent (OGD) in continual learning. We show that, interestingly, ORFit's update leads to an operation similar to the recursive least-squares (RLS) algorithm in adaptive filtering but with significantly improved memory and computational efficiency, i.e., linear, instead of quadratic, in the number of parameters. To further reduce memory usage, we leverage the structure of the streaming data via an incremental principal component analysis (IPCA). We show that using the principal components is minimax optimal, i.e., it minimizes the worst-case forgetting of previous predictions for unknown future updates. Further, we prove that, for overparameterized linear models, the parameter vector obtained by ORFit matches what the standard multi-pass stochastic gradient descent (SGD) would converge to. Finally, we extend our results to the nonlinear setting for highly overparameterized models, relevant for deep learning.

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

↑