arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.06977cs.CL
收藏

为何要关注几何?论Transformer嵌入线性分解的相关性

Why bother with geometry? On the relevance of linear decompositions of Transformer embeddings

University of Helsinki(赫尔辛基大学)

Timothee Mickus, Raúl Vázquez

AI总结:

本文研究Transformer嵌入线性分解的经验意义,发现分解指标与模型性能相关,但几何反映模型特性而非句子计算,且训练条件相似不保证向量空间相似。

摘要:

最近的一系列工作表明,Transformer嵌入可以线性分解为定义良好的因子之和,这些因子可以进一步与特定的网络输入或组件相关联。然而,关于这些数学重构是否具有经验意义的研究仍然匮乏。在本工作中,我们使用两种此类嵌入分解方法研究机器翻译解码器的表示。我们的结果表明,虽然分解派生的指标确实与模型性能相关,但不同运行之间的差异表明对此问题的看法更为细致。我们测量的高变异性表明,几何反映的是模型特定特征而非句子特定计算,并且相似的训练条件并不能保证相似的向量空间。

英文摘要:

A recent body of work has demonstrated that Transformer embeddings can be linearly decomposed into well-defined sums of factors, that can in turn be related to specific network inputs or components. There is however still a dearth of work studying whether these mathematical reformulations are empirically meaningful. In the present work, we study representations from machine-translation decoders using two of such embedding decomposition methods. Our results indicate that, while decomposition-derived indicators effectively correlate with model performance, variation across different runs suggests a more nuanced take on this question. The high variability of our measurements indicate that geometry reflects model-specific characteristics more than it does sentence-specific computations, and that similar training conditions do not guarantee similar vector spaces.

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

↑