paper-with-me

Papers

When, Where and Why to Average Weights?

2025-02-10 · Niccolò Ajroldi, Antonio Orvieto, Jonas Geiping

Averaging checkpoints along the training trajectory is a simple yet powerful approach to improve the generalization performance of Machine Learning models and reduce training time. Motivated by these potential gains, and in an effort to fairly and thoroughly benchmark this technique, we present an extensive evaluation of averaging techniques in modern Deep Learning, which we perform using AlgoPerf \citep{dahl_benchmarking_2023}, a large-scale benchmark for optimization algorithms. We investigate whether weight averaging can reduce training time, improve generalization, and replace learning rate decay, as suggested by recent literature. Our evaluation across seven architectures and datasets reveals that averaging significantly accelerates training and yields considerable efficiency gains, at the price of a minimal implementation and memory cost, while mildly improving generalization across all considered workloads. Finally, we explore the relationship between averaging and learning rate annealing and show how to optimally combine the two to achieve the best performances.

📄 PDF Abstract BibTeX arXiv:2502.06761

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Multicalibrated Partitions for Importance Weights

2021-03-10 · Parikshit Gopalan, Omer Reingold, Vatsal Sharan, Udi Wieder

The ratio between the probability that two distributions $R$ and $P$ give to points $x$ are known as importance weights or propensity scores and play a fundamental role in many different fields, most notably, statistics …

Anomaly DetectionDomain Adaptation

ECAvg: An Edge-Cloud Collaborative Learning Approach using Averaged Weights

2023-10-05 · Atah Nuh Mih, Hung Cao, Asfia Kawnine, Monica Wachowicz

The use of edge devices together with cloud provides a collaborative relationship between both classes of devices where one complements the shortcomings of the other. Resource-constraint edge devices can benefit from the…

ClassificationTransfer Learning

PopulAtion Parameter Averaging (PAPA)

2023-04-06 · Alexia Jolicoeur-Martineau, Emy Gervais, Kilian Fatras, Yan Zhang 외

Ensemble methods combine the predictions of multiple models to improve performance, but they require significantly higher computation costs at inference time. To avoid these costs, multiple neural networks can be combine…

Distributed computation of fast consensus weights using ADMM

2020-02-19 · Kiran Rokade, Rachel Kalpana Kalaimani

We consider the problem of achieving average consensus among multiple agents, where the inter-agent communication network is depicted by a graph. We consider the discrete-time consensus protocol where each agent updates …

WARM: On the Benefits of Weight Averaged Reward Models

2024-01-22 · Alexandre Ramé, Nino Vieillard, Léonard Hussenot, Robert Dadashi 외

Aligning large language models (LLMs) with human preferences through reinforcement learning (RLHF) can lead to reward hacking, where LLMs exploit failures in the reward model (RM) to achieve seemingly high rewards withou…