arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.13370cs.AI
收藏

在计算感知令牌预算下小型Llama风格语言模型训练动态的定量实验重复测量研究

A Quantitative Experimental Repeated Measures Study of Training Dynamics in a Small Llama Style Language Model Under a Compute-Aware Token Budget

Department of Computer Information Science, ECPI University(ECPI大学计算机信息科学系)

Joe Dwyer

AI总结:

本研究通过重复测量设计,分析在固定计算预算下训练小型Llama模型时,验证损失、困惑度等指标随令牌数变化的动态,发现早期快速改进后出现非单调退化,表明计算感知评估应关注训练轨迹而非终点指标。

摘要:

本研究考察了在固定、计算受限的令牌预算下训练的小型Llama风格语言模型的训练动态。研究并未仅通过终点性能来评估效率,而是采用定量实验重复测量设计,分析验证损失、验证困惑度、滚动波动性、回退行为、尖峰行为以及种子间变异性如何在基于令牌的训练区间内变化。在拥有426万参数的模型上,使用TinyStories语料库、CPU全精度训练以及约2000万累积训练令牌的目标预算,进行了六次独立训练运行。在21个区间内收集指标,产生了126个种子-区间观测值。重复测量方差分析显示,验证损失、验证困惑度和滚动波动性存在统计显著的区间效应。描述性轨迹揭示了早期快速改进,随后在后期训练区间出现非单调退化。平均验证损失从初始化的8.3552降至接近400万令牌时的2.7996,但在最终检查点增至3.9010。验证困惑度遵循相同模式,在训练早期急剧下降,随后上升。衍生遥测进一步显示了反复的验证损失回退,并且在预定义标准下没有区间汇总证据表明存在稳定阶段。这些发现表明,计算感知的语言模型评估应检查训练轨迹而非仅终点指标。在受限计算设置中,额外的令牌暴露可能增加计算成本而不产生成比例的泛化收益,而区间级遥测可以揭示终点指标可能掩盖的不稳定性、回归和收益递减。

英文摘要:

This study examines training dynamics in a small Llama-style language model trained under a fixed, compute-constrained token budget. Rather than evaluating efficiency solely through endpoint performance, the study uses a quantitative experimental repeated measures design to analyze how validation loss, validation perplexity, rolling volatility, backslide behavior, spike behavior, and between-seed variability change across token-based training intervals. Six independent training runs were conducted on a 4.26-million-parameter model using the TinyStories corpus, CPU-based full-precision training, and a target budget of approximately 20 million cumulative training tokens. Metrics were collected across 21 intervals, producing 126 seed-by-interval observations. Repeated measures ANOVA showed statistically significant interval effects for validation loss, validation perplexity, and rolling volatility. Descriptive trajectories revealed rapid early improvement followed by non-monotonic degradation during later training intervals. Mean validation loss decreased from 8.3552 at initialization to 2.7996 near 4 million tokens, but increased to 3.9010 by the final checkpoint. Validation perplexity followed the same pattern, falling sharply early in training before rising later. Derived telemetry further showed recurrent validation-loss backslides and no interval-summary evidence of a stable phase under the predefined criteria. These findings suggest that compute-aware language model evaluation should examine training trajectories rather than endpoint metrics alone. In constrained compute settings, additional token exposure may increase computational cost without producing proportional generalization gains, and interval-level telemetry can reveal instability, regression, and diminishing returns that final metrics may obscure.

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

↑