FantasticML

Tasks

ML systems & efficiency

Semi-Structured Sparsity

Pruning a language model to GPU-friendly 2:4 sparsity in one pass, losing as little as possible.

3 of 7 agents stand above the best published method, ARMOR

Collage for Semi-Structured Sparsity

The question

With no retraining, prune a pretrained language model to the 2:4 semi-structured pattern that sparse tensor cores accelerate, deciding which weights go, what the survivors become and what, if anything, runs beside the sparse core, without giving back the 2:4 inference speedup.

One-shot 2:4 pruning makes a language model faster on GPUs by zeroing two of every four consecutive weights with no retraining, and the question is how to do so while losing the least. The methods disagree on what decides which two survive and on what the model should compute with them: magnitude times activation norm (Wanda, RIA, Wisp's centred version, NoWag-P's normalised version), gradient information (GBLM-Pruner, the searched Pruner-Zero metric, Wanda++'s regional gradients), second-order or convex reconstruction (SparseGPT, Thanos, Whisper's difference Hessian, ALPS's ADMM solve, FISTAPruner's l1-regularised layerwise solve, SparseLLM's global auxiliary-variable solve), exact local search over the mask (SparseSwaps), or a 2:4 core wrapped by small dense block-diagonal factors (ARMOR). It matters because one-shot 2:4 pruning is the form of sparsity hardware accelerates and that is affordable at frontier scale, and the criterion is the entire method.

Built on
locuslab/wanda
Reference methods
16 implementations of published methods
Scored settings
6
Verifying one submission
2×H200, 3.1 h, 6.3 H100-h

The published methods

The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.

ARMOR2:4 core wrapped by learned block-diagonal factors on both sidesbest published method

Liu et al., 2026. ARMOR: High-Performance Semi-Structured Pruning via Adaptive Matrix Factorization. International Conference on Learning Representations.

The implementation comes with the benchmark's release.

ALPSADMM on layerwise reconstruction with a 2:4 projection, then conjugate-gradient refit

Meng et al., 2024. ALPS: Improved Optimization for Highly Sparse One-Shot Pruning for Large Language Models. Advances in Neural Information Processing Systems.

The implementation comes with the benchmark's release.

WhisperSparseGPT using a centred difference Hessian for projections feeding the nonlinearity

Kong et al., 2026. The Sparsity Whisperer. arXiv preprint.

The implementation comes with the benchmark's release.

SparseGPTsecond-order saliency picks removals, later columns updated to absorb the error

Frantar and Alistarh, 2023. SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot. Proceedings of the 40th International Conference on Machine Learning.

The implementation comes with the benchmark's release.

SparseLLMSparseGPT with the MLP pruned jointly through auxiliary activation variables

Bai et al., 2024. SparseLLM: Towards Global Pruning of Pre-trained Language Models. Advances in Neural Information Processing Systems.

The implementation comes with the benchmark's release.

ThanosWanda mask with joint second-order compensation of each block's removals

Ilin and Richtarik, 2025. Thanos: A Block-wise Pruning Algorithm for Efficient Large Language Model Compression. arXiv preprint.

The implementation comes with the benchmark's release.

FISTAPrunerl1-regularised layerwise reconstruction solved by FISTA, then rounded to 2:4

Zhao et al., 2025. FISTAPruner: Layer-wise Post-training Pruning for Large Language Models. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing.

The implementation comes with the benchmark's release.

Wanda++regional gradient pruning alternated with tuning each block to match dense outputs

Yang et al., 2025. Wanda++: Pruning Large Language Models via Regional Gradients. Findings of the Association for Computational Linguistics: ACL 2025.

The implementation comes with the benchmark's release.

SparseSwapsWanda mask refined by exact best swaps inside each 2:4 group

Zimmer et al., 2026. SparseSwaps: Tractable LLM Pruning Mask Refinement at Scale. arXiv preprint.

The implementation comes with the benchmark's release.

Pruner-Zerosearched symbolic metric: squared weight times normalised gradient norm

Dong et al., 2024. Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models. Proceedings of the 41st International Conference on Machine Learning.

The implementation comes with the benchmark's release.

GBLM-PrunerWanda score plus weight magnitude times the dense model's gradient norm

Das et al., 2026. Beyond Size: How Gradients Shape Pruning Decisions in Large Language Models. arXiv preprint.

The implementation comes with the benchmark's release.

RIAweight importance relative to its row and column, times activation norm

Zhang et al., 2024. Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models. International Conference on Learning Representations.

The implementation comes with the benchmark's release.

Wandaweight magnitude times input-channel activation norm, compared within each 2:4 group

Sun et al., 2024. A Simple and Effective Pruning Approach for Large Language Models. International Conference on Learning Representations.

The implementation comes with the benchmark's release.

WispWanda with centred activation norms on projections feeding the MLP nonlinearity

Kong et al., 2026. The Sparsity Whisperer. arXiv preprint.

The implementation comes with the benchmark's release.

NoWag-Prow and column normalised squared weight times input-channel energy

Liu et al., 2026. NoWag: A Unified Framework for Shape Preserving Compression of Large Language Models. arXiv preprint.

The implementation comes with the benchmark's release.

Wanda++ RGSWanda plus a regional gradient of the decoder block's output norm

Yang et al., 2025. Wanda++: Pruning Large Language Models via Regional Gradients. Findings of the Association for Computational Linguistics: ACL 2025.

The implementation comes with the benchmark's release.

The environment

A method writes the pruning rule: which two weights of every group of four go, what values the surviving weights take and, optionally, small dense factors that run beside the 2:4 core, using the dense model, its gradients and the calibration activations. The model, the calibration windows, the order in which decoder blocks are pruned, the 2:4 pattern and the evaluation are fixed.

This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.

Workspace

The task prompt

The task prompt

The task prompt and the task's code come with the benchmark's release.

Results

The scored settings

  1. ① Llama-3.1-8B · 2:4 · WikiText-2 + C4 perplexity
  2. ② Llama-3.1-8B · 2:4 · 7-task zero-shot
  3. ③ Llama-3.1-8B · 2:4 · MMLU + GSM8K
  4. ④ Qwen3-8B-Base · 2:4 · WikiText-2 + C4 perplexity
  5. ⑤ Qwen3-8B-Base · 2:4 · 7-task zero-shot
  6. ⑥ Qwen3-8B-Base · 2:4 · MMLU + GSM8K

The order

Every method of the task, best first, with its task score out of 100.

  1. GPT-6.2 Astra41.8
  2. Kimi K3.1 Pro35.0
  3. Muse Wonder Full34.3
  4. ARMOR best published method32.6
  5. Claude Fable 5.231.3
  6. Qwen4-Max29.9
  7. Gemini 4 Carbon28.6
  8. ALPS25.9
  9. Whisper24.6
  10. SparseGPT23.2
  11. SparseLLM22.6
  12. Thanos22.4
  13. FISTAPruner21.8
  14. Wanda++20.3
  15. SparseSwaps19.9
  16. Pruner-Zero18.6
  17. GBLM-Pruner18.6
  18. RIA18.6
  19. Wanda18.4
  20. Wisp18.4
  21. NoWag-P18.3
  22. Wanda++ RGS18.2
  23. Claude Opus 5.515.7

The measurements

Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.

Claude Fable 5.2Claude Opus 5.5GPT-6.2 AstraGemini 4 CarbonMuse Wonder FullKimi K3.1 ProQwen4-Maxpublished methodsthe best published method of the task

WikiText-2 perplexity ↓ lower is better

Language-modelling perplexity of the pruned model on WikiText-2.

① Llama-3.1-8B · 2:4 · WikiText-2 + C4 perplexitylower is better ↓
GPT-6.2 Astra9.106
Muse Wonder Full10.32
Kimi K3.1 Pro10.37
Claude Fable 5.210.45
ARMOR11.31
Gemini 4 Carbon12.62
Qwen4-Max12.91
Whisper14.31
ALPS14.43
Wanda++15.50
SparseLLM15.68
FISTAPruner16.00
SparseGPT16.11
Thanos16.11
Claude Opus 5.52,483
016.11

A bar with a notched end runs beyond the chart; its number is exact.

8 more reference methods are in the numbers below.

④ Qwen3-8B-Base · 2:4 · WikiText-2 + C4 perplexitylower is better ↓
GPT-6.2 Astra8.488
Muse Wonder Full9.285
Kimi K3.1 Pro9.326
Claude Fable 5.29.352
ARMOR9.956
Qwen4-Max10.09
Gemini 4 Carbon10.14
Claude Opus 5.510.66
ALPS10.90
Whisper11.44
SparseGPT11.93
FISTAPruner12.15
Thanos12.26
SparseLLM12.40
Pruner-Zero12.98
012.98

8 more reference methods are in the numbers below.

The numbers
Method①④
GPT-6.2 Astra9.1068.488
Kimi K3.1 Pro10.379.326
Muse Wonder Full10.329.285
ARMOR11.319.956
Claude Fable 5.210.459.352
Qwen4-Max12.9110.09
Gemini 4 Carbon12.6210.14
ALPS14.4310.90
Whisper14.3111.44
SparseGPT16.1111.93
SparseLLM15.6812.40
Thanos16.1112.26
FISTAPruner16.0012.15
Wanda++15.5013.92
SparseSwaps20.0214.77
Pruner-Zero22.8712.98
GBLM-Pruner22.5813.82
RIA22.3713.31
Wanda23.1613.81
Wisp21.3413.61
NoWag-P23.3613.89
Wanda++ RGS24.0914.52
Claude Opus 5.52,48310.66

C4 perplexity ↓ lower is better

Language-modelling perplexity of the pruned model on C4.

① Llama-3.1-8B · 2:4 · WikiText-2 + C4 perplexitylower is better ↓
GPT-6.2 Astra13.43
Muse Wonder Full14.64
Claude Fable 5.214.85
Kimi K3.1 Pro14.86
Gemini 4 Carbon16.38
ARMOR17.13
Qwen4-Max17.56
ALPS19.27
Whisper19.32
FISTAPruner20.74
SparseLLM21.60
SparseGPT22.23
Thanos22.47
Wanda++22.51
Claude Opus 5.52,967
022.51

A bar with a notched end runs beyond the chart; its number is exact.

8 more reference methods are in the numbers below.

④ Qwen3-8B-Base · 2:4 · WikiText-2 + C4 perplexitylower is better ↓
GPT-6.2 Astra13.59
Muse Wonder Full14.37
Kimi K3.1 Pro14.60
Claude Fable 5.214.68
Gemini 4 Carbon15.27
Qwen4-Max15.49
Claude Opus 5.515.56
ARMOR15.88
ALPS16.29
Whisper17.21
FISTAPruner17.70
SparseGPT17.87
Thanos18.22
SparseLLM18.24
Pruner-Zero20.74
020.74

8 more reference methods are in the numbers below.

The numbers
Method①④
GPT-6.2 Astra13.4313.59
Kimi K3.1 Pro14.8614.60
Muse Wonder Full14.6414.37
ARMOR17.1315.88
Claude Fable 5.214.8514.68
Qwen4-Max17.5615.49
Gemini 4 Carbon16.3815.27
ALPS19.2716.29
Whisper19.3217.21
SparseGPT22.2317.87
SparseLLM21.6018.24
Thanos22.4718.22
FISTAPruner20.7417.70
Wanda++22.5121.63
SparseSwaps27.8421.84
Pruner-Zero34.9920.74
GBLM-Pruner34.3821.58
RIA32.8921.51
Wanda34.7021.52
Wisp31.1420.95
NoWag-P34.9922.16
Wanda++ RGS35.8423.13
Claude Opus 5.52,96715.56

Zero-shot accuracy, 7 tasks ↑ higher is better

Mean accuracy of the pruned model over seven zero-shot commonsense multiple-choice tasks.

② Llama-3.1-8B · 2:4 · 7-task zero-shothigher is better ↑
GPT-6.2 Astra59.67
Kimi K3.1 Pro57.64
Muse Wonder Full56.90
Claude Fable 5.256.65
ARMOR56.03
Qwen4-Max55.80
Gemini 4 Carbon54.79
Whisper54.13
ALPS53.10
SparseGPT52.41
SparseLLM52.19
Thanos51.24
FISTAPruner50.45
SparseSwaps50.19
Claude Opus 5.542.95
059.67

8 more reference methods are in the numbers below.

⑤ Qwen3-8B-Base · 2:4 · 7-task zero-shothigher is better ↑
GPT-6.2 Astra61.72
ARMOR60.36
Kimi K3.1 Pro60.33
Muse Wonder Full60.27
Qwen4-Max59.70
Gemini 4 Carbon58.41
Claude Fable 5.258.41
ALPS57.81
Thanos55.98
Claude Opus 5.555.87
Whisper55.67
SparseGPT55.28
SparseSwaps55.12
Pruner-Zero54.85
SparseLLM54.84
51.4161.72

The bars start at 51.41, not at zero.

8 more reference methods are in the numbers below.

The numbers
Method②⑤
GPT-6.2 Astra59.6761.72
Kimi K3.1 Pro57.6460.33
Muse Wonder Full56.9060.27
ARMOR56.0360.36
Claude Fable 5.256.6558.41
Qwen4-Max55.8059.70
Gemini 4 Carbon54.7958.41
ALPS53.1057.81
Whisper54.1355.67
SparseGPT52.4155.28
SparseLLM52.1954.84
Thanos51.2455.98
FISTAPruner50.4554.44
Wanda++49.3453.87
SparseSwaps50.1955.12
Pruner-Zero47.5354.85
GBLM-Pruner47.0754.77
RIA47.0453.83
Wanda46.4854.48
Wisp47.2752.95
NoWag-P47.8453.78
Wanda++ RGS46.6654.70
Claude Opus 5.542.9555.87

MMLU accuracy ↑ higher is better

Accuracy of the pruned model on the MMLU multi-subject knowledge benchmark.

③ Llama-3.1-8B · 2:4 · MMLU + GSM8Khigher is better ↑
GPT-6.2 Astra55.36
Kimi K3.1 Pro50.95
Muse Wonder Full48.55
Claude Fable 5.247.37
ARMOR46.40
Gemini 4 Carbon44.67
Qwen4-Max41.70
ALPS39.18
SparseGPT36.21
Whisper36.11
FISTAPruner35.93
Wanda++34.42
SparseLLM34.17
Claude Opus 5.532.59
Thanos31.63
055.36

8 more reference methods are in the numbers below.

⑥ Qwen3-8B-Base · 2:4 · MMLU + GSM8Khigher is better ↑
GPT-6.2 Astra68.43
ARMOR66.46
Kimi K3.1 Pro63.70
Muse Wonder Full63.55
Qwen4-Max59.31
Claude Fable 5.258.00
RIA56.32
Gemini 4 Carbon55.73
ALPS55.02
Claude Opus 5.554.89
Wisp54.71
NoWag-P54.21
Whisper54.11
Wanda54.09
GBLM-Pruner54.04
068.43

8 more reference methods are in the numbers below.

The numbers
Method③⑥
GPT-6.2 Astra55.3668.43
Kimi K3.1 Pro50.9563.70
Muse Wonder Full48.5563.55
ARMOR46.4066.46
Claude Fable 5.247.3758.00
Qwen4-Max41.7059.31
Gemini 4 Carbon44.6755.73
ALPS39.1855.02
Whisper36.1154.11
SparseGPT36.2153.72
SparseLLM34.1751.92
Thanos31.6352.73
FISTAPruner35.9350.82
Wanda++34.4253.93
SparseSwaps29.6550.05
Pruner-Zero28.0653.37
GBLM-Pruner28.1754.04
RIA28.6656.32
Wanda29.0354.09
Wisp30.2354.71
NoWag-P27.5554.21
Wanda++ RGS28.7853.06
Claude Opus 5.532.5954.89

GSM8K accuracy ↑ higher is better

Accuracy of the pruned model on GSM8K grade-school maths word problems.

③ Llama-3.1-8B · 2:4 · MMLU + GSM8Khigher is better ↑
GPT-6.2 Astra20.62
Kimi K3.1 Pro13.19
Muse Wonder Full11.22
Claude Fable 5.210.31
Qwen4-Max8.794
Gemini 4 Carbon7.582
ARMOR7.582
ALPS5.989
FISTAPruner5.914
SparseGPT4.700
SparseLLM4.246
Thanos4.094
Whisper3.942
Wanda++3.412
Claude Opus 5.50
020.62

8 more reference methods are in the numbers below.

⑥ Qwen3-8B-Base · 2:4 · MMLU + GSM8Khigher is better ↑
GPT-6.2 Astra58.60
ARMOR47.76
Kimi K3.1 Pro45.79
Muse Wonder Full45.34
Qwen4-Max35.63
SparseGPT35.48
SparseLLM34.19
Whisper33.51
Gemini 4 Carbon32.07
Claude Fable 5.231.92
ALPS31.77
Thanos29.04
SparseSwaps28.05
FISTAPruner26.38
Claude Opus 5.512.51
058.60

8 more reference methods are in the numbers below.

The numbers
Method③⑥
GPT-6.2 Astra20.6258.60
Kimi K3.1 Pro13.1945.79
Muse Wonder Full11.2245.34
ARMOR7.58247.76
Claude Fable 5.210.3131.92
Qwen4-Max8.79435.63
Gemini 4 Carbon7.58232.07
ALPS5.98931.77
Whisper3.94233.51
SparseGPT4.70035.48
SparseLLM4.24634.19
Thanos4.09429.04
FISTAPruner5.91426.38
Wanda++3.41225.78
SparseSwaps3.26028.05
Pruner-Zero1.82016.38
GBLM-Pruner2.35023.20
RIA2.04724.18
Wanda2.42624.49
Wisp2.35022.59
NoWag-P1.97125.63
Wanda++ RGS2.12326.08
Claude Opus 5.5012.51

2:4 speedup kept ↑ higher is better

Fraction of the plain 2:4 model's measured prefill speedup on sparse kernels that the pruned model retains, where 1 means its extra components add no overhead.

① Llama-3.1-8B · 2:4 · WikiText-2 + C4 perplexityhigher is better ↑
Claude Fable 5.21.000
Gemini 4 Carbon1.000
Claude Opus 5.51.000
ALPS1.000
Whisper1.000
SparseGPT1.000
SparseLLM1.000
Thanos1.000
FISTAPruner1.000
Wanda++1.000
SparseSwaps1.000
Muse Wonder Full0.799
ARMOR0.751
Qwen4-Max0.749
Kimi K3.1 Pro0.747
GPT-6.2 Astra0.737
01.000

7 more reference methods are in the numbers below.

② Llama-3.1-8B · 2:4 · 7-task zero-shothigher is better ↑
Claude Fable 5.21.000
Gemini 4 Carbon1.000
Claude Opus 5.51.000
ALPS1.000
Whisper1.000
SparseGPT1.000
SparseLLM1.000
Thanos1.000
FISTAPruner1.000
Wanda++1.000
SparseSwaps1.000
Muse Wonder Full0.799
ARMOR0.751
Qwen4-Max0.749
Kimi K3.1 Pro0.747
GPT-6.2 Astra0.737
01.000

7 more reference methods are in the numbers below.

③ Llama-3.1-8B · 2:4 · MMLU + GSM8Khigher is better ↑
Claude Fable 5.21.000
Gemini 4 Carbon1.000
Claude Opus 5.51.000
ALPS1.000
Whisper1.000
SparseGPT1.000
SparseLLM1.000
Thanos1.000
FISTAPruner1.000
Wanda++1.000
SparseSwaps1.000
Muse Wonder Full0.799
ARMOR0.751
Qwen4-Max0.749
Kimi K3.1 Pro0.747
GPT-6.2 Astra0.737
01.000

7 more reference methods are in the numbers below.

④ Qwen3-8B-Base · 2:4 · WikiText-2 + C4 perplexityhigher is better ↑
Claude Fable 5.21.000
Gemini 4 Carbon1.000
Claude Opus 5.51.000
ALPS1.000
Whisper1.000
SparseGPT1.000
SparseLLM1.000
Thanos1.000
FISTAPruner1.000
Wanda++1.000
SparseSwaps1.000
ARMOR0.816
Muse Wonder Full0.813
GPT-6.2 Astra0.781
Qwen4-Max0.766
Kimi K3.1 Pro0.764
01.000

7 more reference methods are in the numbers below.

⑤ Qwen3-8B-Base · 2:4 · 7-task zero-shothigher is better ↑
Claude Fable 5.21.000
Gemini 4 Carbon1.000
Claude Opus 5.51.000
ALPS1.000
Whisper1.000
SparseGPT1.000
SparseLLM1.000
Thanos1.000
FISTAPruner1.000
Wanda++1.000
SparseSwaps1.000
ARMOR0.816
Muse Wonder Full0.813
GPT-6.2 Astra0.781
Qwen4-Max0.766
Kimi K3.1 Pro0.764
01.000

7 more reference methods are in the numbers below.

⑥ Qwen3-8B-Base · 2:4 · MMLU + GSM8Khigher is better ↑
Claude Fable 5.21.000
Gemini 4 Carbon1.000
Claude Opus 5.51.000
ALPS1.000
Whisper1.000
SparseGPT1.000
SparseLLM1.000
Thanos1.000
FISTAPruner1.000
Wanda++1.000
SparseSwaps1.000
ARMOR0.816
Muse Wonder Full0.813
GPT-6.2 Astra0.781
Qwen4-Max0.766
Kimi K3.1 Pro0.764
01.000

7 more reference methods are in the numbers below.

The numbers
Method①②③④⑤⑥
GPT-6.2 Astra0.7370.7370.7370.7810.7810.781
Kimi K3.1 Pro0.7470.7470.7470.7640.7640.764
Muse Wonder Full0.7990.7990.7990.8130.8130.813
ARMOR0.7510.7510.7510.8160.8160.816
Claude Fable 5.21.0001.0001.0001.0001.0001.000
Qwen4-Max0.7490.7490.7490.7660.7660.766
Gemini 4 Carbon1.0001.0001.0001.0001.0001.000
ALPS1.0001.0001.0001.0001.0001.000
Whisper1.0001.0001.0001.0001.0001.000
SparseGPT1.0001.0001.0001.0001.0001.000
SparseLLM1.0001.0001.0001.0001.0001.000
Thanos1.0001.0001.0001.0001.0001.000
FISTAPruner1.0001.0001.0001.0001.0001.000
Wanda++1.0001.0001.0001.0001.0001.000
SparseSwaps1.0001.0001.0001.0001.0001.000
Pruner-Zero1.0001.0001.0001.0001.0001.000
GBLM-Pruner1.0001.0001.0001.0001.0001.000
RIA1.0001.0001.0001.0001.0001.000
Wanda1.0001.0001.0001.0001.0001.000
Wisp1.0001.0001.0001.0001.0001.000
NoWag-P1.0001.0001.0001.0001.0001.000
Wanda++ RGS1.0001.0001.0001.0001.0001.000
Claude Opus 5.51.0001.0001.0001.0001.0001.000

What the agents built

One run per model.

Claude Fable 5.2in Claude Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Claude Opus 5.5in Claude Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

GPT-6.2 Astrain Codex CLI
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Gemini 4 Carbonin Antigravity
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Muse Wonder Fullin Muse Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Kimi K3.1 Proin Kimi Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Qwen4-Maxin Claude Code
below the best published method

The write-up and the submitted code of this run come with the benchmark's release.