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

探究Transformer潜空间几何结构对下游任务性能的影响

Exploring the Impact of a Transformer's Latent Space Geometry on Downstream Task Performance

University of Montana(蒙大拿大学);College of Business, University of Montana(蒙大拿大学商学院);R. Ken Coit College of Pharmacy, University of Arizona(亚利桑那大学R. Ken Coit药学院)

Anna C. Marbut, John W. Chandler, Travis J. Wheeler

AI总结:

本研究探究Transformer潜空间几何特征与下游任务性能的关联,发现量化单元密度与GLUE平均性能强相关,可用于预测非标准BERT类模型性能,为降低预训练需求提供新思路。

摘要:

人们普遍认为,基于Transformer的大语言模型通过预训练学习通用语言知识,可在微调阶段聚焦于特定任务,从而从中获益。但我们提出,预训练带来的大部分收益可能源于潜空间表示的几何特征,与任何特定语言知识无关。本研究中,我们探究了GLUE基准测试任务性能与应用于BERT类上下文语言模型所得潜空间的多种度量指标之间的关系。我们发现,量化单元密度度量与GLUE平均性能之间存在强线性关系,且这些度量指标或可预测文献中若干非标准BERT类模型出人意料的GLUE性能。这些结果或许为降低预训练需求提供了一种思路,即可依据模型潜空间的几何特征来指导模型初始化。

英文摘要:

It is generally thought that transformer-based large language models benefit from pre-training by learning generic linguistic knowledge that can be focused on a specific task during fine-tuning. However, we propose that much of the benefit from pre-training may be captured by geometric characteristics of the latent space representations, divorced from any specific linguistic knowledge. In this work we explore the relationship between GLUE benchmarking task performance and a variety of measures applied to the latent space resulting from BERT-type contextual language models. We find that there is a strong linear relationship between a measure of quantized cell density and average GLUE performance and that these measures may be predictive of otherwise surprising GLUE performance for several non-standard BERT-type models from the literature. These results may be suggestive of a strategy for decreasing pre-training requirements, wherein model initialization can be informed by the geometric characteristics of the model's latent space.

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

↑