Dense feed-forward networks are unaffected by how their neurons are grouped: every neuron is evaluated. Sparse execution makes this grouping consequential, because each input can access only a few experts. An arbitrary partition can therefore retain pretrained weights while separating computations that an input needs together. We argue that upcycling should organize neurons according to their responses to similar inputs. To establish this correspondence, we introduce a context-guided upcycling approach REACT, Response-based Expert Assembly from Contextual Trajectories, that uses frozen denoising trajectories to connect input contexts with pretrained neuron responses. We first identify contexts after timestep-wise centering to account for distribution shifts across noise levels, then use their associated responses to allocate intact neurons to routed experts. The same contexts initialize the corresponding router entries, aligning expert contents with their intended inputs, while global activation statistics select an always-active shared expert. Layer-wise reconstruction and end-to-end adaptation refine this initialization for sparse execution. On ImageNet-1K, our approach achieves better generation quality while activating only 37.5% of the original FFN parameters and reducing total per-token activated parameters by 27.6%.
Figures & tables
Figure 1: Why grouping matters under sparse execution. Orange marks the eight of 32 pretrained units needed by one token. Dense execution reaches all units, whereas a random partition leaves only four accessible through top- 2 routing. REACT groups units by response and initializes each router row from the matching context, restoring access to all eight. This is a conceptual illustration, not a measurement.
Figure 2: REACT pipeline. (a) Frozen trajectories define timestep-centered token clusters whose responses assemble routed experts and whose centroids initialize same-index router rows; pooled co-activation selects shared units. (b) Only the router input is centered at run time; experts receive the original state. (c) Stage I matches sparse FFNs to dense teachers, and Stage II adapts the full denoiser.
Model
FFN (ms) ↓
Forward (ms) ↓
Sampling (s) ↓
Dense
2.117 (1.00 × )
58.79 (1.00 × )
26.81 (1.00 × )
REACT -M32
0.912 (2.32 × )
40.41 (1.45 × )
18.19 (1.47 × )
REACT -L32
1.217 (1.74 × )
44.16 (1.33 × )
20.04 (1.34 × )
Table 2: Latency in one shared profiling setup (speedup over Dense in parentheses; bold marks the best value).
Figure 3: FID-50K during Stage-II adaptation; the M-source panel adds the two crossed controls. Each condition is one run, lines guide the eye, and the panels use independent scales.
XL source
M source
Stage-II step
REACT
Random
REACT
Experts
Router
Random
100K
3.09
3.82
11.85
12.26
14.18
14.87
200K
2.81
3.25
10.31
10.61
12.09
12.60
300K
2.67
2.95
9.61
9.87
11.03
11.51
400K
2.58
2.82
9.07
9.32
10.23
10.83
500K
2.54
2.78
8.60
8.90
9.80
10.26
Table 3: FID-50K at every Stage-II checkpoint of the controlled initialization studies. Experts: mapped experts with a random router; Router: centroid router with random experts; Random: bundled random.
Source
Condition
FID ↓
sFID ↓
IS ↑
Prec. ↑
Rec. ↑
M
REACT
8.60
6.01
132.43
0.74
0.55
M
Experts + random router
8.90
6.02
130.31
0.73
0.55
M
Centroid router + random experts
9.80
6.31
124.83
0.72
0.56
M
Bundled random
10.26
6.43
122.57
0.72
0.55
XL
REACT
2.54
4.82
247.14
0.82
0.58
XL
Bundled random
2.78
4.98
235.53
0.81
0.57
Table 4: Complete 50K-sample metrics at the 500K checkpoint.
Figure 4: Routing diagnostics for recovered REACT -M32 Group 2: (a) Sij for the eight most frequently activated experts selected from all 32 experts and reindexed as 0–7 for visualization (scale 0.42–0.61); (b) all-expert traffic relative to the uniform 3.125% share.
FID-50K ↓ at Stage-II checkpoint
Factor
Setting
100K
200K
300K
400K
Reference
250 buckets; Stage I = 200K
11.85
10.31
9.61
9.07
Centering
50 buckets
11.88
10.32
9.54
9.05
Stage-I duration
100K
12.70
10.88
10.06
9.43
300K
11.56
10.11
9.41
8.88
Table 5: M-source sensitivity (FID-50K ↓ ) at matched Stage-II checkpoints. The reference uses 250 centering buckets and 200K Stage-I steps; each other row changes one factor.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Configuration
FID ↓
sFID ↓
IS ↑
Prec. ↑
Rec. ↑
REACT (250 buckets; Stage I = 200K)
9.07
6.05
128.93
0.73
0.55
Experts + random router
9.32
6.11
127.62
0.73
0.55
Centroid router + random experts
10.23
6.40
121.41
0.72
0.55
Bundled random
10.83
6.55
118.47
0.71
0.55
TC-50 (50 centering buckets)
9.05
6.06
129.39
0.73
0.55
Stage I = 100K
9.43
6.12
125.74
0.73
0.55
Appendix
Table 6: Generation metrics at the common 400K M-source checkpoint.
Figure 5: Additional qualitative samples from REACT , arranged by broad semantic content (animals, natural subjects, outdoor scenes, vehicles, and manufactured objects); the figure illustrates diversity and is not a quantitative comparison.
Mixture-of-Experts large language models (LLMs) scale efficiently through sparse activation, yet their deployment is fundamentally constrained by the large static parameter footprint of experts. Existing compression approaches either remove entire experts, disrupting routing topology and harming performance, or rely on unstructured weight pruning with limited practical efficiency. To address the limitations, we propose TENP, a structured Trapezoidal ExpertNeuron Pruning framework. Using a few samples, we identify and retain important experts, while applying expert neuron pruning (ENP) to less important experts, reserving model parameters in a trapezoidal pattern from shallow to deep layers. When evaluating expert importance, we jointly consider both the magnitude of the expert output and its ability to change the direction of the input vector. For ENP, we measure each neuron's projected contribution to the expert output to identify and retain important neurons. We conduct extensive experiments on the Qwen and DeepSeek models. Under a routing expert sparsity of 40% and an average of 63.76% activated expert parameters, the DeepSeek model suffers only a 1-point drop in accuracy compared to the full-parameter model. Moreover, it outperforms the full-parameter model by 10% on code generation tasks.
Jiangyang He, Shaolin Zhu, Deyi Xiong
TJUNLP Lab, School of Computer Science and Technology, Tianjin University, China
Mixture-of-Experts (MoE) effectively scales model capacity while preserving computational efficiency through sparse expert activation. However, training high-quality MoEs from scratch is prohibitively expensive. A promising alternative is to convert pretrained dense models into sparse MoEs. Existing dense-to-MoE methods fall into two categories: dynamic structural pruning that converts dense models into MoE architectures with moderate sparsity to balance performance and inference efficiency, and downcycling approaches that use pretrained dense models to initialize highly sparse MoE architectures. However, existing methods break the intrinsic activation patterns within dense models, leading to suboptimal expert construction. In this work, we argue that the Gated Linear Unit (GLU) mechanism provides a natural blueprint for dense-to-MoE conversion. We show that the fine-grained neural-wise activation patterns of GLU reveal a coarse-grained structure, uncovering an inherent MoE architecture composed of consistently activated universal neurons and dynamically activated specialized neurons. Leveraging this discovery, we introduce ExpertWeaver, a training-free framework that partitions neurons according to their activation patterns and constructs shared experts and specialized routed experts with layer-adaptive configurations. Our experiments demonstrate that ExpertWeaver significantly outperforms existing methods, both as a training-free dynamic structural pruning technique and as a downcycling strategy for superior MoE initialization.
Ziyu Zhao, Tong Zhu, Zhi Zhang +6
Zhejiang University · Shanghai Innovation Institute · Shanghai AI Laboratory +3
Mixture of Experts (MoE) architecture has become the standard for state-of-the-art large language models, owing to its computational efficiency through sparse expert activation. However, sparsity through finer expert granularity is becoming increasingly difficult to achieve due to fundamental training challenges such as expert collapse and load imbalance. In this work, we explore and leverage intra-expert activation sparsity as a complementary and underexplored dimension of sparsity in MoE models. Surprisingly, substantial intra-expert sparsity is readily available in existing pre-trained MoE models, without any modification to the activation function or model parameters, providing up to 90% sparsity within each expert without significant accuracy loss. We explore intra-expert activation sparsity across eight off-the-shelf MoE models ranging from 1B to 400B parameters, and extend the MoE execution pipeline of vLLM to leverage intra-expert activation sparsity by skipping the computations of inactive neurons, on top of its existing optimizations, achieving up to 2.5 times speedup in MoE layer execution and 1.2 times end-to-end speedup compared to the original dense vLLM baseline.
Jongseok Park, Sunga Kim, Zhenyu Gu +2
University of California, Berkeley · Work done during an internship at Advanced Micro Devices, Inc. · Advanced Micro Devices, Inc.