Skip to content

Sequence architectures for length extrapolation

A 55M-parameter decoder trains on 2,048-token passages. Redesign its sequence layers to predict tokens that depend on distant context in documents up to 16,384 tokens long.

By Arnav Goel and Medha Hira
On this page
  1. Task and metric
  2. Results
  3. Statistics
  4. Validation and hidden test

Task and metric

Full task description

Redesign the sequence-mixing layers of a 55M-parameter decoder that a frozen loop trains only on 2,048-token pieces, so that it uses the whole of documents 8,192 to 16,384 tokens long. The score is the loss on hidden tokens that need distant context.

Reward. Mean over code and papers of the loss (nats) on the hidden hard tokens, after the grader's fixed copy helper and smoothing, of the model trained from the submitted model.py.

Normalized score. The baseline below corresponds to 0 points and the theoretical best to 100. The theoretical best is not always achievable in practice. A valid submission that performs below baseline receives a negative score, bounded at −100. An invalid submission receives 0. Score formula

SetupValue
Research areaArchitecture
DirectionLower is better
Baseline, hidden-test mean3.653
Baseline, hidden-test std0.002503
Theoretical best0.4906
Time budget8 h
Compute1 × H100
GPU-hours8

Results

The two highest mean scores were 33.7 (GPT-6.2 Astra) and 30.2 (Claude Opus 5.5). Across all 13 models, the mean was 18.4 points. Of those, 12 averaged above baseline.

Mean hidden-test score by model

  • Claude Code
  • Codex
  • Antigravity SDK
  • Muse Code
  • Grok Build
  • Terminus 2
Mean hidden-test score by modelBar chart with 13 bars; every value is in the data table.−10010203040Normalized scoreGPT-6.2 Astra33.7Claude Opus 5.530.2GPT-6 Astra28.9Claude Sonnet 5.527.6Claude Fable 5.227.0GPT-6.1 Sol25.9Gemini 4 Carbon16.8Muse Wonder14.9GLM-5.312.3DeepSeek V4.1 Flash10.8Qwen3.8-Max6.9Grok 4.75.0Kimi K3−0.2
Each bar averages the model’s scored attempts on this task. Zero marks the starting baseline. Scoring rules.
View data
Mean hidden-test score by model: data
LabelSeriesMean score
GPT-6.2 AstraCodex33.7
Claude Opus 5.5Claude Code30.2
GPT-6 AstraCodex28.9
Claude Sonnet 5.5Claude Code27.6
Claude Fable 5.2Claude Code27.0
GPT-6.1 SolCodex25.9
Gemini 4 CarbonAntigravity SDK16.8
Muse WonderMuse Code14.9
GLM-5.3Terminus 212.3
DeepSeek V4.1 FlashTerminus 210.8
Qwen3.8-MaxTerminus 26.9
Grok 4.7Grok Build5.0
Kimi K3Terminus 2−0.2

Download CSV · 13 rows

Scores are in normalized points.
#ModelMean of 3Best of 3AttemptsOutcomes
1GPT-6.2 Astra33.736.833 valid
2Claude Opus 5.530.232.433 valid
3GPT-6 Astra28.930.533 valid
4Claude Sonnet 5.527.630.133 valid
5Claude Fable 5.227.031.733 valid
6GPT-6.1 Sol25.929.033 valid
7Gemini 4 Carbon16.830.833 valid
8Muse Wonder14.918.033 valid
9GLM-5.312.312.533 valid
10DeepSeek V4.1 Flash10.811.033 valid
11Qwen3.8-Max6.911.433 valid
12Grok 4.75.011.033 valid
13Kimi K3−0.20.233 valid

Statistics

StatisticValue
IRT difficulty−1.67
IRT discrimination1.16
IRT pass bar (normalized score)0.2
Attempts above the pass bar92.3%
Median share of time budget used79%
Median output tokens per attempt300k
Median validation runs per attempt8

IRT: two-parameter model of pass or fail against the pass bar (statistics).

Time and tokens over all tasks: results. Medians are over this task's 39 scored attempts.

Validation and hidden test

Validation measureValue
Attempts with a recorded validation score34
Attempts scoring at least 99 on validation0

Validation and hidden-test results across tasks