Kye Gomez commited on
Commit Β·
4ce503f
1
Parent(s): 79b916d
moe
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# OpenMythos
|
|
|
|
| 2 |
A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.
|
| 3 |
|
| 4 |
-
---
|
| 5 |
|
| 6 |
## The Central Hypothesis
|
| 7 |
|
|
@@ -145,6 +145,14 @@ Mythos almost certainly has some version of this. The model cannot naively run t
|
|
| 145 |
|
| 146 |
---
|
| 147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
## The Memorization-Reasoning Tradeoff
|
| 149 |
|
| 150 |
Looped models exhibit an interesting dichotomy: looping improves reasoning but can hurt memorization. The recurrent structure is optimized for iterative composition β running a reasoning chain forward β but does not inherently improve the storage of rote facts.
|
|
@@ -181,12 +189,13 @@ Theoretical analysis suggests 2-3x improvements in inference throughput. For a d
|
|
| 181 |
| Property | Description |
|
| 182 |
|---|---|
|
| 183 |
| Architecture | Recurrent-Depth Transformer (Prelude + Looped Recurrent Block + Coda) |
|
|
|
|
|
|
|
| 184 |
| Reasoning mechanism | Implicit multi-hop via iterative latent updates β no token output between steps |
|
| 185 |
| Inference-time scaling | More loops = deeper reasoning, following predictable exponential decay |
|
| 186 |
| Training stability | LTI-constrained injection parameters with spectral radius < 1 |
|
| 187 |
| Loop differentiation | Likely uses loop-index positional embedding (Γ la RoPE) per iteration |
|
| 188 |
| Halting | Adaptive Computation Time or learned convergence criterion |
|
| 189 |
-
| Parameter efficiency | Achieves quality of a ~2x larger fixed-depth transformer |
|
| 190 |
| Scaling law | Optimal training scales looping and data together, not parameters alone |
|
| 191 |
| Reasoning vs. memory | Structurally biased toward composition; memorization requires separate treatment |
|
| 192 |
| Deployment | Continuous Depth-wise Batching enables variable compute per request |
|
|
@@ -205,6 +214,7 @@ Theoretical analysis suggests 2-3x improvements in inference throughput. For a d
|
|
| 205 |
|
| 206 |
### Papers
|
| 207 |
|
|
|
|
| 208 |
- Loop, Think, & Generalize β Implicit Reasoning in Recurrent Depth Transformers: https://arxiv.org/pdf/2604.07822
|
| 209 |
- Parcae β Scaling Laws for Stable Looped Language Models: https://arxiv.org/abs/2604.12946
|
| 210 |
- Parcae blog: https://sandyresearch.github.io/parcae/
|
|
|
|
| 1 |
# OpenMythos
|
| 2 |
+
|
| 3 |
A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.
|
| 4 |
|
|
|
|
| 5 |
|
| 6 |
## The Central Hypothesis
|
| 7 |
|
|
|
|
| 145 |
|
| 146 |
---
|
| 147 |
|
| 148 |
+
## Mixture of Experts β Suspected for Large Parameter Counts
|
| 149 |
+
|
| 150 |
+
The looped transformer explains the depth of Mythos's reasoning, but not the breadth. Handling wildly different domains β code, math, literature, science, law β with the same weights requires **Mixture of Experts (MoE)**. The suspected design replaces every FFN in the Recurrent Block with a fine-grained MoE layer: each FFN is split into many small experts (1/m the normal size), a router selects the top-mK of them per token via learned affinity scores, and a small number of **shared experts** are always activated regardless of routing to absorb common cross-domain knowledge β syntax, basic reasoning, general context β that would otherwise be redundantly learned by every routed expert. Routing collapse is prevented through a bias term on the router logits adjusted dynamically during training, keeping load balanced across experts without distorting the loss signal.
|
| 151 |
+
|
| 152 |
+
As the hidden state `h_t` evolves across loop iterations, the router may select different expert subsets at each depth, making every loop computationally distinct despite shared weights. MoE provides breadth; looping provides depth. If the activation ratio is ~5%, Mythos could hold hundreds of billions of total parameters while activating only a small fraction per token β the true parameter count, if ever disclosed, would be a storage number, not a compute number.
|
| 153 |
+
|
| 154 |
+
---
|
| 155 |
+
|
| 156 |
## The Memorization-Reasoning Tradeoff
|
| 157 |
|
| 158 |
Looped models exhibit an interesting dichotomy: looping improves reasoning but can hurt memorization. The recurrent structure is optimized for iterative composition β running a reasoning chain forward β but does not inherently improve the storage of rote facts.
|
|
|
|
| 189 |
| Property | Description |
|
| 190 |
|---|---|
|
| 191 |
| Architecture | Recurrent-Depth Transformer (Prelude + Looped Recurrent Block + Coda) |
|
| 192 |
+
| FFN layer | Suspected MoE β fine-grained experts + always-on shared experts |
|
| 193 |
+
| Parameter count | Very large total; small fraction activated per token (~5% estimate) |
|
| 194 |
| Reasoning mechanism | Implicit multi-hop via iterative latent updates β no token output between steps |
|
| 195 |
| Inference-time scaling | More loops = deeper reasoning, following predictable exponential decay |
|
| 196 |
| Training stability | LTI-constrained injection parameters with spectral radius < 1 |
|
| 197 |
| Loop differentiation | Likely uses loop-index positional embedding (Γ la RoPE) per iteration |
|
| 198 |
| Halting | Adaptive Computation Time or learned convergence criterion |
|
|
|
|
| 199 |
| Scaling law | Optimal training scales looping and data together, not parameters alone |
|
| 200 |
| Reasoning vs. memory | Structurally biased toward composition; memorization requires separate treatment |
|
| 201 |
| Deployment | Continuous Depth-wise Batching enables variable compute per request |
|
|
|
|
| 214 |
|
| 215 |
### Papers
|
| 216 |
|
| 217 |
+
- Fine-grained expert segmentation and shared expert isolation in MoE: https://arxiv.org/abs/2401.06066
|
| 218 |
- Loop, Think, & Generalize β Implicit Reasoning in Recurrent Depth Transformers: https://arxiv.org/pdf/2604.07822
|
| 219 |
- Parcae β Scaling Laws for Stable Looped Language Models: https://arxiv.org/abs/2604.12946
|
| 220 |
- Parcae blog: https://sandyresearch.github.io/parcae/
|