potentialpaper

Measuring the Attention Span of Long Context Training Data

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:46 UTC · 589b67675a00 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "UKcOAAa0lD"
- }
- ],
- "title": "Measuring the Attention Span of Long Context Training Data",
- "authors": [],
- "abstract": "LLMs are typically pretrained with short context lengths which are later extended through additional long-context training. As long context training is expensive, this stage requires careful data selection to maximize effectiveness. Data selection methods should distinguish a cohesive document with long dependencies across distant sections from a simple concatenation of parts with no real long distance structure. We propose to score documents based on their $AttentionSpan$, which measures the look-back distance covered by the attention mechanism during a forward pass. Naive measurements of attention span are heavily influenced by attention sinks, making them a useless proxy for document structure. We present simple tricks for ignoring attention sinks, resulting in meaningful metrics of long-context structure that are useful for data filtering. When extending OLMo-3-7B from 8K to 32K using 5B tokens sampled from its own long-text mixture, additional AttentionSpan curation improves HELMET-Recall from $62.0$ to $75.7$. The advantage remains even in a domain-matched experiment, in which context is extended using the same code, arXiv and book proportions for each checkpoint, and AttentionSpan is only used for filtering within domains. These results support sink-corrected attention distance as an interpretable curation signal for long-range retrieval training.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "1249c642-c126-49b5-990a-9753c62223b5"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Measuring the Attention Span of Long Context Training Data",
+ "authors": [],
+ "abstract": "LLMs are typically pretrained with short context lengths which are later extended through additional long-context training. As long context training is expensive, this stage requires careful data selection to maximize effectiveness. Data selection methods should distinguish a cohesive document with long dependencies across distant sections from a simple concatenation of parts with no real long distance structure. We propose to score documents based on their $AttentionSpan$, which measures the look-back distance covered by the attention mechanism during a forward pass. Naive measurements of attention span are heavily influenced by attention sinks, making them a useless proxy for document structure. We present simple tricks for ignoring attention sinks, resulting in meaningful metrics of long-context structure that are useful for data filtering. When extending OLMo-3-7B from 8K to 32K using 5B tokens sampled from its own long-text mixture, additional AttentionSpan curation improves HELMET-Recall from $62.0$ to $75.7$. The advantage remains even in a domain-matched experiment, in which context is extended using the same code, arXiv and book proportions for each checkpoint, and AttentionSpan is only used for filtering within domains. These results support sink-corrected attention distance as an interpretable curation signal for long-range retrieval training.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}