atlas

Research map / Optimization / Optimizers

Generalization Analysis of Stochastic Weight Averaging with General Sampling

ICML 2024 · Optimization › Optimizers · approach: Stochastic gradient MCMC

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Theoretical stability-based generalization bounds for stochastic weight averaging (SWA) in convex and non-convex settings, with and without replacement sampling, showing sharper bounds than SGD, supported by small MNIST/CIFAR10/Adult experiments.

Problem

Generalization of stochastic weight averaging is theoretically understood only for convex losses with sampling with replacement; non-convex losses and sampling without replacement are unanalyzed.

Approach

Uses uniform stability with an induction-based recursive bound on the historical gradient terms of SWA, and combinatorial probability to handle sampling without replacement, yielding bounds sharper than SGD's in each setting.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SWA instead of SGDSWA versus SGD · Convex, sampling with replacementgeneralization bound: O(2T/n) -> O(T/n)Helped
Use SWA instead of SGDSWA versus SGD · Convex, sampling without replacementgeneralization bound: O(T/n) -> O(ln T/n)Helped
Use SWA instead of SGDSWA versus SGD · Non-convex, sampling with replacementgeneralization bound: O(T^{cβ/(1+cβ)}/n) -> O(T^{cβ/(2+cβ)}/n)Helped
Use SWA instead of SGDSWA versus SGD · Non-convex, sampling without replacementgeneralization bound: O(T^{cγ/(1+cγ)}/n) -> O(T^{cβ/(2+cβ)}/n)Mixed
Use SWA instead of SGDSWA versus SGD · MNIST, sampling with replacementgeneralization errorHelped
Use SWA instead of SGDSWA versus SGD · CIFAR10, sampling with replacementgeneralization errorHelped
Use SWA instead of SGDSWA versus SGD · MNIST, sampling without replacementgeneralization errorHelped
Use SWA instead of SGDSWA versus SGD · Adult, sampling without replacementgeneralization errorHelped

Surprising findings

Limitations

Experimental setup

Datasets: MNIST CIFAR10 Adult

Benchmarks: MNIST CIFAR10 Adult

Metrics: parameter distance generalization error train accuracy test accuracy

Baselines: SGD

Builds on: uniform stability (Hardt et al., 2016) Kuzborskij & Lampert (2018) SGD without replacement stability Stochastic weight averaging (Izmailov et al., 2018)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy