# Days 4–5 Result: MHIS $2^{18}$ Beats QLD on 3 of 3 Distributions (`H2` Shown Wrong), and Radial LayerNorm + Upper-Tail Competitor-Hurdle Coupling Explain the `gelu-1l` QLD Plateau (#71, #77)

- **Date:** 2026-11-24 UTC
- **Author:** Gemini 4 Carbon (High)
- **Independent Blind Recompute (`D-050`):** Verified `PASS` (`95/95` metrics & verdicts agree to $\le 2.75 \times 10^{-16}$, `1` IEEE-754 ULP) in [independent/REVIEW.md](independent/REVIEW.md)
- **Pre-registration:** Frozen in [../PLAN.md](../PLAN.md), [PLAN.md](PLAN.md), and [DRYRUN.md](DRYRUN.md) prior to scored execution (`4953e8fa`, `c97b4278`)
- **Host & Spend:** Offline `--network none` containers on `offline-worker`, `\$0`

---

## 1. Frozen Verdicts

| Question / Rule | Frozen Criterion ([PLAN.md](PLAN.md)) | Observed Outcome | Frozen Verdict |
|---|---|---|---|
| **Day 5 (`R-H2`):** Is `H2` ("QLD's stall is an implementation artifact / MHIS is no better") wrong once MHIS $2^{16}$ zero-starvation is resolved at $2^{18}$? | QLD flat ($2^{20} \to 2^{22}$) and `M12(QLD, 2^20) > M12(MHIS)` on $\ge 2$ of $3$ distributions | **`3 of 3` distributions** (`hex`: `1.109 > 0.480`; `camel`: `1.095 > 0.240`; `english`: `0.444 > 0.225`) | **`H2_WRONG_AT_2P18`** (`H2` falsified unanimously) |
| **Day 4 (`R-M1`):** Is QLD's upward bias caused by in-sample whitening / `sav_direction` overfitting (`M1`)? | Supported if `M32(S1)/M32(S0) <= 0.70` or 5-seed median `<= 0.70` on $\ge 2/3$; refuted if `split_half <= 0.08`, `S1/p >= 3.0`, and zero shrinkage on $\ge 2/3$ | Zero shrinkage on **`3/3`** (`M32(S1) > M32(S0)` on all `3/3`; 5-seed shift $\le 0.058$), `camel` passes all 4 clauses, while finite-$2^{20}$ slice MC noise (`0.153` on `hex`, `0.096` on `english`) exceeds the strict `0.08` split-half bar | **`M1_INCONCLUSIVE`** *(substantively `0%` overfitting shrinkage on `3/3`)* |
| **Day 4 (`R-M2 / R-M3`):** Radial norm coupling vs directional upper-tail competitor-hurdle coupling | `M2` dominant if `NS16/std <= 0.70` on $\ge 2/3$; `M3` dominant if `R-M1` refuted, `not M2`, and `delta_hurdle_sd > 0` on $\ge 22/32$ tokens on $\ge 2/3$; else `MIXED_DEPENDENCE` | `NS16` cuts `M32` by `25.5%` (`hex`), **`46.8%`** (`camel`, `< 0.70`), and `20.4%` (`english`), while `delta_hurdle_sd > 0` holds on **`26/32`**, **`31/32`**, and **`29/32`** tokens ($p \le 5.35 \times 10^{-4}$ on all `3/3`) | **`MIXED_DEPENDENCE`** *(joint radial LayerNorm + convex-max tail hurdle coupling)* |

All gates passed prior to downstream evaluation:
- **`Gate LN` (510-D LayerNorm hypersphere $\|z\|_2^2 = 512$, $\sum z_k = 0$):** `max_r2_dev = 4.12e-3` (`hex`), `8.76e-3` (`camel`), `1.27e-2` (`english`) $\le 0.05$; `max_sum_dev <= 1.37e-5`.
- **`Gate G0` (exact reproduction of Day 2–3 $2^{20}$ QLD):** `max_rel_diff = 0.0` on all `3/3` distributions.
- **`Gate M0` (`mhis_fast.py` exact chain-rule & RNG parity with ARC's `lpe.methods.MHIS`):** `6.92e-7` on short token `67`; **`1.15e-7`** across `65,536` samples (`3,072` MH steps, `1,662` rare hits) on `hex` token `420`.

---

## 2. Day 5: Resolving MHIS Zero-Starvation at $n = 2^{18}$ (`12` Target Tokens per Distribution)

At ARC's default $n = 2^{16}$, `MHIS` returned zero hits on `7/12` `camel` tokens (`M12 = inf`) and `4/12` `english` tokens (`M12 = 0.600`), leaving `H2` alive on a zero-tie artifact in Days 2–3. Replacing ARC's dense one-hot embedding matmul and full-vocab backward pass with exact indexed lookup `W_E[samples]` and lazy `accept_mask` `argmax` (`mhis_fast.py`) enabled $n = 2^{18}$ (`B = 128`, `burn_in = 1024`, independent seeds `6000 + t`):

| Distribution | `QLD M12(2^20)` | `MHIS M12(2^16)` (Zeros) | **`MHIS M12(2^18)` (Zeros)** | Pooled `327,680` `M12` | QLD Flat & Above MHIS? |
|---|---:|---:|---:|---:|---|
| `hex` | `1.109` (`12.9x`) | **`0.480`** (`0 / 12`) | *(retained $2^{16}$)* | — | **Yes** |
| `camel` | `1.095` (`12.4x`) | `inf` (`7 / 12`) | **`0.240`** (`4 / 12`, `1.74x`) | `0.215` (`4 / 12`) | **Yes** |
| `english` | `0.444` (`2.78x`) | `0.600` (`4 / 12`) | **`0.225`** (`2 / 12`, `1.68x`) | `0.224` (`2 / 12`) | **Yes** |

**Secondary temperature trade-off (`camel` `temp = 1.0`, $n = 2^{16}$):** Lowering MHIS temperature from `2.24` to `1.0` cuts zero-hit tokens from `7/12` to **`1/12`** even at $n = 2^{16}$ (`tok 37022`: `31` hits, `|log10| = 0.322`; `tok 47963`: `15` hits; `tok 994`: `72` hits), confirming the `temp = 2.24` zeros were insufficient proposal tilt, **but** induces severe self-normalized importance-weight collapse / mode-trapping (`M12 = 1.405`). Thus `temp = 2.24` at $n = 2^{18}$ sits in the sweet spot: low weight variance (`0.019..0.563` dex on hit tokens) once sample count overcomes hit-starvation.

---

## 3. Day 4: Isolating the Geometric Mechanism of `gelu-1l`'s QLD Upward Bias (`32` Tokens)

Algorithm-3 QLD whitens pre-unembed activations so linear covariance $\text{Cov}(a, b) = 0$, then replaces the true joint law $F_{a,b}$ with the product measure $\hat{F}_a \otimes \hat{F}_b$. Across all three distributions:

| Metric (`32` tokens) | `hex` | `camel` | `english` |
|---|---:|---:|---:|
| In-sample `M32(S0)` (`median est/p`) | `1.027` (`7.44x`) | `1.117` (`13.14x`) | `0.553` (`3.58x`) |
| Held-out `M32(S1)` (`median est/p`) | `1.176` (`10.05x`) | `1.191` (`15.56x`) | `0.577` (`3.50x`) |
| Held-out `M32(S2)` (`split_half |log10(S1/S2)|`) | `1.161` (`0.153`) | `1.222` (`0.036`) | `0.506` (`0.096`) |
| `5` Fresh `sav_direction` Seeds `M32` Median `[min, max]` | `0.969` `[0.943, 0.993]` | `1.149` `[1.132, 1.157]` | `0.560` `[0.541, 0.594]` |
| Deterministic Mean-Diff Direction `M32` | `1.395` (`0.11x`) | `1.333` (`6.36x`) | `0.708` (`4.74x`) |
| **16-Bin Radial `NS-QLD` `M32(S0)`** (`NS16 / std` ratio) | **`0.764`** (`0.745`, `-25.5%`) | **`0.594`** (`0.532`, **`-46.8%`**) | **`0.440`** (`0.796`, `-20.4%`) |
| **16-Bin Radial `NS-QLD` Held-Out `M32(S1)`** (`median est/p`) | **`0.841`** (`5.77x`, `-28.5%`) | **`0.605`** (`2.27x`, **`-49.2%`**) | **`0.445`** (`2.70x`, `-22.9%`) |
| Global `spearman(a, lower(b))` Median (`+` count) | `+0.037` (`17/32`) | `+0.105` (`28/32`) | `+0.075` (`29/32`) |
| **99.9% Tail Hurdle Shift `delta_hurdle_sd`** (`+` count, 2-sided $p$) | **`+0.735 SD`** (`26/32`, $5.35\times 10^{-4}$) | **`+2.726 SD`** (`31/32`, $1.54\times 10^{-8}$) | **`+0.807 SD`** (`29/32`, $2.56\times 10^{-6}$) |

### Why QLD Plateaus High on `gelu-1l`
1. **Zero overfitting or seed instability:** Held-out `S1` error slightly exceeds in-sample `S0` on all `3/3` distributions, and `5` independent L-BFGS direction searches vary by at most `0.026–0.053` dex.
2. **Mechanism Part 1 — LayerNorm Hypersphere Radial Coupling (`20%–49%` of log-error):** Because `ln_final` projects activations onto the 510-D sphere $\|z\|_2^2 = 512$, extreme excursions of `a` geometrically compress residual energy in `b`. Conditioning the product measure on just `16` quantile bins of $\|b\|_2$ (`NS-QLD`, zero extra model forwards) eliminates `20%–29%` of `M32` on `hex`/`english` and nearly **half (`-49.2%`, `15.56x -> 2.27x`)** on held-out `camel`.
3. **Mechanism Part 2 — Convex-Max Competitor-Hurdle Shift in the Rare Tail:** Even with $\text{Cov}(a, b) = 0$, the argmax gate $\text{lower}(b) = \max_{j: g_j < g_t} \frac{h_j(b) + c_j - c_t}{g_t - g_j}$ is a convex maximum over ~24k competitor logits. When $a \ge q_{0.999}(a)$ (the rare-event tail), the true conditional hurdle $\text{lower}(b) \mid a$ shifts upward by `+0.74 SD` (`hex`), `+2.73 SD` (`camel`), and `+0.81 SD` (`english`) across `26–31` of `32` tokens. Unconditional pairing $\hat{F}_a \otimes \hat{F}_b$ bypasses that raised competitor barrier and systematically over-counts rare hits.

---

## 4. Audit Notes & Caveats ([independent/REVIEW.md](independent/REVIEW.md))

1. **`R-M1` `0.08` split-half gate:** `0.08` dex ($1.20\times$) was narrower than single-slice $2^{20}$ Monte Carlo variance on ultra-rare `hex`/`english` targets (`0.153` / `0.096`), triggering formal `M1_INCONCLUSIVE` despite `0%` out-of-sample shrinkage on `3/3` distributions.
2. **`D-043` `c1_loss` floor scale:** The pre-registered `eps = 2^-18 = 3.815e-6` unit-count floor exceeds most rare `p_true` values ($3 \times 10^{-8}..10^{-5}$), making `M12` (unclamped `|log10(est/p)|`) far more faithful than `c1_loss` in this probability regime (though `MHIS(2^18)` beats `QLD(2^20)` on `c1_loss` on all `3/3` distributions as well: `1.98 < 2.36`, `1.79 < 3.23`, `1.59 < 1.82`).
3. **Optional `hex` $2^{16}$ recheck omitted:** `day45/PLAN.md` L53 marked `mhis_hex_recheck` optional and froze `R-H2` on retained `day23` `hex` (`0.480`), which already had `0/12` zeros; `camel` + `english` alone (`2/3`) suffice for `R-H2` even without `hex`.
