acceptodds
Published as a conference paper at NeurIPS 2026

STAC-R: Subspace-Tracked Activation Compression with Residuals

Manar Hamed, Yassine Yaakoubi

Abstract

Training-memory reduction requires identifying which saved tensors drive peak usage and ensuring high-fidelity backward contractions from compressed states. We formalize saved-activation compression as a target-surface prediction problem: a pre-training framework to estimate the replaceable memory surface, computational overhead, and parameter-gradient error. We introduce STAC-R (Subspace Tracked Activation Compression with Residuals), a saved-tensor wrapper storing activations as persistent low-rank coefficients paired with a sparse quantized residual. Weight gradients are contracted directly from these factors, bypassing full decompression. To guide deployment, we propose the Saved-Surface Predictor (), a statistic that upper-bounds peak memory reduction. We also derive a gradient bridge linking reconstruction error to parameter-gradient cosine similarity, determining if a low-precision state preserves update fidelity.Evaluations across GPT-2 (Medium/Large) and Pythia-1.4B pre-training show STAC-R reduces peak memory by 7.2-12.4% while keeping long-horizon validation perplexity within 1.5% of baseline (Pythia-1.4B 10k steps: +1.14%) with mean gradient cosine 0.98. On BERT fine-tuning (SST-2), STAC-R achieves 12.45% memory reduction with a 0.15pp accuracy decrease. Mechanistic benchmarks yield a mean gradient cosine of 0.9813, outperforming iso-byte SVD (0.9236) and untracked-subspace (0.6949) controls. On the empirical rate-distortion frontier, STAC-R is Pareto-dominant over controls across stored-byte budgets. Composed with GaLore, a "Turbo-fast" variant matches full STAC-R's memory footprint within 0.005 GiB while reaching 0.67𝑥 wall time. Finally, our analysis identifies memory-increasing regimes in SwiGLU architectures (Qwen-2.5/Llama-3.2), establishing STAC-R as a compressor with predictable memory and fidelity conditions checkable before training.

Keywords:
Paris

Reviews

Among:
Shape:
123456this paper, Bottom 15%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.75 over 4 reviews, above 15% of the others.
Reviewer_eiMsOpenReview ↗
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:

  1. The proposed method combines tracked low-rank activation structure with a sparse residual correction and direct gradient computation from the compressed representation.
  2. 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.
  3. 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.
  4. 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:

  1. 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.
  2. The method's applicability to modern SwiGLU-based LLMs is limited, as the paper reports memory-increasing results on Qwen and Llama configurations.
  3. 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
  1. 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.
  2. 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.
  3. 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.

1 comment

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):

Baseline configurationLlama-3.2-1BQwen-2.5-1.5B
no checkpointing−7.08%−7.80%
recompute every 2nd block−4.34%−4.78%
recompute all blocks+0.03% (increase)−0.16%

and applying the two techniques to disjoint blocks recovers most of it:

Configuration (vs. uncheckpointed baseline)Llama-3.2-1BQwen-2.5-1.5B
recompute every 2nd block−18.48%−18.14%
+ STAC-R on the other blocks−22.01%−22.09%
+ STAC-R on the same blocks−18.46%−18.35%

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):

SurfaceRankMemTimePPL
attention only8 / 32 / 128−2.28 / −2.18 / −1.79%1.62×+0.29 / +0.24 / +0.16%
MLP8 / 32 / 128−9.41 / −9.29 / −8.79%1.69--1.76×+0.94 / +0.72 / +0.48%
MLP + attention8 / 32 / 128−11.72 / −11.50 / −10.60%2.30--2.38×+1.55 / +1.15 / +0.70%

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.

Reviewer_JtUQOpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The authors propose a method to compress weights gradients during training using a combination of low-rank approximation and sparse/quantized residual fitting. The low-rank part is tracked through Oja's algorithm type update, and the sparse residual is selected through a Top-k operator. The method yields some peak-memory savings at the cost of additional runtime compared to the baseline version. Additionally, the authors propose another speed-prioritized variant: "Turbo-fast". Further, they propose a mechanism SSP that decides prior to training their proposed method STAC-R would reduce peak memory.

Strengths and weaknesses

Strengths:

(i) Designing techniques to reduce peak memory required for training is a very important topic.

(ii) Providing a mechanism like SSP to quickly check the gains from this method prior to training is a good idea.

(iii) Authors identified regimes where STAC-R should not be used using their proposed method, which gives more credibility to the results of the paper.

Weaknesses:

(i) The numerical results seem to be not very strong. Table 4 reports >2x increased runtime as well as worse ppl obtained by the proposed method (when applied to MLP layers) compared to the baseline, while saving <12% in terms of peak memory allocation.

(ii) Unfortunately, it seems that the failure mode of this method are recent architectures which might limit its adoption.

(iii) Table 18 shows that the contribution of the sparse/quantized residual is very little, which weakens the motivation for this decomposition.

Questions

Questions:

(i) Could the authors discuss if SwiGLU present a structural limitation to the method or if there could be fixed with a different configuration or rank scheduler? As it stands, the adoption of the method might be limited.

(ii) Can the SSP mechanism be used/integrated with other activation compressors like INSTANT? If yes, that should be highlighted in the paper as a stronger contribution.

(iii) For the BERT experiment, could the authors include results using LoRA and QLoRA? Additionally, do you think STAC-R could be applied on top of LoRA? I would be interested to see results for that.

Limitations

yes

Paper formatting concerns

None

1 comment

We thank the reviewer for the review. All three questions now have direct measurements. (3 seeds.)

Q(i): does SwiGLU present a structural limitation, or can configuration fix it? Configuration, and we can name it. The audited Qwen/Llama rows compare against a baseline that already has gradient checkpointing enabled, so recomputation has discarded the saved activations before STAC-R sees them. There is no target surface, A_C+ → 0, and the persistent basis becomes pure overhead. Theorem 1 predicts an increase under that condition, and Table 21 names the binding factor ("checkpointing removes target surface"). Sweeping only the baseline confirms it. Llama-3.2-1B gives −7.08% uncheckpointed, −4.34% recomputing every second block and +0.03% recomputing all; Qwen-2.5-1.5B gives −7.80%, −4.78% and −0.16%. The fix follows from the same ledger: recompute one subset of blocks and compress the others, which gives −22.01% and −22.09% against −18.48% and −18.14% for recomputation alone. The boundary depends on shape and baseline, it is checkable before training, and a configuration exists that avoids it.

Q(ii): can SSP be used with other activation compressors, such as INSTANT? Yes: SSP is a byte ledger. It needs only the wrapped saved bytes W, the replacement payload S_C, and the baseline peak P: SSP=A_C+/P with A_C = W - S_C. Nothing in that definition refers to how the payload is produced. INSTANT tests the claim well, since it compresses the sequence dimension of the saved tensor rather than the feature dimension, and the ledger is unchanged: one still measures the bytes a wrapped layer would have saved against the bytes it actually stores. The same holds for any scheme that replaces a saved tensor with a smaller stand-in, quantizers included. We instrumented four further compressors under the same wrapper to show this empirically. (GPT-2 Medium, b=8, s=1024, 300 steps, 3 seeds.)

Compressor producing the payloadSSP from the ledgerMeasured saving
STAC-R (Oja + sparse quantized residual)7.82%−9.41%
low-rank only (no residual)7.92%−9.51%
OASIS (online subspace)7.92%−9.52%
PRAC (principal ⊕ random hybrid)7.92%−9.51%
untracked random subspace7.92%−9.51%

The ledger sizes the opportunity identically for all five: a spread of 0.10 percentage points across five structurally different compressors, against a 0.11 point spread in what they actually deliver. It counts the bytes a wrapped layer would have saved against the bytes it now stores, and never asks how the payload was formed, which is why it carries over to a sequence-axis method like INSTANT as readily as to our feature-axis one.

One caveat belongs with this. SSP is defined on the resident saved surface, so when recomputation has already removed those tensors the ledger must be evaluated after that removal, which is the condition from Q(i). We agree the generality strengthens the contribution and will state the compressor-agnostic definition prominently.

Q(iii): LoRA on BERT, and STAC-R on top of LoRA. We ran it, and Q(i) explains the result. (3 seeds; peak GiB.)

ShapeFull FT+ STAC-RLoRALoRA + STAC-R
GPT-2 Medium, b=8, s=102423.52021.304 (−9.42%)20.91620.574 (−1.63%)
BERT-base, b=64, s=51213.24110.863 (−17.96%)9.7369.981 (+2.52%)
BERT-base, b=32, s=5127.0595.813 (−17.65%)5.1975.262 (+1.25%)
BERT-base, b=32, s=1282.4602.086 (−15.20%)1.7921.731 (−3.40%)

On full fine-tuning, STAC-R does best on exactly the model the reviewer asked about: BERT gives −15.2% to −18.0%, our largest savings on any model, because its activation surface is a large fraction of a small peak.

The composition with LoRA follows the same resident-surface condition as Q(i). A LoRA-frozen linear needs no W, so autograd never saves its input, which means LoRA has already removed most of the target surface in the way recomputation does. SSP is small before we start and the persistent basis costs about what it saves. Where the activation surface survives LoRA because the shape is long and wide (GPT-2 Medium at b=8, s=1024), the composition still yields a saving; where LoRA has taken the surface already (BERT at s≤512), it does not, and the ledger reports this in advance. Checkpointing, LoRA and same-block composition all remove the resident surface, and SSP → 0 predicts each case before the run.

QLoRA, which the reviewer also asked for, shows the same effect from the other direction (BERT-base, 3 seeds; peak GiB):

BERT-base shapeLoRAQLoRA (4-bit base)QLoRA vs. LoRA
b=32, s=1281.6831.491−11.4%
b=32, s=5124.8655.613+15.4%
b=64, s=5129.12911.119+21.8%

Quantizing the base weights to 4 bits helps by 11.4% at the short shape, where the parameter surface is binding, then costs 15.4% and 21.8% as sequence and batch grow and the saved-activation surface takes over. That crossover is the paper's argument appearing in the reviewer's own experiment: a technique reduces peak memory only while the surface it compresses is the binding one. QLoRA acts on parameters and STAC-R on saved activations, and SSP says in advance which of the two is worth enabling for a given shape.

W(iii): Table 18 suggests the residual contributes very little. Table 18 is an end-task view at a single operating point. The residual is the fidelity channel, so its effect appears wherever fidelity is measured. Table 22 reports the sparse residual reducing the measured gradient-error proxy by 3.0× (BERT), 50.6× (GPT-2 124M) and 20.2× (GPT-2 Large) across 108 probed layers. Table 9 shows it mattering most in the low-rank regime used in practice, and Table 15 shows rank 8 plus residual beating pure low-rank storage at matched budget on throughput, by +7.4% on BERT-base rising to +55.2% on GPT-2 XL.

New here, the residual toggled on and off at identical rank, identical seed and identical RNG state (GPT-2 Medium; cosine at b=2, 12 steps, RNG pinned; PPL at b=8, s=1024, 400 steps, 3 seeds):

RankResidual offResidual onReduction in ε_cos
80.843290.8840627.6%
320.871670.9038426.3%
1280.906290.9290025.1%

These are wrapped-layer cosines from a short RNG-pinned replay, set up so the two arms differ only in the residual. Absolute levels from that replay are not directly comparable with the 240-step full-model replay behind Table 5, so we report only the on/off contrast and quote no absolute figure against that table. The effect is largest at the smallest rank, the regime the method is deployed in, matching the ordering Table 9 reports.

On the modern architectures the residual matters more, which we had not measured before (b=1, s=512, RNG pinned):

ModelRankResidual offResidual onReduction in ε_cos
Llama-3.2-1B80.587620.6787526.3%
Llama-3.2-1B1280.760500.8067921.4%
Qwen-2.5-1.5B80.613800.7546441.6%
Qwen-2.5-1.5B1280.770310.8476236.4%
Qwen3-1.7B80.660020.8000745.8%
Qwen3-1.7B1280.791530.8707240.6%

Each row is a matched pair, with the same model, rank, seed and pinned RNG, and only the residual toggled, so each reduction is a within-run quantity. The residual removes 21 to 26% of the gradient error on Llama-3.2, 36 to 42% on Qwen-2.5 and 41 to 46% on Qwen3, against 25 to 28% on GPT-2. It does more work on the newer architectures, not less.

A second measurement fixes the stored bytes instead of the rank, which is what a practitioner actually budgets. We rebuilt the rate-distortion frontier and interpolated every control to STAC-R's exact byte budget (GPT-2 Medium, b=2, s=1024; ε_cos, lower is better):

StoredSTAC-Rlow-rank onlyOASISPRACuntracked
8.6 MiB0.06730.08230.09170.09420.2953
11.3 MiB0.06290.07930.09070.09100.2916
27.0 MiB0.05220.06830.08360.07960.2677
90.0 MiB0.03870.05130.06890.06090.2208

STAC-R is lowest at every budget we can compare, reproducing the paper's Pareto-dominance claim on fresh runs. The low-rank column answers W(iii) at a fixed byte budget: deleting the residual and spending the freed bytes on additional rank instead costs 22% to 33% more gradient error, at every budget from 8.6 to 90 MiB. At a fixed byte budget the residual is the better place to put those bytes.

The residual budget is continuously adjustable (GPT-2 Medium, b=8, s=1024, 3 seeds):

Residual budgetMemTimePPL
off−9.51%1.05×+1.63%
0.5% (default)−9.41%1.69×+0.91%
1%−9.26%1.83×+0.71%

Quality improves monotonically with the budget while peak memory barely moves, so the residual consumes time rather than bytes, and the budget is set by the user. Across these measurements it recovers roughly half the quality gap for about one percent of the saving. Table 18's operating point is where that trade shows up least, and we will consolidate the evidence into one paragraph so the table is not read alone.

All three questions now have direct measurements: the SwiGLU boundary is derived from the baseline configuration rather than reported, the composition that avoids it is measured on both models, and SSP is shown to carry over to four other compressors. We would be glad to run any further measurement that would be useful.

Reviewer_SRVVOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper introduces STAC-R, which compresses saved activations using a tracked low-rank subspace and a sparse quantized residual, then computes weight gradients directly from the compressed representation. The SSP and gradient-fidelity bridge predict peak-memory savings and gradient error, respectively. Unlike checkpointing, which discards activations and recomputes them exactly, STAC-R retains a lossy representation and reduces forward replay at the cost of approximate gradients. The experiments cover GPT-2, Pythia, and BERT, as well as failure regimes on Qwen-2.5 and Llama-3.2.

Strengths and weaknesses

Strengths

  1. The paper provides a technically detailed treatment and carefully distinguishes between compressing an individual tensor and reducing allocator peak memory. The target-surface perspective is methodologically important, and Figure 1 and Table 6 show that a saved-activation compressor reduces peak memory only when the compressed surface is binding and the fidelity/runtime trade-off is acceptable.
  2. STAC-R has a well-motivated design: the tracked subspace captures persistent activation structure, the sparse residual corrects out-of-subspace error, and factor-native gradient contraction is an important implementation detail. Figure 2, Table 7, and Figure 3 provide strong evidence for the mechanism and its rate-distortion behavior.
  3. The evaluation is broad and reports both favorable and unfavorable operating regimes. Table 2, Table 3, and Table 4 report memory-quality-runtime trade-offs, Table 10 covers Pythia-1.4B, Table 20 tests the combination of tensor parallelism and checkpointing, and Table 21 explicitly reports regimes in which memory usage increases.

Weaknesses

  1. The presentation imposes a substantial interpretive burden. The large number of tables, appendices, and telemetry concepts obscures operatinal guidance regarding when to use STAC-R, which layers to wrap, how to select the rank and residual sparsity, and what overhead should be expected.
  2. Relative to classical checkpointing, the central efficiency claim is insufficiently supported. In the GPT-2 Medium results in Table 4, ordinary checkpointing uses 8.328 GiB, takes 182.2 s, and achieves 17.3569 PPL, whereas full STAC-R uses 22.019 GiB, takes 265.4 s, and achieves 17.6105 PPL. The full variant is therefore inferior on peak memory, runtime, and PPL in this setting. Turbo-fast retains a latency advantage but reduces peak memory by only approximately 9.3%; accordingly, the contribution should be positioned as low-recomputation-latency compression or incremental compression on top of checkpointing rather than as a general replacement for checkpointing.
  3. The related-work discussion does not adequately cover the rematerialization lineage. The paper cites the static sublinear-memory checkpointing method of Chen et al. (2016) but does not discuss Dynamic Tensor Rematerialization by Kirisame et al. (arXiv 2020, ICLR 2021). DTR implements tensor eviction/rematerialization as an online runtime strategy that supports dynamic graphs; although its mechanism differs from STAC-R, it directly affects how the paper should position its scope, generality, and systems novelty.
  4. The memory-increasing SwiGLU regimes in Table 21 materially constrain the scope of the method and should be emphasized earlier in the main text. The paper also provides insufficient operational guidance for integration with checkpointing, fused kernels, and modern distributed-training stacks.
  5. Although the paper includes the relatively recent Qwen-2.5-1.5B and Llama-3.2-1B models, the positive evidence is derived primarily from the older GPT-2, Pythia, and BERT families. The evaluation includes neither Qwen3 nor evidence of effectiveness on larger modern SwiGLU models. Furthermore, both existing experiments on newer architectures increase memory usage; this issue therefore constitutes a substantive external-validity limitation rather than a simple omission of an additional model.
Questions
  1. Can the authors add equal-memory and equal-time Pareto comparisons against Chen et al.-style static checkpointing, DTR-style online rematerialization, and modern transformer selective recomputation? A single checkpointing point is insufficient to identify the operating region in which STAC-R is preferable.
  2. In Table 4, full STAC-R is dominated by ordinary checkpointing in memory, PPL, and runtime. Can the authors justify retaining the full variant as the recommended method rather than presenting it as a mechanism study and recommending Turbo-fast or checkpointing+STAC-R for practical use? What operating point is full STAC-R intended to address?
  3. Can the authors extend the combination result in Table 20 to at least one additional model or shape and report the incremental memory, runtime, and quality costs relative to the same checkpointing baseline? A reprodicible combined benefit would significantly improve my rating.
  4. Could a unified policy dynamically choose among retaining, STAC-R-compressing, or DTR-style eviction/rematerialization at the tensor level based on recomputation cost, compression ratio, and gradient-fidelity predictions? This would also clarify the role of SSP relative to an online eviction policy.
  5. Can the authors move the SwiGLU and checkpoint-boundary failure regimes from Table 21 into the main text and provide a practical decision procedure for mixed precision, tensor parallelism, and fused kernels?
Limitations

The paper discusses limitations and memory-increasing regimes

Paper formatting concerns

NA

Final justification

The additional sweeps and clarifications address my main concerns regarding positioning, execution scope, and usability. Keep the score w/ accept.

1 comment

We thank the reviewer for the review. The rematerialization points are well taken and are addressed below. (3 seeds 42/123/456.)

Q1: equal-memory and equal-time comparison against checkpointing lineage. We ran the full frontier on one matched cohort (GPT-2 Medium, b=8, s=1024, 400 steps, 3 seeds): baseline 23.566 GiB; full checkpointing −67.70% at 1.30× with PPL within 0.01%; selective recomputation −33.84% (k=2, 1.14×) and −16.90% (k=4, 1.07×); STAC-R −9.40% at 1.69×; Turbo-fast −9.50% at 0.99×; disjoint composition −38.53% at 1.49×.

At 2000 steps, five times the horizon (3 seeds; baseline 23.763 GiB / 501.6 s / PPL 15.1157), every ratio holds: full checkpointing −67.14% at 1.29×, selective k=2 −33.56% at 1.15×, STAC-R −9.33% at 1.70× for +1.12% PPL, Turbo-fast −9.42% at 0.99×.

The equal-time axis separates the two families for a structural reason. Recomputation obtains memory by performing the same arithmetic twice, so its wall time starts at 1.00× and rises from there. We swept sparse schedules to measure how close they come to that floor (GPT-2 Medium, b=8, s=1024, 300 steps, 3 seeds, baseline 73.7 s): checkpointing every 6th, 8th, 12th and 16th block costs 1.050×, 1.038×, 1.026× and 1.027×, saving −11.30%, −8.47%, −5.65% and −5.65%. (The denser k=2 and k=4 points, 1.14× and 1.07×, are from the 400-step cohort above.) Sparser schedules get closer to 1.00× but reach it only in the limit where nothing is recomputed and nothing is saved. Turbo-fast starts below that floor: in this same cohort it saves −9.51% peak at 0.991× baseline, a memory saving at no wall-clock cost. That is the region we would claim, and no recomputation schedule reaches it at any k.

On DTR (Kirisame et al., ICLR 2021; arXiv:2006.09616): we agree it belongs in the paper and will add it to Related Work and Table 12 as the online counterpart of Chen et al.'s static schedule. A head-to-head is impractical for two reasons. DTR is lossless, so there is no quality axis on which to compare it, and its released artifact is a patch against a CUDA-10.1 PyTorch whose maximum supported architecture predates the hardware used here, so we could not build it. We use the selective-recomputation rows as the rematerialization representative and label them as such.

Q2: is full STAC-R dominated, and what is it for? Table 4 supports this interpretation. Full STAC-R is the mechanism reference on which the bounds, telemetry and ablations are defined, and the deployment points are Turbo-fast and the compositions, selected by the Table 6 rule. We will state this in the introduction rather than only in Sec. 7. On the runtime side we can say where the cost comes from (3 seeds). Refreshing the basis every step rather than every 100 changes wall time by 3.6% (124.9 s against 120.6 s); residual precision changes it by 0.3 s (fp16 120.9 s, fp32 120.6 s); freezing the basis changes it by less. Disabling the residual takes 121 s down to 73.2 s, so the residual channel accounts for the overhead on its own. It is also implementation-bound: replacing our chunked exact top-k selector with a single-chunk selector takes full STAC-R from 1.681× to 1.376× at identical peak memory (−9.41%) and identical quality (PPL 15.689 against 15.688; this selector cohort is 2 seeds).

Q3: extend the Table 20 composition to another model or shape. We ran this on three further models. GPT-2 Medium: −38.53% versus −33.84% for the same selective recomputation alone, at +0.44% PPL, 3 seeds. GPT-2 Large: −36.08% versus −32.36%, 3 seeds. And on the two SwiGLU models the paper reports as memory-increasing, the same construction gives −22.01% (Llama-3.2-1B) and −22.09% (Qwen-2.5-1.5B) against −18.48%/−18.14% for recomputation alone. With Table 20 (GPT-2 Large, TP=2) the composition covers four models and two system settings. The same construction applied to overlapping blocks gives the matching negative: across those four models, compressing the same blocks that are recomputed moves the saving by between -0.03 and +0.21 percentage points, because those activations are no longer stored.

Q4: a unified retain/compress/evict policy. We agree this is the right end state, and the SwiGLU result above suggests the decision inputs are already the right ones. Whether a tensor is being recomputed determines whether compressing it is worthwhile, and that quantity is a term in the SSP ledger. SSP supplies the byte term, Lemma 1 the per-tensor fidelity cost, and recomputation cost is the third axis DTR optimizes online. We will add this as future work with your tensor-level formulation. We stop short of claiming the online policy in this paper, since it changes the systems scope.

Q5 and W4: failure regimes into the main text, with a decision procedure. Agreed. The procedure is a rule we can state now: check whether the target tensors are still resident. If recomputation already removes them, SSP → 0 and STAC-R cannot help, so use recomputation. If they are resident, SSP bounds the saving and Lemma 1 bounds the fidelity cost. If both apply, recompute one subset of blocks and compress the others, never both on the same blocks.

The same rule covers the three integration points you name. Mixed precision and tensor parallelism leave the surface resident and only change its size, so SSP is evaluated on the sharded bf16 bytes and the method applies unchanged; Table 20 audits exactly this combination (ckpt + AMP + TP=2) and still finds a further −13.3% of per-rank peak. A fused kernel that never exposes its input through a saved-tensor hook keeps that tensor outside the wrapped surface, so it contributes to the baseline peak but not to A_C, and SSP counts it as unavailable before the run rather than after. We will state this as an explicit scope condition alongside the decision procedure.

Which surface and rank to choose comes from a measured table rather than from advice. (GPT-2 Medium, b=8, s=1024, 300 steps, 3 seeds. Baseline 23.554 GiB / 73.8 s / PPL 15.5433.)

Wrapped surfaceRankMemTimePPL
attention only8−2.28%1.62×+0.29%
attention only32−2.18%1.62×+0.24%
attention only128−1.79%1.63×+0.16%
MLP8−9.41%1.69×+0.94%
MLP32−9.29%1.70×+0.72%
MLP128−8.79%1.76×+0.48%
MLP + attention8−11.72%2.30×+1.55%
MLP + attention32−11.50%2.32×+1.15%
MLP + attention128−10.60%2.38×+0.70%

The recommendation is to wrap the MLP surface first. It provides almost all of the saving (−9.41% against −2.28% for attention) at the lowest time cost, and adding attention contributes a further 2.3 points for an extra 0.6× wall time. Rank trades memory against quality gradually: moving from rank 8 to 128 costs 0.6 points of memory and recovers half the PPL gap. Raise the rank when quality is the constraint and extend the surface when memory is the constraint.

W5: external validity on modern SwiGLU models. We added Qwen3-1.7B (−8.22%) and the 3B tier: Qwen-2.5-3B −7.74% (MLP) / −8.75% (MLP+attn), Llama-3.2-3B −5.14% / −6.44%. At 7B/8B: Qwen-2.5-7B −7.35% / −8.44% at b=4 (64.07 GiB → 59.37 GiB) and −4.97% / −5.73% at b=2; Llama-3.1-8B −4.54% / −5.47% at b=2 (48.00 GiB → 45.82 GiB). All of these follow the same curve as GPT-2, near zero at b=1 and growing with the wrapped fraction, which maps out an operating region instead of two isolated failures.

On originality (rated 2). One property distinguishes STAC-R from the methods above: it never reconstructs the activation. The weight gradient is contracted from the stored factors directly, so error stays inside the wrapped surface and every parameter outside it keeps a bit-exact gradient. We measured this. With compression toggled on a single set of weights and the RNG pinned before every forward, so that nothing differs but the compression (ranks 8/32/128), the worst-case cosine over all unwrapped parameters is 1.000000000 to nine decimal places on GPT-2 Medium and Llama-3.2-1B, and never falls below 0.999999996 on Qwen-2.5-1.5B and Qwen3-1.7B, with a mean forward loss gap of exactly 0.0 on all four. Compressing the MLP surface leaves every attention and embedding gradient in the network numerically untouched, on four models and at every rank we tried. PRAC forms X explicitly and calls the standard backward. We will add this measurement to the revision, and are glad to extend it to any model or surface you would find convincing.

Reviewer_uNHCOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

STAC-R is an activation-compression trick to cut training memory. It keeps a low-rank tracked subspace of each saved activation plus a sparse residual, and does the backward gradient contraction directly on the factors. It's tested on GPT-2 / BERT / Pythia / Qwen / Llama with WikiText, OpenWebText, SST-2, MRPC. Reported savings are 7 to 12% peak memory with PPL within about 1.5% and gradient cosine above 0.98.

Strengths and weaknesses

Strengths

  • The overall idea and the proposed solution is sound, and the experiments are well designed.
  • The authors did good control of the evaluation and also honest about the failures

Weaknesses

  • The runtime cost is 1.9–2.4× slower for only ~10% memory savings, with no Pareto comparison to checkpointing.
  • The method breaks on current models: memory actually increases by >65% on SwiGLU-based Qwen and Llama.
  • Missing baselines, and key memory numbers rely on a single seed with no error bars.
Questions
  • What is the memory saving when STAC-R is combined with gradient checkpointing? Without that number, checkpointing alone seems strictly better.
  • Why is there no direct comparison with OASIS and PRAC? They are the most similar methods and only get a literature mention.
  • Given the 2× slowdown, in what real scenario does this beat simply using a smaller batch or standard checkpointing?
  • Can the memory numbers in Tables 2–4 be reported with multi-seed error bars, not just perplexity?
  • Is there any configuration that makes SwiGLU models actually save memory, or is the method fundamentally incompatible with them?
Limitations

No

Paper formatting concerns

No

1 comment

We thank the reviewer for the review. All five questions are answered below with new measurements. (Seeds 42/123/456.)

Q1: memory saving when STAC-R is combined with gradient checkpointing. Below is the full frontier on one matched cohort.

(GPT-2 Medium, b=8, s=1024, 400 steps, 3 seeds. Baseline 23.566 GiB / 98.9 s / PPL 15.3438.)

MethodPeak GiBMemTimePPL
full checkpointing7.612−67.70%1.30×+0.01%
selective recompute k=215.591−33.84%1.14×+0.01%
selective recompute k=419.583−16.90%1.07×−0.02%
STAC-R r821.350−9.40%1.69×+0.99%
Turbo-fast21.327−9.50%0.99×+1.82%
ckpt k= 2 + STAC-R, disjoint14.487−38.53%1.49×+0.44%
ckpt k=2 + STAC-R, same blocks15.592−33.84%1.76×+0.41%

The direct answer is the two composition rows. Recomputing even-indexed blocks while compressing the MLP surface of the odd-indexed blocks reaches 14.487 GiB, −38.53%, against −33.84% for the same selective recomputation alone, at +0.44% PPL; on GPT-2 Large, −36.08% against −32.36%. The two act on disjoint byte surfaces and compose, so at a given recomputation density STAC-R adds saving on top rather than competing for the same bytes. Full recomputation still reaches the lowest peak of any row here (−67.70%), which is exactly what our own Table 6 rule prescribes wherever it is compatible and affordable; the composition is what to do at every density short of that. The paper already contains one such measurement (Table 20: a further 13.3% of per-rank peak on top of checkpointing+AMP under TP=2, raising max verified batch from 22 to 26). The last row marks the boundary: compressing blocks that are already recomputed gives −33.84%, matching k=2 alone to within 0.004 percentage points while wall time rises from 1.14× to 1.76×, because a saved-activation compressor needs saved activations to act on. These are fresh 400-step cohorts, so absolute peak, wall time and PPL differ from Table 4 and we quote each only within the cohort; the memory saving reproduces at −9.40% against −9.20% published, inside the abstract's 7.2 to 12.4% band. The same cohort at 2000 steps, five times the horizon, reproduces every row to within 0.6 points of memory and 0.01× of wall time.

Q2: why no direct comparison with OASIS and PRAC. We have now run one. The reason the submission had none is that neither method has a usable public implementation: PRAC releases no code, and the OASIS repository linked from its paper contains a LICENSE and a README "Code release coming soon" (both checked 28 July 2026). We therefore reimplemented both under our matched-surface protocol: PRAC as a principal-plus-random hybrid with interval refresh (T_1=T_2=500, per its Algorithm 1), and OASIS as an online Oja subspace with normalised step γ/‖ C_t‖. Every comparator uses STAC-R's factor-native backward, so the basis is the only thing that varies across rows. The paper's untracked-subspace control already follows Li et al. [9] (l.259); this table extends that line.

(GPT-2 Medium, b=8, s=1024, 300 steps, 3 seeds, every row at rank 8 on the MLP surface; baseline 23.554 GiB / 73.7 s / PPL 15.5445. Cosines from the RNG-pinned probe, b=2, 12 steps.)

BasisMemTimePPLWrapped cosSSP
STAC-R (Oja + residual)−9.41%1.70×+0.92%0.88087.82%
low-rank only (Oja, no residual)−9.51%1.06×+1.66%0.83697.92%
OASIS−9.52%1.07×+1.72%0.82887.92%
PRAC−9.51%1.00×+2.02%0.81437.92%
untracked random−9.51%0.99×+1.64%0.53777.92%

All five agree to within 0.11 percentage points of each other on memory, because rank and wrapped surface set the peak, not the choice of basis. The comparison is therefore matched on memory, and the methods differ on quality: STAC-R costs +0.92% perplexity against +1.64% to +2.02% for every alternative, roughly half the degradation for the same bytes. The fidelity column shows why: tracking contributes about +0.29 wrapped cosine (untracked 0.5377 against 0.8288 to 0.8369 tracked) and the residual a further +0.044 (0.8369 → 0.8808).

The trade-off is runtime: OASIS reaches that memory at 1.07× baseline where full STAC-R needs 1.70×. STAC-R spends that time to halve the quality loss, and the time is recoverable. Turbo-fast runs at 0.99× baseline, and replacing the chunked exact top-k selector with a single-chunk one takes full STAC-R to 1.376× at identical peak memory and quality. The overhead is the residual channel alone: disabling it takes 121 s down to 73.2 s (3 seeds). So the quality margin is structural and the runtime gap is an implementation cost we can already reduce by half.

A matched-rank table gives PRAC a rank its own paper does not recommend, so we also ran it at its recommendation of ⌊ 0.3n ⌋ on linear layers, which is 307 here, 38× the rank above (GPT-2 Medium, b=2, s=1024, RNG pinned; ε_cos, lower is better). At rank 307 PRAC stores 201.5 MiB of factors per step for ε_cos=0.0459, while STAC-R at rank 128 stores 90.0 MiB for 0.0387: 2.2× the bytes for 19% more gradient error. At matched rank 307 STAC-R reaches 0.0285, 38% below PRAC. The training arm at that rank is matched as well (GPT-2 Medium, b=8, s=1024, 300 steps, 3 seeds; baseline 23.554 GiB / 73.5 s / PPL 15.5450): PRAC saves −7.94% at 1.04× for +0.61% PPL, and STAC-R saves −7.85% at 2.03× for +0.30%. At rank 307 as at rank 8, STAC-R costs about half the perplexity of PRAC at the same memory. Raising the rank improves PRAC's fidelity at the cost of the memory saving, which is the factor-storage ceiling of Sec. 3 rather than a tuning artifact.

Two caveats belong with the table. At a 300-step horizon PRAC's interval refresh (T_1=500) occurs only at initialisation, so we report it as its Algorithm 1 specifies rather than retuning another paper's schedule. And because our reimplementations all use STAC-R's factor-native backward, the table isolates the choice of basis and says nothing about each method's own backward pipeline. On that second point, PRAC reconstructs X=X_1Q_1T + X_2Q_2T explicitly and then calls the standard backward, where STAC-R contracts the weight gradient from the stored factors and never materializes the activation. Our reimplementations will be released with the artifact.

Q3: given the overhead, when does this beat a smaller batch or checkpointing? Three concrete cases. (i) Runtime. The deployment variant removes the overhead: Turbo-fast measures 0.99× baseline wall time at −9.50% peak on GPT-2 Medium, and 0.99× at −9.08% on GPT-2 Large, faster than the baseline. (ii) Capacity. Shrinking the batch changes the recipe, the gradient noise and the throughput, where STAC-R leaves all three alone. We measured a 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, +20% capacity on the same card. Whether a saving produces a crossing is arithmetic: it does when the freed bytes exceed the per-sample activation increment, and SSP supplies both terms before the run. (iii) Composition, on top of recomputation (Q1), GaLore (Table 11) and SubTrack++ (Table 17).

Q4: multi-seed error bars for the memory numbers. Allocator peak under the audited protocol is deterministic, and the seed sweep shows it. Across seeds 42/123/456, every row of the frontier above has peak standard deviation 0.000000 GiB. The peaks are byte-identical, for instance 23.566357612609863 GiB three times for the baseline. Seed variation shows up in the quality column instead. We will add seed counts and peak standard deviations to Tables 2 to 4 and to every claim in the revision.

Q5: is there any memory-saving SwiGLU configuration? Yes, and the condition can now be computed rather than observed. The audited rows compare against a checkpointed baseline, where recomputation has already removed the target surface. Sweeping only that baseline and changing nothing else (bf16 + 8-bit AdamW, rank 8, MLP surface), the saving falls monotonically to zero as recomputation removes the surface: −7.08% (Llama-3.2-1B) and −7.80% (Qwen-2.5-1.5B) uncheckpointed, −4.34% and −4.78% recomputing every second block, +0.03% and −0.16% recomputing all. The same ledger indicates the alternative, which is to apply the two techniques to disjoint blocks: against an uncheckpointed baseline that reaches −22.01% and −22.09%, against −18.48% and −18.14% for recomputation alone, so recomputing half the blocks and compressing the other half recovers about 4 percentage points on both models. The full tables are in our response to Reviewer eiMs (Q3). At larger scale (bf16 + 8-bit AdamW): Qwen-2.5-7B reaches −7.35% (MLP) and −8.44% (MLP+attention) at b=4, and Llama-3.1-8B −4.54% / −5.47% at b=2 (48.00 GiB → 45.82 GiB). Qwen3-1.7B reaches −8.22%. The saving follows the wrapped-surface fraction rather than the parameter count, so it grows with batch at fixed model size.

On the weaknesses. W1 (runtime/Pareto) is the frontier above together with the 0.99× deployment point. W2 (breaks on current models) is Q5. W3 (baselines and seeds) is Q2 and Q4. On the size of the contribution, the paper claimed a predictor and a bound, and the failure regime the reviewer identified is a case the predictor handles correctly, and the same analysis yields a configuration that avoids it. If any of these answers leaves a gap, we are glad to run further measurements.

Comments on the paper

1 comment
Meta-review

This paper proposes a saved-activation compression method STAC-R based on tracked low-rank representations and sparse residuals, together with SSP for predicting peak-memory reduction and an analysis relating reconstruction error to gradient fidelity. Reviewers generally agree that the technical ideas are sound and that the paper provides thoughtful analysis and strong ablations. However, there is significant discussion about the practical operating regime of the method. For the rebuttal, please prioritize:

  • Clarify when STAC-R should be preferred over, or combined with, activation checkpointing, and better justify its intended operating regime (Reviewers uNHC, SRVV, eiMs)
  • Explain whether the SwiGLU failure cases reflect fundamental limitations or implementation choices, and clarify the expected scope of the method (all reviewers).
  • Strengthen the positioning relative to checkpointing/rematerialization methods and address the missing comparisons and related work identified by reviewers (Reviewers uNHC, SRVV).

These clarifications would be important for the final discussion.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.