Pith. sign in

STAT: Shrinking Transformers After Training

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

We present STAT: a simple algorithm to prune transformer models without any fine-tuning. STAT eliminates both attention heads and neurons from the network, while preserving accuracy by calculating a correction to the weights of the next layer. Each layer block in the network is compressed using a series of principled matrix factorizations that preserve the network structure. Our entire algorithm takes minutes to compress BERT, and less than three hours to compress models with 7B parameters using a single GPU. Using only several hundred data examples, STAT preserves the output of the network and improves upon existing gradient-free pruning methods. It is even competitive with methods that include significant fine-tuning. We demonstrate our method on both encoder and decoder architectures, including BERT, DistilBERT, and Llama-2 using benchmarks such as GLUE, Squad, WikiText2.

fields

cs.LG 1

years

2025 1

verdicts

CONDITIONAL 1

representative citing papers

CURing Large Models: Compression via CUR Decomposition

cs.LG · 2025-01-08 · conditional · novelty 6.0

CUR decomposition with WANDA-and-DEIM row/column selection compresses LLM weights quickly, and the linking matrix U can be fine-tuned as a PEFT-style healing step.

citing papers explorer

Showing 1 of 1 citing paper.

  • CURing Large Models: Compression via CUR Decomposition cs.LG · 2025-01-08 · conditional · none · ref 19 · internal anchor

    CUR decomposition with WANDA-and-DEIM row/column selection compresses LLM weights quickly, and the linking matrix U can be fine-tuned as a PEFT-style healing step.