Position: Asymptotic Properties Characterize a Desirable Relative Positional Embedding
Abstract
Positional embedding methods convey the sequential structure of language to Transformer language models and are becoming increasingly important as these models process longer contexts. This position paper proposes an asymptotic perspective on the desiderata of relative positional embedding methods, considering the limits in which context length and inter-token distance tend to infinity. We first formalize two seemingly competing desiderata in asymptotic terms: (i) local attention preservation, motivated by the need to aggregate information from nearby key tokens, and (ii) long-range accessibility, motivated by the need to access distant relevant key tokens despite positional penalties. Within our analytical setting, (i) is equivalent to the finiteness of the limiting “positional partition function”. Desideratum (ii) is equivalent to a uniformly bounded increase in positional penalty when the distance to the relevant key is doubled. We further show that, under suitable conditions, additive positional penalties with logarithmic growth can satisfy both desiderata. These characterizations connect the asymptotic behavior of positional biases to local attention preservation and long-range accessibility. We hope that this asymptotic perspective will provide a foundation for designing positional embedding methods for increasingly long contexts.