mlsanityData to 14 Oct 2026

Hierarchical Associative Memory, Parallelized MLP-Mixer, and Symmetry Breaking

arXiv 2406.12220 ↗First posted 18 Jun 2024cs.LG cond-mat.dis-nn cs.CVcited by 5

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 39 of its 54 references that are in the map. First posted on arXiv 18 Jun 2024.

Builds on

39 of 54 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2016Layer Normalizationcited by 5,669
  4. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  8. 2018Neural Ordinary Differential Equationscited by 3,779
  9. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  10. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  11. 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,628
  12. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
27 more
  1. 2017Random Erasing Data Augmentationcited by 1,239
  2. 2016Deep Networks with Stochastic Depthcited by 979
  3. 2021MetaFormer Is Actually What You Need for Visioncited by 524
  4. 2020Hopfield Networks is All You Needcited by 475
  5. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 339
  6. 2021Global Filter Networks for Image Classificationcited by 260
  7. 2016Dense Associative Memory for Pattern Recognitioncited by 236
  8. 2022Vision GNN: An Image is Worth Graph of Nodescited by 186
  9. 2022MetaFormer Baselines for Visioncited by 132
  10. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 112
  11. 2021Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognitioncited by 103
  12. 2023Energy Transformercited by 71
  13. 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
  14. 2021Do You Even Need Attention? A Stack of Feed-Forward Layers Does Surprisingly Well on ImageNetcited by 61
  15. 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 55
  16. 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 53
  17. 2017Dense Associative Memory is Robust to Adversarial Inputscited by 45
  18. 2023In search of dispersed memories: Generative diffusion models are associative memory networkscited by 44
  19. 2021Hierarchical Associative Memorycited by 34
  20. 2022Transformers from an Optimization Perspectivecited by 27
  21. 2022Sequencer: Deep LSTM for Image Classificationcited by 23
  22. 2022A Neural ODE Interpretation of Transformer Layerscited by 14
  23. 2023RIFormer: Keep Your Vision Backbone Effective While Removing Token Mixercited by 13
  24. 2018Exploring Weight Symmetry in Deep Neural Networkscited by 12
  25. 2021A remark on a paper of Krotov and Hopfield [arXiv:2008.06996]cited by 11
  26. 2022Attention in a family of Boltzmann machines emerging from modern Hopfield networkscited by 7
  27. 2023iMixer: hierarchical Hopfield network implies an invertible, implicit and iterative MLP-Mixercited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.