Revisiting LARS for Large Batch Training Generalization of Neural Networks

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Do, Khoi, Nguyen, Duong, Nguyen, Hoa, Tran-Thanh, Long, Tran, Nguyen-Hoang, Pham, Quoc-Viet
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929476268457984
author Do, Khoi
Nguyen, Duong
Nguyen, Hoa
Tran-Thanh, Long
Tran, Nguyen-Hoang
Pham, Quoc-Viet
author_facet Do, Khoi
Nguyen, Duong
Nguyen, Hoa
Tran-Thanh, Long
Tran, Nguyen-Hoang
Pham, Quoc-Viet
contents This paper explores Large Batch Training techniques using layer-wise adaptive scaling ratio (LARS) across diverse settings, uncovering insights. LARS algorithms with warm-up tend to be trapped in sharp minimizers early on due to redundant ratio scaling. Additionally, a fixed steep decline in the latter phase restricts deep neural networks from effectively navigating early-phase sharp minimizers. Building on these findings, we propose Time Varying LARS (TVLARS), a novel algorithm that replaces warm-up with a configurable sigmoid-like function for robust training in the initial phase. TVLARS promotes gradient exploration early on, surpassing sharp optimizers and gradually transitioning to LARS for robustness in later phases. Extensive experiments demonstrate that TVLARS consistently outperforms LARS and LAMB in most cases, with up to 2\% improvement in classification scenarios. Notably, in all self-supervised learning cases, TVLARS dominates LARS and LAMB with performance improvements of up to 10\%.
format Preprint
id arxiv_https___arxiv_org_abs_2309_14053
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Revisiting LARS for Large Batch Training Generalization of Neural Networks
Do, Khoi
Nguyen, Duong
Nguyen, Hoa
Tran-Thanh, Long
Tran, Nguyen-Hoang
Pham, Quoc-Viet
Machine Learning
Artificial Intelligence
This paper explores Large Batch Training techniques using layer-wise adaptive scaling ratio (LARS) across diverse settings, uncovering insights. LARS algorithms with warm-up tend to be trapped in sharp minimizers early on due to redundant ratio scaling. Additionally, a fixed steep decline in the latter phase restricts deep neural networks from effectively navigating early-phase sharp minimizers. Building on these findings, we propose Time Varying LARS (TVLARS), a novel algorithm that replaces warm-up with a configurable sigmoid-like function for robust training in the initial phase. TVLARS promotes gradient exploration early on, surpassing sharp optimizers and gradually transitioning to LARS for robustness in later phases. Extensive experiments demonstrate that TVLARS consistently outperforms LARS and LAMB in most cases, with up to 2\% improvement in classification scenarios. Notably, in all self-supervised learning cases, TVLARS dominates LARS and LAMB with performance improvements of up to 10\%.
title Revisiting LARS for Large Batch Training Generalization of Neural Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2309.14053