Learn AI Math

Value (V)

What is Value (V)?

In one sentence: In attention, a value is the actual information a word passes along when another word pays attention to it.

After queries and keys decide who should listen to whom, values carry the content. Each word's output is a mix of other words' values, weighted by how much attention it paid to each.

What does Value (V) look like?

If "it" pays 80% attention to "ball," most of what "it" receives comes from the value of "ball."

Why does Value (V) matter?

Values are how meaning actually flows between words in a Transformer.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.