Chain-of-Experts
A Mixture-of-Experts language model whose experts process each token in sequence within a layer.
Language · 1,958 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Language
- Parameters
- 780.9M
- Operations
- 1,958
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2025
- Cited by
- 13 (as of 30 November 2026)
- Authors
- Zihan Wang, Rui Pan, Jiarui Yao and others
- Source
- GitHub: ZihanWang314/coe
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15265
- Graph hash
- 122ee2137bf4d48b347ba2fe7381ca4407ffe53fd3fec36169a851253838fa7e
- Skeleton hash
- ffb52a84bad45e16242d8d6b92b3d4dcd4d914fdbd107496c43ae08a869b8213
- Architecture hash
- 6e4df12b3ef19def29afffa04acb5bae33de0909e2d8a034469f217753eb66f1
- Diagram SHA-256
- bb01f6728dfaff3a89cfb0c2b91f6f2b681e633ae8f4700f9b4c0dabb91400c9
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Chain-of-Experts (CoE) is a Mixture-of-Experts (MoE) architecture in which the experts inside a layer process a token in sequence instead of independently in parallel. Within a layer the token is routed again at each iteration, and each new set of experts sees the hidden state produced in the previous step.
Each iteration step has its own router, so a token can select different experts from one iteration to the next. A residual connection is applied at each iteration, and the paper's ablation finds that these inner residuals stabilize multi-step refinement. To keep expert compute fixed, the paper compares CoE with 4 experts over 2 iterations against MoE with 8 experts in a single pass.
The model in the paper's experiments is built on the DeepSeek-V2-Lite architecture, scaled down to 544 million parameters excluding embeddings. Its transformer backbone has 4 layers, all configured as MoE layers with 63 routed experts and 1 shared expert. On math reasoning tasks, the paper reports that CoE reduces validation loss from 1.20 to 1.12 compared to a standard MoE.
Key idea. Chain-of-Experts lets tokens pass through a chain of experts inside each MoE layer, with a dedicated router at every iteration step.
- chain-of-experts
- coe
- mixture-of-experts
- moe
- expert routing
- sequential expert communication
- language model
- sparse experts
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2025chainofexpertsunlockingcommunicationpower,
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},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2506.18945},
}