Transformers have established themselves as the leading neural network model in natural language processing and are increasingly foundational in various domains. In vision, the MLP-Mixer model has demonstrated competitive performance, suggesting that attention mechanisms might not be indispensable. Inspired by this, recent research has explored replacing attention modules with other mechanisms, including those described by MetaFormers. However, the theoretical framework for these models remains underdeveloped. This paper proposes a novel perspective by integrating Krotov's hierarchical associative memory with MetaFormers, enabling a comprehensive representation of the entire Transformer block, encompassing token-/channel-mixing modules, layer normalization, and skip connections, as a single Hopfield network. This approach yields a parallelized MLP-Mixer derived from a three-layer Hopfield network, which naturally incorporates symmetric token-/channel-mixing modules and layer normalization. Empirical studies reveal that symmetric interaction matrices in the model hinder performance in image recognition tasks. Introducing symmetry-breaking effects transitions the performance of the symmetric parallelized MLP-Mixer to that of the vanilla MLP-Mixer. This indicates that during standard training, weight matrices of the vanilla MLP-Mixer spontaneously acquire a symmetry-breaking configuration, enhancing their effectiveness. These findings offer insights into the intrinsic properties of Transformers and MLP-Mixers and their theoretical underpinnings, providing a robust framework for future model design and optimization.
Hasso Plattner Institute for Digital Engineering(哈索·普拉特纳数字工程研究所);University of Kaiserslautern-Landau(凯泽斯劳滕-兰道大学);Hasso Plattner Institute for Digital Health at the Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院哈索·普拉特纳数字健康研究所)
MLP-SRGAN: A Single-Dimension Super Resolution GAN using MLP-Mixer
Toronto Metropolitan University(多伦多都会大学);University of Toronto(多伦多大学);Institute of Biomedical Engineering, Science and Technology (iBEST)(生物医学工程科学与技术研究所)
California Institute of Technology, Pasadena, CA, USA(加利福尼亚技术研究所);Fermi National Accelerator Laboratory, Batavia, IL, USA(费米国家加速器实验室);European Organization for Nuclear Research (CERN), Geneva, Switzerland(欧洲核子研究中心)
HieraMix: A Hierarchical MLP-Mixer for Large-Scale Traffic Forecasting
State Key Laboratory of Complex & Critical Software Environment (SKLCCSE)(复杂关键软件环境国家重点实验室);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);MOE Engineering Research Center of Advanced Computer Application Technology, Beihang University(教育部先进计算机应用技术工程研究中心,北京航空航天大学)
A Multi-Scale Decomposition MLP-Mixer for Time Series Analysis
The Hong Kong University of Science and Technology(香港科技大学);BNU-HKBU United International College(北京师范大学-香港浸会大学联合国际学院);Guangzhou Urban Planning and Design Survey Research Institute(广州市城市规划勘测设计研究院)
SEMixer: Semantics Enhanced MLP-Mixer for Multiscale Mixing and Long-term Time Series Forecasting
Shanghai Key Laboratory of Data Science, College of Computer Science and Artificial Intelligence Fudan University(上海数据科学 key 实验室,复旦大学计算机科学与人工智能学院);Harvard University(哈佛大学)
TriMLP: Revenge of a MLP-like Architecture in Sequential Recommendation
Jilin University(吉林大学);University of Macau(澳门大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Hong Kong University of Science and Technology(香港科技大学)
MLPs Learn In-Context on Regression and Classification Tasks
School of Engineering and Applied Sciences(工程与应用科学学院);Center for Brain Sciences(脑科学中心);Kempner Institute for the Study of Artificial and Natural Intelligence(肯普纳人工智能与自然智能研究所);Harvard University(哈佛大学)
A remark on a paper of Krotov and Hopfield [arXiv:2008.06996]
HERE Technologies(HERE科技公司);IARAI(高级研究人工智能研究所)
在他们最近发表的题为“Large Associative Memory Problem in Neurobiology and机器学习“[arXiv:2008.06996]的论文中,作者给出了一个生物学上合理的微观理论,从中可以恢复文献中讨论的许多密集联想记忆模型。我们表明,最近的“MLP混合器”[arXiv:2105.01601]以及[arXiv:2105.02723]中基本等效的模型的层都在其中。
Attention is All You Need? Good Embeddings with Statistics are enough:Large Scale Audio Understanding without Transformers/ Convolutions/ BERTs/ Mixers/ Attention/ RNNs or ....
M3-Net: A Cost-Effective Graph-Free MLP-Based Model for Traffic Prediction
National Innovative Institute of Defense Technology(国防技术创新国家研究院);The Hong Kong University of Science(香港科学大学);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Peking University(北京大学);Beijing Jiaotong University(北京交通大学)
Indian Institute of Technology Bombay(印度理工学院孟买分校);Department of Electrical Engineering(电气工程系);Mumbai, India(印度孟买)
视觉Transformer(ViTs)在图像处理中的实际应用有限,尽管它们在某些基准上具有最先进的精度。其使用有限的原因包括与卷积神经网络(CNN)相比,它们需要更大的训练数据集和更多的计算资源,这是由于它们的自我注意力机制的二次复杂性。我们提出了一个线性注意力-卷积混合架构-卷积X-formers for Vision(CXV)-来克服这些限制。我们将二次注意力替换为线性注意力机制,例如Performer,Nyströmmormer和Linear Transformer,以减少其GPU使用量。图像数据的归纳先验由卷积子层提供,从而消除了对ViT使用的类标记和位置嵌入的需要。我们还提出了一种新的训练方法,在不同的训练阶段使用两种不同的优化器,并表明它可以提高不同架构中的前1名图像分类精度。在数据和GPU资源(内核、RAM、电源)有限的情况下,CXV优于其他架构、令牌混合器(例如ConvMixer、FNet和MLP Mixer)、Transformer模型(例如ViT、CCT、CvT和混合Xformer)以及用于图像分类的ResNets。
PatchAD: A Lightweight Patch-based MLP-Mixer for Time Series Anomaly Detection
School of Future Technology, South China University of Technology(未来技术学院,华南理工大学);Pengcheng Laboratory(鹏城实验室);School of Computer Science and Engineering, South China University of Technology(计算机科学与工程学院,华南理工大学)
Bayesian sparsification for deep neural networks with Bayesian model reduction
Technische Universität Dresden(德累斯顿工业大学);University College London(伦敦大学学院);Wellcome Centre for Human Neuroimaging(惠康人类神经成像中心);Queen Square Institute of Neurology(皇后广场神经病学研究所);VERSES AI Research Lab(VERSES AI研究实验室);Centre for Tactile Internet with Human-in-the-Loop (CeTI)(以人为中心的触觉互联网中心)