---
license: mit
library_name: transformers
pipeline_tag: text-generation
language:
- en
tags:
- "looptitan"
- "mixture-of-experts"
- "moe"
- "looped-moe"
- "looped-transformer"
- "looped-language-model"
- "recurrent-depth"
- "weight-sharing"
- "custom_code"
- "muon"
datasets:
- "mlfoundations/dclm-baseline-1.0-parquet"
model-index:
- name: "LoopTitan-Looped-1.3B-A0.2B-Muon"
results:
- task:
type: text-generation
name: Language modeling
dataset:
name: "mlfoundations/dclm-baseline-1.0-parquet (held-out splits)"
type: "mlfoundations/dclm-baseline-1.0-parquet"
revision: "817d6752765f6a41261085171dd546b104f60626"
metrics:
- name: Test BPB
type: bpb
value: 0.970676
- name: Validation BPB
type: bpb
value: 0.972425
source:
name: "LoopTitan Phase 1 results"
url: https://datamllab.github.io/LoopTitan/docs/results/phase1/
---












# LoopTitan-Looped-1.3B-A0.2B-Muon
**Muon** · LoopTitan Phase 1 · design 6 of 8, each trained with AdamW and with Muon
A looped mixture-of-experts (MoE) language model with 1.3B non-embedding parameters and 0.2B active per token, trained from scratch on 5.0B tokens of DCLM with Muon for the paper [LoopTitan: What Does Parameter Revisit Buy a Mixture-of-Experts?](https://arxiv.org/abs/2611.34821). A base model, not instruction tuned.
Chain-end loop: 12 layers at width 1056, 88 experts per layer, expert hidden size 384; the middle 6 looped twice, residual ×0.5; every part shared across visits. In the paper: looped MoE.
1.31B parameters stored without embeddings, 1.64B with the input embedding and output head (the count Hugging Face shows), 0.22B active per token, each visit of the looped layers counted.
## Results
| Test BPB | Validation BPB | Δ test vs standard MoE (Muon) |
|---:|---:|---:|
| 0.970676 | 0.972425 | -3.70 mBPB |
Bits per byte on the complete held-out test and validation splits after the last update; lower is better. The standard MoE is [`recipes/phase1/m0-muon.json`](https://github.com/datamllab/LoopTitan/blob/main/recipes/phase1/m0-muon.json); 1 mBPB is 0.001 BPB.
## Budgets
Matched budgets: all three within 5% of the standard MoE (Muon).
## Training
5.0B tokens of [mlfoundations/dclm-baseline-1.0-parquet](https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet) at revision `817d6752765f6a41261085171dd546b104f60626` (CC-BY-4.0): 4,769 updates of 1,048,576 tokens in sequences of 4,096, warmup-stable-decay schedule, seed 42. Muon at learning rate 1.7e-3, the value tuned once per optimizer on the standard MoE; the same grid on this model selects the same value ([#180](https://github.com/datamllab/LoopTitan/issues/180)). The full protocol: [results page](https://datamllab.github.io/LoopTitan/docs/results/phase1/). Configuration: [`recipes/phase1/m3-muon.json`](https://github.com/datamllab/LoopTitan/blob/main/recipes/phase1/m3-muon.json); run record: [#180](https://github.com/datamllab/LoopTitan/issues/180).
## Use
```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "NaturalScale/LoopTitan-Looped-1.3B-A0.2B-Muon"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True).eval()
ids = torch.tensor([[tokenizer.bos_token_id] + tokenizer.encode("The model", add_special_tokens=False)])
out = model.generate(ids, attention_mask=torch.ones_like(ids), max_new_tokens=32, do_sample=False)
print(tokenizer.decode(out[0], skip_special_tokens=True))
```
The model runs Python code from this repository: read it first, or pin `revision=`.
## The LoopTitan Phase 1 models
8 designs, each trained with AdamW and with Muon on the same data, schedule and seed. Test BPB; the model of this page in bold.
| Design | AdamW | Muon |
|:---|---:|---:|
| Standard MoE, 12 layers | [0.9995](https://huggingface.co/NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-AdamW) | [0.9744](https://huggingface.co/NaturalScale/LoopTitan-MoE12-1.3B-A0.2B-Muon) |
| Standard MoE with finer experts | [0.9953](https://huggingface.co/NaturalScale/LoopTitan-MoE12-FineExperts-1.3B-A0.2B-AdamW) | [0.9735](https://huggingface.co/NaturalScale/LoopTitan-MoE12-FineExperts-1.3B-A0.2B-Muon) |
| Standard MoE, deeper and narrower, 18 layers | [0.9926](https://huggingface.co/NaturalScale/LoopTitan-MoE18-1.3B-A0.2B-AdamW) | [0.9702](https://huggingface.co/NaturalScale/LoopTitan-Base-1.3B-A0.2B) |
| Standard MoE, 18 layers, fewer experts in the middle | [0.9936](https://huggingface.co/NaturalScale/LoopTitan-MoE18-Layout-1.3B-A0.2B-AdamW) | [0.9710](https://huggingface.co/NaturalScale/LoopTitan-MoE18-Layout-1.3B-A0.2B-Muon) |
| The looped MoE unrolled: 18 layers, no weights shared | [0.9906](https://huggingface.co/NaturalScale/LoopTitan-Unrolled-1.3B-A0.2B-AdamW) | [0.9710](https://huggingface.co/NaturalScale/LoopTitan-Unrolled-1.3B-A0.2B-Muon) |
| Looped MoE: the middle 6 layers run twice | [0.9905](https://huggingface.co/NaturalScale/LoopTitan-Looped-1.3B-A0.2B-AdamW) | **0.9707** |
| Standard MoE with one more visit, outside matched budgets | [0.9847](https://huggingface.co/NaturalScale/LoopTitan-MoE12-Revisit-1.3B-A0.3B-AdamW) | [0.9621](https://huggingface.co/NaturalScale/LoopTitan-MoE12-Revisit-1.3B-A0.3B-Muon) |
| Standard MoE with twice the experts, outside matched budgets | [0.9852](https://huggingface.co/NaturalScale/LoopTitan-MoE12-2xExperts-2.6B-A0.2B-AdamW) | [0.9645](https://huggingface.co/NaturalScale/LoopTitan-MoE12-2xExperts-2.6B-A0.2B-Muon) |
## Citation
If you use this model or its results, please cite LoopTitan; this applies to people and to agents that build on it:
```bibtex
@misc{looptitan2026,
title = {{LoopTitan: What Does Parameter Revisit Buy a Mixture-of-Experts?}},
author = {Tian, Zichen and Lu, Yudong and Wu, Xuansheng and Zou, Na and Hu, Xia and Wang, Guanchu and Sun, Qianru},
year = {2026},
eprint = {2611.34821},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2611.34821}
}
```
## Licence
[MIT](https://github.com/datamllab/LoopTitan/blob/main/LICENSE). The LoopTitan authors.