Computer Science > Machine Learning
[Submitted on 21 May 2024 (v1), last revised 3 Sep 2024 (this version, v11)]
Title:FAdam: Adam is a natural gradient optimizer using diagonal empirical Fisher information
View PDF HTML (experimental)Abstract:This paper establishes a mathematical foundation for the Adam optimizer, elucidating its connection to natural gradient descent through Riemannian and information geometry. We provide an accessible and detailed analysis of the diagonal empirical Fisher information matrix (FIM) in Adam, clarifying all detailed approximations and advocating for the use of log probability functions as loss, which should be based on discrete distributions, due to the limitations of empirical FIM. Our analysis uncovers flaws in the original Adam algorithm, leading to proposed corrections such as enhanced momentum calculations, adjusted bias corrections, adaptive epsilon, and gradient clipping. We refine the weight decay term based on our theoretical framework. Our modified algorithm, Fisher Adam (FAdam), demonstrates superior performance across diverse domains including LLM, ASR, and VQ-VAE, achieving state-of-the-art results in ASR.
Submission history
From: Dongseong Hwang [view email][v1] Tue, 21 May 2024 13:58:17 UTC (166 KB)
[v2] Thu, 23 May 2024 14:46:39 UTC (167 KB)
[v3] Sun, 26 May 2024 10:59:04 UTC (166 KB)
[v4] Tue, 28 May 2024 15:07:28 UTC (167 KB)
[v5] Mon, 3 Jun 2024 11:55:11 UTC (167 KB)
[v6] Fri, 7 Jun 2024 12:11:11 UTC (168 KB)
[v7] Fri, 28 Jun 2024 03:55:48 UTC (170 KB)
[v8] Tue, 9 Jul 2024 05:15:47 UTC (170 KB)
[v9] Sun, 4 Aug 2024 03:55:24 UTC (171 KB)
[v10] Thu, 22 Aug 2024 03:20:11 UTC (172 KB)
[v11] Tue, 3 Sep 2024 21:00:39 UTC (173 KB)
Current browse context:
cs.LG
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)