长上下文监督究竟在哪里?有效上下文暴露平衡
Where Does Long-Context Supervision Actually Go? Effective-Context Exposure Balancing
AI总结:
本文提出EXACT方法,通过逆频率分配长有效上下文目标,提升长上下文适应性能,在多个任务中取得显著改进。
摘要:
长上下文适应常被视为窗口扩展,但忽略了token级监督不匹配:在文档遮蔽训练中,每个目标token的有效上下文仍短。我们引入EXACT,一种监督分配目标,通过逆频率在长尾内分配额外权重给长有效上下文目标。在七个Qwen/LLaMA CPT配置中,EXACT提升了所有28个训练/外推NoLiMa和RULER比较。在Qwen2.5-0.5B上,NoLiMa提升10.09(训练)和5.34(外推);RULER提升10.69和5.55。在LLaMA-3.2-3B上,RULER提升17.91和16.11。标准QA/推理保持稳定(六个基准的宏变化+0.24)。距离解析探测显示,当证据距离为数千个token时,收益出现,而短案例保持不变。结果支持监督中心论:长上下文适应取决于训练如何强烈监督长上下文预测。
英文摘要:
Long-context adaptation is often viewed as window scaling, but this misses a token-level supervision mismatch: in packed training with document masking, each target token's effective context remains short. We introduce EXACT, a supervision-allocation objective that assigns extra weight to long effective-context targets by inverse frequency within the long tail. Across seven Qwen/LLaMA CPT configurations, EXACT improves all 28 trained/extrapolated NoLiMa and RULER comparisons. On Qwen2.5-0.5B, NoLiMa improves by +10.09 (trained) and +5.34 (extrapolated); RULER by +10.69 and +5.55. On LLaMA-3.2-3B, RULER improves by +17.91 and +16.11. Standard QA/reasoning are preserved (+0.24 macro change across six benchmarks). A distance-resolved probe shows gains arise when evidence is thousands of tokens away, while short cases remain unchanged. Results support a supervision-centric thesis: long-context adaptation depends on how strongly training supervises long-context predictions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。