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

Sagi Shaier, Francisco Pereira, K. Wense, Lawrence Hunter, Matt Jones
10/1/2024

No official code found. Best implementation: Shaier/COMET (1 star, last commit 2025-06-11).

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.

View on arXivView PDF

Code Implementations(1)

Shaier/COMETCommunity56%

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

10PythonJan 26, 20251 years ago
moesparsity

Similar Papers

Cite this paper

@article{shaier2024more,
  title  = {More Experts Than Galaxies: Conditionally-overlapping Experts With Biologically-Inspired Fixed Routing},
  author = {Sagi Shaier and Francisco Pereira and K. Wense and Lawrence Hunter and Matt Jones},
  year   = {2024},
  eprint = {2410.08003},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.08003},
  journal = {ICLR 2024 2024}
}

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/2410.08003.svg)](https://codeofpaper.com/paper/2410.08003)

Discussion