# Qwen 4 Is Looped, 18.3 pts on LiveCodeBench, 6.7 pts on AIME, Zero Regressions

> Source: <https://blog.tiltastech.com/projects/looped-qwen4-35b-recurrent-depth/>
> Published: 2026-12-05 06:18:34+00:00

**Recommendation:** Recurrently loop the middle 16 layers of a 35B MoE model at T=3 instead of adding weights; the source measured +18.33 pp on LiveCodeBench v6 and zero regressions across 681 problems.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

**Qwen 4 is looped!**

We just wrapped the middle 16 layers (`L12..27`) of **` Qwen/Qwen4-35B-A3B`** (` 35B` total / `3B` active MoE over a 4-stream HyperConnection residual highway + `10.2B` 3-gram PLE at `L2`) in our **Open-Channel** recurrent-depth loop — and the results are our cleanest demonstration of latent-space test-time compute yet:

- **`+18.3 pp` on `LiveCodeBench v6` (`48.3% → 66.7%`, `+14 / -3` paired wins/losses)** — and**`+12.1 pp`** on the 33-problem` LCB Hard` slice (`18.2% → 30.3%` )
- **`+6.7 pp` on `AIME 2024` (`86.7% → 93.3%`, `+2 / -0`)** and**`+3.3 pp` on `AIME 2025` (`86.7% → 90.0%`, `+1 / -0`) in `13.9%` fewer tokens** (`9,672 → 8,326` )
- **`+3.3 pp` on `BFCL Tool Calling` (`90.0% → 93.3%`, `+4 / -0` at `temp = 0`)** and**` 98.8%` (`100.0%` with `LoopCD`) on `Agentic State Planner`**
- **Zero regressions across all 8 suites (`681` problems):****`7` wins, `1` exact tie, `0` regressions** — lifting the 8-suite Macro Average**`+5.7 pp` (`75.4% → 81.1%`)** and solving**`+24` net additional problems** (`561 → 585 / 681` )
- **Zero active LoRA weights (`22.8 MB` total):** The winning checkpoint (`ckpt_best` , Step 40) comes from Open-Channel Phase A (`lora_frozen = True` ,`lora_b == 0.0` everywhere).**100% of `Qwen4-35B-A3B`’s base weights are untouched** — only the 4-stream` HCWorkspaceEntry` and 4 QSA boundary`HCCrossPassMixers` (`L15, 19, 23, 27` ) are active.

**Links & Downloads (MIT):**

**Hugging Face Weights & `sushi` / Hibana Sidecars:** [https://huggingface.co/sliderforthewin/Looped-Qwen4-35B-A3B](https://huggingface.co/sliderforthewin/Looped-Qwen4-35B-A3B) ([`sliderforthewin/Looped-Qwen4-35B-A3B`](https://huggingface.co/sliderforthewin/Looped-Qwen4-35B-A3B))
**GitHub — Trainer, `vLLM` Plugin, & Scorecard:** [https://github.com/jasontitus/loopedqwen](https://github.com/jasontitus/loopedqwen) ([`jasontitus/loopedqwen`](https://github.com/jasontitus/loopedqwen) · [` docs/SCORECARD_QWEN4_35B.md`](https://github.com/jasontitus/loopedqwen/blob/main/docs/SCORECARD_QWEN4_35B.md))
**GitHub — `sushi` (`qwen4_moe`) Guide & Sidecar Exporter:** [https://github.com/jasontitus/loopedqwen-next](https://github.com/jasontitus/loopedqwen-next) ([`docs/SUSHI_QWEN4_35B.md`](https://github.com/jasontitus/loopedqwen-next/blob/main/docs/SUSHI_QWEN4_35B.md))

## 1. Complete 8-Suite (`681`-Problem) Scorecard vs. Stock `Qwen4-35B-A3B`[#](#1-complete-8-suite-681-problem-scorecard-vs-stock-qwen4-35b-a3b)

Every arm was evaluated identically on `Qwen/Qwen4-35B-A3B-FP8` (`vLLM 0.19.1rc1`, symmetric `stop`-only grading, `max_tokens = 28,672` on coding & math reasoning suites, `0%` cap on tool/agentic/HumanEval suites):

| Benchmark ( `n` ) | Stock `T=1` | `d=1` Control | Looped `T=2` | `T=2 + LoopCD` | **Looped `T=3`** | **` T=3 + LoopCD`** | Δ ( `T=3 - T=1` ) | 
|---|---|---|---|---|---|---|---|
| **`LiveCodeBench v6`** (` 60` ) | `48.33%` (`29/60` ) | `40.00%` (`24/60` ) | `48.33%` (`29/60` ) | `55.00%` (`33/60` ) | **`66.67%` (`40/60`)** | `65.00%` (`39/60` ,`-14.5%` tok) | **`+18.33 pp`** (`+14/-3` ) | 
| **`LCB Hard (DSV4.1-33)`** (` 33` ) | `18.18%` (`6/33` ) | `30.30%` (`10/33` ) | `24.24%` (`8/33` ) | `30.30%` (`10/33` ) | `30.30%` (`10/33` ) | **`33.33%` (`11/33`)** | **`+12.12 pp`** (`+15.15` w/ CD) | 
| **`AIME 2024`** (` 30` ) | `86.67%` (`26/30` ) | `86.67%` (`26/30` ) | `90.00%` (`27/30` ) | `86.67%` (`26/30` ) | **`93.33%` (`28/30`)** | `90.00%` (`27/30` ) | **`+6.67 pp`** (`+2/-0` ) | 
| **`AIME 2025`** (` 30` ) | `86.67%` (`26/30` ) | `93.33%` (`28/30` ) | `86.67%` (`26/30` ) | `90.00%` (`27/30` ) | **`90.00%` (`27/30`, `-13.9%` tok)** | `90.00%` (`27/30` ) | **`+3.33 pp`** (`+1/-0` ) | 
| **`BFCL Tool Calling`** (` 120` ) | `90.00%` (`108/120` ) | `90.00%` (`108/120` ) | `90.83%` (`109/120` ) | `90.83%` (`109/120` ) | **`93.33%` (`112/120`)** | `92.50%` (`111/120` ) | **`+3.33 pp`** (`+4/-0` ) | 
| **`Agentic State Planner`** (` 80` ) | `97.50%` (`78/80` ) | `100.00%` (`80/80` ) | `95.00%` (`76/80` ) | **`100.00%` (`80/80`)** | `98.75%` (`79/80` ) | **`100.00%` (`80/80`)** | **`+1.25 pp`** (`+2.50` w/ CD) | 
| **`HumanEval+ Direct`** (` 164` ) | `77.44%` (`127/164` ) | `78.05%` (`128/164` ) | `78.05%` (`128/164` ) | `77.44%` (`127/164` ) | **`78.05%` (`128/164`)** | **` 78.05%` (`128/164`)** | **`+0.61 pp`** | 
| **`HumanEvalFix Think`** (` 164` ) | `98.17%` (`161/164` ) | `95.73%` (`157/164` ) | **`98.78%` (`162/164`)** | `97.56%` (`160/164` ) | `98.17%` (`161/164` ) | `98.17%` (`161/164` ) | `0.00 pp` | 
| **8-Suite Macro Average** | **`75.37%`** | `76.76%` | `76.49%` | `78.48%` (`+3.11 pp` ) | **`81.08%`** | **` 80.88%`** | **`+5.71 pp`** | 
| **Micro Total (`681` Problems)** | `561 / 681` | `561 / 681` | `565 / 681` | `572 / 681` | **`585 / 681` (`+24`)** | **` 584 / 681` (`+23`)** | **` 7` Wins, `1` Tie, `0` Regressions** | 

**Both `T=3` (`81.08%`, `585/681`) and `T=3 + LoopCD` (`ω=0.15`, `80.88%`, `584/681`) post `7` wins, `1` exact tie, and `0` regressions across all 8 benchmarks.** Turning on `LoopCD-Hidden` (`loop_cd_ref = "first"`, `per_stream` RMS) also lifts faster **`T=2`** by **`+1.99 pp` macro (`76.49% → 78.48%`)** — jumping `LiveCodeBench v6` `+6.7 pp`, `LCB Hard 33` `+6.1 pp`, `Agentic` to `100%`, and `AIME 2025` to `90.0%` — and pushes `T=3 + LoopCD` to **`33.33%` (`+15.2 pp`)** on `LCB Hard 33` and **`100.0%` (`80/80`)** on `Agentic State Planner` while cutting `LiveCodeBench v6` token count **`-14.5%`** vs Stock `T=1`.

## 2. The Surprise Result: Zero LoRA Weights — 100% Pure 4-Stream Recurrence[#](#2-the-surprise-result-zero-lora-weights--100-pure-4-stream-recurrence)

In our [Looped Qwen3.8-27B update](https://blog.tiltastech.com/projects/looped-qwen38-recurrent-depth/), we answered the *“is looping just a disguised `d=1` LoRA?”* question by designing **Open-Channel `v4` training**: per-stream RMS-matched workspace & cross-pass mixer gates, plus a **Phase A warmup where every single layer LoRA is frozen (`lora_b == 0.0`)** so the optimizer can only reduce loss by actually routing information across loop passes.

When we ran Open-Channel `v4` SFT on `Qwen4-35B-A3B`, something remarkable happened:

1. **Held-out validation peaked at Step 40 — right inside Phase A (`0` active LoRAs):** Validation NLL dropped cleanly from`0.16205` (`Stock T=1` ) →`0.15474` (`T=2` ) →**`0.15450` (`T=3`, `loop_gain_t3 = +0.00755` nats)** while every single Core and Coda LoRA`B` matrix was exact`0.0` . Unfreezing LoRAs in Phase B (`Steps 70–240` ) slightly overfit held-out validation (`0.15450 → 0.15714` ), so automatic best-val checkpoint selection picked**Step 40** .
2. **`d=1` Control proves zero LoRA shortcut:** Running`ckpt_best` at`d=1` (loop OFF) is mathematically identical to Stock`Qwen4-35B-A3B` (`108/120``+0/-0` bitwise on`temp=0`` BFCL Tool Calling` , and an identical`561/681` micro total across all 8 suites). Turning the loop ON (`T=3` ) delivers the entire**`+18.3 pp` `LiveCodeBench v6`** (`+26.7 pp` over`d=1` ) and**`+5.7 pp` 8-suite macro** jump.
3. **What the `22.8 MB` zero-LoRA adapter actually is:** None of`Qwen4-35B-A3B` ’s 40 layers are modified (no attention, GDN, MLP, or router LoRAs). The entire`22.8 MB` (`~11.4M` BF16 params,`0.03%` of 35B) consists of**just 5 tiny between-pass bridges** sitting outside the frozen layers —**1 `HCWorkspaceEntry` blender** (`L27 → L12` ) and**4 `HCCrossPassMixers`** (` L15, L19, L23, L27` ) — that teach the untouched layers how to read and refine their own prior-pass hidden state. Stripping the 342 exact-zero LoRA pairs (`--strip-zero-loras` ,`coda_lora_layers = 0` ) shrinks the pre-folded Apple Silicon sidecar from`69.3 MB` down to**`22.8 MB`** and eliminates every LoRA matmul at runtime.

## 3. Four Model Families Looped: From `27B` Dense to `552B` Frontier MoE[#](#3-four-model-families-looped-from-27b-dense-to-552b-frontier-moe)

With `Qwen4-35B-A3B` live, we have now retrofitted recurrent depth onto **four distinct open-weights model families** spanning **20× in total parameter scale** — Dense, compact hybrid MoE, mid-frontier hybrid MoE, and a 552B frontier MoE — all with **`0 GB` of added base weights**:

| Model Family | Architecture & Looped Core | LiveCodeBench v6 ( `Stock → Looped` ) | Olympiad Math / Hard Slice ( `Stock → Looped` ) | Runtime Support | 
|---|---|---|---|---|
| **[`Qwen3.8-27B`](https://blog.tiltastech.com/projects/looped-qwen38-recurrent-depth/)** | Dense `27B` (`64L` , Core`L24..39` ) | `60.0% → 80.0%` (**`+20.0 pp`** ) | AIME 2025: `70.0% → 90.0%` (**`+20.0 pp`** ) | `vLLM` ,`mlx-serve` | 
| **`Qwen4-35B-A3B`***(This Post)* | Hybrid MoE `35B-A3B` (`40L` , Core`L12..27` ,**`0` LoRAs** ) | `48.3% → 66.7%` (**`+18.3 pp`** ) | AIME 2024: `86.7% → 93.3%` (**`+6.7 pp`** ) | `vLLM` ,`sushi` , Hibana | 
| **[`Qwen3.8-Flash-Next`](https://blog.tiltastech.com/projects/looped-qwen38-flash-next-recurrent-depth/)** | Hybrid MoE `180B-A6B` (`48L` , Core`L16..31` ) | `57.5% → 80.0%` (**`+22.5 pp`** ) | AIME 2025: `63.3% → 86.7%` (**`+23.3 pp`** ) | `vLLM` ,`sushi` ,`MLX` ,`Strata` | 
| **[`DeepSeek-V4.1-Flash`](https://blog.tiltastech.com/projects/looped-deepseek-v41-recurrent-depth/)** | Frontier MoE `552B` (`40L` , Core`L24..35` ) | `75.8% → 84.8%` (**`+9.1 pp`** ) | 13 Hardest LCB: `61.5% → 84.6%` (**`+23.1 pp`** ) | `vLLM` ,`sushi` (`1.75-bit` Mac rescue!) | 

Every single architecture — whether dense or sparse, `27B` or `552B`, with LoRAs or with **zero LoRAs** — gains **`+9` to `+23` percentage points** on hard competitive coding when given `2–3` passes through its middle layers.

*Methodology note: Each row compares a model strictly against its own unmodified `Stock T=1` baseline under identical evaluation caps (`28k` on `Qwen3.8-27B` & `Qwen4-35B-A3B` `n=60`; `24k` on `Qwen3.8-Flash-Next` `n=40`; `32k` on `DeepSeek-V4.1-Flash` `n=33` Medium+Hard).*

## 4. Try It Out (`sushi` on Apple Silicon or `vLLM` on `1× H100`)[#](#4-try-it-out-sushi-on-apple-silicon-or-vllm-on-1-h100)

### Apple Silicon (`beamivalice/sushi` Cooler Pack — `22.8 MB` Drop-In Sidecar)[#](#apple-silicon-beamivalicesushi-cooler-pack--228-mb-drop-in-sidecar)

We audited [`beamivalice/sushi`](https://github.com/beamivalice/sushi) (` HEAD @ 35dc854`) and verified our `sushi/default_t3` and `sushi/default_t2` bundles directly against `src/qwen4/qwen4_loop.zig` (`12/12` `zig test` passing):

```
# Download the 22.8 MB drop-in sushi T=3 bundle (requires huggingface_hub >= 0.30, or use `huggingface-cli download`)
hf download sliderforthewin/Looped-Qwen4-35B-A3B \
  --include "sushi/default_t3/*" \
  --local-dir ./qwen4-35b-loop

# Serve any Qwen4-35B-A3B Cooler pack (STQ or BF16) at T=3
sushi serve --model <path-to-Qwen4-35B-A3B-STQ-or-BF16-pack> \
  --loop ./qwen4-35b-loop/sushi/default_t3 \
  --loop-depth 3
```

**Two `sushi` notes:** (1) Looped decoding runs on **Sushi Cooler** packs only (`STQ` or `BF16` — `qwen4_cooler.zig` intentionally rejects legacy affine-EXL3 / MXFP4 packs). (2) In `sushi v1.9.1`, `sushi/default_t3` runs the dominant `gs_tanh * (s_hat - af)` (`s_hat_mode: "rms_match"`) recurrence and `LoopCD-Hidden` bit-exact today; full `v4` `delta_rms_match` parity on the smaller low-rank `gm`/` gamma` delta terms (used in our `vLLM` benchmarks above) is shipped in `mlx/default_t3` and documented in the ~25-line `loop_ops.zig` spec at [`docs/SUSHI_QWEN4_35B.md`](https://github.com/jasontitus/loopedqwen-next/blob/main/docs/SUSHI_QWEN4_35B.md).

### NVIDIA Hopper (`1× 80 GB H100` — `1,120–1,360 tok/s` at `T=3`)[#](#nvidia-hopper-1-80-gb-h100--11201360-toks-at-t3)

Requires a `vLLM` build with `qwen4_moe` support (e.g., `vllm/vllm-openai:qwen4` / `vllm 0.19.1rc1+`) plus our zero-fork plugin. By registering `LoopedQwen4MoeForCausalLM` in `vLLM`’s Engram UVA CPU-offload map (`+20.5 GB` freed by streaming the `L2` PLE table from pinned host RAM), enabling `FP8` QSA indexer caches, and turning on `FULL_DECODE_ONLY` CUDAGraphs ([`docs/QWEN4_ENGINE_OPTIMIZATIONS.md`](https://github.com/jasontitus/loopedqwen/blob/main/docs/QWEN4_ENGINE_OPTIMIZATIONS.md)), a single `80 GB H100` serves `Looped-Qwen4-35B-A3B` at **`1,121 tok/s` (`T=3`)** and **` 1,676 tok/s` (`T=2`)**:

```
# 1. Install the zero-fork vLLM plugin (registers LoopedQwen4MoeForCausalLM + Engram UVA offload)
pip install "git+https://github.com/jasontitus/loopedqwen.git#subdirectory=vllm_looped_qwen38"

# 2. Serve Looped Qwen4-35B-A3B at T=3 (81.08% macro, 0 regressions; set VLLM_LOOPED_CD_OMEGA=0.15 for T=3 + LoopCD)
VLLM_LOOPED_CKPT="sliderforthewin/Looped-Qwen4-35B-A3B:ckpt_best_alesha_v3.safetensors" \
VLLM_LOOPED_NUM_PASSES=3 \
VLLM_LOOPED_CD_OMEGA=0.0 \
VLLM_LOOPED_CD_REF=first \
vllm serve Qwen/Qwen4-35B-A3B-FP8 \
  --trust-remote-code \
  --dtype bfloat16 \
  --kv-cache-dtype fp8 \
  --indexer-kv-dtype fp8 \
  --engram-config '{"cpu_offload": true}' \
  --compilation-config '{"cudagraph_mode": "FULL_DECODE_ONLY"}' \
  --hf-overrides '{"architectures":["LoopedQwen4MoeForCausalLM"]}'
```

## Links & Resources[#](#links--resources)

- **Hugging Face (Adapter Weights + `sushi` / Hibana Sidecars, MIT):**[https://huggingface.co/sliderforthewin/Looped-Qwen4-35B-A3B](https://huggingface.co/sliderforthewin/Looped-Qwen4-35B-A3B)
- **GitHub — Trainer, `vLLM` Plugin, Engine Optimizations, & Scorecard:**[https://github.com/jasontitus/loopedqwen](https://github.com/jasontitus/loopedqwen)
- **GitHub — `sushi` (`qwen4_moe`) Sidecar Exporter & `v4` `delta_rms_match` Spec:**[https://github.com/jasontitus/loopedqwen-next/blob/main/docs/SUSHI_QWEN4_35B.md](https://github.com/jasontitus/loopedqwen-next/blob/main/docs/SUSHI_QWEN4_35B.md)
- **Full 6-Arm (`48/48`) Evaluation Scorecard:**[https://github.com/jasontitus/loopedqwen/blob/main/docs/SCORECARD_QWEN4_35B.md](https://github.com/jasontitus/loopedqwen/blob/main/docs/SCORECARD_QWEN4_35B.md)
