Improving Deep Learning Optimization through Constrained Parameter Regularization

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Franke, Jörg K. H., Hefenbrock, Michael, Koehler, Gregor, Hutter, Frank
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929618858016768
author Franke, Jörg K. H.
Hefenbrock, Michael
Koehler, Gregor
Hutter, Frank
author_facet Franke, Jörg K. H.
Hefenbrock, Michael
Koehler, Gregor
Hutter, Frank
contents Regularization is a critical component in deep learning. The most commonly used approach, weight decay, applies a constant penalty coefficient uniformly across all parameters. This may be overly restrictive for some parameters, while insufficient for others. To address this, we present Constrained Parameter Regularization (CPR) as an alternative to traditional weight decay. Unlike the uniform application of a single penalty, CPR enforces an upper bound on a statistical measure, such as the L2-norm, of individual parameter matrices. Consequently, learning becomes a constraint optimization problem, which we tackle using an adaptation of the augmented Lagrangian method. CPR introduces only a minor runtime overhead and only requires setting an upper bound. We propose simple yet efficient mechanisms for initializing this bound, making CPR rely on no hyperparameter or one, akin to weight decay. Our empirical studies on computer vision and language modeling tasks demonstrate CPR's effectiveness. The results show that CPR can outperform traditional weight decay and increase performance in pre-training and fine-tuning.
format Preprint
id arxiv_https___arxiv_org_abs_2311_09058
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Improving Deep Learning Optimization through Constrained Parameter Regularization
Franke, Jörg K. H.
Hefenbrock, Michael
Koehler, Gregor
Hutter, Frank
Machine Learning
Regularization is a critical component in deep learning. The most commonly used approach, weight decay, applies a constant penalty coefficient uniformly across all parameters. This may be overly restrictive for some parameters, while insufficient for others. To address this, we present Constrained Parameter Regularization (CPR) as an alternative to traditional weight decay. Unlike the uniform application of a single penalty, CPR enforces an upper bound on a statistical measure, such as the L2-norm, of individual parameter matrices. Consequently, learning becomes a constraint optimization problem, which we tackle using an adaptation of the augmented Lagrangian method. CPR introduces only a minor runtime overhead and only requires setting an upper bound. We propose simple yet efficient mechanisms for initializing this bound, making CPR rely on no hyperparameter or one, akin to weight decay. Our empirical studies on computer vision and language modeling tasks demonstrate CPR's effectiveness. The results show that CPR can outperform traditional weight decay and increase performance in pre-training and fine-tuning.
title Improving Deep Learning Optimization through Constrained Parameter Regularization
topic Machine Learning
url https://arxiv.org/abs/2311.09058