arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.08424cs.LG
收藏

从逻辑回归到感知机算法:探索大步长梯度下降

From Logistic Regression to the Perceptron Algorithm: Exploring Gradient Descent with Large Step Sizes

AIRI;Skoltech(斯科尔科沃科学技术研究院)

Alexander Tyurin

AI总结:

本研究揭示大步长梯度下降逻辑回归(LR+GD)在步长趋于无穷时退化为批量感知机算法,指出逻辑损失无法可靠衡量分类解的接近程度,证明大步长LR+GD迭代复杂度次优,并提出理论保证更优的归一化LR+GD方法。

摘要:

我们聚焦于可分数据集下的分类问题,这是机器学习中最重要的经典问题之一。解决该任务的标准方法是结合梯度下降的逻辑回归(LR+GD)。近期研究观察到,LR+GD可在任意大步长下找到解,这与传统优化理论相悖。我们的工作研究了这一现象,并针对大步长LR+GD得出了三个相互关联的关键结论。首先,我们找到了大步长LR+GD能解决分类问题的一个极为简洁的解释:当步长$\gamma\to \infty$时,LR+GD退化为著名感知机算法的批量版本。其次,我们观察到,当LR+GD趋近于感知机算法时,步长越大,逻辑损失越高,但更大的步长也会让分类问题的解收敛更快,这意味着逻辑损失并非衡量解接近程度的可靠指标。令人意外的是,高损失值实际上可能预示着更快的收敛。第三,由于LR+GD在损失函数值层面的收敛速率不可靠,我们研究了大步长LR+GD解决分类问题所需的迭代复杂度,并证明该复杂度是次优的。为解决这一问题,我们基于LR+GD与感知机算法的关联,提出了一种新方法——归一化LR+GD(Normalized LR+GD),它具备更优的理论保证。

英文摘要:

We focus on the classification problem with a separable dataset, one of the most important and classical problems from machine learning. The standard approach to this task is logistic regression with gradient descent (LR+GD). Recent studies have observed that LR+GD can find a solution with arbitrarily large step sizes, defying conventional optimization theory. Our work investigates this phenomenon and makes three interconnected key observations about LR+GD with large step sizes. First, we find a remarkably simple explanation of why LR+GD with large step sizes solves the classification problem: LR+GD reduces to a batch version of the celebrated perceptron algorithm when the step size $γ\to \infty.$ Second, we observe that larger step sizes lead LR+GD to higher logistic losses when it tends to the perceptron algorithm, but larger step sizes also lead to faster convergence to a solution for the classification problem, meaning that logistic loss is an unreliable metric of the proximity to a solution. Surprisingly, high loss values can actually indicate faster convergence. Third, since the convergence rate in terms of loss function values of LR+GD is unreliable, we examine the iteration complexity required by LR+GD with large step sizes to solve the classification problem and prove that this complexity is suboptimal. To address this, we propose a new method, Normalized LR+GD - based on the connection between LR+GD and the perceptron algorithm - with much better theoretical guarantees.

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

↑