# Weight Tying

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

## What is Weight Tying?

**In one sentence:** Weight tying uses the same weights for a model's input word embeddings and its output word predictions.

The model has a table to turn tokens into numbers at the start and a table to turn numbers back into token scores at the end. Weight tying makes these the same table. This saves many parameters, especially with big vocabularies.

![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 Tying?

A small model with a 50,000-token vocabulary can save tens of millions of parameters by tying weights.

## Why does Weight Tying matter?

It is a common trick in smaller models to save size.

## Related Concepts

- [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.
- [Weight Initialization](https://getaimath.com/dictionary/weight-initialization/): Weight initialization is how a model's weights are set before training starts.
- [Trillion Parameters (T)](https://getaimath.com/dictionary/trillion-parameters-t/): "T" means trillions of parameters, used for the very largest AI models.
- [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.
- [Million Parameters (M)](https://getaimath.com/dictionary/million-parameters-m/): "M" after a model name means millions of parameters, which is small by modern standards.
- [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.

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