- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes STAC-R, a saved-activation compression method for reducing peak memory during transformer training. STAC-R stores activations using an online tracked low-rank subspace together with a sparse quantized residual, and computes weight gradients directly from this compressed representation during backpropagation. The paper also introduces the Saved-Surface Predictor (SSP) to estimate when such compression can reduce allocator peak memory, and derives a gradient-fidelity bridge relating activation reconstruction error to gradient cosine similarity. Experiments on GPT-2, Pythia, and BERT show memory reductions with limited quality degradation, while additional analyses identify settings such as SwiGLU-based Qwen/Llama models where the method may not reduce memory.
Strengths and weaknesses
strengths:
- The proposed method combines tracked low-rank activation structure with a sparse residual correction and direct gradient computation from the compressed representation.
- The paper provides a useful analysis framework through SSP and the gradient-fidelity bridge, which helps explain when activation compression is likely to reduce memory while preserving gradient quality.
- The experiments cover several model families and tasks, including GPT-2, Pythia, and BERT, and report memory, quality, and runtime trade-offs rather than memory savings alone.
- The mechanism studies and ablations are helpful, especially the comparisons with untracked subspaces, batch-local SVD, residual on/off variants, and Turbo-fast mode.
weaknesses:
- The practical memory savings are relatively modest in several main settings, while the full STAC-R variant introduces substantial runtime overhead ——1.95–2.40× wall time relative to the baselines across GPT-2 Medium/Large cohorts.
- The method's applicability to modern SwiGLU-based LLMs is limited, as the paper reports memory-increasing results on Qwen and Llama configurations.
- The experimental presentation is somewhat dense. Key results are spread across many tables, and some tables mix different protocols or include baselines from different code paths. This makes it harder to quickly identify the main memory-quality-runtime trade-offs and distinguish matched comparisons from less directly comparable positioning results.
Questions
- Could the authors more clearly position STAC-R relative to activation checkpointing? In the GPT-2 Medium setting, checkpointing achieves substantially lower peak memory than STAC-R with comparable quality and lower runtime overhead than full STAC-R.
- The reported memory savings are useful but relatively moderate, while the full method can introduce large wall-time overhead. It would help to explain whether these savings enable larger batch sizes, longer sequence lengths, or larger models under a fixed memory budget. Otherwise the method mainly reduces memory without enabling a meaningful practical training scenario.
- The experiments on Qwen/Llama suggest that STAC-R may not reduce memory on some modern decoder-only LLM architectures. Even a small sweep over rank, sequence length, batch size, or wrapped layers would help clarify whether these are isolated cases or a broader limitation. The method appears poorly suited to the architectures most commonly used today.
Limitations
The authors are relatively transparent about several limitations, especially the memory-increasing regimes on SwiGLU-based Qwen/Llama models and the comparison with checkpointing. However, the limitations could be discussed more systematically.
Paper formatting concerns
No paper formatting concerns.
Final justification
The new matched tables and additional measurements substantially address my previous concerns regarding presentation, scope, and practical applicability.
We thank the reviewer for the review. We answer the three questions with measurements, then list the restructuring changes with the content for each already produced. (3 seeds.)
Q1: position relative to activation checkpointing. Our position is a decision rule rather than a claim of superiority, and Table 6 already encodes it as the "Recompute" decision; the revision will state it in the introduction. Where exact recomputation is compatible with the stack and its runtime is affordable it reaches the lower peak (−67.70% at 1.30× on GPT-2 Medium, against −9.40% for STAC-R) and should be used first. STAC-R covers the three cases that rule leaves open: on top of recomputation, where the two act on disjoint surfaces (−38.53% against −33.84%, and −36.08% against −32.36% on GPT-2 Large); when recomputation latency is the constraint, where Turbo-fast costs 0.99× baseline for −9.50%; and where recomputation is unavailable.
Q2: do the savings enable anything practical? Yes. We measured a capacity crossing (32 GB card, Qwen-2.5-1.5B, bf16 + 8-bit AdamW): the largest batch the baseline can run is b=5, at 28.517 GiB, while STAC-R trains at b=6, at 29.710 GiB. That is +20% batch capacity on an unchanged card, which is the form the benefit takes for an activation-side method. The percentage saved is the mechanism; the batch you can fit is the outcome. The paper's existing evidence is Table 19 (GPT-2 XL trains at b=6 with STAC-R and reaches better PPL at the same step budget, 13.191 against 13.278) and Table 20 (max verified batch 22 → 26 under TP=2, +18.2% capacity). We will foreground these.
Q3: a sweep over rank, sequence, batch and wrapped layers on Qwen/Llama. Sweeping the baseline alone, at matched shapes (bf16 + 8-bit AdamW, rank 8, MLP surface):
and applying the two techniques to disjoint blocks recovers most of it:
We ran the sweep, and it resolves the question rather than only extending it. The audited rows compare against a checkpointed baseline. Against an uncheckpointed baseline the same shapes give −7.08% (Llama-3.2-1B) and −7.80% (Qwen-2.5-1.5B), and the saving decays monotonically to zero as recomputation is reintroduced (−4.34%/−4.78% at every second block, +0.03%/−0.16% at all blocks). Savings grow with the wrapped-surface fraction: Qwen3-1.7B up to −8.22%, Qwen-2.5-3B −8.75%, and Qwen-2.5-7B −8.44% at b=4. SSP computes which of these cases a given configuration falls into before training, so the Qwen and Llama rows are a predictable operating region rather than an architectural incompatibility.
On clarity (rated 1). We accept this, and have produced the material rather than promising it. (1) One main-text table holding the matched memory/quality/time cohorts, merging Tables 3 and 4, with positioning rows from different code paths moved to a clearly labelled appendix table. The frontier quoted in Q1 above is that table. (2) Table 21 and the decision procedure into the main text, as a single rule: check whether the target tensors are still resident, and if recomputation has removed them, SSP → 0 and STAC-R cannot help. (3) An operational guidance box with measured rather than estimated numbers (GPT-2 Medium, b=8, s=1024, 3 seeds; baseline 23.554 GiB / PPL 15.5433):
Recommendation: wrap the MLP surface first, since it provides almost all of the saving at the lowest time cost, then raise the rank if quality is the constraint or add attention if memory is the constraint. (4) Seed counts on every claim. Allocator peak is byte-identical across seeds (std =0.000000 GiB on every row), so seed variation lives entirely in the quality column.
On W1 (modest savings, large runtime). Two clarifications. The deployment variant is Turbo-fast at 0.99× rather than full STAC-R, which we now present as the mechanism reference. And the ceiling on the total-peak percentage is set by the wrapped-surface fraction rather than by compression quality, which is why the composition rows and capacity crossings are the right significance measure for an activation-side method.
The direct answer to Q3, the frontier for Q1, and the restructuring material above are intended to address the concerns raised. If there is a specific presentation change you would like to see in the revision, we would be glad to make it.