中文
相关论文

相关论文: Closing the Curvature Gap: Full Transformer Hessia…

200 篇论文

Many theoretical results in deep learning can be traced to symmetry or equivariance of neural networks under parameter transformations. However, existing analyses are typically problem-specific and focus on first-order consequences such as…

机器学习 · 计算机科学 2025-12-29 Yongyi Yang , Liu Ziyin

The Hessian of a neural network captures parameter interactions through second-order derivatives of the loss. It is a fundamental object of study, closely tied to various problems in deep learning, including model design, optimization, and…

机器学习 · 计算机科学 2021-07-02 Sidak Pal Singh , Gregor Bachmann , Thomas Hofmann

It is well-known that the Hessian of deep loss landscape matters to optimization, generalization, and even robustness of deep learning. Recent works empirically discovered that the Hessian spectrum in deep learning has a two-component…

机器学习 · 计算机科学 2022-08-02 Zeke Xie , Qian-Yuan Tang , Yunfeng Cai , Mingming Sun , Ping Li

Loss landscape analysis is extremely useful for a deeper understanding of the generalization ability of deep neural network models. In this work, we propose a layerwise loss landscape analysis where the loss surface at every layer is…

机器学习 · 计算机科学 2020-12-09 Adepu Ravi Sankar , Yash Khasbage , Rahul Vigneswaran , Vineeth N Balasubramanian

Harnessing the local topography of the loss landscape is a central challenge in advanced optimization tasks. By accounting for the effect of potential parameter changes, we can alter the model more efficiently. Contrary to standard…

机器学习 · 计算机科学 2024-11-27 Jed A. Duersch , Tommie A. Catanach , Alexander Safonov , Jeremy Wendt

Second-order optimization uses curvature information about the objective function, which can help in faster convergence. However, such methods typically require expensive computation of the Hessian matrix, preventing their usage in a…

机器学习 · 计算机科学 2022-11-03 Mohamed Elsayed , A. Rupam Mahmood

There are many surprising and perhaps counter-intuitive properties of optimization of deep neural networks. We propose and experimentally verify a unified phenomenological model of the loss landscape that incorporates many of them. High…

机器学习 · 计算机科学 2019-06-12 Stanislav Fort , Stanislaw Jastrzebski

The Transformer architecture has inarguably revolutionized deep learning, overtaking classical architectures like multi-layer perceptrons (MLPs) and convolutional neural networks (CNNs). At its core, the attention block differs in form and…

机器学习 · 计算机科学 2025-03-18 Weronika Ormaniec , Felix Dangel , Sidak Pal Singh

Increasing the size of a Transformer does not always lead to enhanced performance. This phenomenon cannot be explained by the empirical scaling laws. Furthermore, the model's enhanced performance is closely associated with its memorization…

机器学习 · 计算机科学 2024-12-02 Xueyan Niu , Bo Bai , Lei Deng , Wei Han

We present PYHESSIAN, a new scalable framework that enables fast computation of Hessian (i.e., second-order derivative) information for deep neural networks. PYHESSIAN enables fast computations of the top Hessian eigenvalues, the Hessian…

机器学习 · 计算机科学 2021-04-21 Zhewei Yao , Amir Gholami , Kurt Keutzer , Michael Mahoney

Understanding the curvature evolution of the loss landscape is fundamental to analyzing the training dynamics of neural networks. The most commonly studied measure, Hessian sharpness ($\lambda_{\max}^H$) -- the largest eigenvalue of the…

We perform an effective-theory analysis of forward-backward signal propagation in wide and deep Transformers, i.e., residual neural networks with multi-head self-attention blocks and multilayer perceptron blocks. This analysis suggests…

机器学习 · 计算机科学 2023-04-06 Emily Dinan , Sho Yaida , Susan Zhang

In spite of their huge success, transformer models remain difficult to scale in depth. In this work, we develop a unified signal propagation theory and provide formulae that govern the moments of the forward and backward signal through the…

计算与语言 · 计算机科学 2024-07-19 Akhil Kedia , Mohd Abbas Zaidi , Sushil Khyalia , Jungho Jung , Harshith Goka , Haejun Lee

In this work, we study the evolution of the loss Hessian across many classification tasks in order to understand the effect the curvature of the loss has on the training dynamics. Whereas prior work has focused on how different learning…

Second-order methods for neural network optimization have several advantages over methods based on first-order gradient descent, including better scaling to large mini-batch sizes and fewer updates needed for convergence. But they are…

机器学习 · 计算机科学 2017-12-21 Huishuai Zhang , Caiming Xiong , James Bradbury , Richard Socher

We investigate the training of sparse layers that use different parameters for different inputs based on hashing in large Transformer models. Specifically, we modify the feedforward layer to hash to different sets of weights depending on…

机器学习 · 计算机科学 2021-07-21 Stephen Roller , Sainbayar Sukhbaatar , Arthur Szlam , Jason Weston

We present a limited empirical study of scaling laws for transfer learning in transformer models. More specifically, we examine a scaling law that incorporates a "transfer gap" term, indicating the effectiveness of pre-training on one…

机器学习 · 计算机科学 2024-09-02 Matthew Barnett

Due to the rapid growth of data and computational resources, distributed optimization has become an active research area in recent years. While first-order methods seem to dominate the field, second-order methods are nevertheless attractive…

机器学习 · 计算机科学 2018-06-21 Celestine Dünner , Aurelien Lucchi , Matilde Gargiani , An Bian , Thomas Hofmann , Martin Jaggi

Flatness measures based on the spectrum or the trace of the Hessian of the loss are widely used as proxies for the generalization ability of deep networks. However, most existing definitions are either tailored to fully connected…

机器学习 · 计算机科学 2026-03-11 Rahman Taleghani , Maryam Mohammadi , Francesco Marchetti

Transformers deliver outstanding performance across a wide range of tasks and are now a dominant backbone architecture for large language models (LLMs). Their task-solving performance is improved by increasing parameter size, as shown in…

计算与语言 · 计算机科学 2025-06-10 Hidetaka Kamigaito , Ying Zhang , Jingun Kwon , Katsuhiko Hayashi , Manabu Okumura , Taro Watanabe
‹ 上一页 1 2 3 10 下一页 ›