arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.14514cs.LGcs.AIcs.SYeess.SY
收藏

关于无维度Transformer:STP在人工智能中的应用

On Dimension-Free Transformer: An Application of STP to AI

Key Laboratory of Systems and Control, Academy of Mathematics and Systems Sciences, Chinese Academy of Sciences(系统与控制重点实验室,数学与系统科学学院,中国科学院)

Daizhan Cheng

AI总结:

本文提出无维度Transformer(DFT)框架,利用半张量积和基于投影的超向量变换替换Transformer中的线性变换,使输入输出维度任意,提升信号处理效率。

摘要:

首先描述了Transformer各个部分的矩阵表达式。基于矩阵的半张量积(STP),重新考虑了超向量,并利用投影构造了超向量上的线性变换。获得了其性质和计算公式。利用基于投影的超向量变换(PBTH),通过验证Transformer中的每个线性变换并将其替换为适当的PBTH,提出了无维度Transformer(DFT)的框架,该框架允许输入和输出具有任意维度。利用所有条目的平衡信息,DFT在处理信号时必须更加高效。

英文摘要:

The matrix expressions for every parts of a transformer are firstly described. Based on semi-tensor product (STP) of matrices the hypervectors are reconsidered and the linear transformation over hypervectors is constructed by using projection. Its properties and calculating formulas are obtained. Using projection-based transformation of hypervector (PBTH), the framework of dimension-free transformer (DFT) is proposed by verifying each linear transformation in a transformer and replacing it by a proper PBTH, which allows the inputs and outputs being of arbitrary dimensions. Using balanced information about all entries, DFT must be more efficient in dealing with signals.

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

↑