# Weight Initialization

- **Canonical URL:** https://getaimath.com/dictionary/weight-initialization/
- **Topics:** [Parameters, Weights & Model Size](https://getaimath.com/dictionary/category/parameters-weights-and-model-size/)
- **Last updated:** 2026-11-25

## What is Weight Initialization?

**In one sentence:** Weight initialization is how a model's weights are set before training starts.

Weights usually start as small random numbers. If they start too big or too small, signals can explode or fade away as they pass through layers, and training fails. Good initialization methods choose random values at just the right scale.

![What "7B" or "70B Parameters" Means: Brain Size vs. Bag Size — Simple cartoon comparing 3 AI model sizes: Small (3B–8B parameters, fits on a phone or laptop), Medium (30B–70B, needs a strong desktop GPU), and Giant (400B+, lives in a massive data center).](https://getaimath.com/diagrams/parameters-weights-and-model-size.png)
*Napkin Diagram (Parameters, Weights & Model Size): Parameters are the brain cells of an AI model—more parameters mean more knowledge, but need a bigger computer to hold them.*

## What is an example of Weight Initialization?

Methods like Xavier and He initialization pick random weights scaled to the size of each layer.

## Why does Weight Initialization matter?

A good starting point makes training faster and more stable.

## Related Concepts

- [Weight Tying](https://getaimath.com/dictionary/weight-tying/): Weight tying uses the same weights for a model's input word embeddings and its output word predictions.
- [Weight Matrices](https://getaimath.com/dictionary/weight-matrices/): Weight matrices are grids of numbers that hold the weights connecting one layer of a model to the next.
- [Parameter Sharing](https://getaimath.com/dictionary/parameter-sharing/): Parameter sharing means using the same set of weights in more than one place in a model.
- [Checkpoint](https://getaimath.com/dictionary/checkpoint/): A checkpoint is a saved copy of a model's weights, and often its training state, at a particular moment.
- [Trillion Parameters (T)](https://getaimath.com/dictionary/trillion-parameters-t/): "T" means trillions of parameters, used for the very largest AI models.
- [Raw Model Weights](https://getaimath.com/dictionary/raw-model-weights/): Raw model weights are the original trained numbers of a model, usually stored at full or half precision, before any compression.

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