Scaled Dot-Product Matrix
Stage 2: Q·Kᵀ Vector Decomposition
Query Vector (Q)
"it" [t=8]
Target Key (K)
"animal" [t=1]
Value Vector (V)
"animal" [t=1]
Coreference Resolution in Action
Notice how the pronoun "it" places its dominant attention weight on "animal" (score: ~0.84) when the adjective is "tired". If you switch to the "too wide" preset, the key shifts its query alignment to "street" because wide is a physical property of streets, not animals!