Skip to content
ml-recall

#dot-product-attention

4 questions from Attention & Transformers

Timed test

4 questions · 4 min · score and explanations at the end

Take a test
Q 1 / 4Score 0 / 0

Question 1: Single choice

mediumAI-checkedAttention & Transformers

All queries and keys lie on the unit sphere, ∥x∥=∥xi∥=1\lVert\mathbf{x}\rVert = \lVert\mathbf{x}_i\rVert = 1. What do the normalized Gaussian-kernel weights exp⁡(−12∥x−xi∥2)/∑jexp⁡(−12∥x−xj∥2)\exp(-\tfrac12\lVert\mathbf{x} - \mathbf{x}_i\rVert^2) / \sum_j \exp(-\tfrac12\lVert\mathbf{x} - \mathbf{x}_j\rVert^2) simplify to?

Choose one option