Lateralization MLP: A Simple Brain-inspired Architecture for Diffusion

Zizhao Hu, Mohammad Rostami
5/25/2024
cs.CV

No official code found. Best implementation: zizhao-hu/mixture-of-mixers (5 stars, MIT, last commit 2026-02-02).

Abstract

The Transformer architecture has dominated machine learning in a wide range of tasks. The specific characteristic of this architecture is an expensive scaled dot-product attention mechanism that models the inter-token interactions, which is known to be the reason behind its success. However, such a mechanism does not have a direct parallel to the human brain which brings the question if the scaled-dot product is necessary for intelligence with strong expressive power. Inspired by the lateralization of the human brain, we propose a new simple but effective architecture called the Lateralization MLP (L-MLP). Stacking L-MLP blocks can generate complex architectures. Each L-MLP block is based on a multi-layer perceptron (MLP) that permutes data dimensions, processes each dimension in parallel, merges them, and finally passes through a joint MLP. We discover that this specific design outperforms other MLP variants and performs comparably to a transformer-based architecture in the challenging diffusion task while being highly efficient. We conduct experiments using text-to-image generation tasks to demonstrate the effectiveness and efficiency of L-MLP. Further, we look into the model behavior and discover a connection to the function of the human brain. Our code is publicly available: \url{https://github.com/zizhao-hu/L-MLP}

View on arXivView PDF

Code Implementations(1)

MIT
51Shell, PythonMay 14, 20248 months agoMIT

Similar Papers

Cite this paper

@article{hu2024lateralization,
  title  = {Lateralization MLP: A Simple Brain-inspired Architecture for Diffusion},
  author = {Zizhao Hu and Mohammad Rostami},
  year   = {2024},
  eprint = {2405.16098},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.16098v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.16098.svg)](https://codeofpaper.com/paper/2405.16098)

Discussion