mlsanityData to 7 Oct 2026

Two-Tailed Averaging: Anytime, Adaptive, Once-in-a-While Optimal Weight Averaging for Better Generalization

arXiv 2209.12581 ↗First posted 26 Sep 2022stat.ML cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Tail Averaging improves on Polyak averaging's non-asymptotic behaviour by excluding a number of leading iterates of stochastic optimization from its calculations. In practice, with a finite number of optimization steps and a learning rate that cannot be annealed to zero, Tail Averaging can get much closer to a local minimum point of the training loss than either the individual iterates or the Polyak average. However, the number of leading iterates to ignore is an important hyperparameter, and starting averaging too early or too late leads to inefficient use of resources or suboptimal solutions. Our work focusses on improving generalization, which makes setting this hyperparameter even more difficult, especially in the presence of other hyperparameters and overfitting. Furthermore, before averaging starts, the loss is only weakly informative of the final performance, which makes early stopping unreliable. To alleviate these problems, we propose an anytime variant of Tail Averaging intended for improving generalization not pure optimization, that has no hyperparameters and approximates the optimal tail at all optimization steps. Our algorithm is based on two running averages with adaptive lengths bounded in terms of the optimal tail length, one of which achieves approximate optimality with some regularity. Requiring only the additional storage for two sets of weights and periodic evaluation of the loss, the proposed Two-Tailed Averaging algorithm is a practical and widely applicable method for improving generalization.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 9 of its 22 references that are in the map. First posted on arXiv 26 Sep 2022.

Builds on

9 of 22 references.

References · 9

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  3. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  4. 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
  5. 2014New insights and perspectives on the natural gradient methodcited by 435
  6. 2017Regularizing and Optimizing LSTM Language Modelscited by 205
  7. 2020An Analysis of Constant Step Size SGD in the Non-convex Regime: Asymptotic Normality and Biascited by 45
  8. 2022Stochastic Weight Averaging Revisitedcited by 26
  9. 2019Anytime Tail Averagingcited by 2

Built on by

Cited by year

Citing papers per year: 2022: 1.

1 paper.