atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

SS1: Accelerating Inference with Fast and Expressive Sketch Structured Transform

NeurIPS 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Joint pruning and quantization

Read the paperCheck your idea against 108,967 papers

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.

Proposes Sketch Structured Transform (SS1), a randomized parameter-sharing linear layer that tiles weights within each neuron to cut FLOPs and speed GPU inference, and evaluates it on GPT-2, MLPMixer, BERT, Llama-3-8B and DLRM.

Problem

Standard linear layers dominate deep learning inference cost, but unstructured sparsity and randomized parameter sharing (RPS) reduce memory without reducing FLOPs or latency, while structured alternatives sacrifice expressivity or fail to speed up hardware execution.

Approach

SS1 restricts random parameter sharing to within a single neuron's weight vector, using K- and N-coalescing hash functions so that the input is first sketched (reduced by the compression factor via additions/subtractions) and then multiplied with the compressed weights, yielding a GPU-friendly reduction in FLOPs while keeping per-neuron independence for expressivity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace dense linear layers with SS1 (2x compression) when training GPT2-SGPT2-S trained from scratch · wikitext-103PPL: 20.43 -> 19.458Helped
Increase SS1 compression from 2x to 8x (ablation)GPT2-S trained from scratch · wikitext-103PPL: 19.458 -> 20.68Hurt
SS1 versus Monarch at comparable parameter countsGPT2-S · wikitext-103PPL: SS1-2x 19.458 vs Monarch (nb=2) 19.606 at 96M vs 103M paramsHelped
SS1 versus low-rank at comparable compression on CIFAR-100 MLPMixerMLPMixer · CIFAR-100accuracy: SS1-8x 0.6068 vs Lowrank~8x 0.5353 (similar params)Helped
Apply SS1 (2x) to MLPMixer vs dense on CIFAR-100MLPMixer · CIFAR-100accuracy: 0.6751 -> 0.6692 (2x); 0.6068 (8x)Hurt
SS1 layers in GPT2-M/L end-to-end inferenceGPT2 inference latency · wikitext-103 latencymodel latency (ms): GPT2-L 376 -> 310.4 (4x); up to ~1.3x throughputHelped
Projection of pretrained BERT to SS1 followed by finetuningBERT-BASE · GLUEGLUE score: 79.9 vs 82.16 baseline (our run)No clear effect
Project selected Llama-3-8B layers to SS1 without finetuningLlama-3-8B · MMLUaccuracy: 65.05 -> 61.26Hurt
Train DLRM MLPerf top MLP with SS1 (2x) from scratchDLRM MLPerf · qualityquality: 0.8032 vs 0.8032No clear effect
Replace RPS (ROAST-MM) with SS1 at 2x compression on GPT2 (ablation)GPT2-S · wikitext-103PPL: 19.87 -> 19.45; latency 238 -> 154Helped
Apply post-training quantization on top of SS1 models (ablation)GPT-S SS1-4x and SS1-8x · wikitext-103PPL: 20.497 -> 20.53 (4x); 21.228 -> 21.26 (8x)No clear effect
Learning rate tuning for Monarch baseline (ablation)Monarch-8x · wikitext-103PPL: best PPL 20.65 vs 22.83 default; SS1-8x 20.13 at tuned LRNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: WikiText-103 CIFAR-10 CIFAR-100 Tiny-ImageNet GLUE MMLU Winogrande DLRM MLPerf benchmark

Benchmarks: WikiText-103 CIFAR-10 CIFAR-100 GLUE MMLU Winogrande DLRM MLPerf

Metrics: perplexity accuracy latency throughput GLUE score

Baselines: Monarch LowRank ROAST-MM nn.Linear (original model) Small model

Builds on: Randomized parameter sharing (HashedNets / ROAST) Monarch low-rank factorization SmoothQuant

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