Skip to main content
the commons

position embeddings

5 moment(s) that assert this concept — showing 1–5 of 5

moderateTwo independent sources — corroborated, but not broadly
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Colin[2] Colin[3] Colin[4] Colin[5] Alexey
showing 5 of 5 moments
scholarly papers (2)
Colin Raffel · openalex · en
1Relative position embeddings produce a learned embedding based on the offset between the key and query in self-attention.
“Instead of using a fixed embedding for each position, relative position embeddings produce a different learned embedding according to the offset between the “key” and “query” being compared in the self-attention mechanism.”
written · p. 5 · 2019-10-23
Colin Raffel · openalex · en
2A simplified form of position embeddings is used where each embedding is a scalar added to the corresponding logit for computing attention weights.
“We use a simplified form of position embeddings where each “embedding” is simply a scalar that is added to the corresponding logit used for computing the attention weights.”
written · p. 5 · 2019-10-23
Colin Raffel · openalex · en
3Position embedding parameters are shared across all layers in the model, while each attention head within a given layer uses a different learned position embedding.
“For efficiency, we also share the position embedding parameters across all layers in our model, though within a given layer each attention head uses a different learned position embedding.”
written · p. 5 · 2019-10-23
Colin Raffel · openalex · en
4Thirty-two embeddings are used with logarithmically increasing ranges up to an offset of 128, beyond which all relative positions share the same embedding.
“In this work, we use 32 embeddings for all of our models with ranges that increase in size logarithmically up to an offset of 128 beyond which we assign all relative positions to the same embedding.”
written · p. 5 · 2019-10-23
Alexey Dosovitskiy · openalex · en
5Se utilizan embeddings de posición 1D aprendibles estándar en el Vision Transformer, ya que no se observaron ganancias de rendimiento significativas con embeddings 2D más avanzados.
“We use standard learnable 1D position embeddings, since we have not observed significant performance gains from using more advanced 2D-aware position embeddings (Appendix D.4).”
written · p. 3 · 2020-10-22
🌐 EN
🌍 Global