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

CRoPE:旋转位置嵌入的高效参数化

CRoPE: Efficient Parametrization of Rotary Positional Embedding

Stanford University(斯坦福大学);d-Matrix;University of Florida(佛罗里达大学)

Beicheng Lou, Zifei Xu, Vivian W. H. Wong

AI总结:

CRoPE通过将旋转位置嵌入的参数化从复数线性变换改为更自然的参数方式,节省近50%参数,同时不影响模型性能,提升参数使用效率和表示空间的解释性。

摘要:

旋转位置嵌入已成为基于变换器模型中编码位置信息的最新方法。尽管它通常简洁地用复数线性代数表达,但我们注意到实际的Q/K/V投影实现并不等同于复数线性变换。我们认为复数线性变换是一种更自然的参数化方式,并在注意力块内节省近50%的参数。我们实证表明去除这种冗余对模型性能影响 negligible。我们的修改实现了更高效的参数使用,以及更清晰的表示空间解释。

英文摘要:

Rotary positional embedding has become the state-of-the-art approach to encode position information in transformer-based models. While it is often succinctly expressed in complex linear algebra, we note that the actual implementation of $Q/K/V$-projections is not equivalent to a complex linear transformation. We argue that complex linear transformation is a more natural parametrization and saves near 50\% parameters within the attention block. We show empirically that removing such redundancy has negligible impact on the model performance. Our modification achieves more efficient parameter usage, as well as a cleaner interpretation of the representation space.

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

↑