Tune without Validation: Searching for Learning Rate and Weight Decay on Training Sets

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Brigato, Lorenzo, Mougiakakou, Stavroula
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916152635031552
author Brigato, Lorenzo
Mougiakakou, Stavroula
author_facet Brigato, Lorenzo
Mougiakakou, Stavroula
contents We introduce Tune without Validation (Twin), a pipeline for tuning learning rate and weight decay without validation sets. We leverage a recent theoretical framework concerning learning phases in hypothesis space to devise a heuristic that predicts what hyper-parameter (HP) combinations yield better generalization. Twin performs a grid search of trials according to an early-/non-early-stopping scheduler and then segments the region that provides the best results in terms of training loss. Among these trials, the weight norm strongly correlates with predicting generalization. To assess the effectiveness of Twin, we run extensive experiments on 20 image classification datasets and train several families of deep networks, including convolutional, transformer, and feed-forward models. We demonstrate proper HP selection when training from scratch and fine-tuning, emphasizing small-sample scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2403_05532
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Tune without Validation: Searching for Learning Rate and Weight Decay on Training Sets
Brigato, Lorenzo
Mougiakakou, Stavroula
Machine Learning
Computer Vision and Pattern Recognition
We introduce Tune without Validation (Twin), a pipeline for tuning learning rate and weight decay without validation sets. We leverage a recent theoretical framework concerning learning phases in hypothesis space to devise a heuristic that predicts what hyper-parameter (HP) combinations yield better generalization. Twin performs a grid search of trials according to an early-/non-early-stopping scheduler and then segments the region that provides the best results in terms of training loss. Among these trials, the weight norm strongly correlates with predicting generalization. To assess the effectiveness of Twin, we run extensive experiments on 20 image classification datasets and train several families of deep networks, including convolutional, transformer, and feed-forward models. We demonstrate proper HP selection when training from scratch and fine-tuning, emphasizing small-sample scenarios.
title Tune without Validation: Searching for Learning Rate and Weight Decay on Training Sets
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.05532