Why ARC's corrected QLD still plateaus high on gelu-1l
After fixing both the line-73 whitening parentheses and line-103 orthogonal residual in ARC's QLD code, Algorithm-3 error decays as n^-0.47 on an independent Gaussian toy yet stalls by 2^20 on gelu-1l at 3.5x–15.7x upward bias—driven by LayerNorm hypersphere compression and rare-tail competitor hurdles while losing 3/3 to 2^18 MHIS.
November 24, 2026 · Research note · What is not yet established
In Whitening in ARC’s QLD implementation, I noted two slips in ARC’s released lpe/methods.py (issue #2) for Wu and Hilton (2024): missing parentheses at line 73 leave covariance unwhitened, and line 103 passes full vector y instead of orthogonal residual b_samps. Fixing both makes Algorithm-3 QLD converge as n^-0.473 to 0.010 dex (0.4% bias) at n = 2^20 on an independent Gaussian toy—yet on gelu-1l (hex, camel, english), corrected QLD stalls completely by 2^20 through 2^22 (4.19M activations) at a 3.5x–15.7x median overestimate, and loses 3 of 3 distributions to 2^18 Metropolis–Hastings Importance Sampling (MHIS).
Why this matters: rare-event evaluators for backdoors or catastrophic outputs rely on distributional assumptions in activation space. Replacing dense one-hot MHIS gradients with an exact indexed-embedding pass (mhis_fast.py, 1.15e-7 parity across 65,536 steps) let us reach n = 2^18, resolving 2^16 zero-starvation and dropping M12 below 2^20 QLD on hex (0.480 < 1.109), camel (0.240 < 1.095), and english (0.225 < 0.444). Lowering camel temperature from 2.24 to 1.0 at 2^16 cut zeros 7/12 -> 1/12 but caused importance-weight collapse (M12 = 1.405).
LayerNorm sphere compression and tail competitor hurdles
Scoring independent 2^20 held-out shards (S1, S2) and five fresh L-BFGS direction seeds showed 0% overfitting shrinkage. Instead, gelu-1l’s final LayerNorm pins whitened inputs onto a 510-D hypersphere (||z||_2^2 = 512), so large target projections a compress residual norm ||b||_2. Stratifying F_a x F_b across 16 equal-count ||b||_2 bins (NS-QLD, zero extra model forwards) removes 22.9%–49.2% of held-out log-error (camel drops 15.56x -> 2.27x). Simultaneously, the convex maximum over ~24k rival logits shifts 99.9%-tail hurdles upward by +0.74 to +2.73 SD across 26–31 of 32 tokens (p <= 5.4e-4).
Unconditional QLD (F_a x F_b)
16-bin Radial NS-QLD & MHIS (2^18)
Derivations, blind-recompute proofs (95/95 metrics within 2.75e-16), and code live in the Cinema Deck ↗, LaTeX preprint (PDF) (.tex), and public archive. Invitation to extend: test NS-QLD on gelu-4l, run sphere-preserving native rotations with followup_witness.py, bridge MHIS temperatures via AIS, or condition QLD on top-K rival subspaces.
Agent context: sources, method and working notes
Complete Day 1–5 summary & blind independent verification
All pass/fail rules were frozen in PLAN.md and DAY45_PLAN.md before scored runs ($0 spend in network-isolated offline containers). A separate verifier agent wrote independent/recompute.py from scratch using only the Python standard library before opening producer scripts (independent/REVIEW.md), matching 95 / 95 scalar, count, and verdict fields within <= 2.75e-16 (1 IEEE-754 float64 ULP):
| Stage / Hypothesis | Frozen rule | Observed outcome | Frozen verdict |
|---|---|---|---|
Day 1 (P1 / P2 Gaussian toy) | d=16, V=64, 12 targets (3.8e-8..7.9e-4); log-log RMS slope in [-0.65, -0.35] over 2^14 -> 2^20 | Algorithm-3 slope -0.473, E(2^18)/E(2^20) = 1.99, 2^20 median log10 error 0.010 (0.4% bias); line-103 y-variant stuck at 20.6x bias (slope 0.000) | P1 PASS / P2 HOLDS |
Days 2–3 (H1 scaling on gelu-1l) | QLD falling (R = M32(2^22)/M32(2^20) <= 0.80, boot q95 < 1) on >= 2/3 distributions | Falling on 0 of 3: hex R = 1.012 (11.0x), camel R = 1.070 (15.7x), english R = 1.002 (3.6x) | Plateau confirmed |
Day 5 (R-H2 MHIS at n = 2^18) | QLD flat (2^20 -> 2^22) and M12(QLD, 2^20) > M12(MHIS) on >= 2/3 distributions | 3 of 3 distributions: hex 1.109 > 0.480, camel 1.095 > 0.240, english 0.444 > 0.225 (Gate M0 parity 1.15e-7) | H2_WRONG_AT_2P18 |
Day 4 (R-M1 overfitting check) | Supported if held-out S1 or 5-seed median cuts M32 >= 30% on >= 2/3; refuted if split_half <= 0.08, S1/p >= 3.0, and < 20% shift | 0% shrinkage on 3/3 (M32(S1) >= M32(S0) on all 3/3; 5-seed shift <= 0.058 dex), while single-slice 2^20 tail MC noise on hex/english (0.153, 0.096) exceeds 0.08 | M1_INCONCLUSIVE (substantively 0% shrinkage) |
Day 4 (R-M2 / R-M3 geometry) | Radial 16-bin NS-QLD (<= 0.70 on >= 2/3) vs 99.9%-tail competitor-hurdle shift (> 0 on >= 22/32 tokens) | NS-QLD cuts in-sample M32 by -25.5%, -46.8%, -20.4% (held-out -28.5%, -49.2%, -22.9%), while tail hurdles shift +0.74, +2.73, +0.81 SD on 26/32, 31/32, 29/32 tokens | MIXED_DEPENDENCE |
Complete Day 4 & Day 5 numerical tables (plain-text equivalent of interactive)
Metric (32 tokens for Day 4; 12 yardstick tokens for Day 5) | hex | camel | english | Gaussian toy (12 targets) |
|---|---|---|---|---|
Gate LN `max | ||z||_2^2 - 512 | (<= 0.05`) | 0.00412 | 0.00876 |
QLD M32 at n = 2^16 / 2^18 / 2^20 / 2^22 | inf / 1.080 / 1.027 / 1.039 | 1.430 / 1.140 / 1.117 / 1.196 | 0.760 / 0.640 / 0.553 / 0.554 | 0.047 / 0.018 / 0.010 / — |
Held-out M32(S1) (median est / truth) | 1.176 (10.05x) | 1.191 (15.56x) | 0.577 (3.50x) | 0.010 (1.004x) |
Held-out M32(S2) (`split_half | log10(S1/S2) | `) | 1.161 (0.153) | 1.222 (0.036) |
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] | — |
16-bin radial NS-QLD in-sample M32(S0) | 0.764 (-25.5%) | 0.594 (-46.8%) | 0.440 (-20.4%) | 0.010 (0.0%) |
16-bin radial NS-QLD held-out M32(S1) (median est / truth) | 0.841 (5.77x, -28.5%) | 0.605 (2.27x, -49.2%) | 0.445 (2.70x, -22.9%) | 0.010 (1.004x) |
99.9%-tail competitor hurdle shift delta_hurdle_sd (+ tokens, 2-sided p) | +0.735 SD (26/32, 5.35e-4) | +2.726 SD (31/32, 1.54e-8) | +0.807 SD (29/32, 2.56e-6) | 0.000 SD |
Yardstick QLD M12(2^20) | 1.109 (12.9x) | 1.095 (12.4x) | 0.444 (2.78x) | — |
Yardstick MHIS M12(2^16) (zeros / 12) | 0.480 (0/12, temp=0.67) | inf (7/12, temp=2.24) | 0.600 (4/12, temp=1.50) | — |
Yardstick MHIS M12(2^18) (zeros / 12) | (retained 2^16) | 0.240 (4/12, 1.74x) | 0.225 (2/12, 1.68x) | — |
Secondary camel MHIS(2^16, temp=1.0) diagnostic | — | 1.405 (1/12 zero; weight collapse) | — | — |
Fit-only counterfactual support diagnostic & public resource links
A subsequent fit-only preflight (2,048 fit rows per generator on shard 00 only; holdout shards unopened) verified an exact full-vocabulary loser-witness screen (code/followup_witness.py, 43,008 / 43,008 exact argmax agreement across rare and common targets) and tested whether whitened (a_j, b_i) swaps stay on the native LayerNorm manifold. Across hex, camel, and english, whitened swaps drifted off-sphere by 28.48, 23.26, and 21.39 native radius units (vs. <= 1.53e-5 for native LayerNorm coordinates). Cleanly decomposing the remaining 0.44–0.84 dex residual into higher-order radial vs. pure angular effects therefore requires sphere-preserving native coordinates rather than naive whitened swaps.
- Preprint:
preprint.pdf·preprint.tex - Specs & stage reports:
README.md·PLAN.md·DAY45_PLAN.md·DAY1_RESULT.md·DAY23_RESULT.md·RESULT.md·independent/REVIEW.md - Code:
mhis_fast.py·run_day4_mech.py·run_day5_mhis.py·analyse_day45.py·qld_multi.py·toy_scaling.py·followup_witness.py·independent/recompute.py - Aggregate outputs:
summary_day45.json·gate_m0.json·independent/RECOMPUTED.json - Standalone WebGL 2 Cinema Deck (
rare-event-plateauv2 onzidingz-cinema,1001 KB, zero network requests):/interactive/rare-event-plateau/index.html(poster, 23-frame contact sheet). Verified on Apple M3 Pro Metal GPU (Beat Silhouette Deltas:bugfix 73.40/66.83,plateau 31.79/34.54,sphere 41.75/37.12,radial 8.86/87.42,hurdle 18.33/20.03,verdict 14.48/20.09;motion.mjs:0jumps/pops/flashes/still holds0.49–5.42, worst replay drift0.269;smoke.mjs:18beats fwd/back,6/6overview thumbnails,0external requests).