Pith. sign in

REVIEW 1 cited by

Memory Efficient Optimizers with 4-bit States

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2309.01507 v3 pith:FKTBKVF5 submitted 2023-09-04 cs.LG cs.AI

classification cs.LGcs.AI
keywords memorystatesbitwidthoptimizeroptimizersbettercurrentmoments
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Optimizer states are a major source of memory consumption for training neural networks, limiting the maximum trainable model within given memory budget. Compressing the optimizer states from 32-bit floating points to lower bitwidth is promising to reduce the training memory footprint, while the current lowest achievable bitwidth is 8-bit. In this work, we push optimizer states bitwidth down to 4-bit through a detailed empirical analysis of first and second moments. Specifically, we find that moments have complicated outlier patterns, that current block-wise quantization cannot accurately approximate. We use a smaller block size and propose to utilize both row-wise and column-wise information for better quantization. We further identify a zero point problem of quantizing the second moment, and solve this problem with a linear quantizer that excludes the zero point. Our 4-bit optimizers are evaluated on a wide variety of benchmarks including natural language understanding, machine translation, image classification, and instruction tuning. On all the tasks our optimizers can achieve comparable accuracy with their full-precision counterparts, while enjoying better memory efficiency.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. No More Adam: Learning Rate Scaling at Initialization is All You Need

    cs.LG 2024-12 conditional novelty 5.0 of 10

    A fixed, per-group learning-rate scaling computed at initialization lets SGD with momentum match AdamW on several Transformer tasks while halving optimizer memory.

Pith tools