SHAPE: Shifted Absolute Position Embedding for Transformers
By Shun Kiyono, Sosuke Kobayashi, Jun Suzuki, Kentaro Inui. 2021
60 citations recorded by the source corpus.
Position representation is crucial for building position-aware representations in Transformers. Existing position representations suffer from a lack of generalization to test data with unseen lengths or high computational cost. We investigate shifted absolute position embedding (SHAPE) to address both issues. The basic idea of SHAPE is to achieve shift invariance, which is a key property of recent successful position representations, by randomly shifting absolute positions during training. We demonstrate that SHAPE is empirically comparable to its counterpart while being simpler and faster.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Noah A. Smith
- Luke S. Zettlemoyer
- Michael Lewis
- Siva Reddy
- Graham Neubig
- Yejin Choi
- Percy Liang
- Mohit Bansal
In Computer Vision and Pattern Recognition
- Noah A. Smith
- Siva Reddy
- Ofir Press
- Michael Lewis
- Karthikeyan Natesan Ramamurthy
- Payel Das
- Inkit Padhi
- Luke S. Zettlemoyer
In Model Architectures
- Siva Reddy
- Michael Lewis
- Ofir Press
- Noah A. Smith
- Payel Das
- Inkit Padhi
- Karthikeyan Natesan Ramamurthy
- Amirhossein Kazemnejad
Citations in the corpus
- Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation (2021, methodology): “…concurrently with transformers on other tasks, such as machine translation (Rosendahl et al., 2019; Neishi & Yoshinaga, 2019; Newman et al., 2020; Kiyono et al., 2021), sequence-to-sequence models trained on an artificial dataset (Hupkes et al., 2020), pretrained sequence-to-sequence models…”
- The Impact of Positional Encoding on Length Generalization in Transformers (2023, result): “Our empirical results and theoretical analysis suggest that removing positional encoding holds promise as a modification to the widely used decoder-only Transformer architecture.”