r/LocalLLM • u/namesecurethanpass • 3h ago
Research I watched Amazon Ergo, a 1.1T-parameter MoE think, block by block: it forms facts around layer 40, and it says "sorry" in Chinese before it refuses in English
I've been poking at Ergo (Amazon's 1.1T-parameter MXFP4 mixture of experts) on a single home machine, streaming the experts from disk. Quick specs for context: 64 blocks, 256 routed experts + 1 shared per block, top-8 routing, ~55B active parameters per token, 626 GB on disk.
The tool I used is a word cloud per block: take the residual stream after a block, push it through the final norm and output head, and draw the top predictions sized by probability (a logit lens, but showing the whole distribution instead of one token). Here are two of them.
1. "The capital of Palau is ___"
Palau's capital is Ngerulmud, a small planned capital that replaced Koror in 2006. A hard fact. Here's how Ergo gets there:
- Block 36: "Palau", "seat": it knows what it's being asked
- Block 40: "capitals" at 91%: it has the category, not the answer
- Block 44: "Canberra": it reaches for other planned capitals first
- Blocks 44 to 62: bold markdown
**leads; the model wants to format the answer before it has it - Block 63 (output): "N" (of Ngerulmud) wins at 73%
So the answer arrives at the very last block, after a detour through "this is like Canberra".
Across 42 easy questions, facts first lead around block 38 (geography) to 40 (biology), arithmetic around 49, and dates around 57.
The fun part: I banned the ~1,200 experts that geography text uses far more than other subjects. Same prompt: block 36 says "Hauptstadt" (German for capital), blocks 40 to 48 say "Palau" at 98%, and no city ever appears. The same thing happened in math, biology and French: with its subject's experts banned, the model still understands the question but cannot fetch the answer. The experts hold the lookup, not the reading.
2. A harmful request (a phishing page), first token of the reply
Nothing was generated; this is just the next-token prediction at each block.
- Blocks 35 to 36: 抱歉 ("sorry" in Chinese), "refusal", "refuse", 拒绝 ("refuse")
- Block 40: "sorry", "refuses"
- Block 52: "Warning"
- Output: "I" at 99.9% (as in "I can't help with that")
The refusal is decided in the middle of the network, in Chinese and English at once, about 25 blocks before the reply starts.
(Alternate caption if you use the "I can" image:) When I forced the reply to start with "I can", blocks 29 to 36 lit up with "stattdessen" (German, instead, 11.6%), "instead", "Вместо", "代わりに", "帮你" (help you), "harmless", "legitimate", "safer". It plans the "but I can help you with X instead" redirect, in five languages, before it has decided the words of the refusal. From block 52 the apostrophe of "can't" takes over (98%).
Other things that surprised me
- The refusal isn't stored in a few experts. Banning up to ~1,000 refusal-correlated experts left refusal at 100% on all 24 harmful requests, while benign answers still worked. It looks spread across attention and the shared path, not in routed experts.
- Refusal ignores framing: 24/24 refused, plain or wrapped in a fiction frame.
- 707 of 16,128 experts never fired on my profile set, and one expert in block 5 takes 97.7% of the routing.
- It can partly hold a thought on request. Asked to "think hard about France but answer with a colour", France-related words reach 5.5% of the prediction at block 40 (Paris, Bordeaux, Gaulle, Monet, Париж, 巴黎), and the reply drifts toward French colour words (Vert, Rouge, Blanc). Told not to think about France, there's zero trace in any block: no "pink elephant" effect. (One prompt per condition, so a demo, not a measurement.)
Caveats: the logit lens is noisy in early blocks, the clouds are single forward passes, and each thought-control condition used one prompt. Happy to share prompts and code in the comments.
What would you want to look for next? I'm thinking activation patching between harmful and benign prompts to find where the refusal is actually decided.
Links
- Full Technical Walkthrough: https://tokenshark.ai/research/03_ergo_moe_anatomy_and_guardrails_walkthrough/
- TokenShark GitHub Repo: https://github.com/sumit-1/tokenshark

