potentialpaper

Selecting Natural Long Documents for Context Extension

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:27 UTC · 819e680292c7 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "SwGtiMX805"
- }
- ],
- "title": "Selecting Natural Long Documents for Context Extension",
- "authors": [],
- "abstract": "Natural long documents are widely used to extend language models to longer contexts, yet length alone does not reveal whether they provide useful long-range supervision. We present a controlled study of how such documents should be selected, and scored. Using Qwen2.5-3B, 128K-token continued training, and matched 6B-token budgets, we compare repacking shorter documents from the preceding training stage into long sequences, random sampling of natural long documents, and generic-quality, LLM-judge, and likelihood-based selection; HELMET tasks are used for model selection and RULER for held-out evaluation. Random sampling is only slightly better than repacking at shorter evaluation lengths, but leads by approximately 2.5 HELMET points and 3.3 RULER points at 128K. Within a fixed pool of natural long documents, the evaluated generic-quality and LLM-judge pipelines do not exceed random sampling, whereas the likelihood-based long-dependency pipelines achieve higher observed scores. Selecting documents by their density of LongPPL key tokens---tokens whose prediction improves markedly when the long context is available---achieves the highest observed scores among the evaluated pipelines. Its most consistent cross-benchmark gains are retrieval-oriented and widen toward 64K--128K, whereas QA effects are benchmark-dependent and aggregation and variable tracking show no consistent gain. Because scoring every document over the full 128K span is expensive, we introduce an efficient variant, \\ours{}, that restricts scoring to the first 64K target positions and yields downstream scores close to those of the full-128K pipeline while providing a measured $2.28\\times$ end-to-end scoring speedup. Finally, in one evaluated 66/34 short/long mixture, replacing random long documents with selected ones improves macro-averaged HELMET by 4.6 points and RULER by 3.3 points without a material additional observed reduction on seven short-context tasks, and this advantage is further corroborated after supervised fine-tuning on LongBench v2 and MRCR. Overall, we hope the controlled and comprehensive comparisons will provide more practical references for long-context training.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "68f133d0-f827-4165-bd61-a96643549364"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Selecting Natural Long Documents for Context Extension",
+ "authors": [],
+ "abstract": "Natural long documents are widely used to extend language models to longer contexts, yet length alone does not reveal whether they provide useful long-range supervision. We present a controlled study of how such documents should be selected, and scored. Using Qwen2.5-3B, 128K-token continued training, and matched 6B-token budgets, we compare repacking shorter documents from the preceding training stage into long sequences, random sampling of natural long documents, and generic-quality, LLM-judge, and likelihood-based selection; HELMET tasks are used for model selection and RULER for held-out evaluation. Random sampling is only slightly better than repacking at shorter evaluation lengths, but leads by approximately 2.5 HELMET points and 3.3 RULER points at 128K. Within a fixed pool of natural long documents, the evaluated generic-quality and LLM-judge pipelines do not exceed random sampling, whereas the likelihood-based long-dependency pipelines achieve higher observed scores. Selecting documents by their density of LongPPL key tokens---tokens whose prediction improves markedly when the long context is available---achieves the highest observed scores among the evaluated pipelines. Its most consistent cross-benchmark gains are retrieval-oriented and widen toward 64K--128K, whereas QA effects are benchmark-dependent and aggregation and variable tracking show no consistent gain. Because scoring every document over the full 128K span is expensive, we introduce an efficient variant, \\ours{}, that restricts scoring to the first 64K target positions and yields downstream scores close to those of the full-128K pipeline while providing a measured $2.28\\times$ end-to-end scoring speedup. Finally, in one evaluated 66/34 short/long mixture, replacing random long documents with selected ones improves macro-averaged HELMET by 4.6 points and RULER by 3.3 points without a material additional observed reduction on seven short-context tasks, and this advantage is further corroborated after supervised fine-tuning on LongBench v2 and MRCR. Overall, we hope the controlled and comprehensive comparisons will provide more practical references for long-context training.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}