arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.06238cs.LGcond-mat.stat-mechhep-lat
收藏

大型语言模型温度缩放中的生成临界性

Generative Criticality in Large Language Model Temperature Scaling

State Key Laboratory of Nuclear Physics and Technology, Institute of Quantum Matter, South China Normal University(核物理与技术国家重点实验室,量子物质研究院,华南师范大学);Key Laboratory of Atomic and Subatomic Structure and Quantum Control (MOE), Guangdong-Hong Kong Joint Laboratory of Quantum Matter(原子与亚原子结构及量子控制重点实验室(MOE),量子物质广深联合实验室);Guangdong Basic Research Center of Excellence for Structure and Fundamental Interactions of Matter, Guangdong Provincial Key Laboratory of Nuclear Science(物质结构与基本相互作用卓越基础研究中心,广东省核科学重点实验室);KEK Theory Center, Institute of Particle and Nuclear Studies(KEK理论中心,粒子与核物理研究所);RIKEN Center for Interdisciplinary Theoretical and Mathematical Sciences (iTHEMS), Wako(RIKEN交叉学科理论与数学科学中心(iTHEMS),Wako);Graduate University for Advanced Studies (SOKENDAI), Oho 1-1, Tsukuba, Ibaraki(高等研究大学(SOKENDAI),Oho 1-1,筑波,Ibaraki);Institute for Physics of Intelligence, The University of Tokyo(智能物理研究院,东京大学)

Huajian Ruan, Jinyang Li, Xingyu Guo, Lingxiao Wang

AI总结:

通过统计场框架研究大型语言模型文本生成中的温度缩放,发现接近特征温度时出现类似连续相变的临界现象,为理解解码策略与临界现象的联系提供定量工具。

摘要:

我们为大型语言模型(LLM)生成的文本提出一个统计场框架,将token嵌入视为一维链上的连续自旋变量。通过连接的两点关联函数定义磁化率,并通过系综平均嵌入场定义序参量,我们改变softmax温度$T$,观察到在特征温度$T_c$附近出现尖锐的磁化率峰,具有幂律标度行为,序参量同时发生快速变化,并在$T_c$以下坍缩到单一语义方向。由最近邻(TwoNN)方法估计的内在维度独立地证实了这些发现,在$T_c$附近达到最小值。结果在模型规模(Qwen3:0.6B--32B)和提示类别上具有鲁棒性。虽然现象学上类似于连续相变,但自回归生成的非平衡性质需要进一步研究。我们的框架为探测LLM输出的集体统计结构提供了定量工具,并暗示了解码策略与临界现象之间的联系。

英文摘要:

We propose a statistical-field framework for text generated by large language models (LLMs), treating token embeddings as continuous spin variables on a one-dimensional chain. Defining a susceptibility from the connected two-point correlator and an order parameter from the ensemble-averaged embedding field, we vary the \texttt{softmax} temperature $T$ and observe a sharp susceptibility peak near a characteristic $T_c$ with power-law-like scaling, a concurrent rapid change in the order parameter, and a collapse onto a single semantic direction below $T_c$. The intrinsic dimension estimated by the two nearest neighbor (TwoNN) method independently corroborates these findings, reaching a minimum near $T_c$. Results are robust across model scales (Qwen3: 0.6B--32B) and prompt categories. While the phenomenology closely resembles a continuous phase transition, the non-equilibrium nature of autoregressive generation warrants further investigation. Our framework provides quantitative tools for probing the collective statistical structure of LLM outputs and suggests connections between decoding strategies and critical phenomena.

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

↑