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

解耦语言模型中的几何、性能与训练

Disentangling Geometry, Performance, and Training in Language Models

University of Southern California(南加州大学);Carnegie Mellon University(卡内基梅隆大学);University of California, Los Angeles(加州大学洛杉矶分校)

Atharva Kulkarni, Jacob Mitchell Springer, Arjun Subramonian, Swabha Swayamdipta

AI总结:

系统研究Transformer权重几何(尤其是解嵌入矩阵有效秩)与下游性能的关系,发现有效秩主要反映训练超参数而非性能,不能可靠预测模型表现。

摘要:

Transformer权重的几何特性,特别是解嵌入矩阵,在语言模型可解释性研究中被广泛使用。然而,它们对估计下游性能的效用仍不清楚。在这项工作中,我们系统地研究了模型性能与解嵌入矩阵几何(特别是其有效秩)之间的关系。我们的实验涉及在受控变化下训练的108个OLMo风格语言模型套件,揭示了几个关键发现。虽然表现最好的模型通常表现出高有效秩,但这种趋势并非普遍适用于所有任务和训练设置。与先前的工作相反,我们发现低有效秩不会导致小模型在后期出现性能退化,而是与之共现;我们发现了低秩模型不出现饱和的对抗性案例。此外,我们表明有效秩受到预训练超参数(如批大小和权重衰减)的强烈影响,而这些超参数反过来又影响模型的性能。最后,将我们的分析扩展到其他几何指标和最终层表示,我们发现这些指标在很大程度上是一致的,但都不能可靠地预测下游性能。总体而言,我们的发现表明,现有指标捕获的模型几何主要反映训练选择而非性能。

英文摘要:

Geometric properties of Transformer weights, particularly the unembedding matrix, have been widely useful in language model interpretability research. Yet, their utility for estimating downstream performance remains unclear. In this work, we systematically investigate the relationship between model performance and the unembedding matrix geometry, particularly its effective rank. Our experiments, involving a suite of 108 OLMo-style language models trained under controlled variation, reveal several key findings. While the best-performing models often exhibit a high effective rank, this trend is not universal across tasks and training setups. Contrary to prior work, we find that low effective rank does not cause late-stage performance degradation in small models, but instead co-occurs with it; we find adversarial cases where low-rank models do not exhibit saturation. Moreover, we show that effective rank is strongly influenced by pre-training hyperparameters, such as batch size and weight decay, which in-turn affect the model's performance. Lastly, extending our analysis to other geometric metrics and final-layer representation, we find that these metrics are largely aligned, but none can reliably predict downstream performance. Overall, our findings suggest that the model's geometry, as captured by existing metrics, primarily reflects training choices rather than performance.

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

↑