paper-with-me

홈 › Papers

Effective Gradient Sample Size via Variation Estimation for Accelerating Sharpness aware Minimization

2024-02-24 · Jiaxin Deng, Junbiao Pang, Baochang Zhang, Tian Wang

Sharpness-aware Minimization (SAM) has been proposed recently to improve model generalization ability. However, SAM calculates the gradient twice in each optimization step, thereby doubling the computation costs compared to stochastic gradient descent (SGD). In this paper, we propose a simple yet efficient sampling method to significantly accelerate SAM. Concretely, we discover that the gradient of SAM is a combination of the gradient of SGD and the Projection of the Second-order gradient matrix onto the First-order gradient (PSF). PSF exhibits a gradually increasing frequency of change during the training process. To leverage this observation, we propose an adaptive sampling method based on the variation of PSF, and we reuse the sampled PSF for non-sampling iterations. Extensive empirical results illustrate that the proposed method achieved state-of-the-art accuracies comparable to SAM on diverse network architectures.

📄 PDF Abstract BibTeX arXiv:2403.08821

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…
SAM 설명 없음

Similar Papers 제목 키워드 기반

Stein Self-Repulsive Dynamics: Benefits From Past Samples

2020-02-21 · NeurIPS 2020 12 · Mao Ye, Tongzheng Ren, Qiang Liu

We propose a new Stein self-repulsive dynamics for obtaining diversified samples from intractable un-normalized distributions. Our idea is to introduce Stein variational gradient as a repulsive force to push the samples …

Multilevel Monte Carlo Variational Inference

2019-02-01 · Masahiro Fujisawa, Issei Sato

We propose a variance reduction framework for variational inference using the Multilevel Monte Carlo (MLMC) method. Our framework is built on reparameterized gradient estimators and "recycles" parameters obtained from pa…

Stochastic OptimizationVariational Inference

U-Statistics for Importance-Weighted Variational Inference

2023-02-27 · pproximateinference AABI Symposium 2022 2 · Javier Burroni, Kenta Takatsu, Justin Domke, Daniel Sheldon

We propose the use of U-statistics to reduce variance for gradient estimation in importance-weighted variational inference. The key observation is that, given a base gradient estimator that requires $m > 1$ samples and a…

Computational EfficiencyVariational Inference

A Unified Perspective on Natural Gradient Variational Inference with Gaussian Mixture Models

2022-09-23 · Oleg Arenz, Philipp Dahlinger, Zihan Ye, Michael Volpp 외

Variational inference with Gaussian mixture models (GMMs) enables learning of highly tractable yet multi-modal approximations of intractable target distributions with up to a few hundred dimensions. The two currently mos…

Variational Inference

Convergence of projected stochastic natural gradient variational inference for various step size and sample or batch size schedules

2026-04-01 · Thomas Guilmeau, Hadrien Hendrikx, Florence Forbes arxiv

Stochastic natural gradient variational inference (NGVI) is a popular and efficient algorithm for Bayesian inference. Despite empirical success, the convergence of this method is still not fully understood. In this work,…

Stochastic OptimizationBayesian Inference