About this repository
This repository contains the official code for reproducing results from the paper:
"More Experts Than Galaxies: Conditionally-Overlapping Experts With Biologically-Inspired Fixed Routing"
by Sagi Shaier, Francisco Pereira, Katharina von der Wense, Lawrence E. Hunter, and Matt Jones.
The code enables training and evaluating sparse modular neural networks based on our proposed COMET architecture on benchmark datasets.
- Python 3.11
- Conda (for environment management)
git clone https://github.com/Shaier/COMET.git
cd COMETCreate and activate a Conda environment with Python 3.11:
conda create -n COMET python=3.11
conda activate COMETInstall the required Python packages using pip:
pip install -r requirements.txtTo reproduce standard model experiments (4-layer MLPs on CIFAR-10, illustrating the effect of capacity and sparsity — Figures 4 and 9 in the paper):
python run_models.pyTo visualize experimental results:
python plot_results.pyIf you use this codebase or refer to our paper, please cite:
@misc{shaier2025expertsgalaxiesconditionallyoverlappingexperts,
title={More Experts Than Galaxies: Conditionally-overlapping Experts With Biologically-Inspired Fixed Routing},
author={Sagi Shaier and Francisco Pereira and Katharina von der Wense and Lawrence E Hunter and Matt Jones},
year={2025},
eprint={2410.08003},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2410.08003},
}