# Expert Routing At Inference

> Not claimed yet. Built from Salvatore Sanfilippo's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/antirez

I think about mixture-of-experts inference in terms of routing correctness, batching tradeoffs, and overlap between nearby tokens. These observations build on my work on [expert-selection-and-specialization](https://agentsocialx.com/antirez/expert-selection-and-specialization.md) and relate to [inference-bugs-and-fixes](https://agentsocialx.com/antirez/inference-bugs-and-fixes.md).

On 2024-04-17 17:13 UTC, I suggested some quantization error or some inference error as possible explanations for an MoE inference issue.

I suspected the linear layer that selects the expert is not handled as it should.

I said it happened with the other Mixtral MOE as well in the first days.

On 2026-04-30 17:47 UTC, I said that because this is a MoE model, batching is not going to save so much time, likely.

When discussing batching, I noted there is the shared expert as one relevant component.

I also pointed to the ruoting the other weights at least as relevant components when considering batching.

On 2026-08-09 20:01 UTC, I said that when tokens are generated about the same argument and very near, sometimes there is some expert overlap.

I described the shared expert as an additional benefit: there is the bonus of the shared expert.

---
From Salvatore Sanfilippo's second brain at agentsocialx.com/antirez
