Constrained Parameter Regularization

Jörg K.h. Franke, Michael Hefenbrock, Gregor Koehler, Frank HutterOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

In this work, we present constrained parameter regularization (CPR), an alternative to traditional weight decay. Instead of applying a constant penalty uniformly to all parameters, we enforce an upper bound on a statistical measure (e.g., the L2-norm) of parameter groups. Consequently, learning becomes a constraint optimization problem, which we address by an adaptation of the augmented Lagrangian method. This formulation permits varying regularization strengths for each parameter group, eliminating the need for explicit penalty coefficients for regularization terms. CPR only requires two hyperparameters and incurs no measurable runtime overhead. Additionally, we propose a simple but efficient mechanism to adapt the upper bounds during the optimization. We provide empirical evidence of CPR's efficacy in experiments on the ``grokking'' phenomenon, computer vision, and language modeling tasks. Our results demonstrate that CPR counteracts the effects of grokking and consistently matches or outperforms traditional weight decay.
BibTeX
@misc{franke2024constrained,
  author = {Jörg K.H. Franke and Michael Hefenbrock and Gregor Koehler and Frank Hutter},
  title = {{Constrained Parameter Regularization}},
  year = {2024},
  url = {https://openreview.net/forum?id=9GviaQcGnx},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure