Table of Contents
Fetching ...

More Experts Than Galaxies: Conditionally-overlapping Experts With Biologically-Inspired Fixed Routing

Sagi Shaier, Francisco Pereira, Katharina von der Wense, Lawrence E Hunter, Matt Jones

TL;DR

COMET addresses interference in dense neural networks by replacing trainable MoE gates with fixed random projections and a $k$-winner-take-all mask, producing an exponential number of overlapping experts whose overlap grows with input similarity. This unsupervised routing eliminates the need for input or task IDs and avoids representation collapse, while enabling forward transfer and improved generalization without adding trainable parameters. Across image classification, language modeling, and regression, COMET delivers faster learning and higher accuracy, with larger gains as model capacity increases and only moderate computational overhead. The approach highlights a biologically inspired routing paradigm that scales to modern architectures (ViT, MLP-Mixer, GPT) and holds promise for transfer and continual learning settings.

Abstract

The evolution of biological neural systems has led to both modularity and sparse coding, which enables energy efficiency and robustness across the diversity of tasks in the lifespan. In contrast, standard neural networks rely on dense, non-specialized architectures, where all model parameters are simultaneously updated to learn multiple tasks, leading to interference. Current sparse neural network approaches aim to alleviate this issue but are hindered by limitations such as 1) trainable gating functions that cause representation collapse, 2) disjoint experts that result in redundant computation and slow learning, and 3) reliance on explicit input or task IDs that limit flexibility and scalability. In this paper we propose Conditionally Overlapping Mixture of ExperTs (COMET), a general deep learning method that addresses these challenges by inducing a modular, sparse architecture with an exponential number of overlapping experts. COMET replaces the trainable gating function used in Sparse Mixture of Experts with a fixed, biologically inspired random projection applied to individual input representations. This design causes the degree of expert overlap to depend on input similarity, so that similar inputs tend to share more parameters. This results in faster learning per update step and improved out-of-sample generalization. We demonstrate the effectiveness of COMET on a range of tasks, including image classification, language modeling, and regression, using several popular deep learning architectures.

More Experts Than Galaxies: Conditionally-overlapping Experts With Biologically-Inspired Fixed Routing

TL;DR

COMET addresses interference in dense neural networks by replacing trainable MoE gates with fixed random projections and a -winner-take-all mask, producing an exponential number of overlapping experts whose overlap grows with input similarity. This unsupervised routing eliminates the need for input or task IDs and avoids representation collapse, while enabling forward transfer and improved generalization without adding trainable parameters. Across image classification, language modeling, and regression, COMET delivers faster learning and higher accuracy, with larger gains as model capacity increases and only moderate computational overhead. The approach highlights a biologically inspired routing paradigm that scales to modern architectures (ViT, MLP-Mixer, GPT) and holds promise for transfer and continual learning settings.

Abstract

The evolution of biological neural systems has led to both modularity and sparse coding, which enables energy efficiency and robustness across the diversity of tasks in the lifespan. In contrast, standard neural networks rely on dense, non-specialized architectures, where all model parameters are simultaneously updated to learn multiple tasks, leading to interference. Current sparse neural network approaches aim to alleviate this issue but are hindered by limitations such as 1) trainable gating functions that cause representation collapse, 2) disjoint experts that result in redundant computation and slow learning, and 3) reliance on explicit input or task IDs that limit flexibility and scalability. In this paper we propose Conditionally Overlapping Mixture of ExperTs (COMET), a general deep learning method that addresses these challenges by inducing a modular, sparse architecture with an exponential number of overlapping experts. COMET replaces the trainable gating function used in Sparse Mixture of Experts with a fixed, biologically inspired random projection applied to individual input representations. This design causes the degree of expert overlap to depend on input similarity, so that similar inputs tend to share more parameters. This results in faster learning per update step and improved out-of-sample generalization. We demonstrate the effectiveness of COMET on a range of tasks, including image classification, language modeling, and regression, using several popular deep learning architectures.

Paper Structure

This paper contains 50 sections, 7 equations, 36 figures, 2 tables.

Figures (36)

  • Figure 1: Illustration of a 2-layer MLP with embedded COMET layers. Note that COMET layers do not contain predefined experts, but instead dynamically selects a subset of the backbone MLP's parameters to activate, effectively creating implicit experts. The sparsity level determines the proportion of parameters to activate. Real value in teal, zeros in white, ones in grey.
  • Figure 2:
  • Figure 3:
  • Figure 5: Illustration of neuron activity across COMET layers in a 4-layer MLP. We visualize the utilization of neurons in two randomly initialized networks with varying sparsity levels, using the CIFAR10 dataset. The plots show that our network effectively utilizes all its parameters, with no "dead neurons" and no signs of representation collapse, even at very high sparsity levels.
  • Figure 6: Illustration of 4-layer MLP networks trained on CIFAR10, showcasing the impact of varying network capacity and sparsity levels. As we increase the number of neurons and decrease sparsity (moving from top left to bottom right), we observe a shift in the best-performing model. Initially, the standard model outperforms the COMET model when network capacity is low. However, as network capacity grows, the COMET model emerges as the top performer.
  • ...and 31 more figures