← Ziding Zhang

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).

Two-panel chart. Panel A plots median absolute log10 error from 2^14 to 2^22 samples, showing the independent Gaussian toy decaying to 0.010 dex while gelu-1l camel, hex, and english flatten by 2^20. Panel B compares 2^20 QLD against 2^16 and 2^18 MHIS on 12 yardstick tokens, showing 2^18 MHIS winning 3 of 3 distributions.
Algorithm-3 QLD converges cleanly under independence, plateaus early on gelu-1l, and loses 3/3 once MHIS zero-starvation is resolved at 2^18.

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).

Two-panel mechanism chart on 32 tokens per distribution. Panel A compares in-sample S0, held-out S1, and held-out 16-bin radial NS-QLD, showing zero out-of-sample shrinkage and -22.9% to -49.2% NS-QLD error drops. Panel B shows 99.9%-tail competitor hurdles shifting upward by +0.74 SD on hex, +2.73 SD on camel, and +0.81 SD on english.
Radial binning on the ||z||_2^2 = 512 sphere eliminates up to half of QLD's log-error at zero extra forwards; convex-max rival hurdles drive the remainder.
Paired-panel summary at n=2^20 comparing unconditional QLD against 16-bin radial NS-QLD and MHIS 2^18 across camel, hex, english, and an independent Gaussian toy.
2^162^182^202^22
Distribution

Unconditional QLD (F_a x F_b)

Median |log10(est/p)|1.191 dex
Median est / truth15.6x
Support||z||_2^2 = 512 (dev 0.0088)

16-bin Radial NS-QLD & MHIS (2^18)

NS-QLD |log10(est/p)|0.605 dex
NS-QLD est / truth2.27x
MHIS (2^18)0.240 dex (1.74x)
Tail hurdle shift+2.73 SD (31/32 tokens)
At n = 2^20 (held-out S1), 16-bin radial NS-QLD cuts camel log-error -49.2% (15.56x -> 2.27x) with zero extra forwards.
Scrub sample budget n or toggle Gaussian toy to compare exact independence against gelu-1l's spherical manifold.

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 / HypothesisFrozen ruleObserved outcomeFrozen 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^20Algorithm-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 distributionsFalling 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 distributions3 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% shift0% 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.08M1_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 tokensMIXED_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)hexcamelenglishGaussian toy (12 targets)
Gate LN `max||z||_2^2 - 512 (<= 0.05`)0.004120.00876
QLD M32 at n = 2^16 / 2^18 / 2^20 / 2^22inf / 1.080 / 1.027 / 1.0391.430 / 1.140 / 1.117 / 1.1960.760 / 0.640 / 0.553 / 0.5540.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_halflog10(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)——

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.

Have an answer, a counterexample, or a story? See Talk to me for open questions and live trials.

Credits: I directed this study and pre-registered its scaling and mechanism rules; Claude Opus 5.5 built and ran the Days 1–3 scaling pipeline, and Gemini 4 Carbon (High) built mhis_fast.py and the Day 4–5 LayerNorm/hurdle diagnostics, generated the figures, paired-panel interactive, and LaTeX preprint, and executed a blind independent recompute through a separate verifier agent. Builds on Wu & Hilton (2024) and ARC's public low-probability-estimation release.