On the Limitations and Capabilities of Position Embeddings for Length Generalization.

Summary

Position Embeddings (PEs) in Transformers struggle with Length Generalization (LG) due to limitations in acquiring new operators and handling inconsistent positional roles. This study introduces new metrics and methods to improve Transformer LG performance.

Related Concept Videos

Position and Displacement Vectors01:00

Position and Displacement Vectors

To describe the motion of an object, one should first be able to describe its position (where it is at any particular time). More precisely, the position needs to be specified relative to a convenient frame of reference. A frame of reference is an arbitrary set of axes from which the position and motion of an object are described. Earth is often used as a frame of reference to describe the position of an object in relation to stationary objects on Earth.
Further, several important kinds of...
12.0K
Position and Displacement Vectors01:00

Position and Displacement Vectors

1.0K
Position Vectors01:29

Position Vectors

A position vector is a fundamental concept in mathematics that helps determine the position of one point with respect to another point in space. It is a vector that describes the direction and distance between two points. Position vectors are highly useful in the field of math and science, as they help represent spatial relationships and make calculations easier.
For instance, we want to locate a point P(x, y, z) relative to the origin of coordinates O. In that case, we can define a position...
2.3K
Position and Displacement01:31

Position and Displacement

The position of an object defines its location relative to a convenient frame of reference at any particular time. A frame of reference is an arbitrary set of axes from which the position and motion of an object are described. Earth is often used as a frame of reference, and we often describe the position of an object as it relates to stationary objects on Earth. For example, a rocket launch could be described in terms of the position of the rocket with respect to Earth as a whole. On the other...
22.3K
Position and Displacement01:31

Position and Displacement

810