ECO: Quantized Training without Full-Precision Master Weights
Abstract
Lay Summary
Training today's largest AI models is enormously expensive, and a major reason is memory. Modern hardware runs much faster when numbers are stored in a compact, low-precision format, but stable training currently requires keeping a hidden high-precision copy of every parameter, called master weights, because the tiny adjustments made each step would otherwise be lost in the compact format. These master weights eat up much of the memory savings that low-precision training was supposed to provide. We introduce ECO, a method that removes master weights entirely. The idea is simple: every time the parameters are squeezed back into the compact format, a small amount of information is lost; instead of discarding it, ECO feeds it back into the optimizer so the missing updates are applied a little later. This happens through a buffer the optimizer already maintains, so ECO adds no extra memory. We prove that ECO converges to nearly the same solution quality as training with master weights, whereas naively dropping them causes errors to grow unboundedly. Empirically, across models from 30 million to 16 billion parameters, including large Mixture-of-Experts architectures, ECO matches the accuracy of high-precision training while reducing memory use by up to 25 percent, and it can be combined with other memory-saving techniques for further gains.