scimeatlas

Research map / Architectures and efficiency / Quantization

ALAM: Averaged Low-Precision Activation for Memory-Efficient Training of Transformer Models

Sunghyeon Woo, Sunwoo Lee, Dongsuk Jeon

ICLR 2024Architectures and efficiency › Quantizationapproach: Post-training quantization of ViTsopen problems in this approach

NAVER · Seoul National University

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
6improved
2no clear effect
2hurt
In one sentence

Proposes ALAM, an activation-compressed training scheme that stores transformer activations in averaged low-precision form to reduce GPU memory use during training.

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Problem

Storing activations in the forward pass consumes large GPU memory in deep network and transformer LLM training; existing activation-compressed training (ACT) schemes suffer significant performance drops when applied to transformers.

Approach

Averaged low-precision activation storage for transformer training, designed to avoid the performance degradation that existing ACT schemes incur on transformer models. Only the abstract is available, so finer details are not stated.

On benchmark leaderboards

This paper tried a common change: Larger batch size

increase micro-batch size from 8 to 64 · LLaMA2-7B LoRA · total memory saving: 56% -> 84% vs baseline Improved

What 943 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
compress activations by group average rather than median or random element (ablation)512-512-10 MLP on MNIST · MNISTtest accuracy: 84.82 (median) / 90.31 (random) -> 96.09 (average); FP32 98.72Improved
use maximum or minimum of group as representative (ablation)512-512-10 MLP on MNIST · MNISTtest accuracy: failHurt
use AQ 1-bit instead of 1-bit uniform quantization (ablation)VGG-11 on CIFAR-100 · CIFAR-100training success / test accuracyImproved
use GradNormVar instead of gradient-variance sensitivity (ablation)BERT-Large fine-tuning on MRPC · MRPCtraining accuracy: 86.5% -> 86.9%No clear effect
use ALAM instead of GACT at 1-bit targetBERT-Base fine-tuning · GLUE CoLA/RTE/MRPCtraining success: GACT fail -> ALAM 54.5 (CoLA)Improved
use ALAM 2-bit instead of GACT 2-bitBERT-Large · GLUE MNLIaccuracy: 85.2 -> 86.4Improved
lower ALAM target precision from 2-bit to 1-bitALAM on BERT-Large · GLUE QQPaccuracy: 91.1 -> 86Hurt
use ALAM 1-bit instead of GACT 4-bit/3-bitLLaMA2-7B LoRA · Alpaca fine-tuning, MMLUaccuracy: GACT 4-bit 44.8; 3-bit fail -> ALAM 1-bit 45.7Improved
apply ALAM 1-bit to LoRA fine-tuningLLaMA2-7B · average accuracyaverage accuracy: 62.5 -> 62.2No clear effect
increase micro-batch size from 8 to 64 (ablation)ALAM vs baseline total memory · LLaMA2-7B LoRAtotal memory saving: 56% -> 84% vs baselineImproved

Open problems in compressing vision models

How far can a vision model be pruned, quantized or distilled before it loses accuracy that matters?

All 5 open problems and what was already tried →

Experimental setup

Builds on: activation-compressed training

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy