arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.12541cs.LGcs.SYeess.SY
收藏

随着语言模型的扩展,低阶线性深度动态出现

As Language Models Scale, Low-order Linear Depth Dynamics Emerge

University of Iowa(爱荷华大学);Delft University of Technology(代尔夫特理工大学)

Buddhika Nettasinghe, Geethu Joseph

AI总结:

研究发现,随着语言模型规模扩大,低阶线性深度动态在上下文中显现,通过32维线性近似模型在多个任务中准确复现GPT-2-large的层间敏感度分布,揭示了模型规模与线性近似一致性的关系。

摘要:

大型语言模型通常被视为高维非线性系统并被当作黑箱处理。本文显示,transformer深度动态在上下文中可以被准确的低阶线性近似所捕捉。在毒性、讽刺、仇恨言论和情感等任务中,一个32维的线性近似模型能够近完美地复现GPT-2-large的层间敏感度分布,捕捉到在每一层中加性注入如何影响最终输出。我们进一步揭示了一个令人惊讶的扩展原则:对于固定阶次的线性近似模型,与完整模型的一致性随着模型规模在GPT-2家族中单调提高。该线性近似模型还使在完整模型上应用时所需的能量少于标准启发式调度的原理性多层干预成为可能。总的来说,我们的结果表明,随着语言模型的扩展,上下文中低阶线性深度动态出现,为分析和控制这些模型提供了系统理论的基础。

英文摘要:

Large language models are often viewed as high-dimensional nonlinear systems and treated as black boxes. Here, we show that transformer depth dynamics admit accurate low-order linear surrogates within context. Across tasks including toxicity, irony, hate speech and sentiment, a 32-dimensional linear surrogate reproduces the layerwise sensitivity profile of GPT-2-large with near-perfect agreement, capturing how the final output shifts under additive injections at each layer. We then uncover a surprising scaling principle: for a fixed-order linear surrogate, agreement with the full model improves monotonically with model size across the GPT-2 family. This linear surrogate also enables principled multi-layer interventions that require less energy than standard heuristic schedules when applied to the full model. Together, our results reveal that as language models scale, low-order linear depth dynamics emerge within contexts, offering a systems-theoretic foundation for analyzing and controlling them.

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

↑