# Pruning

- **Canonical URL:** https://getaimath.com/dictionary/pruning/
- **Topics:** [Model Training & Optimization](https://getaimath.com/dictionary/category/model-training-and-optimization/)
- **Last updated:** 2026-11-25

## What is Pruning?

**In one sentence:** Pruning removes parts of a neural network that contribute little, making the model smaller and faster.

Like trimming dead branches from a tree, pruning cuts weights, neurons or whole layers that barely affect the output. After pruning, the model is often briefly retrained to recover any lost quality.

![How an AI Goes to School: 3 Steps from Bookworm to Assistant — Simple 3-step cartoon showing an AI 1. Reading the whole library (Pre-training) to become a Bookworm, 2. Practicing polite Q&A with a teacher (Fine-tuning), and 3. Getting thumbs-up and thumbs-down feedback from humans (RLHF).](https://getaimath.com/diagrams/model-training-and-optimization.png)
*Napkin Diagram (Model Training & Optimization): First the model reads the internet to learn facts; next it practices answering questions; finally humans coach its manners.*

## What is an example of Pruning?

Removing 30% of a model's weights that are almost zero, with little change in accuracy, is pruning.

## Why does Pruning matter?

Pruning helps models run on smaller, cheaper hardware.

## Related Concepts

- [Model Compression](https://getaimath.com/dictionary/model-compression/): Model compression is any technique that makes an AI model smaller or faster while keeping most of its quality.
- [Sparsity](https://getaimath.com/dictionary/sparsity/): Sparsity means that many of the numbers in a model are zero or unused, so the computer can skip them.
- [Knowledge Distillation](https://getaimath.com/dictionary/knowledge-distillation/): Knowledge distillation trains a small "student" model to copy the behavior of a big "teacher" model.
- [Sparse Training](https://getaimath.com/dictionary/sparse-training/): Sparse training means training a model where only a fraction of its connections are active or updated at a time.
- [Proximal Policy Optimization (PPO)](https://getaimath.com/dictionary/proximal-policy-optimization-ppo/): PPO is a reinforcement learning method that improves a model in small, careful steps so it does not change too much at once.
- [Dense Training](https://getaimath.com/dictionary/dense-training/): Dense training means every parameter in the model is used and updated for every training example.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/pruning/)
