pith:X5R6XHVJ
EndPrompt: Efficient Long-Context Extension via Terminal Anchoring
EndPrompt extends LLM context windows to 64K by training only on short sequences with a terminal prompt anchored at target positions.
arxiv:2605.14589 v1 · 2026-05-14 · cs.CL
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{X5R6XHVJKOLO56LFPET4YJ5P5A}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
long-context generalization can be induced from sparse positional supervision, challenging the prevailing assumption that dense long-sequence training is necessary for reliable context-window extension.
That assigning positional indices near the target length to a brief terminal prompt in short sequences preserves the necessary relative distances and semantic continuity for effective long-context learning without introducing artifacts from the artificial split.
EndPrompt induces reliable long-context generalization in LLaMA models from sparse positional supervision via a two-segment short-sequence construction with terminal anchoring.
References
Formal links
Receipt and verification
| First computed | 2026-05-17T23:39:05.268119Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
bf63eb9ea95396eef9657927cc27afe8040909cfdacdb83c1c8df3399b9b9c5b
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/X5R6XHVJKOLO56LFPET4YJ5P5A \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: bf63eb9ea95396eef9657927cc27afe8040909cfdacdb83c1c8df3399b9b9c5b
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "49a76783063716cabb3487ccd241489241ded9027beb749d517950142bd96167",
"cross_cats_sorted": [],
"license": "http://creativecommons.org/licenses/by/4.0/",
"primary_cat": "cs.CL",
"submitted_at": "2026-05-14T09:00:03Z",
"title_canon_sha256": "ed77087556ed0d48317c2d5798de214de2707e733277664f483df5c8217b5ab2"
},
"schema_version": "1.0",
"source": {
"id": "2605.14589",
"kind": "arxiv",
"version": 1
}
}