Chain-of-Experts: Unlocking the Communication Power of Mixture-of-Experts Models

Zihan Wang, Rui Pan, Jiarui Yao, Robert Csordas, Linjie Li +5 more
6/23/2025
cs.LGcs.CL

Official code: ZihanWang314/CoE (232 stars, last commit 2025-11-04).

Abstract

We propose Chain-of-Experts (CoE), a new Mixture-of-Experts (MoE) architecture that introduces sequential expert communication within each layer. Unlike traditional MoE models, where experts operate independently in parallel, CoE processes tokens iteratively across a chain of experts inside a layer. To support dynamic expert selection across iterations, CoE employs a dedicated router at each iteration step within a layer. This design allows tokens to re-evaluate and select different experts during each iteration, rather than being statically assigned. As a result, CoE introduces a flexible routing mechanism that increases the diversity of expert combinations and enriches the model's representational capacity. CoE demonstrates improved performance under fixed compute: on math reasoning tasks, it reduces validation loss from 1.20 to 1.12 compared to a standard MoE. Beyond performance, CoE offers a new scaling axis: depth through expert iteration, which complements conventional width/depth scaling. For example, using 2x iterations matches the performance of 3x expert selections (in width), while reducing memory usage by 17.6-42% relative to other scaling strategies. Our analysis reveals that CoE's benefits stem from its iterative residual structure and enhanced expert specialization empowered by iterative routing, which together unlock more expressive representations. Code is available at https://github.com/ZihanWang314/coe.

View on arXivView PDF

Code Implementations(1)

ZihanWang314/CoEOfficial100%

Chain of Experts (CoE) enables communication between experts within Mixture-of-Experts (MoE) models

23227Shell, PythonFeb 25, 202511 months ago

Similar Papers

Cite this paper

@article{wang2025chainofexperts,
  title  = {Chain-of-Experts: Unlocking the Communication Power of Mixture-of-Experts Models},
  author = {Zihan Wang and Rui Pan and Jiarui Yao and Robert Csordas and Linjie Li and Lu Yin and Jiajun Wu and Tong Zhang and Manling Li and Shiwei Liu},
  year   = {2025},
  eprint = {2506.18945},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.18945v1}
}

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

Discussion