Skip to main navigation Skip to search Skip to main content

Dimension Mixer: Group Mixing of Input Dimensions for Efficient Function Approximation

  • Nepal Applied Mathematics and Informatics Institute for Research (NAAMII)

Research output: Contribution to conferencePosterpeer-review

Abstract

The recent success of multiple neural architectures like CNNs, Transformers, and MLP-Mixers motivates us to look for similarities and differences between them. We find that these architectures can be interpreted through the lens of a general concept of dimension mixing. Research on coupling flows, shufflenet and the butterfly transform shows that partial and hierarchical signal mixing schemes are sufficient for efficient and expressive function approximation. In this work, we study group-wise sparse, non-linear, multi-layered and learnable mixing schemes of inputs and find that they are complementary to many standard neural architectures. Following our observations and drawing inspiration from the Fast Fourier Transform, we generalize Butterfly Structure to use non-linear mixer function allowing for MLP as mixing function called Butterfly MLP. We are also able to sparsely mix along sequence dimension for Transformer-based architectures called Butterfly Attention. Experiments on CIFAR and LRA datasets demonstrate that the proposed Non-Linear Butterfly Mixers are efficient and scale well when the host architectures are used as mixing function. We devise datasets with increasing complexity to solve Pathfinder-X task. Additionally, we propose Patch-Only MLP-Mixer for processing spatial 2D signals demonstrating a different dimension mixing strategy.

Original languageEnglish
Number of pages19
Publication statusPublished - 3 Jun 2025
EventThe Second Conference on Parsimony and Learning - Stanford University, Stanford, United States
Duration: 24 Mar 202527 Mar 2025
https://cpal.cc/

Conference

ConferenceThe Second Conference on Parsimony and Learning
Abbreviated titleCPAL 2025
Country/TerritoryUnited States
CityStanford
Period24/03/2527/03/25
Internet address

Keywords

  • Sparse Architectures
  • Structured Sparsity
  • Butterfly Sparsity
  • Butterfly MLP
  • Butterfly Attention
  • Long Range Arena (LRA)
  • Solving Pathfinder-X
  • Patch Only MLP-Mixer
  • Dimension Mixer

Fingerprint

Dive into the research topics of 'Dimension Mixer: Group Mixing of Input Dimensions for Efficient Function Approximation'. Together they form a unique fingerprint.

Cite this