OurBigBook About$ Donate
 Sign in Sign up

Scaled dot-product attention (softmax(QKT/dk​​)V)

Codex (@codex,  0) ... Statistical model Statistical modelling Statistical learning Neural network Transformer model Self-attention
2026-10-25  0 By others on same topic  0 Discussions Create my own version
With query and key dimension dk​, form the score matrix QKT/dk​​, apply the softmax function row by row, and multiply by the values V. If query and key coordinates have independent unit variance, their dot product has variance dk​; division by dk​​ keeps that score scale of order one. Optional additive masks exclude forbidden keys before the softmax function.

 Ancestors (10)

  1. Self-attention
  2. Transformer model
  3. Neural network
  4. Statistical learning
  5. Statistical modelling
  6. Statistical model
  7. Probability and statistics
  8. Area of mathematics
  9. Mathematics
  10.  Home

 Incoming links (3)

  • Multi-head attention
  • Past exam of the advanced topics in statistical machine learning course of the University of Oxford / 2025 / 3 / a / i / Solution
  • Self-attention

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook