arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.07809cs.LGcs.AI
收藏

PolicyLong:迈向基于策略的上下文扩展

PolicyLong: Towards On-Policy Context Extension

Hunyuan Team, Tencent(腾讯混元团队);Chinese Academy of Sciences(中国科学院)

Junlong Jia, Jiang Zhou, Ziyang Chen, Xing Wu, Chaochen Gao, TingHao Yu, Feng Zhang, Songlin Hu

AI总结:

PolicyLong通过动态在线策略方法解决LLM上下文扩展中的数据稀缺问题,通过迭代重新执行数据筛选,确保训练分布与模型能力同步,提升长上下文性能。

摘要:

PolicyLong通过动态在线策略方法解决LLM上下文扩展中的数据稀缺问题,通过迭代重新执行数据筛选,确保训练分布与模型能力同步,提升长上下文性能。

英文摘要:

Extending LLM context windows is hindered by scarce high-quality long-context data. Recent methods synthesize data with genuine long-range dependencies via information-theoretic verification, selecting contexts that reduce a base model's predictive entropy. However, their single-pass offline construction with a fixed model creates a fundamental off-policy gap: the static screening landscape misaligns with the model's evolving capabilities, causing the training distribution to drift. We propose PolicyLong, shifting data construction towards a dynamic on-policy paradigm. By iteratively re-executing data screening (entropy computation, retrieval, and verification) using the current model, PolicyLong ensures the training distribution tracks evolving capabilities, yielding an emergent self-curriculum. Crucially, both positive and hard negative contexts derive from the current model's entropy landscape, co-evolving what the model learns to exploit and resist. Experiments on RULER, HELMET, and LongBench-v2 (Qwen2.5-3B) show PolicyLong consistently outperforms EntropyLong and NExtLong, with gains growing at longer contexts (e.g., +2.54 at 128K on RULER), confirming the value of on-policy data evolution.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑