﻿# ALAM activation compression: group averages reduce saved state, not every part of training memory

The ICLR ALAM paper separates activation savings from total memory and reports small task-score changes rather than identical accuracy across all configurations.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/alam-average-quantization-activation-memory-total-quality-boundaries/
Language: en

Saving fewer trainable parameters does not remove the intermediate values needed by backpropagation. [ALAM](https://proceedings.iclr.cc/paper_files/paper/2024/hash/18abbeef8cfe9203fdf9053c9c4fe191-Abstract-Conference.html), published at ICLR in 2024, targets that saved activation state. Its full paper supports substantial memory savings, while also providing the task-level results needed to qualify a broad claim of unchanged accuracy.

## What average quantization stores

The [full primary paper](https://proceedings.iclr.cc/paper_files/paper/2024/file/18abbeef8cfe9203fdf9053c9c4fe191-Paper-Conference.pdf) groups adjacent flattened activation elements and retains a quantized group mean. During backward computation, that mean is repeated to approximate the original elements. For example, a 2-bit value representing four elements has an effective storage precision of 0.5 bits per element.

That accounting does not mean hardware performs every operation using a fractional-bit arithmetic type. It describes a representation of saved data. Floating tensors are compressed, while other retained values such as indices and masks remain outside that transformation. Their presence helps explain why a nominal precision ratio differs from the measured activation-memory ratio.

## Sensitivity changes the allocation

ALAM assigns different compression levels according to estimated sensitivity. Its proposed estimator retains gradient norms rather than complete gradients from repeated sensitivity calculations, reducing that estimator's own storage requirement. The resulting memory benefit is distinct from compressing the activations themselves.

Approximation still changes the information used during backward. A mathematical bound and favorable tests do not guarantee identical gradients or unchanged accuracy for arbitrary tasks. [Activation checkpointing](/journal/activation-checkpoint-recomputation-graph/) provides a useful comparison: recomputation and lossy retained-state compression address the same storage pressure through different mechanisms.

## Read the large-model tables precisely

For LLaMA2-7B, the paper evaluates LoRA; its larger examples use QLoRA. Those adapter choices should not be flattened into one common recipe. Under the reported setup, activation compression reaches 10.6 times for the smaller model and 10.3 times for the larger example.

The single-A6000 comparison reports total accounted memory of 34 GB versus 15 GB for LoRA with and without ALAM on the smaller model. The QLoRA example is 40 GB versus 10 GB. These reductions are not the same ratios as activation compression, because model state remains. They should not be promoted to a universally measured allocator peak or minimum GPU capacity without the matching measurement definition.

## Similar quality is not identical quality

In the smaller-model comparison, the reported average score changes from 62.5 to 62.2; the larger example changes from 65.1 to 65.0. Individual tasks can move differently. The paper's more detailed table includes both improvements and regressions, so a literal guarantee of no accuracy loss would overstate the evidence.

The experiment uses a limited sequence length and selected adaptation datasets. Another batch size, longer context or task can change both the saved-state fraction and sensitivity to approximation. The guide to [LoRA and QLoRA memory](/journal/lora-qlora-memory/) explains the other training allocations. ALAM is therefore a particular activation-memory technique with author-reported quality tradeoffs, rather than a conversion factor that makes every training job fit a proportionally smaller card.
