Boosting Data Augmentation with Stochastic Weight Averaging

Longde Huang, Axel Flinth, Jan E. Gerken
8/14/2026
cs.LG

No confident code implementation found for this paper.

Abstract

The symmetries of a learning task have become an important factor in designing modern deep learning solutions. Data augmentation is a straightforward and effective way of incorporating symmetries into a generic neural network.

Show full abstract

Recent results show that infinitely large deep ensembles show perfect symmetry when trained on augmented data. However, since training ensembles requires repeating the training process many times, this method is costly. In this work, we study stochastic weight averaging (SWA) applied to classification as an alternative ensembling technique that does not require repeated training runs. We analyze SWA by approximating the stochastic training trajectory at the end of training with an Ornstein--Uhlenbeck process. We show that in the infinite-width limit, SWA on augmented data provides an equivariance boost that goes beyond what could be expected from the performance increase due to SWA alone. We verify our results with extensive numerical experiments on numerous models spanning image and graph classification with both discrete and continuous symmetries.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2026boosting,
  title  = {Boosting Data Augmentation with Stochastic Weight Averaging},
  author = {Longde Huang and Axel Flinth and Jan E. Gerken},
  year   = {2026},
  eprint = {2608.14373},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.14373v2}
}

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/2608.14373.svg)](https://codeofpaper.com/paper/2608.14373)

Discussion