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

语言模型Logit的几何:通用结构与习得偏差

The Geometry of Language Model Logits: Generic Structure and Learned Departures

Stanford University(斯坦福大学);Indian Institute of Technology Madras(马德拉斯印度理工学院);University of California San Diego (UCSD)(加利福尼亚大学圣迭戈分校)

Swathi Shree Narashiman, Aravind Ramana Venkatramanan, Nambi Seshadri

AI总结:

该研究分析了自回归语言模型Logit的几何结构,发现其遵循通用对数线性关系,训练后斜率$\alpha$显著升高且与预测性能相关,揭示了模型习得的特殊结构。

摘要:

自回归语言模型在每个预测步骤都会生成一个词汇表大小的Logit向量,其结构决定了条件下一个词元的分布。我们通过实证发现,有序的词汇头部Logit在不同预测上下文、架构和规模下,均遵循显著一致的对数线性关系:$z_{(r)} \approx \mu - \alpha \log r$,该关系在预训练过程中逐步显现。据我们所知,这是首次对先前解码工作中所用分布假设背后的Logit几何进行系统分析。尽管涵盖有界、轻尾和重尾分布的受控顺序统计基线能在很大程度上解释观测到的对数线性几何,但它们无法解释斜率$\alpha$的系统性偏移:训练后的语言模型的$\alpha$约为1.4至1.7,远高于初始化基线($\alpha \approx 0.2$)。此外,$\alpha$与预测性能相关,表明它捕捉到了超出通用极值效应的习得结构。

英文摘要:

Autoregressive language models produce, at every prediction step, a vocabulary-sized logit vector whose structure determines the conditional next-token distribution. We empirically identify that the ordered vocabulary-head logits follow a remarkably consistent log-linear relation \[ z_{(r)} \approx μ- α\log r. \] across prediction contexts, architectures, and scales, emerging progressively during pretraining. To our knowledge, this is the first systematic analysis of the logit geometry underlying the distributional assumptions used in the prior decoding work. While controlled order-statistic baselines spanning bounded, light-tailed, and heavier-tailed distributions can largely explain the observed log-linear geometry, they do not explain the systematic shift in the slope $α$: trained language models exhibit $α\approx 1.4$--$1.7$, sitting well above the initialization baseline ($α\approx 0.2$) . Moreover, $α$ correlates with predictive performance, suggesting that it captures learned structure beyond generic extreme-value effects.

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

↑