mirror of
https://github.com/deepseek-ai/DeepSeek-MoE.git
synced 2026-11-05 00:57:43 +00:00
[GH-ISSUE #53] Router-swappable experts: has profile-based routing been considered for DeepSeekMoE? #43
Labels
No labels
pull-request
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-MoE#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @washingtoneimae-dot on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-MoE/issues/53
The DeepSeekMoE architecture uses fine-grained experts with a learned router (top-K selection via affinity scores). This works well but means expert pools are locked — swapping or adding an expert requires retraining the router.
Has the team considered replacing the learned router with profile-based routing? Specifically:
This makes experts swappable (update one array, no retraining) and routing decisions fully interpretable ("Expert 3 was chosen because its math profile score of 0.97 matched the input's math profile of 0.94").
We built a working implementation proving this at small scale (99.9% routing accuracy, 38× swap isolation, identical speed to learned routing). The router has zero learned parameters — cosine similarity is pure math — reducing routing parameters from 106M (V3 scale) to ~500K (shared profiler).
Code + proofs: https://github.com/washingtoneimae-dot/profile-moe
Would love to hear if this direction has been explored internally and what challenges you'd anticipate at production scale.