Categories: FAANG

How to Scale Your EMA

*=Equal Contributors
Preserving training dynamics across batch sizes is an important tool for practical machine learning as it enables the trade-off between batch size and wall-clock time. This trade-off is typically enabled by a scaling rule; for example, in stochastic gradient descent, one should scale the learning rate linearly with the batch size. Another important machine learning tool is the model EMA, a functional copy of a target model whose parameters move towards those of its target model according to an Exponential Moving Average (EMA) at a rate parameterized by a momentum…
AI Generated Robotic Content

Recent Posts

Fast Attention Kernels and Operator Fusion

Overview This post is divided into four parts; they are: • Operator Fusion • FlashAttention-Style…

3 hours ago

Getting Reliable Structured Outputs from LLMs: Validation, Retries and Constrained Decoding

The fixture suite turns the sentences above into fourteen test cases, from a missing required…

3 hours ago

Theoretical Limits of Language Model Alignment

Language model (LM) alignment improves model outputs to reflect human preferences while preserving the capabilities…

3 hours ago

Deploy frontier AI models on AWS Trainium with SGLang-Neuron

Today, Amazon announced that SGLang-Neuron is publicly available and can be accessed through an AWS…

3 hours ago

‘Bring Back THE Boss’: Nvidia Employees Petition for Jensen Huang’s Return

An internal post urging the board to consider employee sentiment about Nvidia’s former CEO has…

4 hours ago

Inside this quantum computer, memory vibrates like a guitar string

Researchers have created a quantum computer that stores information in microscopic vibrations, potentially making quantum…

4 hours ago