Learn Before
Short Answer

Impact of Query-Key Vector Similarity

In an attention mechanism, a Query vector is compared against a set of Key vectors to calculate attention scores, which determine the relevance of different parts of an input. If a particular Query vector is mathematically identical to one of the Key vectors in the input sequence, what is the expected effect on the attention score associated with that Key vector, and what is the underlying reason for this effect?

0

1

Updated 2025-10-08

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science