deepseek-ai / deepseek-ai/DeepSpec
[Off-topic] Question for Damai Dai / Chengqi Deng: has profile-based MoE routing been explored?
- Dominant language
- Python
- Stars
- 7.1k
- Forks
- 667
- PR merge metrics
- No merged PRs in 30d
Description
I noticed this repo has recent activity from Damai Dai and Chengqi Deng — the same researchers behind DeepSeekMoE's expert routing architecture.
Quick question on MoE routing: has the team considered replacing the learned router W_r·x with profile-based routing? Each expert carries a calibrated benchmark vector. Router uses cosine similarity instead of learned weights. Zero router parameters (cosine sim is pure math). Experts become swappable post-training (update one array, no retraining).
At V3 scale this reduces routing params from ~106M to ~500K. At V4 scale (~384 experts) it's ~192M vs ~500K. The bias balancing mechanism remains compatible — just add b_i to cosine similarity scores before top-K.
We have a working implementation proving this (99.9% routing accuracy, 38× swap isolation, identical inference speed): https://github.com/washingtoneimae-dot/profile-moe
Would love a technical opinion from the people who built the original MoE architecture.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no DeepSpec files, tests, or entry points. Start by reviewing the linked profile-moe implementation and comparing its routing claims with DeepSpec's scope; done would require a maintainer decision on whether this proposal belongs in the repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100