SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.12463 · NeurIPS · 2025

Dense Backpropagation Improves Training for Sparse Mixture-of-Experts

Tom Goldstein, Ashwinee Panda, Vatsal Baherwani, Zain Sarwar, Benjamin Therien, Sambit Sahu, Supriyo Chakraborty

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2504.12463.json · badge: /api/ran/2504.12463.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
vatsal0/default-moe canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
cast_if_autocast_enabled Ran
ran on a synthesized input
vatsal0/default-moe/megatron/model/moe.py
pointer only (licence: Apache-2.0) · get_code("8de5b37b264d4283")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, vatsal0/default-moe, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_checkpoint_tag Ran
ran; our contract draft was wrong, not the code
vatsal0/default-moe/megatron/checkpointing.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ningding-o/MemoryFormer, is pointer only (licence: NONE) · get_code("69002400aad5a8a6")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, vatsal0/default-moe, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pairwise Ran
ran; our contract draft was wrong, not the code
vatsal0/default-moe/configs/gen_docs.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ningding-o/MemoryFormer, is pointer only (licence: NONE) · get_code("50c9c165cf801f59")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, vatsal0/default-moe, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_md Ran
ran; our contract draft was wrong, not the code
vatsal0/default-moe/configs/gen_docs.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ningding-o/MemoryFormer, is pointer only (licence: NONE) · get_code("64dd872a8ac47294")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, vatsal0/default-moe, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_docs Not yet run
unverified (harvested, no recorded run)
vatsal0/default-moe/configs/gen_docs.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ningding-o/MemoryFormer, is pointer only (licence: NONE) · get_code("d5081f28e2befd2c")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, vatsal0/default-moe, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

monitor_method_cuda_wall_times Not yet run
unverified (harvested, no recorded run)
vatsal0/default-moe/megatron/devutil.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ningding-o/MemoryFormer, is pointer only (licence: NONE) · get_code("3a5fc202b5d9ec24")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, vatsal0/default-moe, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
pairwise 5 other papers
5 dated earlier
2205.09921 (2022-05)
KERPLE: Kernelized Relative Positional Embedding for Length Extrapolation
2312.02406 (2023-12)
Efficient Online Data Mixing For Language Model Pre-Training
2406.12428 (2024-06)
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
and 2 more not named here
to_md 5 other papers
5 dated earlier
2205.09921 (2022-05)
KERPLE: Kernelized Relative Positional Embedding for Length Extrapolation
2312.02406 (2023-12)
Efficient Online Data Mixing For Language Model Pre-Training
2406.12428 (2024-06)
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
and 2 more not named here
get_checkpoint_tag 3 other papers
3 dated earlier
2406.12428 (2024-06)
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
2410.04798 (2024-10)
DAPE V2: Process Attention Score as Feature Map for Length Extrapolation
2411.12992 (2024-11)
MemoryFormer: Minimize Transformer Computation by Removing Fully-Connected Layers
get_docs 3 other papers
3 dated earlier
2406.12428 (2024-06)
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
2410.04798 (2024-10)
DAPE V2: Process Attention Score as Feature Map for Length Extrapolation
2411.12992 (2024-11)
MemoryFormer: Minimize Transformer Computation by Removing Fully-Connected Layers
monitor_method_cuda_wall_times 3 other papers
3 dated earlier
2406.12428 (2024-06)
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
2410.04798 (2024-10)
DAPE V2: Process Attention Score as Feature Map for Length Extrapolation
2411.12992 (2024-11)
MemoryFormer: Minimize Transformer Computation by Removing Fully-Connected Layers

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Mixture of Experts (MoE) pretraining is more scalable than dense Transformer pretraining, because MoEs learn to route inputs to a sparse set of their feedforward parameters. However, this means that MoEs only receive a sparse backward update, leading to training instability and suboptimal performance. We present a lightweight approximation method that gives the MoE router a dense gradient update while continuing to sparsely activate its parameters. Our method, which we refer to as Default MoE, substitutes missing expert activations with default outputs consisting of an exponential moving average of expert outputs previously seen over the course of training. This allows the router to receive signals from every expert for each token, leading to significant improvements in training performance. Our Default MoE outperforms standard TopK routing in a variety of settings without requiring significant computational overhead.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2504.12463")
get_code_for_paper("2504.12463")
have("2504.12463")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2504.12463.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2504.12463.svg)](https://syntology.ai/paper/2504.12463)

Connect an agent — have() is free.