Testing Small-Parameter MoE Models: Instruction Following and Reasoning Performance
A hands-on comparison between a 35B-total/3B-active sparse MoE model and a 30B dense model, covering constrained writing tasks, the wolf-goat-cabbage reasoning puzzle, and deployment cost trade-offs. Learn why compute per token and memory requirements must be evaluated separately when choosing between sparse and dense architectures.
Why Revisit Small-Parameter MoE Models
The industry has long assumed that model capability scales with parameter count. Sparse Mixture-of-Experts (MoE) architectures have changed that assumption. Only a subset of expert modules is activated during each forward pass, so the total parameter count can be large while the compute per inference stays close to that of a much smaller model.
The small-parameter MoE model tested in this article has 35B total parameters with 3B activated per token; it is referred to below as Model B. The baseline is a 30B-scale dense model, referred to as Model A. The two are similar in scale but differ in architecture. This article does not disclose the specific model names or versions, so the conclusions apply only to the test configuration described here. Readers who want to reproduce the results should record their own model names, versions, licenses, inference frameworks, and quantization settings.
Test 1: Three-Paragraph Writing with Multiple Constraints
Test Design
The prompt asked the model to answer “why does data quality matter” in exactly three paragraphs, while satisfying four constraints: strictly three paragraphs; no more than 40 Chinese characters per paragraph; none of a pre-specified list of forbidden words; and a formal tone.
Judgment rules: paragraph count was determined by splitting on blank lines; character counts were based on Chinese characters; forbidden words were checked via string matching; and tone was judged manually.
Results
Neither model violated any constraint in this run. The differences were mainly in style.
| Item | Model A | Model B |
|---|---|---|
| Paragraph count | 3 | 3 |
| Length violations | None observed | None observed |
| Forbidden words | None observed | None observed |
| Writing style | Narrative, unfolding layer by layer around “decisions, efficiency, trust” | Formal/report-like, each paragraph opens with a topic sentence and stays concise |
Model A reads more naturally and suits reader-facing copy. Model B produces a fixed structure that is easy to parse directly in Agent calls or API scenarios.
A single run cannot demonstrate stability. To evaluate consistency, the same prompt should be sampled multiple times and violation rates measured.
Test 2: The Wolf, Sheep, and Cabbage River Crossing
The Problem and the Standard Solution
A farmer must transport a wolf, a sheep, and a cabbage across a river. The boat can only carry the farmer plus one item at a time. The wolf eats the sheep and the sheep eats the cabbage unless the farmer is present to prevent it.
The standard solution takes seven crossings. The farmer takes the sheep across first, then returns alone. Next, the farmer takes the wolf across and brings the sheep back to the original shore, then takes the cabbage across. After returning alone one more time, the farmer finally takes the sheep across.
The shore state needs to be checked after every step. After step 1, the original shore has the wolf and the cabbage, which is safe. After step 4, the sheep and cabbage are on the original shore, but the farmer is present, so it is safe. After step 5, the wolf and cabbage are on the far shore, which is also safe.
How the Two Models Performed
Both models opened with “take the sheep first,” which is the correct standard first move.
Model A directly listed the operation steps in concise language. Its handling of step 4 — bringing the sheep back — showed state awareness, but it offered little explanation of why the shore state was safe after that step. Step 4 looks like a backward move and is the point where readers are most likely to become skeptical; the lack of explanation undermines credibility.
Model B added a safety justification after each step, such as “leaving the wolf and the cabbage together is safe, because wolves do not eat cabbage.” This kind of annotation appeared for every subsequent trip, letting readers verify each state one by one.
How to Verify the Reasoning
To check whether the reasoning is correct, you can write a short program that simulates the items and the farmer’s position on both banks after each step and checks for dangerous combinations. When verifying manually, you can also simply check each safety justification that Model B provides.
Trade-offs in Reasoning Output
| Item | Model A | Model B |
|---|---|---|
| Output structure | Steps only | Steps plus reasons |
| Safety justification | Inferred by the reader | Explicitly stated at every step |
| Verifiability | Lower | Higher |
| Best suited for | General Q&A where only the answer matters | Compliance review, risk control, and scenarios requiring explanation to end users |
If the business only needs a result, Model A’s concise output is sufficient. If the result must be audited or explained, Model B’s output is much easier to review.
Deployment and Cost: Separate Parameter Count from Compute
Compute per Token
The forward-pass compute for a single token is roughly “2 × activated parameters” FLOPs, ignoring attention and other overhead. With 3B activated parameters, Model B costs about 6 GFLOPs per token. A 30B dense model costs about 60 GFLOPs per token. In theory, Model B’s per-token compute is about one-tenth that of the dense model.
Theoretical compute does not equal actual latency. During small-batch decoding, the memory bandwidth needed to read weights is often the first bottleneck, so the compute advantage does not necessarily translate proportionally into latency gains. In multi-GPU deployments, expert routing also introduces cross-device communication. As batch size grows, different requests activate different experts, the number of experts actually accessed increases, and the compute advantage shrinks.
Therefore, cost evaluation should be benchmarked under your target batch size, sequence length, and quantization settings, with first-token latency, output tokens per second, and peak GPU memory all recorded.
GPU Memory
An MoE model’s full set of parameters must reside in memory even though only a subset is activated per token. Memory footprint is determined by total parameters.
| Precision | 35B weight size | Fits on a 24GB consumer GPU | Notes |
|---|---|---|---|
| FP16/BF16 | ~70GB | No | Requires multiple GPUs or 80GB-class cards |
| INT8 | ~35GB | No | Requires 48GB+ cards or dual GPUs |
| INT4 | ~17.5GB | Weights fit, but headroom is limited | Benchmark with your framework; long sequences may exceed memory |
The figures above count weights only. KV cache, activations, and the inference framework itself also consume memory. Quantization can also reduce accuracy, so a full round of re-testing is required after quantizing.
