Sign-SGD via Parameter-Free Optimization

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Medyakov, Daniil, Stanko, Sergey, Molodtsov, Gleb, Zmushko, Philip, Evseev, Grigoriy, Petrov, Egor, Beznosikov, Aleksandr
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914339310534656
author Medyakov, Daniil
Stanko, Sergey
Molodtsov, Gleb
Zmushko, Philip
Evseev, Grigoriy
Petrov, Egor
Beznosikov, Aleksandr
author_facet Medyakov, Daniil
Stanko, Sergey
Molodtsov, Gleb
Zmushko, Philip
Evseev, Grigoriy
Petrov, Egor
Beznosikov, Aleksandr
contents Large language models have achieved major advances across domains, yet training them remains extremely resource-intensive. We revisit Sign-SGD, which serves both as a memory-efficient optimizer for single-node training and as a gradient compression mechanism for distributed learning. This paper addresses a central limitation: the effective stepsize cannot be determined a priori because it relies on unknown, problem-specific quantities. We present a parameter-free Sign-SGD that removes manual stepsize selection. We analyze the deterministic single-node case, and extend the method to stochastic single-node training and multi-node settings. We also incorporate the momentum technique into our algorithms and propose a memory-efficient variant that stores only gradient signs instead of full gradients. We evaluate our methods on pre-training LLaMA models (130M and 350M) and fine-tuning a Swin Transformer (28M). Across considered tasks, the proposed methods match the performance of tuned Sign-SGD and AdamW (grid-searched stepsizes with a cosine schedule), while avoiding tuning overhead. Employing parameter-free training yields approximately $1.5\times$ end-to-end speedup compared to runs with grid-searched stepsizes.
format Preprint
id arxiv_https___arxiv_org_abs_2506_03725
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Sign-SGD via Parameter-Free Optimization
Medyakov, Daniil
Stanko, Sergey
Molodtsov, Gleb
Zmushko, Philip
Evseev, Grigoriy
Petrov, Egor
Beznosikov, Aleksandr
Machine Learning
Optimization and Control
Large language models have achieved major advances across domains, yet training them remains extremely resource-intensive. We revisit Sign-SGD, which serves both as a memory-efficient optimizer for single-node training and as a gradient compression mechanism for distributed learning. This paper addresses a central limitation: the effective stepsize cannot be determined a priori because it relies on unknown, problem-specific quantities. We present a parameter-free Sign-SGD that removes manual stepsize selection. We analyze the deterministic single-node case, and extend the method to stochastic single-node training and multi-node settings. We also incorporate the momentum technique into our algorithms and propose a memory-efficient variant that stores only gradient signs instead of full gradients. We evaluate our methods on pre-training LLaMA models (130M and 350M) and fine-tuning a Swin Transformer (28M). Across considered tasks, the proposed methods match the performance of tuned Sign-SGD and AdamW (grid-searched stepsizes with a cosine schedule), while avoiding tuning overhead. Employing parameter-free training yields approximately $1.5\times$ end-to-end speedup compared to runs with grid-searched stepsizes.
title Sign-SGD via Parameter-Free Optimization
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2506.03725