Second-order optimization methods are among the most widely used optimization approaches for convex optimization problems, and have recently been used to optimize non-convex optimization problems such as deep learning models. The widely used second-order optimization methods such as quasi-Newton methods generally provide curvature information by approximating the Hessian using the secant equation. However, the secant equation becomes insipid in approximating the Newton step owing to its use of the first-order derivatives. In this study, we propose an approximate Newton sketch-based stochastic optimization algorithm for large-scale empirical risk minimization. Specifically, we compute a partial column Hessian of size ($d\times m$) with $m\ll d$ randomly selected variables, then use the \emph{Nyström method} to better approximate the full Hessian matrix. To further reduce the computational complexity per iteration, we directly compute the update step ($Δ\boldsymbol{w}$) without computing and storing the full Hessian or its inverse. We then integrate our approximated Hessian with stochastic gradient descent and stochastic variance-reduced gradient methods. The results of numerical experiments on both convex and non-convex functions show that the proposed approach was able to obtain a better approximation of Newton\textquotesingle s method, exhibiting performance competitive with that of state-of-the-art first-order and stochastic quasi-Newton methods. Furthermore, we provide a theoretical convergence analysis for convex functions.
Geometric Interpretation of Running Nyström-Based Kernel Machines and Error Analysis
College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics(南京航空航天大学计算机科学与技术学院);Department of Radiology and BRIC, University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校放射科与生物医学研究成像中心)
EPFL(洛桑联邦理工学院);Swiss Finance Institute(瑞士金融研究所);Università di Genova(热那亚大学);CREST(CREST(法国国家统计与经济研究所下属研究中心));ENSAE - Institut Polytechnique de Paris(巴黎综合理工学院下属法国国立统计与经济管理学校);MIT(麻省理工学院);Istituto Italiano di Tecnologia(意大利技术研究院)
NysAct: A Scalable Preconditioned Gradient Descent using Nystrom Approximation
Department of Statistics University of Georgia(统计学系 佐治亚大学);School of Computing University of Georgia(计算学院 佐治亚大学);School of Electrical Engineering Hanyang University(电气工程学院 洪山大学)
Skyformer: Remodel Self-Attention with Gaussian Kernel and Nyström Method
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Transformers的训练是昂贵的,因为自注意力机制中的二次时间和空间复杂度。另一方面,虽然核机器在成对点积中遭受相同的计算瓶颈,但已经成功地采用了几种近似方案,以在不牺牲太多精度的情况下大大降低其计算成本。在这项工作中,我们利用内核机器的计算方法来减轻高计算成本,并引入Skyformer,它用高斯内核取代softmax结构来稳定模型训练,并将Nyström方法应用于非半正定矩阵以加速计算。我们进一步进行理论分析表明,我们提出的方法的矩阵逼近误差是小的谱范数。在Long Range Arena基准测试上的实验表明,该方法在计算资源较少的情况下,能够获得与完全自注意力相当甚至更好的性能.