Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysis
Ta-Chung Chi, Ting-Han Fan, alexander rudnicky, Peter J Ramadge
Main: Large Language Models Main-poster Paper
Poster Session 7: Large Language Models (Poster)
Conference Room: Frontenac Ballroom and Queen's Quay
Conference Time: July 12, 11:00-12:30 (EDT) (America/Toronto)
Global Time: July 12, Poster Session 7 (15:00-16:30 UTC)
Keywords:
pre-training, interpretability/analysis, robustness
TLDR:
Length extrapolation permits training a transformer language model on short sequences that preserves perplexities when tested on substantially longer sequences.
A relative positional embedding design, ALiBi, has had the widest usage to date.
We dissect ALiBi via the lens of receptive field analysis...
You can open the
#paper-P292
channel in a separate window.
Abstract:
Length extrapolation permits training a transformer language model on short sequences that preserves perplexities when tested on substantially longer sequences.
A relative positional embedding design, ALiBi, has had the widest usage to date.
We dissect ALiBi via the lens of receptive field analysis empowered by a novel cumulative normalized gradient tool. The concept of receptive field further allows us to modify the vanilla Sinusoidal positional embedding to create ~\textbf{Sandwich}, the first parameter-free relative positional embedding design that truly length information uses longer than the training sequence. Sandwich shares with KERPLE and T5 the same logarithmic decaying temporal bias pattern with learnable relative positional embeddings; these elucidate future extrapolatable positional embedding design.