mirror of
https://github.com/deepseek-ai/ESFT.git
synced 2026-11-05 00:57:35 +00:00
[GH-ISSUE #17] Potential Normalization Issue in Expert Relevance Score Calculation #14
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/ESFT#14
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 @HowardZorn on GitHub (Apr 24, 2025).
Original GitHub issue: https://github.com/deepseek-ai/ESFT/issues/17
Hi,
I noticed there appears to be a discrepancy between the paper and the implementation regarding the normalization of expert relevance scores. In the paper, the average gate score $g_i^l$ and token selection ratio
r_i^lare normalized by the number of tokens:However, these scores seem to be normalized along the layers instead in this repository.
github.com/deepseek-ai/ESFT@579a7711e4/scripts/expert/generate_expert_config.py (L15-L40)I wanted to bring this to your attention as it might be an unintentional inconsistency. Could you kindly verify whether this is the intended behavior?
I hope this message finds you well.
Fw[a]rd.