Layers stored
12
Layers run
18

Budget against the standard MoEwithin ±5%

one layer, area = its expert parameterslooped layers×2visits per token

01Designs

One model, every design.

Each design decision is a field of one readable model. Each configuration declares its parent and the fields it changes.

    frozen configurations

      Changed against its parent

      Budget against the standard MoE

      From scripts/lineage.py and the frozen files in recipes/. One height scale for every drawing on this page. A superscript marks a published design that uses this mechanism and is implemented here.

      02Compare

      Equal budgets before you train.

      One command on a CPU: unique parameters, training FLOPs and KV cache of two configurations, against one tolerance.

      Match first, then compare.

      The unrolled twin writes the loop out as distinct layers: same budgets, no revisit. A loop added without matching leaves the band.

      Budget against the standard MoEwithin ±5%

      Control that ships with it

      The one-change chain

      From the standard MoE to the loop, one decision per step, each step matched on all three budgets.

      recipes/shape/recipes/phase1/

      03Check

      Checked against independent code.

      The model matches the official Transformers Qwen3-MoE in forward pass, gradients, optimizer steps and cache. A loop calls the official layers in the loop’s order, with the weights shared.

      Qwen3MoeForCausalLM

      Largest absolute difference from the reference, updates each, on , Transformers . Each dot is one difference against its own tolerance. Evidence: docs/baselines.md qwen3-cpu.json

      Official checkpoints convert

      Largest logit difference at every depth after converting the official weights of two published looped models. Same argmax token.

      A conformance check for your configuration

      from moeloop.testing import check_recipe
      report = check_recipe(spec)

        tests · docs/extensions.md

        04Train and export

        1. TorchTitanNative FSDP training.docs/torchtitan.md
        2. AdamW or MuonOne setting in the recipe.docs/training.md
        3. One data streamThe same tokens at any GPU count.docs/architecture.md
        4. Exact resumeEvery model and optimizer tensor equal.docs/validation.md
        5. Hugging Face exportStandalone, no training code.docs/training.md

        05Studies

        Studies run on LoopTitan.

        Each study ships with its report, its configurations and its record.

        Phase 1

        What does parameter revisit buy a mixture‑of‑experts?

        1. 1

          Parameter revisit itself contributes almost nothing.

        2. 2

          More than half of the looped recipe’s gain disappears under Muon.

        3. 3

          Beyond matched budgets, one more visit gains as much as doubling the experts under Muon.

        The looped recipe, built one decision at a time

        AdamWMuon

        Later phases join this list when they are released.

        06An open record

        Declared, checked, in the open.

        1. 1DeclareThe study fixes its arms, its controlled fields and its adaptable fields.
        2. 2CheckEvery run is checked against the declaration.
        3. 3RecordRuns, failures and refuted predictions stay in the public issues.
        4. 4ContributeAn outside result enters by pull request as one folder; the bench check validates it, and every complete record is merged.Contributing guidebench.yml

        A real case ·

        Blocked before launch

        A short cool-down fork would record . Its study declared as controlled.

        Decision

        The study moved to its adaptable fields, derived from whole steps. The runs went ahead unchanged.

        Every study and every run is a public thread

        Issues

        07Start

        Start in four commands.

        git clone https://github.com/datamllab/LoopTitan && cd LoopTitanuv pip install '.[data,hf]'python scripts/lineage.pypython -m pytest -q

        Add a configuration

        1. 1

          Copy a frozen configuration from recipes/ and change its fields.

        2. 2

          Declare its parent in scripts/lineage.py.

        3. 3

          Compare its budgets and run check_recipe.

        docs/recipes.mddocs/development.md

        The LoopTitan authors

        Cite and licence

        Cite LoopTitan with the repository’s CITATION.cff. Code under the MIT licence. Python package moeloop.

        Acknowledgements

        LoopTitan stands on the work of others, and we thank them.

        TorchTitan is the training system we build on. CVSM, a protocol for research run through issues, shaped how our record is kept. Hugging Face Transformers and its Qwen3-MoE implementation are our independent reference.

        The authors of these public looped-model codebases shared the code whose designs we implement here, and we learned from it:

        Thank you to every author whose design is a configuration on this page.

        References