SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2508.18672 · ICLR · 2025

Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks

Jun Suzuki, Satoki Ishikawa, Rio Yokota, Taishi Nakamura, Masaki Kawamura, Takumi Okamoto, Daisuke Nohara

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-24; 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/2508.18672.json · badge: /api/ran/2508.18672.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
rioyokotalab/optimal-sparsity canonical (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
FunctionStatusWhere it lives
get_batch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rioyokotalab/optimal-sparsity/pre-training/pretrain_vision_classify.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Centaurus-Alpha/UniPool, is pointer only (licence: NOASSERTION) · get_code("1f4447581128a711")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Centaurus-Alpha/UniPool, and GitHub could not classify the licence of that repository (NOASSERTION). 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_batch Ran
ran; our contract draft was wrong, not the code
rioyokotalab/optimal-sparsity/pre-training/pretrain_vision_dino.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Centaurus-Alpha/UniPool, is pointer only (licence: NOASSERTION) · get_code("92287bdc91b8ac90")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Centaurus-Alpha/UniPool, and GitHub could not classify the licence of that repository (NOASSERTION). 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_batch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rioyokotalab/optimal-sparsity/pre-training/pretrain_vision_inpaint.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Centaurus-Alpha/UniPool, is pointer only (licence: NOASSERTION) · get_code("edf213e729a014e0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Centaurus-Alpha/UniPool, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 0 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
get_batch 8 other papers
5 dated earlier, 3 later
2312.04916 (2023-12)
EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelism
2403.09635 (2024-03)
Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models
2403.18926 (2024-03)
XMoE: Sparse Models with Fine-grained and Adaptive Expert Selection
and 5 more not named here
get_batch 8 other papers
5 dated earlier, 3 later
2312.04916 (2023-12)
EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelism
2403.09635 (2024-03)
Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models
2403.18926 (2024-03)
XMoE: Sparse Models with Fine-grained and Adaptive Expert Selection
and 5 more not named here
get_batch 7 other papers
4 dated earlier, 3 later
2403.09635 (2024-03)
Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models
2403.18926 (2024-03)
XMoE: Sparse Models with Fine-grained and Adaptive Expert Selection
2405.17976 (2024-05)
Yuan 2.0-M32: Mixture of Experts with Attention Router
and 4 more not named here

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-24.

Repositories linked to this paper

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

Abstract

Empirical scaling laws have driven the evolution of large language models (LLMs), yet their coefficients shift whenever the model architecture or data pipeline changes. Mixture-of-Experts (MoE) models, now standard in state-ofthe-art systems, introduce a new sparsity dimension that current dense-model frontiers overlook. We investigate how MoE sparsity influences two distinct capability regimes: memorization skills and reasoning skills. By training MoE families that vary total parameters, active parameters, and top-k routing under fixed compute budgets, we disentangle pre-training loss from downstream accuracy. Our results reveal two principles. First, Active FLOPs: models with identical training loss but greater active compute achieve higher reasoning accuracy. Second, Total tokens per parameter (TPP): memorization tasks improve with more parameters, while reasoning tasks benefit from optimal TPP, indicating that reasoning is data-hungry. Neither reinforcement learning post-training (GRPO) nor increased test-time compute alters these trends. We therefore argue that optimal MoE sparsity must be determined jointly by active FLOPs and TPP, revising the classical picture of compute-optimal scaling. Our model checkpoints, code and logs are open-source at https://github.com/rioyokotalab/optimal-sparsity.

For agents

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

get_harvested_code_for_paper("2508.18672")
get_code_for_paper("2508.18672")
have("2508.18672")

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

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

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

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

Connect an agent — have() is free.