# Value Matrix

- **Canonical URL:** https://getaimath.com/dictionary/value-matrix/
- **Topics:** [Transformer Architecture](https://getaimath.com/dictionary/category/transformer-architecture/)
- **Last updated:** 2026-11-25

## What is Value Matrix?

**In one sentence:** The value matrix is a grid of learned weights that turns each word's numbers into the value it shares.

It decides what information a word passes along once attention picks it. Training teaches it which parts of a word's meaning are most useful to share with others.

![Transformers & Attention: The Smart Highlighter — Simple cartoon diagram showing how a Transformer reads a whole sentence at once and shines a bright highlighter beam from the word "IT" back to "trophy" so it knows what "IT" means.](https://getaimath.com/diagrams/transformer-architecture.png)
*Napkin Diagram (Transformer Architecture): Older AI read word-by-word and often lost track of earlier words; a Transformer highlights which words connect to which.*

## What is an example of Value Matrix?

For "Paris," the value matrix might help pass along information like "city" and "capital of France."

## Why does Value Matrix matter?

The value matrix controls the content that moves through attention.

## Related Concepts

- [Key Matrix](https://getaimath.com/dictionary/key-matrix/): The key matrix is a grid of learned weights that turns each word's numbers into its key.
- [Attention Scores](https://getaimath.com/dictionary/attention-scores/): Attention scores are numbers that show how much each word should focus on every other word.
- [Query Matrix](https://getaimath.com/dictionary/query-matrix/): The query matrix is a grid of learned weights that turns each word's numbers into its query.
- [Scaled Dot-Product Attention](https://getaimath.com/dictionary/scaled-dot-product-attention/): Scaled dot-product attention is the standard math recipe for attention: compare queries and keys, scale the results, softmax them, and mix the values.
- [Value (V)](https://getaimath.com/dictionary/value-v/): In attention, a value is the actual information a word passes along when another word pays attention to it.
- [Causal Attention](https://getaimath.com/dictionary/causal-attention/): Causal attention only lets each word look at the words before it, never the words after.

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