arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.02650cs.CL
收藏

揭示长上下文持续预训练的学习动态

Revealing the Learning Dynamics of Long-Context Continual Pre-training

Tencent Hunyuan(腾讯混元)

Yupu Liang, Shuang Chen, Guanwei Zhang, Shaolei Wang, Suncong Zheng

AI总结:

本文通过Hunyuan-A13B模型系统研究长上下文持续预训练的学习动态,揭示大规模数据训练的必要性、欺骗性饱和与内在饱和的区别,以及通过检索头监测训练稳定性。

摘要:

现有对长上下文持续预训练(LCCP)的研究主要集中在小型模型和有限数据集(十亿级标记)。我们认为直接迁移这些小型设置到工业级模型会面临适应不足和提前训练终止的风险。此外,当前评估方法依赖于下游基准(如Needle-in-a-Haystack),这些方法往往无法反映内在收敛状态,可能导致“欺骗性饱和”。本文通过工业级Hunyuan-A13B(8000亿参数)模型,系统研究了LCCP的学习动态,追踪其在20000亿标记训练轨迹中的演变。具体而言,我们提出一个分层框架,用于分析LCCP动态在行为(监督微调探测)、概率(困惑度)和机制(注意力模式)层面。我们的发现揭示:(1)大规模数据扩展的必要性:数十亿标记的训练设置不足以满足工业级LLM的LCCP(例如,Hunyuan-A13B在训练超过1500亿标记后才达到饱和)。(2)欺骗性饱和与内在饱和:传统NIAH评分在早期报告“假饱和”,而我们的基于PPL的分析揭示了持续的内在改进,并与下游性能更具相关性。(3)机制监测训练稳定性:检索头作为高效的低资源训练监控器,其演变的注意力分数可靠地跟踪LCCP进展,并与SFT结果表现出高度相关性。本工作为工业级LLM的LCCP提供了全面的监控框架、评估系统和机制解释。

英文摘要:

Existing studies on Long-Context Continual Pre-training (LCCP) mainly focus on small-scale models and limited data regimes (tens of billions of tokens). We argue that directly migrating these small-scale settings to industrial-grade models risks insufficient adaptation and premature training termination. Furthermore, current evaluation methods rely heavily on downstream benchmarks (e.g., Needle-in-a-Haystack), which often fail to reflect the intrinsic convergence state and can lead to "deceptive saturation". In this paper, we present the first systematic investigation of LCCP learning dynamics using the industrial-grade Hunyuan-A13B (80B total parameters), tracking its evolution across a 200B-token training trajectory. Specifically, we propose a hierarchical framework to analyze LCCP dynamics across behavioral (supervised fine-tuning probing), probabilistic (perplexity), and mechanistic (attention patterns) levels. Our findings reveal: (1) Necessity of Massive Data Scaling: Training regimes of dozens of billions of tokens are insufficient for industrial-grade LLMs' LCCP (e.g., Hunyuan-A13B reaches saturation after training over 150B tokens). (2) Deceptive Saturation vs. Intrinsic Saturation: Traditional NIAH scores report "fake saturation" early, while our PPL-based analysis reveals continuous intrinsic improvements and correlates more strongly with downstream performance. (3) Mechanistic Monitoring for Training Stability: Retrieval heads act as efficient, low-resource training monitors, as their evolving attention scores reliably track LCCP progress and exhibit high correlation with SFT results. This work provides a comprehensive monitoring framework, evaluation system, and mechanistic interpretation for the LCCP of industrial-grade LLM.

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

↑