Manuscript Offprint

arXiv:2610.02584

Dense Mixture-of-Experts as a Reparameterized Wide FFN: A Granularity Sweep at Fixed Compute

Vu Quang Hoang, Nghia Hieu Nguyen

Abstract

Sparse Mixture-of-Experts (MoE) models scale parameter count beyond a token's active compute by routing each token to K experts drawn from a much larger pool of N≫KN \gg K. This raises a basic question: does MoE's benefit come from the dynamic, learned combination of experts, or specifically from the combinatorial capacity of selecting from a large pool? We isolate the first factor with a fully dense analogue: a fixed set of K complete SwiGLU experts, all active on every token, combined by a per-token softmax gate, with no larger pool ( N=KN = K) and no discretization, at fixed total FFN width, so the dense baseline is the K = 1 case of the same family. Validation loss is non-monotonic in K: K = 2 finishes below the dense baseline (-0.0048), while K = 4 and K = 6 finish above it (+0.0053 and +0.0197), with the gap to the baseline growing with K. All three expert models start behind the baseline early in training; K = 2 overtakes it between steps 4000 and 4500 and stays ahead for the rest of training, while K = 4 and K = 6 never do, and all three gaps plateau by roughly step 9000. Router diagnostics mostly rule out collapse: averaged over layers, per-token gate entropy is moderate ( ≈0.66−0.72\approx 0.66-0.72 normalized) and expert usage is fairly balanced ( ≥0.90\geq 0.90 normalized) for every K. One layer is a clear exception: in the K = 4 model, layer 0's gate is nearly one-hot (91% of tokens have a gate weight above 0.9, usage 93/1/5/1% across experts), while every other layer in every model stays soft. Pairwise cosine similarity between that model's expert outputs is far higher in layer 0 (mean 0.41) and in the last layer (mean 0.39) than in any layer between them (0.02–0.16), plausibly reflecting each layer's structural position (proximity to the embedding; convergence toward the output head) rather than functional interchangeability: forcing layer 0's gate to uniform at evaluation increases loss by 2.4 nats on a fixed diagnostic subset, showing its collapsed routing is load-bearing, not redundant in any sense that makes it safe to override. We also show that the architecture is exactly a dense SwiGLU of width KdeKd_e whose hidden units are scaled by token-dependent, simplex-constrained group weights, so the dense baseline is contained in its function class. These results are consistent with a granularity sweet spot for a softly gated, always-active FFN at fixed total width, with K = 2 best among the values tested and larger K costing more than it buys; we report this from single runs per configuration.

1 Introduction

Sparse Mixture-of-Experts architectures have become a standard way to decouple a language model's total parameter count from its per-token compute. A router selects the top-K of N experts for each token, with N often an order of magnitude or more larger than K [3, 5, 20], so only the selected experts’ parameters are used. Making this practical requires solving a set of systems and optimization problems: load-balancing auxiliary losses, expert-capacity limits, token dropping under imbalance, and all-to-all communication across expert-parallel devices.

This machinery exists to make routing discrete and therefore cheap; evaluating all N experts densely would defeat the purpose. Discreteness is a computational convenience, not obviously a source of quality. The original Mixture-of-Experts formulation [7] used a fully dense, differentiable gate over all experts, and sparse routing was introduced later to make large expert pools affordable [20].

This leaves a question distinct from “does MoE help” and from “does a larger total pool help at fixed active compute” (both well supported [22]): does the dynamic per-token combination mechanism itself provide any benefit, independent of pool size? We test this with the simplest instance: a fixed, small set of K complete experts, all active on every token, combined by a learned softmax gate. There is no routing, no discretization, and no larger pool (N = K). The architecture is matched to a dense SwiGLU transformer in parameters and FLOPs, and it generalizes the baseline: the gate is near-uniform at initialization and can, in principle, learn behavior close to a single FFN. In the worst case we would expect parity.

Validation loss turns out to be non-monotonic in K at fixed total FFN width, with the dense baseline as K = 1: K = 2 ends below the baseline, and K = 4, 6 end above it by an increasing margin (Section 5). All expert models trail the baseline early in training, and only K = 2 overtakes it, doing so partway through training and holding a stable lead afterward, while K = 4, 6 never overtake it and instead plateau at a persistent deficit. Router diagnostics mostly rule out collapse: entropy and usage stay moderate to balanced for almost every layer of every model, with one clear exception, a single layer in the K = 4 model whose gate is nearly one-hot. We also show the architecture is exactly a dense wide FFN with token-dependent, group-wise scaling of hidden units, which contains the baseline as a special case; this frames the K sweep as a granularity study of that one added mechanism.

Our contributions are:

  1. A controlled, FLOP- and parameter-matched comparison between a dense SwiGLU transformer and a dense transformer with an always-active, dynamically-weighted set of K experts, at small scale.

  2. An exact algebraic equivalence (Section 3.3): the model is a dense SwiGLU of width KdeKd_e with token-dependent, simplex-constrained group scaling of hidden units, so the dense baseline is the K = 1 case of the same family.

  3. A methodological caution: an early conclusion that the baseline wins, drawn from single-batch logged training loss during training, did not hold on validation loss at the end of annealing.

  4. A granularity sweep at fixed total FFN width: K = 2 finishes below the dense baseline in validation loss, while K = 4 and K = 6 finish above it by a growing margin; only K = 2's loss curve crosses the baseline's during training, while K = 4, 6 never do and instead plateau at a persistent deficit.

  5. Router diagnostics for K = 2, 4, 6, layer by layer: gates are mostly soft and experts fairly evenly used, with one clear exception, a single collapsed layer in the K = 4 model, which a layer-averaged summary would miss.

  6. Practical guidance for small-scale MoE-inspired research, where details of this kind can reverse an apparent result.

References (26)