Instead of encoding the absolute distance in the queries and keys, relative position encoding adjusts scores based on the “distance” between the queries and keys.Relative Positional EncodingsRoPExPOSAxial position encoding