Improving Generalization and Convergence by Enhancing Implicit Regularization

Mingze Wang, Haotian He, Jinbo Wang, Zilin Wang, Guanhua Huang +4 more
2/3/2026

No official code found. Best implementation: wmz9/IRE-algorithm-framework (8 stars, last commit 2024-11-11).

Abstract

In this work, we propose an Implicit Regularization Enhancement (IRE) framework to accelerate the discovery of flat solutions in deep learning, thereby improving generalization and convergence. Specifically, IRE decouples the dynamics of flat and sharp directions, which boosts the sharpness reduction along flat directions while maintaining the training stability in sharp directions. We show that IRE can be practically incorporated with {\em generic base optimizers} without introducing significant computational overload. Experiments show that IRE consistently improves the generalization performance for image classification tasks across a variety of benchmark datasets (CIFAR-10/100, ImageNet) and models (ResNets and ViTs). Surprisingly, IRE also achieves a $2\times$ {\em speed-up} compared to AdamW in the pre-training of Llama models (of sizes ranging from 60M to 229M) on datasets including Wikitext-103, Minipile, and Openwebtext. Moreover, we provide theoretical guarantees, showing that IRE can substantially accelerate the convergence towards flat minima in Sharpness-aware Minimization (SAM).

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2024] Code for the paper "Improving Generalization and Convergence by Enhancing Implicit Regularization".

81Python, Jupyter NotebookOct 31, 20241 years ago

Similar Papers

Cite this paper

@article{wang2026improving,
  title  = {Improving Generalization and Convergence by Enhancing Implicit Regularization},
  author = {Mingze Wang and Haotian He and Jinbo Wang and Zilin Wang and Guanhua Huang and Feiyu Xiong and Zhiyu Li and E. Weinan and Lei Wu},
  year   = {2026},
  eprint = {2405.20763},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.20763},
  url    = {https://arxiv.org/abs/2405.20763},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.20763.svg)](https://codeofpaper.com/paper/2405.20763)

Discussion