cswork / OA打开练习工作台

MeshyOA #4

Q4. RoPE (MCQ)

估计中等概念题评测数据准备中,可先阅读题面

考点(AI 标注)位运算

How does Rotary Positional Embedding (RoPE) encode positional information?

  • Add a sinusoidal position vector to each token embedding before self-attention.
  • Apply a position-dependent rotation to Q and K vectors, encoding relative positions through phase differences. <- correct
  • Learn absolute positional embeddings and add them to token embeddings.
  • Modify attention scores by directly computing a learned bias based on token distance.