Routing is widely used to scale large language models, from Mixture-of-Experts gating to multi-model/tool selection. A common belief is that routing to a task ``expert'' activates sparser internal computation and thus yields more certain and stable outputs (the Sparsity--Certainty Hypothesis). We test this belief by injecting routing-style meta prompts as a textual proxy for routing signals in front of frozen instruction-tuned LLMs. We quantify (C1) internal density via activation sparsity, (C2) domain-keyword attention, and (C3) output stability via predictive entropy and semantic variation. On a RouterEval subset with three instruction-tuned models (Qwen3-8B, Llama-3.1-8B-Instruct, and Mistral-7B-Instruct-v0.2), meta prompts consistently densify early/middle-layer representations rather than increasing sparsity; natural-language expert instructions are often stronger than structured tags. Attention responses are heterogeneous: Qwen/Llama reduce keyword attention, while Mistral reinforces it. Finally, the densification--stability link is weak and appears only in Qwen, with near-zero correlations in Llama and Mistral. We present RIDE as a diagnostic probe for calibrating routing design and uncertainty estimation.
Figures & tables
Figure 1: Multi-model overview of ΔHoyer across Early/Middle/Late segments.
Figure 2: Multi-model overview of ΔAttn (mean ± SEM). Negative values indicate reduced attention share to domain keywords.
Figure 3: Instance-level correlations between ΔC1 (prompt Hoyer) and ΔC3 across models and contrasts. Positive values indicate that instances with larger decreases in Hoyer tend to also exhibit larger decreases in the corresponding instability measure (entropy or semantic variation).
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Model
ΔHoyer Tag–Ctrl
ΔHoyer Instr–Ctrl
ΔHoyer Tag–Instr
Llama-3.1-8B-Instruct
−0.015±0.001
−0.016±0.001
+0.001±0.000
Mistral-7B-Instruct-v0.2
−0.016±0.001
−0.017±0.001
+0.000±0.000
Qwen3-8B
−0.005±0.000
−0.003±0.000
−0.002±0.000
Appendix
Table 1: Early segment: mean ± SEM of ΔHoyer under three contrasts.
Model
ΔHoyer Tag–Ctrl
ΔHoyer Instr–Ctrl
ΔHoyer Tag–Instr
Llama-3.1-8B-Instruct
−0.014±0.001
−0.015±0.001
+0.000±0.000
Mistral-7B-Instruct-v0.2
−0.012±0.001
−0.015±0.001
+0.003±0.000
Qwen3-8B
−0.007±0.001
−0.009±0.001
+0.002±0.000
Appendix
Table 2: Middle segment: mean ± SEM of ΔHoyer under three contrasts.
Model
ΔHoyer Tag–Ctrl
ΔHoyer Instr–Ctrl
ΔHoyer Tag–Instr
Llama-3.1-8B-Instruct
−0.008±0.000
−0.012±0.000
+0.004±0.000
Mistral-7B-Instruct-v0.2
−0.002±0.000
−0.015±0.000
+0.013±0.000
Qwen3-8B
−0.001±0.000
−0.007±0.001
+0.006±0.000
Appendix
Table 3: Global segment: mean ± SEM of instance-level paired differences in ΔHoyer under three contrasts.
Model
ΔAttn Tag–Ctrl (Mean ± SEM)
ΔAttn Instr–Ctrl (Mean ± SEM)
Llama-3.1-8B-Instruct
−0.0389±0.0031
−0.0371±0.0030
Mistral-7B-Instruct-v0.2
+0.0154±0.0005
+0.0164±0.0005
Qwen3-8B
−0.0409±0.0032
−0.0396±0.0031
Appendix
Table 4: Mean ± SEM of ΔAttn under Tag–Ctrl and Instr–Ctrl across three models (Prompt-last view).
Model
ΔAttn Tag–Ctrl (Mean ± SEM)
ΔAttn Instr–Ctrl (Mean ± SEM)
Llama-3.1-8B-Instruct
−0.0592±0.0045
−0.0599±0.0046
Mistral-7B-Instruct-v0.2
+0.0158±0.0004
+0.0175±0.0005
Qwen3-8B
−0.0493±0.0039
−0.0480±0.0038
Appendix
Table 5: Mean ± SEM of ΔAttn under Tag–Ctrl and Instr–Ctrl across three models (First-gen view). Negative values indicate reduced domain-keyword attention share relative to control.
Model
r(ΔAttn,ΔEntropy)
p -value
Llama-3.1-8B-Instruct
0.117
1.3×10−10
Mistral-7B-Instruct-v0.2
−0.072
7.8×10−5
Qwen3-8B
0.229
5.4×10−37
Appendix
Table 6: Pearson correlation between ΔAttn and ΔEntropy (instance-level), with corresponding p -values.
Model
r (Instr vs. Ctrl)
r (Tag vs. Ctrl)
r (Tag vs. Instr)
Llama-3.1-8B-Instruct
0.141∗∗∗
0.013ns
0.105∗∗∗
Mistral-7B-Instruct-v0.2
0.191∗∗∗
0.043∗
0.150∗∗∗
Qwen3-8B
0.309∗∗∗
0.204∗∗∗
0.139∗∗∗
Appendix
Table 7: Pearson correlations between C1 ( ΔHoyer ) and C3-Entropy ( ΔEntropy ) under three contrasts. Superscripts indicate significance: ∗∗∗p<0.001 , ∗∗p<0.01 , ∗p<0.05 , and ns not significant.
Model
Instr–Ctrl
Tag–Ctrl
Tag–Instr
Llama-3.1-8B-Instruct
0.067∗∗∗
−0.027ns
0.037∗
Mistral-7B-Instruct-v0.2
0.142∗∗∗
0.128∗∗∗
0.177∗∗∗
Qwen3-8B
0.023ns
0.072∗∗∗
0.017ns
Appendix
Table 8: Pearson r between C1 ( ΔHoyer ) and C3-SemVar ( ΔVar ). Superscripts: ∗∗∗p<0.001 , ∗∗p<0.01 , ∗p<0.05 , ns not significant.
Large language model routing selects models, tools, experts, or inference strategies to balance answer quality, cost, latency, and deployment constraints.