- Rating
- 3
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper proposes SNACK, a truly sparse PyTorch layer that computes and stores only non-zero connections. The main issue that the paper identifies with the available SNNs and DSTs is that their implementations mostly rely on binary masks over dense tensors hence they recover only a fraction of the theoretical gains that they promise. In order to solve this problem, SNACK keeps weights in COO format end-to-end and never materializes a dense weight or gradient tensor. The two main contributions of this work include:
- SNACK-COO : a COO-format SpMM CUDA kernel with a batch-to-SM mapping tunned for the small-bath, high sparsity regime.
- SNACK layer : a truly sparse, backend agnostic drop-in for nn.Linear with a sparse outer-product gradient and memory-cheap uniform intializer. Third party SpMM kernels such as Sputnik, cuSPARSE or FlashSparse can be swapped in per regime.
The evaluation section covers isolated kernel benchmarks against eleven baselines on RTX 3070 (6GB) and A100, a single-layer training cycle and end-to-end GPT-2 DST and GAMLP graph inference.
Strengths and weaknesses
Strengths
S1 Well-positioned: Truly sparse, unstructured, no special hardware on commodity GPUs is a combination that is underserved by the current solutions. Table 1 helps establish the position quite clearly and need of this work.
S2 Thorough benchmarking: Eleven baselines across two GPUs is benchmarked and the authors show the crossover where Sputnik overtakes SNACK-COO at large batch and tie it to their parallel-efficiency analysis. This is a very useful insight.
S3 Demonstration of Correctness: Gradients match Dense+Mask to 1e-4 and RigL(SNACK) matches RigL on ResNet50-ImageNet within 0.2% top-1 over five seeds.
S4 Strong Inference Results: 4.8x latency and 2.8x memory over Dense+Mask on GAMLP at 99% sparsity, and 2.2x inference memory on GPT-2 with an energy win at high sparsity.
Weaknesses
W1 weak speed and energy results for training: In Table 4, SNACK is slower and more energy-hungry than Dense+Mask at every sparsity, roughly 14x slower and 50x more energy per step at 0.25 and still behind at 0.99. The small-batch DST training regime the kernel was built for is exactly where it loses on two of three axes.
W2 Applicable on FP32 only: No fp16/bf16 path and no Tensor Cores. For a submission motivated by modern LLM training and inference cost, the validated regime is not the one anyone trains in, and this is deferred entirely to future work.
W3 Partly validated scale: End-to-end evidence rests on one small LLM and one graph workload, and the at-scale claim relies on a single architecture by the authors' admission. GPT-2 and GAMLP training are single-run, which undercuts the perplexity-equivalence claim specifically, since that claim rests on distributional equivalence over seeds but reports one seed per cell.
W4 Engineering over insight The contribution reads as competent systems work filling a niche rather than a new method, and the one regime where it should shine end to end does not.
Questions
Q1. Do you have any fp16/bf16 results? Does the COO atomic-accumulate scheme has a known obstacle in fp16?
Q2. The perplexity claim rests on distributional equivalence over seeds, but Table 4 reports one run per cell. Can you add at least three seeds for the GPT-2 numbers, or otherwise support a distributional claim from single runs?
Q3. The abstract (lines 13–15) and the intro bullets (lines 51–52) appear to swap which of 8x and ~4x belongs to training vs inference. Which is correct?
Q4. Do you have any result on a second, larger architecture, even inference-only, to support the generality claim?
Q5. With only c_fc and c_proj sparsified, the 40% memory reduction is capped at ~41% of parameters. Is there a principled obstacle to sparsifying attention projections, or is it just out of scope for this submission?
Limitations
Yes
Paper formatting concerns
NA
We sincerely thank reviewer Cvcn for recognizing the strengths of our work and for providing valuable comments to help improve the paper. We address each question raised in the review below.
We recognise that SNACK is slower on GPT due to the large sequence length therefore SpMM is slower than Dense multiplication. This is a limitation and it stems primarily from atomic-add contention on the scatter-accumulate path and irregular memory access per nonzero, both of which scale poorly with GPT-2's larger sequence length relative to Dense's regular access pattern. SNACK nonetheless makes it feasible to run these models on consumer GPUs where Dense+Mask would not fit in memory at all.
The submission was fp32-only, as our Limitations section stated. We have now added a dtype-templated COO path covering both the forward SpMM and the sparse outer-product weight gradient. Under the same experiment as per Table 3. Five independent runs per cell (seeds 42–46), each re-drawing the sparsity mask and re-initialising weights, so the spread reflects mask randomness in addition to measurement noise. Mean ± sample std, n=5; uncertainty on ratios is propagated from both operands.
For bf16 the atomic add for it is not supported to our knowledge on the same GPU and toolchain and needs further research. However, we do not foresee an obstacle in implementing it on newer generation GPUs/different toolchains. Unstructured sparsity multiplication fundamentally clashes with Tensor-Cores which execute fixed-size dense matrix fragments and cannot skip arbitrary scattered nonzeros; exploiting them would require moving to a structured format (e.g., 2:4 or block-sparse), which is a substantial redesign and out of scope for this submission.
It is also worth noting that memory does not shrink by the full ~50% expected from a naive fp32→fp16 cast, because each stored nonzero in SNACK-COO requires two index values (row, col) in addition to the value itself — i.e., trainable (value) parameters make up only 1/3 of total stored parameters, with the remaining 2/3 being index overhead that is independent of value dtype. Casting only the value to fp16 therefore reduces roughly 1/3 of total memory by half, while the dtype-independent 2/3 remains fixed, which is why the fp16 column in Table X shows a ~15–25% reduction rather than ~50%. (Please refer to figure 3).
Please refer to our answer to reviewer Z8gj W2. We will add a multi seed run for GAMLP as well in the camera-ready version.
The engineering effort stems from creating a novel method of SpMM and bypassing the CUDA level constraints on the kernel level. We combined this with multiple novel methods to maintain sparsity throughout the training cycle. We believe that The pipeline and its feasibility on consumer hardware showing the decade long of theoretical benefits in the field of Dynamic Sparse Training is a strong contribution.
We recognize this is a mistake and it was written incorrectly. The abstract is correct, we will correct it in the next version. We thank the reviewer for the help in spotting this mistake.
We do not have for now other experimentations on different architectures and the experiments on GPT2 and GAMLP are a proof of concept where we outline the limitations in training and benefits in inference.
There is no obstacle in principle to sparsifying attention projections but it is out of scope for our work. However, it is an interesting idea and it deserves its own research to study effects of sparsity on attention projections inside LLMs.
We hope these clarifications and additional results address your concerns, and we're happy to discuss further