LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Training & Optimization

Model Pruning

Model pruning is the technique of removing unnecessary weights, neurons, or structures from a trained neural network to reduce model size and inference cost — often with minimal quality loss when done carefully.

Full definition

Pruning splits into unstructured (zero out individual weights) and structured (remove entire heads, neurons, or layers). The "lottery ticket hypothesis" (Frankle & Carbin, MIT, 2019) showed that small sub-networks within larger trained networks can match full-network accuracy when retrained alone. Pruning often combines with quantization and distillation for compounding compression. Hardware support determines real-world speedup — unstructured sparsity needs sparse-aware kernels (e.g., NVIDIA 2:4 sparsity).

Why it matters

Pruning is a top-tier inference-cost lever, often delivering 2-5x speedup at <1% quality regression on production LLMs. For high-volume workloads, the engineering investment pays back within months.

Example

A search company prunes 35% of attention heads in its query-rewriting model and quantizes to int8, cutting inference cost 4.1x with measured zero precision regression on the production eval set.

Source & further reading

Primary source: Frankle & Carbin — "The Lottery Ticket Hypothesis" (ICLR Best Paper) (2019).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/nl/glossary/pruning/.