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.
Remember to Forget: Gated Adaptive Positional Encoding
Department of Computer Science and Technology, University of Cambridge(计算机科学与技术系,剑桥大学);Department of Computer, Control and Management Engineering, Sapienza University(计算机、控制与管理工程系,萨皮恩扎大学);Department of Information Engineering, University of Padova(信息工程系,帕多瓦大学)
Clifford Algebraic Rotor Embeddings : Maybe embeddings should start to CARE
Institute of Computer Science and Campus Institute Data Science, University of Göttingen(计算机科学研究所和校园数据科学学院,哥廷根大学);Max Planck Institute for Dynamics and Self-Organization, Göttingen, Germany(动态与自组织Max Planck研究所,哥廷根,德国)
Functional Equivalence in Attention: A Comprehensive Study with Applications to Linear Mode Connectivity
National University of Singapore(新加坡国立大学);Center for AI Research, VinUniversity(Vin大学人工智能研究中心);Independent Researcher(独立研究者);Technical University of Munich(慕尼黑技术大学)
ELLIS Institute Tübingen(图宾根埃利斯研究所);LIONS, EPFL(日内瓦理工学院LIONS实验室);University of Freiburg(弗赖堡大学);Max-Planck-Institute for Intelligent Systems(智能系统马克斯·普朗克研究所);Prior Labs(Prior实验室)
Let the Code LLM Edit Itself When You Edit the Code
National Key Laboratory of General Artificial Intelligence(通用人工智能国家重点实验室);School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学院);ByteDance Inc.(字节跳动公司)
SPECTRE: Spectral Pre-training Embeddings with Cylindrical Temporal Rotary Position Encoding for Fine-Grained sEMG-Based Movement Decoding
Clinical Hospital of Chengdu Brain Science Institute(成都脑科学研究院临床医院);MOE Key Lab for Neuroinformation(教育部神经信息关键实验室);University of Electronic Science and Technology of China(电子科技大学);School of Life Science and Technology(生命科学与技术学院);Center for Information in Medicine(医学信息中心);Research Unit of NeuroInformation(神经信息研究单位);Chinese Academy of Medical Sciences(中国医学科学院);Department of Electrical and Computer Engineering(电气与计算机工程系);Faculty of Science and Technology(科学与技术学院)
Contextual Counting: A Mechanistic Study of Transformers on a Quantitative Task
New York University(纽约大学);Flatiron Institute(弗莱伦研究所);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);University of Cambridge(剑桥大学);The University of Tokyo(东京大学);University of Colorado Boulder(科罗拉多大学博尔德分校);Prescient Design, Genentech(基因泰克公司Prescient Design部门);Princeton University(普林斯顿大学)
RoPE Attention Can Be Trained in Almost Linear Time
Wyoming Seminary(怀俄明神学院);University of Arizona(亚利桑那大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Simons Institute for the Theory of Computing, University of California, Berkeley(计算理论学院,加州大学伯克利分校)