Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jacobs, Tom, Zhou, Chao, Burkholz, Rebekka
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915456395247616
author Jacobs, Tom
Zhou, Chao
Burkholz, Rebekka
author_facet Jacobs, Tom
Zhou, Chao
Burkholz, Rebekka
contents Implicit bias plays an important role in explaining how overparameterized models generalize well. Explicit regularization like weight decay is often employed in addition to prevent overfitting. While both concepts have been studied separately, in practice, they often act in tandem. Understanding their interplay is key to controlling the shape and strength of implicit bias, as it can be modified by explicit regularization. To this end, we incorporate explicit regularization into the mirror flow framework and analyze its lasting effects on the geometry of the training dynamics, covering three distinct effects: positional bias, type of bias, and range shrinking. Our analytical approach encompasses a broad class of problems, including sparse coding, matrix sensing, single-layer attention, and LoRA, for which we demonstrate the utility of our insights. To exploit the lasting effect of regularization and highlight the potential benefit of dynamic weight decay schedules, we propose to switch off weight decay during training, which can improve generalization, as we demonstrate in experiments.
format Preprint
id arxiv_https___arxiv_org_abs_2504_12883
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias?
Jacobs, Tom
Zhou, Chao
Burkholz, Rebekka
Machine Learning
Implicit bias plays an important role in explaining how overparameterized models generalize well. Explicit regularization like weight decay is often employed in addition to prevent overfitting. While both concepts have been studied separately, in practice, they often act in tandem. Understanding their interplay is key to controlling the shape and strength of implicit bias, as it can be modified by explicit regularization. To this end, we incorporate explicit regularization into the mirror flow framework and analyze its lasting effects on the geometry of the training dynamics, covering three distinct effects: positional bias, type of bias, and range shrinking. Our analytical approach encompasses a broad class of problems, including sparse coding, matrix sensing, single-layer attention, and LoRA, for which we demonstrate the utility of our insights. To exploit the lasting effect of regularization and highlight the potential benefit of dynamic weight decay schedules, we propose to switch off weight decay during training, which can improve generalization, as we demonstrate in experiments.
title Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias?
topic Machine Learning
url https://arxiv.org/abs/2504.12883