Skip to content
Log in

Scaled dot-product attention history

Snapshots are retained. Added and removed counts compare normalized words with the preceding revision.

r5Seed corpus update
+1 / −1 words

As of 2026-11-04

Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Revision snapshot

Overview. Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Mechanism and context. Queries are compared with keys by matrix multiplication, the scores are divided by the square root of key dimension, softmax turns them into weights, and those weights combine values. Keeping Q, K, and V distinct explains how a position can decide what to read separately from the information it receives.

Practical use. Annotate the equation with batch, head, sequence, and feature dimensions before implementing it. That makes shape errors visible and shows where masks apply, where the sequence-by-sequence score matrix is created, and which axis softmax must normalize.

Related reading. Read Dot product and Softmax for the component operations, Self-attention for the sequence-level concept, Attention complexity for its dense cost, and Transformer architecture for the surrounding block.

r4Seed corpus update
+0 / −40 words

As of 2026-07-13

Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Revision snapshot

Overview. Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Mechanism and context. Queries are compared with keys by matrix multiplication, the scores are scaled by the square root of key dimension, softmax turns them into weights, and those weights combine values. Keeping Q, K, and V distinct explains how a position can decide what to read separately from the information it receives.

Practical use. Annotate the equation with batch, head, sequence, and feature dimensions before implementing it. That makes shape errors visible and shows where masks apply, where the sequence-by-sequence score matrix is created, and which axis softmax must normalize.

Related reading. Read Dot product and Softmax for the component operations, Self-attention for the sequence-level concept, Attention complexity for its dense cost, and Transformer architecture for the surrounding block.

r3Seed corpus update
+125 / −68 words

As of 2026-07-13

Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Revision snapshot

Overview. Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Mechanism and context. Queries are compared with keys by matrix multiplication, the scores are scaled by the square root of key dimension, softmax turns them into weights, and those weights combine values. Keeping Q, K, and V distinct explains how a position can decide what to read separately from the information it receives.

Practical use. Annotate the equation with batch, head, sequence, and feature dimensions before implementing it. That makes shape errors visible and shows where masks apply, where the sequence-by-sequence score matrix is created, and which axis softmax must normalize.

Limitations and evidence. The equation defines an operation, not an interpretation of what every head learns. Attention weights depend on the learned projections and context; they should not automatically be treated as a complete causal explanation of a model output.

Related reading. Read Dot product and Softmax for the component operations, Self-attention for the sequence-level concept, Attention complexity for its dense cost, and Transformer architecture for the surrounding block.

r2Seed corpus update
+1 / −1 words

As of 2026-07-13

Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Revision snapshot

Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors.

The scale factor counters growth in dot-product variance as key dimension increases.

Why it matters: Scaled dot-product attention is best understood as part of a system, not as a label in isolation. The practical questions are what inputs it accepts, what outputs it produces, which evidence supports its capabilities, what constraints surround deployment, and how those details change over time. The Compendium separates the documented facts above from interpretation and records an as-of date so readers can re-check the primary source.

Reading note: this is original explanatory writing. It links to the cited source instead of reproducing protected text. Product availability, model names, pricing, and policies can change; follow the source for the provider's current position.

r1Seed corpus update

As of 2026-07-13

Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors. The scale factor counters growth in dot-product variance as key dimension increases.

Revision snapshot

Scaled dot-product attention forms weights from query-key products and uses them to combine value vectors.

The scale factor counters growth in dot-product variance as key dimension increases.

Why it matters: Scaled dot-product attention is best understood as part of a system, not as a label in isolation. The practical questions are what inputs it accepts, what outputs it produces, which evidence supports its capabilities, what constraints surround deployment, and how those details change over time. The Atlas separates the documented facts above from interpretation and records an as-of date so readers can re-check the primary source.

Reading note: this is original explanatory writing. It links to the cited source instead of reproducing protected text. Product availability, model names, pricing, and policies can change; follow the source for the provider's current position.