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.
The Shape of Learning: Anisotropy and Intrinsic Dimensions in Transformer-Based Models
Skoltech(斯科尔科沃科技学院);AIRI(人工智能研究所);Lomonosov Moscow State University(罗蒙诺索夫莫斯科国立大学);HSE University(高等经济大学);SberAI(萨伯人工智能公司);Samara National Research University(萨马拉国立研究大学)
NYU Center for Data Science(纽约大学数据科学中心);School of Computer Science, Tel Aviv University(特拉维夫大学计算机科学学院);Google Research(谷歌研究);Bar-Ilan University(巴伊兰大学);Google DeepMind(谷歌DeepMind)
Bridging the Dimensional Chasm: Uncover Layer-wise Dimensional Reduction in Transformers through Token Correlation
School of Physics, Peking University(北京大学物理学院);Institute of Theoretical Physics, Chinese Academy of Sciences(中国科学院理论物理研究所);Center for High Energy Physics, Peking University(北京大学高能物理研究中心);Beijing Computational Science Research Center(北京计算科学研究中心)
Performance-Efficiency Tradeoffs in Transformers: An Approximation Theory Perspective
Center for Data Science(数据科学中心);Peking University(北京大学);Institute for Functional Intelligent Materials(功能智能材料研究所);National University of Singapore(新加坡国立大学);Department of Mathematics(数学系);Microsoft Research Asia(微软亚洲研究院)