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

SPINAL -- 神经对齐层中的缩放律与偏好整合

SPINAL -- Scaling-law and Preference Integration in Neural Alignment Layers

IIIT Ranchi(兰契国际信息技术学院);Apple(苹果公司);Google(谷歌公司);BITS Pilani(皮拉尼博拉理工学院)

Arion Das, Partha Pratim Saha, Amit Dhanda, Vinija Jain, Aman Chadha, Amitava Das

AI总结:

SPINAL通过分析神经对齐层的几何特性,量化对齐在深度层的集中表现及稳定性变化。

摘要:

直接偏好优化(DPO)是一种原理上可行且可扩展的替代方法,用于通过成对偏好对大型语言模型进行对齐,但其内部几何足迹仍缺乏明确描述,限制了审计、检查点比较和失败预测。我们介绍了SPINAL(神经对齐层中的缩放律与偏好整合),一种用于测量对齐如何在深度层面重塑表示的诊断方法,通过逐层追踪局部结构变化。在不同模型家族中,DPO产生了一种逐层校准效应,集中在最终解码器块(通常为第21-30层),其中偏好梯度最直接影响下一个词的分布。SPINAL将每个检查点编码为一个深度轨迹,覆盖(层索引、收缩分数、运输分数)。收缩分数总结了层的谱尾部衰减速度(小模式消失的速度);分数越高,表示收缩到更少的有效方向越强。运输分数总结了相邻层之间令牌分布的偏移量,使用受限制的重叠度量;分数越低,表示在表示空间中步进越平滑。对齐的检查点在后期层表现出收缩的上升和运输的平滑减少,与政策质量的收紧和稳定一致,而未对齐的模型则在深度路径上表现出更高的曲率、更高的熵和几何不一致。总体而言,对齐是几何局部化的:最终层编码了主导的偏好诱导修正。SPINAL将这种局部化转化为实用的审计信号,量化了对齐的集中位置、其表现的强度以及训练过程中开始不稳定的时间。

英文摘要:

Direct Preference Optimization (DPO) is a principled, scalable alternative to RLHF for aligning large language models from pairwise preferences, but its internal geometric footprint remains undercharacterized, limiting audits, checkpoint comparisons, and failure prediction. We introduce SPINAL (Scaling-law and Preference Integration in Neural Alignment Layers), a diagnostic that measures how alignment reshapes representations across depth by tracing localized structural change layer by layer. Across model families, DPO produces a layerwise calibration effect concentrated in the final decoder blocks (often layers 21-30), where preference gradients most directly affect the next-token distribution. SPINAL encodes each checkpoint as a depth trace over (layer index, contraction score, transport score). The contraction score summarizes how quickly the tail of a layer's spectrum decays (how fast small modes vanish); higher values indicate stronger contraction into fewer effective directions. The transport score summarizes how much the token distribution shifts between adjacent layers using a bounded overlap measure; lower values indicate shorter, smoother steps through representation space. Aligned checkpoints show a late-layer ramp-up in contraction and a smooth reduction in transport, consistent with tightened and stabilized policy mass, while unaligned models trace higher-curvature, more entropic, and geometrically incoherent depth paths. Overall, alignment is geometrically localized: the final layers encode the dominant preference-induced corrections. SPINAL turns this localization into a practical audit signal, quantifying where alignment concentrates, how strongly it manifests, and when it begins to destabilize during training.

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

↑