the.ai

Context / Methods

verified

Position Interpolation

Rather than asking a model to handle positions it has never seen, squeeze the new positions into the range it already knows. A sequence four times too long is re-indexed so that position 16,000 is presented as position 4,000 — the model interpolates between distances it understands instead of extrapolating past them, which it cannot do.

Viz primitive · budget-splitstretched-frequencies = 8

stretched-frequencies holds 25% of the budget; rest holds the remaining 75%.

Rotary frequency bands stretched to reach the new length, against the high-frequency bands left alone to keep local order, in bands. Drag the compression up to watch long range bought with local resolution — the two cannot both improve.

8

Reviewed by opendroid · 2026-08-18

  • arXiv:2306.15595 — Extending Context Window of Large Language Models via Positional Interpolation
  • arXiv:2309.00071 — YaRN: Efficient Context Window Extension of Large Language Models