From c3e4f65b837ab91e4f58af9911807f68de2f94c8 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:36:52 +0800 Subject: [PATCH 01/19] docs(CGC-02): preregister trained shared recurrent protected task spectra and unseen-depth transport --- .../cgc02/PROTOCOL.md | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/PROTOCOL.md diff --git a/research/causal_gauge_compactification/cgc02/PROTOCOL.md b/research/causal_gauge_compactification/cgc02/PROTOCOL.md new file mode 100644 index 000000000..9616ec888 --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/PROTOCOL.md @@ -0,0 +1,83 @@ +# CGC-02: trained shared recurrence, protected task rank and depth transfer + +**Prospective exploratory protocol locked before any new-root data, 2026-11-18.** Follow [CGC-01](../THEORY.md) and [issue #245](https://github.com/MoralityLabAI/Compactification-Theory/issues/245). CGC-01's source-only 18 tests and all existing Compactification/SMC/NOR/LSV/ARG receipts remain unchanged. + +## Previous engineering and excluded roots + +The architecture and 650-step training schedule below were tested on **excluded engineering teacher seeds 901 and 902**. This tuning showed task MAE ≈0.012–0.027 at trained depths 2/4/6, while performance sometimes degraded at unseen depth 8 or 10. Calibration-only rank-two task singular directions at depth 4 sometimes retrieved the donor at depth 4 but failed by depth 8 relative to physical weight SVD. That engineering outcome motivated retaining a **frozen multi-depth Gramian**. None of 901/902 may count in new-root science. + +The fresh exploratory teacher-root roster is **[2601,2607,2617,2621]**, registered before training those models. These are four **independent initializations** on the *same task generator family*, with independently seeded training batches. The evaluation family is a **different correlation structure** within the same scalar input range, not a new program alphabet. The study is insufficient for 95/95 root-level inference. + +## Actual physical recurrent model and protected readout + +State dimension d=12, shared nonlinear feature width 32, event input dimension 4. At time 0 the complete state contains an independently sampled public scalar p at coordinates 0 and 4 (p, -0.2p); all other coordinates are zero. The one-time private source-write event is x=(a,b,r,1), with a,b,p iid Uniform[-0.8,0.8] on training, and r uniform in {-1,+1}. The **same** physical weight-tied transition executes for source write and every subsequent no-op recurrent pass: + +\[ +F_\theta(h,x)=h+\tanh(hA+xB+b_0)C,\ +A\in\mathbb R^{12\times32}, B\in\mathbb R^{4\times32}, C\in\mathbb R^{32\times12}. +\] + +All post-write recurrences receive x=0. There is no extra KV cache, hidden scheduler or separate physical recurrence per depth. + +The actual current protected output is the **full three-class normalized probability vector** +\[ +P(h)=\operatorname{softmax}(h_0,h_4,0). +\] +The exact affine protected-fiber kernel used for causal edits is +\(K=\{\delta:\delta_0=\delta_4=0\}\), dimension 10. Every proposed intervention is checked against the **complete normalized** protected readout before continuation, with max component error ≤1e-6. This is a sufficiently conservative kernel inside DP's true softmax kernel (which may admit extra common-logit gauge directions); it is an explicitly declared **subkernel**, not a claimed complete characterization of ker DP. + +The independent ground-truth task at after-write depth k is two scalars +\[ +Y^*(a,b,r)=\left(a\mathbf1_{r=1}+b\mathbf1_{r=-1},\ +\tfrac12(a+b)+0.2ab\right), +\] +decoded by the **fixed** last two state coordinates after k shared no-op updates. Targets are independently computed from the input generator, not generated by the teacher. + +Teacher training: Adam learning rate 0.008, **650 updates**, batch 128, PyTorch CPU one thread. At depths k=2,4,6 use weighted scalar-output MSE with weights (0.75,1.0,0.5), plus 0.025 per visited step on the squared change of the two public carrier state coordinates relative to their initial values; L2 weight objective 1e-4. This is supervised recurrence at declared depths, with **depth 8 never used for teacher training or calibration rank selection**. + +## Independently fitted physical BPD dictionary and native execution + +Freeze teacher. For each new root train two independent seeded, full-rank physical decompositions \(\widehat C_i=V_iU_i\) with V_i shape 32×12, U_i shape 12×12, Adam lr 0.03 for 360 steps minimizing exact physical weight MSE to C. All 12 factors are active. This is **physical reconstruction** rather than trained sparse-gate identification. Test GL(12) sheared-factor gauge invariance of the complete physical matrix and the physical output-SVD block. Freeze and report both fit MSEs and the rank-two weight-SVD projector drift across independent refits. + +A dedicated GitHub Actions job checks the **real native BPDModel/TiedComponentLinear** from immutable BPD commit +\`f22a883144ee7d2caa2bd5d9936dd9e083c7f139\`. It verifies all-factor native masked execution over the source-write plus 8 shared no-op invocations, and a native full-component \`swap_acts\` donor write against the independent physical factor computation. This numerical check is separate from the causal subspace success criteria and uses excluded engineering root 901. + +## Development-only task subspace selection + +Using **256 independent training-family source examples per teacher root**, freeze two *rank-two* physical hidden-state subspaces after the one source-write step. For k=2,4,6, compute both true task-output Jacobian rows \(\partial T_k(h_1)/\partial h_1\) through the frozen recurrent transition; restrict these derivatives to K. Define +\[ +G_k=\tfrac1{256}\sum_i J_{i,k,K}^{\top}J_{i,k,K}. +\] +The first task block \(E_4\) uses the top-two eigenspace of G_4. The multi-depth task block \(E_\mathrm{multi}\) uses the top two eigendirections of \(0.75G_2+G_4+0.5G_6\). Also freeze the top-two **physical output-weight SVD** subspaces of BPD factor fit 1 and of teacher C, each orthogonally projected into K and reorthonormalized. Include one fixed seeded rank-two **random protected subspace** and full protected-write and exact donor-dark controls. The preferred rank-two block is fixed by this procedure, not chosen using heldout causal outcomes. + +Record singular/eigenvalue gaps at the second/third directions. A small gap renders subspace identity unstable; top-two projectors are compared, not unordered singular-vector signs. No component singleton, alignment oracle or heldout rank search is admitted as a discovered BPD mechanism. + +## Independent heldout source-pair assay + +For each root generate exactly **512** independent evaluation pairs from an anti-correlated scalar source family: +a~U[-0.8,0.8], b=clip(-0.8a+0.2 N(0,1), ±0.8), p independent, r uniform ±1. The donor changes **only the queried source value** a or b by signed magnitude in [0.30,0.65], clamped to ±0.8. The public scalar, role and other source value remain identical; ground-truth donor Y* is recomputed from the true scalars. Both recipient and donor states share the same initial h0; only their event source inputs differ. + +Declare the eligibility gate once, using *clean* teacher states: +- both recipient and donor depth-4 two-dimensional task outputs within ±0.08 per coordinate of their separately defined exact ground-truth target; +- clean donor/recipient depth-4 task-output max-coordinate difference ≥0.15; +- complete current protected three-class softmax readout max discrepancy after source-write step ≤0.02. + +All 512 generated pairs, clean-error counts, protected mismatch and eligible counts are retained. Denominators are independently generated pairs; the teacher root is the inferential unit. Do not replace failures or select only already successful intervention rows. + +For each eligible pair form the BPD donor physical write \(\delta=(\phi(h_0,x_d)-\phi(h_0,x_r))\widehat C_1\), project its coordinates 0 and 4 to zero, and inject at the **post-write state h1_r** before future recurrence. Rank-two edits use orthogonal projection of this physical write into the respective frozen physical subspaces. Compare true teacher-C physical write, exact current-dark donor-state difference, full physical BPD write, zero edit, and physical SVD baseline. Assert *actual normalized protected-readout equality* for every proposed intervention before continuation. + +Each root is evaluated at post-write depths **2,4,6,8**. The depth-8 task output is a **new recurrent-depth extrapolation** beyond teacher supervision and Gramian selection; it is scored only once after registration. Report teacher ground-truth MAE at every depth, donor-model relative MSE and ±0.10 donor recovery on eligible and all generated pairs, finite future protected softmax drift, intervention L2 dose and local one-step reduced-state closure defect. A small tangent task dimension is *not* an automatically closed dynamical quotient. + +Use 32 independently seeded same-dose random K edits per root as a weak control at depth 8, and 16 **privileged** signed full two-task-Jacobian-and-norm matched K directions for the multi-depth task block at depths 4 and 8. The latter matches \(\|v\|_2\) and the *full signed* \(J_k v\) with an independent direction in \(\ker J_k\); report maximum numerical mismatch. These controls use target model gradients as an explicit high-information null and are **not** evidence of a deployable feature selector. Use identical donor eligibility, and keep matched controls *inside* the declared exact current-readout kernel. + +## Frozen descriptive decision criteria + +**Engineering gates**: 4 roots executed; teacher clean depth-4 MAE ≤0.08 and depth-8 MAE ≤0.15, physical factor MSE ≤1e-4 for both refits; actual current normalized protected readout mismatch ≤1e-6; complete BPD GL gauge error ≤2e-5; native mask and swap numerical errors ≤1e-5; no nonfinite values, and matched full-task tangent/norm error ≤1e-4. + +**Exploratory rank-two portability gate**: in at least 3/4 roots with ≥200 eligible pairs, multi-depth task-block depth-8 donor MSE ≤0.8× physical-BPD-weight-SVD rank-two donor MSE, and donor recovery ≥0.10 above the 32 same-dose random-K control mean. Report depth-4 difference separately. **Stronger incremental mechanism gate**: in at least 3/4 roots, depth-8 multi-depth task-block recovery ≥0.05 above its **privileged signed full-task-Jacobian-and-norm matched** control mean. These are fixed descriptive criteria on four roots, **not** a 95/95 calibrated null or statistical proof. + +A failed gate is a valid experimental result; do not tune architecture, seeds, rank, depth or thresholds after inspecting fresh results. The exact current readout has only three classes and no token positions; this synthetic model cannot establish real language-model transcript privacy. Full BPD reconstruction, protected task-SVD and a genuine compact independent reduced transition are different claims. + +## Reproduction and protected previous work + +\`python -m research.causal_gauge_compactification.cgc02.experiment --phase fresh --out /tmp/cgc02_fresh.json\` on CPU with PyTorch. The code source and above protocol must be SHA-locked **before** running fresh roots. Engineering-only smoke may use 901/902. Host raw eight-arm results with root-level receipts. Preserve all CGC-01 source math, SF03 0/32 negative, SF04 3/8 negative, SF05B two-root source closure negatives, and sealed ARG-03-N 168 cases. New 59 independent null-root calibrators and ≥32 confirmatory roots require a separate prospective study. From 90c347c030149df031f873756993d2c1290b8c54 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:39:09 +0800 Subject: [PATCH 02/19] feat(CGC-02): train weight-tied teacher, fit BPD physical factors and test protected task spectra across unseen recurrence depth --- .../cgc02/experiment.py | 488 ++++++++++++++++++ 1 file changed, 488 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/experiment.py diff --git a/research/causal_gauge_compactification/cgc02/experiment.py b/research/causal_gauge_compactification/cgc02/experiment.py new file mode 100644 index 000000000..efae0143b --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/experiment.py @@ -0,0 +1,488 @@ +"""CGC-02 source-locked trained weight-tied causal compactification experiment. + +All rank selectors are fitted on development data; fresh roots are fixed in +PROTOCOL.md. The protected current output is the full softmax([h0,h4,0]). +The physical null h0=h4=0 therefore conserves every normalized class exactly. +This is a compact supervised toy, not an SAE/sparse-BPD discovery. +""" +from __future__ import annotations + +import argparse +import json +from pathlib import Path +import torch +from torch import nn + +D, WIDTH, XD = 12, 32, 4 +KIDX = (1, 2, 3, 5, 6, 7, 8, 9, 10, 11) +RANK, TRAIN_STEPS, FACTOR_STEPS = 2, 650, 360 +CAL_SIZE, TEST_SIZE = 256, 512 +TRAIN_DEPTHS = (2, 4, 6) +TEST_DEPTHS = (2, 4, 6, 8) +FRESH_ROOTS = (2601, 2607, 2617, 2621) +EXCLUDED_ROOTS = (901, 902) +GRAM_WEIGHTS = {2: .75, 4: 1., 6: .5} + + +def rng(seed: int) -> torch.Generator: + return torch.Generator().manual_seed(int(seed)) + + +def source_batch(seed: int, n: int, family: str = "train"): + if n < 1 or family not in ("train", "heldout_anticorrelated"): + raise ValueError("registered families: train and heldout_anticorrelated") + g = rng(seed) + z = torch.rand((n, 3), generator=g)*1.6-.8 + a, b, p = z.unbind(-1) + if family == "heldout_anticorrelated": + a = torch.rand((n,), generator=g)*1.6-.8 + b = (-.8*a + .2*torch.randn((n,), generator=g)).clamp(-.8, .8) + role = torch.randint(0, 2, (n,), generator=g).float()*2-1 + h0 = torch.zeros((n, D)) + h0[:, 0], h0[:, 4] = p, -.2*p + event = torch.stack((a, b, role, torch.ones_like(a)), dim=1) + label = torch.stack((torch.where(role > 0, a, b), + .5*(a+b)+.2*a*b), dim=1) + return h0, event, label + + +def matched_source_pairs(seed: int, n: int): + h0, event, label = source_batch(seed, n, "heldout_anticorrelated") + g = rng(seed+8001) + donor = event.clone() + chosen = torch.where(event[:, 2] > 0, 0, 1) + direction = torch.where(torch.rand(n, generator=g) < .5, -1., 1.) + offset = direction * (.30 + .35*torch.rand(n, generator=g)) + row = torch.arange(n) + donor[row, chosen] = (donor[row, chosen] + offset).clamp(-.8, .8) + a, b, role = donor[:, 0], donor[:, 1], donor[:, 2] + donor_label = torch.stack( + (torch.where(role > 0, a, b), .5*(a+b)+.2*a*b), dim=1) + if not torch.equal(event[:, 2:], donor[:, 2:]): + raise AssertionError("role and source-write marker changed") + if not ((event-donor).abs() > 0).sum(1).eq(1).all(): + raise AssertionError("exactly one private value must change") + return h0, event, donor, label, donor_label + + +class RecurrentTeacher(nn.Module): + """The same physical (A,B,C,b) is used at every shared no-op pass.""" + def __init__(self, seed: int): + super().__init__() + g = rng(seed+4401) + self.A = nn.Parameter(torch.randn(D, WIDTH, generator=g)*.13) + self.B = nn.Parameter(torch.randn(XD, WIDTH, generator=g)*.13) + self.bias = nn.Parameter(torch.zeros(WIDTH)) + self.C = nn.Parameter(torch.randn(WIDTH, D, generator=g)*.07) + + def features(self, state, event): + return torch.tanh(state @ self.A + event @ self.B + self.bias) + + def step(self, state, event): + return state + self.features(state, event) @ self.C + + def no_op(self, state, depth: int): + zero = torch.zeros((len(state), XD), dtype=state.dtype, device=state.device) + for _ in range(depth): + state = self.step(state, zero) + return state + + @staticmethod + def task(state): + return state[:, -2:] + + @staticmethod + def protected(state): + logits = torch.stack((state[:, 0], state[:, 4], + torch.zeros_like(state[:, 0])), dim=1) + return torch.softmax(logits, dim=-1) + + +def train_teacher(seed: int, updates: int = TRAIN_STEPS): + torch.set_num_threads(1) + model = RecurrentTeacher(seed) + opt = torch.optim.Adam(model.parameters(), lr=.008) + for step in range(updates): + h0, event, label = source_batch(seed*100000+step, 128) + state = model.step(h0, event) + loss = .025*(state[:, [0, 4]]-h0[:, [0, 4]]).square().mean() + for k in range(1, 7): + state = model.step(state, torch.zeros_like(event)) + if k in GRAM_WEIGHTS: + loss = loss + GRAM_WEIGHTS[k]*( + model.task(state)-label).square().mean() + loss = loss + .025*(state[:, [0, 4]]-h0[:, [0, 4]]).square().mean() + loss = loss + .0001*(model.A.square().mean()+ + model.B.square().mean()+model.C.square().mean()) + if not torch.isfinite(loss): + raise ValueError(f"nonfinite teacher fit, seed {seed}, step {step}") + opt.zero_grad() + loss.backward() + opt.step() + return model.eval().requires_grad_(False) + + +def fit_factors(model: RecurrentTeacher, seed: int, restart: int, + updates: int = FACTOR_STEPS): + if restart not in (0, 1): + raise ValueError("two independent registered physical refits") + g = rng(seed+9205+restart*10337) + v = nn.Parameter(torch.randn(WIDTH, D, generator=g)*.1) + u = nn.Parameter(torch.randn(D, D, generator=g)*.1) + opt = torch.optim.Adam((v, u), lr=.03) + true = model.C.detach() + for _ in range(updates): + loss = (v @ u-true).square().mean() + opt.zero_grad() + loss.backward() + opt.step() + return v.detach(), u.detach() + + +def protected_project(delta): + out = delta.clone() + out[:, 0] = 0 + out[:, 4] = 0 + return out + + +def protected_coordinates(): + return torch.eye(D)[:, list(KIDX)] + + +def task_jacobian(model: RecurrentTeacher, state, depth: int): + h = state.detach().requires_grad_(True) + task = model.task(model.no_op(h, depth)) + gradients = [] + for output in range(2): + g = torch.autograd.grad(task[:, output].sum(), h, + retain_graph=(output == 0))[0] + gradients.append(g[:, list(KIDX)]) + return torch.stack(gradients, dim=1).detach() + + +def top_task_basis(gram: torch.Tensor, rank=RANK): + vals, vec = torch.linalg.eigh(gram.double()) + selected = vec[:, -rank:].float() + basis = protected_coordinates() @ selected + gap = float(vals[-rank]-vals[-rank-1]) if rank < len(vals) else None + return basis, gap, [float(x) for x in vals.flip(0)[:6]] + + +def physical_weight_basis(weight, rank=RANK): + _, singular, vh = torch.linalg.svd(weight.double(), full_matrices=False) + raw = vh[:rank, :].T.float() + raw[[0, 4], :] = 0 + basis, _ = torch.linalg.qr(raw, mode="reduced") + if torch.linalg.matrix_rank(raw.double(), tol=1e-9) < rank: + raise ValueError("protected physical SVD lost rank") + gap = float(singular[rank-1]-singular[rank]) + return basis, gap + + +def subspaces(model: RecurrentTeacher, first_weight, second_weight, seed): + h0, event, _ = source_batch(seed*17+19013, CAL_SIZE, "train") + with torch.no_grad(): + state = model.step(h0, event) + grams = {} + for depth in TRAIN_DEPTHS: + j = task_jacobian(model, state, depth) + grams[depth] = torch.einsum("bmi,bmj->ij", j, j)/len(j) + joint = .75*grams[2]+grams[4]+.5*grams[6] + task_joint, gap_joint, top_joint = top_task_basis(joint) + task_4, gap_4, _ = top_task_basis(grams[4]) + weight_bpd, gap_weight = physical_weight_basis(first_weight) + weight_teacher, gap_teacher = physical_weight_basis(model.C.detach()) + restart_basis, _ = physical_weight_basis(second_weight) + projector_drift = float( + (weight_bpd @ weight_bpd.T-restart_basis @ restart_basis.T).norm()) + random = torch.randn((len(KIDX), RANK), generator=rng(seed+989181)) + qr, _ = torch.linalg.qr(random) + random_basis = protected_coordinates() @ qr + return { + "task_joint": task_joint, "task_depth4": task_4, + "bpd_weight_svd": weight_bpd, + "teacher_weight_svd": weight_teacher, + "random_protected_basis": random_basis, + }, { + "task_joint_gap": gap_joint, "task_depth4_gap": gap_4, + "bpd_weight_svd_gap": gap_weight, + "teacher_weight_svd_gap": gap_teacher, + "factor_restart_weight_svd_projector_distance": projector_drift, + "task_joint_leading_eigenvalues": top_joint, + "calibration_examples": CAL_SIZE, + "calibration_depths": list(TRAIN_DEPTHS), + } + + +def tangent_matched_sham(j: torch.Tensor, selected: torch.Tensor, g: torch.Generator): + """Same protected L2 norm AND same signed 2-vector future task Jacobian. + + All computations below use double-precision least squares in the protected + 10D subspace. The null-space randomization is deliberately privileged. + """ + j64 = j.double() + v = selected[:, list(KIDX)].double() + jj = j64 @ j64.transpose(-1, -2) + pseudo = torch.linalg.pinv(jj, rtol=1e-12) + pin = j64.transpose(-1, -2) @ pseudo + target = j64 @ v.unsqueeze(-1) + minimum = (pin @ target).squeeze(-1) + noise = torch.randn(v.shape, generator=g, dtype=torch.float64) + noise = noise-(pin @ (j64 @ noise.unsqueeze(-1))).squeeze(-1) + missing = (v.square().sum(1)-minimum.square().sum(1)).clamp_min(0).sqrt() + noise = noise/noise.norm(dim=1).clamp_min(1e-14).unsqueeze(-1) + sham = minimum+noise*missing.unsqueeze(-1) + full = torch.zeros_like(selected) + full[:, list(KIDX)] = sham.float() + derivative_error = float((j64 @ sham.unsqueeze(-1)-target).abs().max()) + norm_error = float((sham.norm(dim=1)-v.norm(dim=1)).abs().max()) + return full, derivative_error, norm_error + + +@torch.no_grad() +def score_edit(model, recipient_state, donor_state, delta, eligible, depth): + if not torch.equal(protected_project(delta), delta): + raise AssertionError("candidate escaped exact protected affine kernel") + actual = model.protected(recipient_state+delta) + original = model.protected(recipient_state) + protected_error = float((actual-original).abs().max()) + if protected_error > 1e-6: + raise AssertionError(f"full normalized protected readout changed: {protected_error}") + new = model.no_op(recipient_state+delta, depth) + donor = model.no_op(donor_state, depth) + unedited_future = model.no_op(recipient_state, depth) + mismatch = (model.task(new)-model.task(donor)) + abs_future_public = ( + model.protected(new)-model.protected(unedited_future)).abs() + n = int(eligible.sum()) + return { + "eligible": n, + "donor_mse_eligible": float(mismatch[eligible].square().mean()) if n else None, + "donor_recovery_eligible": float( + ((mismatch.abs().amax(1) <= .10)[eligible]).float().mean()) if n else None, + "donor_mse_all": float(mismatch.square().mean()), + "donor_recovery_all": float((mismatch.abs().amax(1)<=.10).float().mean()), + "mean_physical_dose": float(delta.norm(dim=1).mean()), + "immediate_normalized_readout_max_error": protected_error, + "future_normalized_readout_mean_abs_change": float(abs_future_public.mean()), + } + + +@torch.no_grad() +def reduced_one_step_defect(model, state, basis): + """Zero-fill, public-anchored projected next-state closure diagnostic.""" + reduced = torch.zeros_like(state) + reduced[:, [0, 4]] = state[:, [0, 4]] + reduced = reduced+(state @ basis) @ basis.T + zero = torch.zeros((len(state), XD)) + original_step = model.step(state, zero) + reduced_step = model.step(reduced, zero) + return float(((original_step-reduced_step) @ basis).norm(dim=1).mean()) + + +def assay_seed(seed: int, teacher: RecurrentTeacher, first, second, + n: int = TEST_SIZE, null_arms: int = 32, + tangent_arms: int = 16): + with torch.no_grad(): + physical = first[0] @ first[1] + second_physical = second[0] @ second[1] + factors = [float((w-teacher.C).square().mean()) + for w in (physical, second_physical)] + shear = torch.eye(D) + shear[0, 1] = .7 + equivalent = (first[0] @ shear) @ torch.linalg.solve(shear, first[1]) + gauge_error = float((physical-equivalent).abs().max()) + bases, selection = subspaces(teacher, physical, second_physical, seed) + h0, event, donor_event, goal, donor_goal = matched_source_pairs(seed*741+77, n) + with torch.no_grad(): + recipient = teacher.step(h0, event) + donor = teacher.step(h0, donor_event) + featdelta = teacher.features(h0, donor_event)-teacher.features(h0, event) + delta = protected_project(featdelta @ physical) + full_teacher_delta = protected_project(featdelta @ teacher.C) + exact_dark_delta = protected_project(donor-recipient) + clean4_r = teacher.task(teacher.no_op(recipient, 4)) + clean4_d = teacher.task(teacher.no_op(donor, 4)) + correct_r = (clean4_r-goal).abs().amax(1) <= .08 + correct_d = (clean4_d-donor_goal).abs().amax(1) <= .08 + donor_change = (clean4_r-clean4_d).abs().amax(1) >= .15 + current_gap = ( + teacher.protected(recipient)-teacher.protected(donor)).abs().amax(1) + equal_current = current_gap <= .02 + eligible = correct_r & correct_d & donor_change & equal_current + n_eligible = int(eligible.sum()) + edits = { + "zero_edit": torch.zeros_like(delta), + "physical_BPD_full": delta, + "physical_teacher_full": full_teacher_delta, + "exact_dark_donor": exact_dark_delta, + } + for name, basis in bases.items(): + edits[name] = protected_project((delta @ basis) @ basis.T) + closings = {name: reduced_one_step_defect(teacher, recipient, basis) + for name, basis in bases.items()} + clean = {} + for depth in TEST_DEPTHS: + clean[depth] = { + "recipient_task_mae_vs_oracle": float( + (teacher.task(teacher.no_op(recipient, depth))-goal).abs().mean()), + "donor_task_mae_vs_oracle": float( + (teacher.task(teacher.no_op(donor, depth))-donor_goal).abs().mean()), + } + score = {str(depth): { + name: score_edit(teacher,recipient,donor,patch,eligible,depth) + for name,patch in edits.items() + } for depth in TEST_DEPTHS} + + generator = rng(seed+88700) + random_controls = {} + for name in ("task_joint", "bpd_weight_svd"): + dose = edits[name].norm(dim=1,keepdim=True) + recs, errors = [], [] + for _ in range(null_arms): + u = torch.randn((n,D),generator=generator) + u = protected_project(u) + u = u / u.norm(dim=1,keepdim=True).clamp_min(1e-12)*dose + metric = score_edit(teacher,recipient,donor,u,eligible,8) + recs.append(metric["donor_recovery_eligible"] or 0.) + errors.append(metric["donor_mse_eligible"]) + random_controls[name] = { + "arms": null_arms, "matched_at_depth": 8, + "mean_donor_recovery_eligible": sum(recs)/null_arms, + "maximum_donor_recovery_eligible": max(recs), + "mean_donor_mse_eligible": sum(x or 0 for x in errors)/null_arms, + } + + tangent_controls = {} + for depth in (4,8): + j = task_jacobian(teacher,recipient,depth) + recoveries = [] + max_derivative, max_norm = 0.,0. + for _ in range(tangent_arms): + null,derivative_error,norm_error = tangent_matched_sham( + j,edits["task_joint"],generator) + max_derivative = max(max_derivative,derivative_error) + max_norm = max(max_norm,norm_error) + out = score_edit(teacher,recipient,donor,null,eligible,depth) + recoveries.append(out["donor_recovery_eligible"] or 0.) + tangent_controls[str(depth)] = { + "arms": tangent_arms, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": sum(recoveries)/tangent_arms, + "best_recovery_eligible": max(recoveries), + "max_signed_task_derivative_error": max_derivative, + "max_physical_norm_error": max_norm, + } + return { + "seed":seed, + "training_family":"independent_scalar_source", + "evaluation_family":"heldout_anticorrelated_scalar_source", + "generated_pairs":n, + "eligibility":{ + "recipient_clean_task_correct":int(correct_r.sum()), + "donor_clean_task_correct":int(correct_d.sum()), + "both_clean_task_correct":int((correct_r&correct_d).sum()), + "clean_future_donor_change":int(donor_change.sum()), + "clean_current_full_softmax_gap_within_0p02":int(equal_current.sum()), + "eligible":n_eligible, + "mean_clean_current_softmax_difference":float(current_gap.mean()), + }, + "factor_physical_mse_by_restart":factors, + "factor_complete_GL_gauge_max_error":gauge_error, + "subspace_selection":selection, + "reduced_zero_fill_one_step_closure_defects":closings, + "clean_by_depth":{str(k):v for k,v in clean.items()}, + "causal_by_depth":score, + "same_dose_random_K_controls_depth8":random_controls, + "privileged_signed_full_task_jacobian_controls":tangent_controls, + } + + +def engineering_and_science_gates(rows): + engineering = [] + portability = [] + incremental = [] + for r in rows: + eligible = r["eligibility"]["eligible"] + c4 = r["clean_by_depth"]["4"]["recipient_task_mae_vs_oracle"] + c8 = r["clean_by_depth"]["8"]["recipient_task_mae_vs_oracle"] + factor_ok = max(r["factor_physical_mse_by_restart"]) <= 1e-4 + max_read = max(o["immediate_normalized_readout_max_error"] + for d in r["causal_by_depth"].values() for o in d.values()) + max_tan = max(max(c["max_signed_task_derivative_error"], + c["max_physical_norm_error"]) + for c in r["privileged_signed_full_task_jacobian_controls"].values()) + engineering.append( + factor_ok and c4<=.08 and c8<=.15 and max_read<=1e-6 + and r["factor_complete_GL_gauge_max_error"]<=2e-5 and max_tan<=1e-4 + ) + task = r["causal_by_depth"]["8"]["task_joint"] + weight = r["causal_by_depth"]["8"]["bpd_weight_svd"] + random = r["same_dose_random_K_controls_depth8"]["task_joint"] + signed = r["privileged_signed_full_task_jacobian_controls"]["8"] + portability.append( + eligible>=200 and task["donor_mse_eligible"] is not None + and task["donor_mse_eligible"]<=.8*weight["donor_mse_eligible"] + and task["donor_recovery_eligible"]>=random["mean_donor_recovery_eligible"]+.10 + ) + incremental.append( + eligible>=200 and task["donor_recovery_eligible"] >= + signed["mean_recovery_eligible"]+.05 + ) + return { + "engineering_roots_passed":sum(engineering), + "engineering_all_pass":len(rows)==4 and all(engineering), + "exploratory_unseen_depth_portability_roots":sum(portability), + "exploratory_unseen_depth_portability_gate_pass":len(rows)==4 and sum(portability)>=3, + "strong_incremental_vs_privileged_tangent_roots":sum(incremental), + "strong_incremental_gate_pass":len(rows)==4 and sum(incremental)>=3, + "independent_scientific_inference":"none; 4 same-source-family roots, uncalibrated", + } + + +def run(phase="excluded",factor_steps=FACTOR_STEPS,teacher_steps=TRAIN_STEPS, + n=TEST_SIZE,null_arms=32,tangent_arms=16): + if phase not in ("excluded","fresh"): + raise ValueError("only preregistered excluded/fresh phases") + seeds = EXCLUDED_ROOTS if phase=="excluded" else FRESH_ROOTS + torch.set_num_threads(1) + rows=[] + for seed in seeds: + teacher = train_teacher(seed,updates=teacher_steps) + first = fit_factors(teacher,seed,0,updates=factor_steps) + second = fit_factors(teacher,seed,1,updates=factor_steps) + rows.append(assay_seed(seed,teacher,first,second,n,null_arms,tangent_arms)) + result={ + "experiment":"CGC-02 trained task-protected recurrent causal subspaces", + "phase":phase,"evidence_class":("excluded development" if phase=="excluded" + else "4-root source-locked exploratory"), + "torch_version":torch.__version__, + "config":{"teacher_steps":teacher_steps,"factor_steps":factor_steps, + "heldout_pairs":n,"rank":RANK, + "calibration_examples":CAL_SIZE, + "depths":list(TEST_DEPTHS), + "random_null_arms":null_arms, + "signed_jacobian_null_arms":tangent_arms}, + "roots":list(seeds),"rows":rows, + } + if phase=="fresh": + result["registered_gates"]=engineering_and_science_gates(rows) + return result + + +if __name__ == "__main__": + p=argparse.ArgumentParser() + p.add_argument("--phase",choices=("excluded","fresh"),required=True) + p.add_argument("--teacher-steps",type=int,default=TRAIN_STEPS) + p.add_argument("--factor-steps",type=int,default=FACTOR_STEPS) + p.add_argument("--pairs",type=int,default=TEST_SIZE) + p.add_argument("--random-nulls",type=int,default=32) + p.add_argument("--tangent-nulls",type=int,default=16) + p.add_argument("--out",type=Path) + args=p.parse_args() + result=run(args.phase,args.factor_steps,args.teacher_steps,args.pairs, + args.random_nulls,args.tangent_nulls) + print(json.dumps(result,separators=(",",":"))) + if args.out: + args.out.write_text(json.dumps(result,indent=2)+"\n") From 707142ae6c50717d6b81e3b3f89ba972fef6a506 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:40:54 +0800 Subject: [PATCH 03/19] test(CGC-02): check exact full softmax preservation, real recurrent Jacobian and tangent-matched sham geometry --- .../cgc02/test_experiment.py | 135 ++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/test_experiment.py diff --git a/research/causal_gauge_compactification/cgc02/test_experiment.py b/research/causal_gauge_compactification/cgc02/test_experiment.py new file mode 100644 index 000000000..04a0d1fcd --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/test_experiment.py @@ -0,0 +1,135 @@ +"""CGC-02 source/engineering checks, excluded seed only.""" +from __future__ import annotations + +import unittest +import torch + +from research.causal_gauge_compactification.cgc02.experiment import ( + CAL_SIZE, D, FRESH_ROOTS, GRAM_WEIGHTS, KIDX, RANK, + RecurrentTeacher, assay_seed, fit_factors, matched_source_pairs, + physical_weight_basis, protected_coordinates, protected_project, + run, score_edit, source_batch, subspaces, tangent_matched_sham, + task_jacobian, top_task_basis, train_teacher, +) + + +class CGC02SourceEngineering(unittest.TestCase): + @classmethod + def setUpClass(cls): + torch.set_num_threads(1) + + def test_protected_full_softmax_exact_for_dark_edits(self): + state=torch.randn((64,D),generator=torch.Generator().manual_seed(100)) + raw=torch.randn((64,D),generator=torch.Generator().manual_seed(101))*.5 + dark=protected_project(raw) + left=RecurrentTeacher.protected(state) + right=RecurrentTeacher.protected(state+dark) + self.assertTrue(torch.equal(left,right)) + self.assertEqual(len(KIDX),D-2) + self.assertLess(float((protected_coordinates().T@protected_coordinates()- + torch.eye(len(KIDX))).abs().max()),1e-7) + + def test_matched_pair_changes_just_queried_private_value(self): + h,x,donor,target,dt=matched_source_pairs(3519,256) + self.assertTrue(torch.equal(x[:,2:],donor[:,2:])) + self.assertTrue((((x-donor).abs()>0).sum(1)==1).all()) + self.assertTrue(torch.equal(RecurrentTeacher.protected(h), + RecurrentTeacher.protected(h.clone()))) + self.assertTrue(((target-dt).abs().amax(1)>0).all()) + + def test_teacher_identical_shared_step_all_depths(self): + teacher=RecurrentTeacher(901) + h,x,_=source_batch(1307,32) + state=teacher.step(h,x) + zero=torch.zeros_like(x) + explicit=state + for _ in range(4): + explicit=teacher.step(explicit,zero) + implicit=teacher.no_op(state,4) + self.assertTrue(torch.allclose(explicit,implicit,atol=1e-7)) + self.assertEqual(tuple(teacher.task(implicit).shape),(32,2)) + self.assertTrue(torch.isfinite(implicit).all()) + + def test_ood_correlations_and_different_family(self): + _,x,_=source_batch(4081,1024,"train") + _,y,_=source_batch(4081,1024,"heldout_anticorrelated") + self.assertFalse(torch.equal(x,y)) + corr=torch.corrcoef(y[:,:2].T)[0,1] + self.assertLess(float(corr),-.85) + + def test_frozen_calibration_contains_no_unseen_depth(self): + self.assertEqual(tuple(GRAM_WEIGHTS.keys()),(2,4,6)) + self.assertEqual(CAL_SIZE,256) + self.assertEqual(RANK,2) + self.assertEqual(FRESH_ROOTS,(2601,2607,2617,2621)) + + def test_task_jacobian_is_true_recurrence_derivative(self): + teacher=RecurrentTeacher(901) + h,x,_=source_batch(1237,8) + s=teacher.step(h,x).detach() + j=task_jacobian(teacher,s,4) + v=torch.randn((8,len(KIDX)),generator=torch.Generator().manual_seed(501)) + d=torch.zeros_like(s) + d[:,list(KIDX)]=v + eps=1e-3 + with torch.no_grad(): + diff=(teacher.task(teacher.no_op(s+eps*d,4))- + teacher.task(teacher.no_op(s-eps*d,4)))/(2*eps) + predicted=(j@v.unsqueeze(-1)).squeeze(-1) + self.assertLess(float((diff-predicted).abs().max()),2e-3) + + def test_task_basis_global_spectrum_is_orthogonal(self): + g=torch.diag(torch.tensor([1.,2.,3.,9.,4.,.1,.1,.1,.1,.1])) + basis,gap,values=top_task_basis(g) + self.assertTrue(torch.allclose(basis.T@basis,torch.eye(2),atol=1e-6)) + self.assertGreater(gap,0) + self.assertTrue(torch.equal(basis[[0,4]],torch.zeros((2,2)))) + self.assertAlmostEqual(values[0],9.) + + def test_physical_svd_is_gauge_invariant(self): + generator=torch.Generator().manual_seed(90100) + V=torch.randn((32,D),generator=generator) + U=torch.randn((D,D),generator=generator) + R=torch.eye(D);R[0,1]=.7 + left=V@U;right=(V@R)@torch.linalg.solve(R,U) + a,_=physical_weight_basis(left) + b,_=physical_weight_basis(right) + self.assertLess(float((a@a.T-b@b.T).abs().max()),1e-4) + + def test_signed_full_task_jacobian_and_norm_sham(self): + g=torch.Generator().manual_seed(1343) + j=torch.randn((100,2,len(KIDX)),generator=g) + delta=protected_project(torch.randn((100,D),generator=g)) + sham,de,ne=tangent_matched_sham(j,delta,g) + self.assertLess(de,1e-5) + self.assertLess(ne,1e-5) + self.assertTrue(torch.equal(sham[:,[0,4]],torch.zeros((100,2)))) + self.assertGreater(float((sham-delta).norm()),.1) + + def test_score_edit_enforces_full_protected_readout(self): + teacher=RecurrentTeacher(901) + h,x,_=source_batch(90200,15) + rec=teacher.step(h,x) + delta=torch.zeros_like(rec) + delta[:,0]=.05 + with self.assertRaises(AssertionError): + score_edit(teacher,rec,rec,delta,torch.ones(15,dtype=torch.bool),2) + + def test_source_only_small_excluded_training_and_assay(self): + teacher=train_teacher(901,updates=8) + factors1=fit_factors(teacher,901,0,updates=20) + factors2=fit_factors(teacher,901,1,updates=20) + result=assay_seed(901,teacher,factors1,factors2,n=30,null_arms=2,tangent_arms=2) + self.assertEqual(result["seed"],901) + self.assertEqual(result["generated_pairs"],30) + self.assertEqual(set(result["causal_by_depth"]),{"2","4","6","8"}) + self.assertEqual(set(result["privileged_signed_full_task_jacobian_controls"]),{"4","8"}) + self.assertEqual(result["same_dose_random_K_controls_depth8"]["task_joint"]["arms"],2) + + def test_phase_guard(self): + with self.assertRaises(ValueError): + run("forbidden",teacher_steps=1,factor_steps=1,n=4,null_arms=1,tangent_arms=1) + + +if __name__=="__main__": + unittest.main() From 2df346aff1049579c06fdfc124a0236681733a6c Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:41:24 +0800 Subject: [PATCH 04/19] test(CGC-02): verify nine shared native BPD mask invocations and full physical donor swap at pinned BPD commit --- .../cgc02/native_bpd_parity.py | 111 ++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/native_bpd_parity.py diff --git a/research/causal_gauge_compactification/cgc02/native_bpd_parity.py b/research/causal_gauge_compactification/cgc02/native_bpd_parity.py new file mode 100644 index 000000000..7a644ea65 --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/native_bpd_parity.py @@ -0,0 +1,111 @@ +"""Actual BPDModel/TiedComponentLinear physical wrapper numerical parity. + +Requires pinned MoralityLabAI/BPD package checked out by hosted GitHub Actions: +f22a883144ee7d2caa2bd5d9936dd9e083c7f139. +No native fake or surrogate implementation is substituted if import fails. +""" +from __future__ import annotations + +import argparse +import json +import torch +from torch import nn + +from research.causal_gauge_compactification.cgc02.experiment import ( + D, WIDTH, XD, RecurrentTeacher, fit_factors, matched_source_pairs, + train_teacher, +) + + +class PhysicalCore(nn.Module): + def __init__(self, model): + super().__init__() + self.core=nn.Linear(WIDTH,D,bias=False) + with torch.no_grad(): + self.core.weight.copy_(model.C.T) + + def forward(self,features): + return self.core(features) + + +def native_parity(seed=901,train_steps=650,factor_steps=360,n=48): + if seed not in (901,902): + raise ValueError("native engineering is restricted to excluded roots") + from mechinterp.bpd.components import ( + BPDModel, PassMaskSchedule, ComponentIntervention, + ) + from mechinterp.bpd.config import AblationConfig + + torch.set_num_threads(1) + model=train_teacher(seed,updates=train_steps) + factors=fit_factors(model,seed,0,updates=factor_steps) + physical=factors[0]@factors[1] + native=BPDModel( + PhysicalCore(model),{"core":D},max_passes=9, + ablation=AblationConfig(mode="zero",sphere_rescale=False), + init_svd=False, + ) + wrapper=native.wrappers["core"] + h0,x,donor,_,_=matched_source_pairs(seed*741+77,n) + with torch.no_grad(): + wrapper.V.copy_(factors[0]) + wrapper.U.copy_(factors[1]) + schedule=PassMaskSchedule( + torch.ones(n,9,1,D),torch.zeros(n,9,1)) + direct=h0.clone() + actual=h0.clone() + with native.masked_components({"core":schedule}): + for i in range(9): + event=x if i==0 else torch.zeros_like(x) + phi_actual=model.features(actual,event) + write=native.target_model(phi_actual.unsqueeze(1))[:,0] + actual=actual+write + direct=direct+model.features(direct,event)@physical + rollout_error=float((actual-direct).abs().max()) + + # The target mode uses the original frozen C plus a full donor + # physical BPD factor write, independent of arbitrary factor gauge. + recipient_features=model.features(h0,x) + donor_features=model.features(h0,donor) + donor_acts=(donor_features@factors[0]).unsqueeze(1) + wrapper.mode="target" + wrapper.reset_pass_state(pass_offset=0) + wrapper.intervention=ComponentIntervention( + components=tuple(range(D)), + passes=frozenset({0}), + mode="swap_acts", + donor_acts=donor_acts, + ) + try: + swapped=native.target_model(recipient_features.unsqueeze(1))[:,0] + finally: + wrapper.intervention=None + expected=recipient_features@model.C+( + donor_features-recipient_features)@physical + swap_error=float((swapped-expected).abs().max()) + + result={ + "excluded_seed":seed, + "bpd_pin":"f22a883144ee7d2caa2bd5d9936dd9e083c7f139", + "native_nine_shared_invocations_max_error":rollout_error, + "native_full_component_donor_swap_max_error":swap_error, + "factor_weight_mse":float((physical-model.C).square().mean()), + "native_parity_pass":rollout_error<=1e-5 and swap_error<=1e-5, + } + if not result["native_parity_pass"]: + raise AssertionError(result) + return result + + +if __name__=="__main__": + p=argparse.ArgumentParser() + p.add_argument("--seed",type=int,default=901) + p.add_argument("--teacher-steps",type=int,default=650) + p.add_argument("--factor-steps",type=int,default=360) + p.add_argument("--out") + a=p.parse_args() + r=native_parity(a.seed,a.teacher_steps,a.factor_steps) + print(json.dumps(r,indent=2)) + if a.out: + from pathlib import Path + Path(a.out).write_text(json.dumps(r,indent=2)+"\n") From 81b4372c65d54472071a4bd2e5b0714bdb0194a5 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:42:19 +0800 Subject: [PATCH 05/19] docs(CGC-02): describe protected normalized readout, BPD native parity and exploratory depth transfer --- .../cgc02/README.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/README.md diff --git a/research/causal_gauge_compactification/cgc02/README.md b/research/causal_gauge_compactification/cgc02/README.md new file mode 100644 index 000000000..f426bbe52 --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/README.md @@ -0,0 +1,36 @@ +# CGC-02: trained protected causal dimension across recurrent depth + +[Source-locked exploratory protocol](PROTOCOL.md) · [CGC-01 mathematical theorems](../THEORY.md) · [BPD protected causal compactification issue #245](https://github.com/MoralityLabAI/Compactification-Theory/issues/245) + +CGC-02 trains a 12-state shared nonlinear recurrent transition, computes *actual* task-output Jacobians through its future shared-weight rollouts, and tests whether small protected physical subspaces selected on independent development data carry causal source changes across unseen recurrent depth. + +The actual current protected readout is the **complete three-class softmax** of the physical state coordinates (0,4,zero). Every candidate write is projected to the conservative exact affine fiber \`delta[0]=delta[4]=0\`; source/code asserts all normalized probabilities are unchanged. Future protected-output drift is measured independently at each rollout horizon. + +Each teacher gets two independent full-rank BPD physical factor fits \`V@U ≈ C\`, with gauge-sheared full matrix parity and rank-two physical **output SVD** comparisons. The dedicated [native BPD wrapper](native_bpd_parity.py) checks all-factor nine-pass masked execution and one full donor \`swap_acts\` at an immutable BPD commit. Arbitrary component singleton masks are **not** claimed gauge invariant. + +Two frozen task-conditioned subspaces are built from protected future task Jacobians on **256 development-only examples**: a rank-two depth-4 eigenspace, and a rank-two weighted depth-2/4/6 eigenspace. The BPD-weight-SVD rank-two and teacher-weight-SVD rank-two baselines are independent of task Jacobians. Paired source interventions and further recurrence are tested at depths 2,4,6 and **untrained depth 8** on an independently generated anti-correlated heldout source family. Report every generated and clean-eligible pair, task-oracle accuracy, source-donor readout, finite future protected drift, and one-step reduced-state closure defect. + +Controls include full physical BPD donor write, true physical teacher write, exact projected donor hidden state, zero edit, an independent random protected basis, 32 matched-dose random protected directions, and 16 **privileged full-two-task-Jacobian-and-dose matched** randomized directions at depths 4 and 8. Tangent-matched nulls are selected using the *evaluation teacher's Jacobian*, explicitly as a high-information control. A first-order task-space rank by itself is **not** an autonomous model-state quotient or a learned sparse BPD mechanism. + +Previous architecture tuning used excluded seeds **901 and 902** only. The fresh roots \`2601,2607,2617,2621\`, selector depths 2/4/6, rank two, depth-eight holdout, two-root factor refits, pair-source family and numerical gates were registered in [PROTOCOL.md](PROTOCOL.md) before training any fresh root. Four roots are exploratory and cannot establish 95/95 statistical significance. + +## Source-only and excluded engineering + +\`\`\`bash +python -m unittest discover -s research/causal_gauge_compactification/cgc02 -p 'test_*.py' -v +python -m research.causal_gauge_compactification.cgc02.experiment --phase excluded --out /tmp/cgc02_excluded.json +\`\`\` + +Native BPD parity additionally needs \`MoralityLabAI/BPD\` at pinned commit \`f22a883144ee7d2caa2bd5d9936dd9e083c7f139\` on \`PYTHONPATH\` and PyTorch installed: + +\`\`\`bash +python -m research.causal_gauge_compactification.cgc02.native_bpd_parity +\`\`\` + +The fresh prospective protocol uses: + +\`\`\`bash +python -m research.causal_gauge_compactification.cgc02.experiment --phase fresh --out /tmp/cgc02_fresh.json +\`\`\` + +Only hosted checks executed **after** the source hash freeze may establish a fresh-root receipt. The implementation is a small trained scalar source gym, not a pretrained TRM/Nanbeige benchmark, actual language privacy, verified Hessian certificate, or new physical state compression algorithm. From 218a20922562ebc3f52e3634b102e90be8692cb7 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:42:22 +0800 Subject: [PATCH 06/19] chore(CGC-02): register recurrent protected task-subspace experiment --- research/causal_gauge_compactification/cgc02/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 research/causal_gauge_compactification/cgc02/__init__.py diff --git a/research/causal_gauge_compactification/cgc02/__init__.py b/research/causal_gauge_compactification/cgc02/__init__.py new file mode 100644 index 000000000..fa6c99f3d --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/__init__.py @@ -0,0 +1 @@ +"""CGC-02 trained protected causal dimension across weight-tied depth.""" From fb94b25f5ba2ca2918d467251eca64faa49849db Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:42:52 +0800 Subject: [PATCH 07/19] chore(CGC-02): freeze trained teacher, BPD source, protected observer, controls and fresh roots pre-data --- .../cgc02/LOCK.json | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/LOCK.json diff --git a/research/causal_gauge_compactification/cgc02/LOCK.json b/research/causal_gauge_compactification/cgc02/LOCK.json new file mode 100644 index 000000000..14e42ea59 --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/LOCK.json @@ -0,0 +1,121 @@ +{ + "experiment": "CGC-02", + "date": "2026-11-18", + "status": "FROZEN_BEFORE_FRESH_FOUR_ROOT_TEACHER_TRAINING", + "science_question": "do rank-two protected task Jacobian subspaces chosen at training depths retain donor causal effects at unseen depth 8 beyond physical weight SVD and matched controls", + "source_blobs": { + "PROTOCOL.md": "9616ec88892cb6d83e0fe7f5ef26d3b80093cc33", + "experiment.py": "efae0143b4de870ff4338012b5c9551748a99495", + "test_experiment.py": "04a0d1fcd72d9a71e37504215cc05b6f493cbcb9", + "native_bpd_parity.py": "7a644ea654da85264d3d8d23f70e4904fe367d8a" + }, + "cgc01_source_blobs": { + "research/causal_gauge_compactification/finite_audit.py": "838c5dfa5573e5e9e3205dcc011d3cd25f57dee9", + "research/causal_gauge_compactification/THEORY.md": "5e88bec378729a32913a4547b5022d51304b68b4" + }, + "native_bpd_pin": "f22a883144ee7d2caa2bd5d9936dd9e083c7f139", + "excluded_design_roots": [ + 901, + 902 + ], + "fresh_exploratory_roots": [ + 2601, + 2607, + 2617, + 2621 + ], + "teacher_architecture": { + "state_dim": 12, + "feature_dim": 32, + "event_dim": 4, + "shared_physical_transition": true, + "source_write_passes": 1, + "supervised_future_depths": [ + 2, + 4, + 6 + ] + }, + "teacher_training": { + "updates": 650, + "batch": 128, + "lr": 0.008, + "task_weights": { + "2": 0.75, + "4": 1, + "6": 0.5 + }, + "public_coordinate_penalty_per_step": 0.025 + }, + "factors": { + "two_independent_refits": true, + "active_components": 12, + "updates": 360, + "lr": 0.03, + "full_physical_reconstruction": true + }, + "subspace_selection": { + "calibration_cases": 256, + "depth_4_single": true, + "multi_depth_weights": { + "2": 0.75, + "4": 1, + "6": 0.5 + }, + "primary_rank": 2, + "selected_from_test": false + }, + "protected_readout": { + "type": "all_three_class_softmax", + "head_logits": [ + "state[0]", + "state[4]", + "zero" + ], + "exact_projected_coordinates": [ + 0, + 4 + ], + "max_immediate_probability_error": 0.000001 + }, + "evaluation": { + "pairs_per_root": 512, + "family": "heldout_anticorrelated_scalar_source", + "depths": [ + 2, + 4, + 6, + 8 + ], + "primary_unseen_depth": 8, + "source_pair_changes_queried_scalar_only": true, + "clean_task_max_abs_error": 0.08, + "clean_donor_difference_min": 0.15, + "clean_current_protected_probability_gap_max": 0.02 + }, + "nulls": { + "same_norm_random_K": 32, + "privileged_full_signed_task_gradient_and_same_norm": 16, + "null_horizons": [ + 4, + 8 + ] + }, + "gates": { + "engineering_all_roots": 4, + "teacher_depth4_mae_max": 0.08, + "teacher_depth8_mae_max": 0.15, + "factor_weight_mse_max": 0.0001, + "complete_gauge_max_error": 0.00002, + "native_parity_max_error": 0.00001, + "tangent_matched_max_error": 0.0001, + "min_eligible_per_root_for_science": 200, + "min_passing_portability_roots": 3, + "portability_task_mse_vs_BPD_weight_SVD_ratio": 0.8, + "portability_recovery_advantage_vs_random_K": 0.1, + "min_passing_strong_incremental_roots": 3, + "strong_incremental_recovery_advantage_vs_privileged_tangent": 0.05 + }, + "evidence_class": "4-root prospective exploratory trained toy; no 95/95 calibration, no trained TRM or model privacy statement", + "sealed_ARG03_N_case_count_untouched": 168 +} From 2be18372e392c4fc0aed028086f1e4e6d8520e3f Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:43:28 +0800 Subject: [PATCH 08/19] ci(CGC-02): source-lock and run excluded trained roots with real pinned native BPD parity --- .github/workflows/cgc02-engineering.yml | 113 ++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 .github/workflows/cgc02-engineering.yml diff --git a/.github/workflows/cgc02-engineering.yml b/.github/workflows/cgc02-engineering.yml new file mode 100644 index 000000000..55ead3343 --- /dev/null +++ b/.github/workflows/cgc02-engineering.yml @@ -0,0 +1,113 @@ +name: CGC-02 source-locked trained recurrent engineering and native BPD parity + +on: + push: + branches: + - "research/cgc02-*" + paths: + - "research/causal_gauge_compactification/cgc02/**" + - ".github/workflows/cgc02-engineering.yml" + pull_request: + paths: + - "research/causal_gauge_compactification/cgc02/**" + - ".github/workflows/cgc02-engineering.yml" + workflow_dispatch: + +permissions: + contents: read + +jobs: + excluded-engineering: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + - name: Checkout immutable native BPD physical implementation + uses: actions/checkout@v4 + with: + repository: MoralityLabAI/BPD + ref: f22a883144ee7d2caa2bd5d9936dd9e083c7f139 + path: _vendor/bpd + persist-credentials: false + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install CPU scientific dependencies + run: python -m pip install "torch==2.5.1" "numpy>=1.26" + - name: Verify frozen prospective source and BPD pin + shell: bash + run: | + python - <<'PY' + import json,subprocess + from pathlib import Path + root=Path("research/causal_gauge_compactification/cgc02") + lock=json.loads((root/"LOCK.json").read_text()) + assert lock["status"]=="FROZEN_BEFORE_FRESH_FOUR_ROOT_TEACHER_TRAINING" + assert lock["fresh_exploratory_roots"]==[2601,2607,2617,2621] + assert lock["excluded_design_roots"]==[901,902] + for p,sha in lock["source_blobs"].items(): + got=subprocess.check_output(["git","hash-object",str(root/p)],text=True).strip() + assert got==sha,(p,got,sha) + for p,sha in lock["cgc01_source_blobs"].items(): + got=subprocess.check_output(["git","hash-object",p],text=True).strip() + assert got==sha,(p,got,sha) + native=subprocess.check_output(["git","-C","_vendor/bpd","rev-parse","HEAD"],text=True).strip() + assert native==lock["native_bpd_pin"],(native,lock["native_bpd_pin"]) + print("CGC-02 native BPD and new-root source registration SHA LOCK PASS") + PY + - name: Twelve CGC-02 source and geometric engineering unit tests + run: python -m unittest discover -s research/causal_gauge_compactification/cgc02 -p 'test_*.py' -v + - name: Real pinned BPDModel TiedComponentLinear native nine-pass parity + shell: bash + run: | + export PYTHONPATH="$GITHUB_WORKSPACE/_vendor/bpd:$GITHUB_WORKSPACE" + python -m research.causal_gauge_compactification.cgc02.native_bpd_parity \ + --seed 901 --out /tmp/cgc02_native.json + - name: Run ONLY previously used engineering roots 901 and 902 + run: | + python -m research.causal_gauge_compactification.cgc02.experiment \ + --phase excluded --teacher-steps 650 --factor-steps 360 \ + --pairs 512 --random-nulls 32 --tangent-nulls 16 \ + --out /tmp/cgc02_excluded.json > /tmp/cgc02_excluded_stdout.json + - name: Check excluded receipts, record every failure and null denominator + shell: bash + run: | + python - <<'PY' + import json,math + r=json.load(open("/tmp/cgc02_excluded.json")) + assert r["phase"]=="excluded" and r["roots"]==[901,902] + assert len(r["rows"])==2 + for row in r["rows"]: + assert row["generated_pairs"]==512 + assert 0<=row["eligibility"]["eligible"]<=512 + assert len(row["factor_physical_mse_by_restart"])==2 + for depth in ("2","4","6","8"): + assert set(row["causal_by_depth"][depth])=={ + "zero_edit","physical_BPD_full","physical_teacher_full", + "exact_dark_donor","task_joint","task_depth4", + "bpd_weight_svd","teacher_weight_svd","random_protected_basis" + } + for score in row["causal_by_depth"][depth].values(): + assert score["immediate_normalized_readout_max_error"]<=1e-6 + for k in ("4","8"): + null=row["privileged_signed_full_task_jacobian_controls"][k] + assert null["arms"]==16 + assert null["max_signed_task_derivative_error"]<=1e-4 + assert null["max_physical_norm_error"]<=1e-4 + print(json.dumps({ + "seed":row["seed"],"eligible":row["eligibility"]["eligible"], + "clean_k4_mae":row["clean_by_depth"]["4"]["recipient_task_mae_vs_oracle"], + "clean_k8_mae":row["clean_by_depth"]["8"]["recipient_task_mae_vs_oracle"], + "task_joint_k8_recovery":row["causal_by_depth"]["8"]["task_joint"]["donor_recovery_eligible"], + "physical_svd_k8_recovery":row["causal_by_depth"]["8"]["bpd_weight_svd"]["donor_recovery_eligible"], + "signed_tangent_k8_mean":row["privileged_signed_full_task_jacobian_controls"]["8"]["mean_recovery_eligible"], + })) + print("CGC-02 engineering complete on excluded seeds ONLY") + PY + - uses: actions/upload-artifact@v4 + if: always() + with: + name: cgc02-excluded-root-native-and-geometry + path: | + /tmp/cgc02_native.json + /tmp/cgc02_excluded.json From afc4935ba934484c4029519e86f4446bc9806531 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:46:06 +0800 Subject: [PATCH 09/19] fix(CGC-02): reverse clipped donor write at boundary to guarantee changed private scalar --- .../causal_gauge_compactification/cgc02/experiment.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/research/causal_gauge_compactification/cgc02/experiment.py b/research/causal_gauge_compactification/cgc02/experiment.py index efae0143b..085e5329a 100644 --- a/research/causal_gauge_compactification/cgc02/experiment.py +++ b/research/causal_gauge_compactification/cgc02/experiment.py @@ -54,7 +54,13 @@ def matched_source_pairs(seed: int, n: int): direction = torch.where(torch.rand(n, generator=g) < .5, -1., 1.) offset = direction * (.30 + .35*torch.rand(n, generator=g)) row = torch.arange(n) - donor[row, chosen] = (donor[row, chosen] + offset).clamp(-.8, .8) + old_value = donor[row, chosen] + new_value = (old_value+offset).clamp(-.8, .8) + # Exact boundary samples can turn an outward clipped write into a no-op. + # Reverse direction in that case so every registered source pair differs. + no_op = (new_value-old_value).abs() <= 1e-7 + new_value = torch.where(no_op, (old_value-offset).clamp(-.8, .8), new_value) + donor[row, chosen] = new_value a, b, role = donor[:, 0], donor[:, 1], donor[:, 2] donor_label = torch.stack( (torch.where(role > 0, a, b), .5*(a+b)+.2*a*b), dim=1) From 14bd732d37d9b0579722bd35f48d249842e8937a Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:46:23 +0800 Subject: [PATCH 10/19] chore(CGC-02): amend pre-fresh source hash for deterministic clipped-donor boundary repair --- .../cgc02/LOCK.json | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/research/causal_gauge_compactification/cgc02/LOCK.json b/research/causal_gauge_compactification/cgc02/LOCK.json index 14e42ea59..e4fdd6cd8 100644 --- a/research/causal_gauge_compactification/cgc02/LOCK.json +++ b/research/causal_gauge_compactification/cgc02/LOCK.json @@ -5,7 +5,7 @@ "science_question": "do rank-two protected task Jacobian subspaces chosen at training depths retain donor causal effects at unseen depth 8 beyond physical weight SVD and matched controls", "source_blobs": { "PROTOCOL.md": "9616ec88892cb6d83e0fe7f5ef26d3b80093cc33", - "experiment.py": "efae0143b4de870ff4338012b5c9551748a99495", + "experiment.py": "085e5329a393cb47e43559dc34dedeb9bf74a089", "test_experiment.py": "04a0d1fcd72d9a71e37504215cc05b6f493cbcb9", "native_bpd_parity.py": "7a644ea654da85264d3d8d23f70e4904fe367d8a" }, @@ -117,5 +117,27 @@ "strong_incremental_recovery_advantage_vs_privileged_tangent": 0.05 }, "evidence_class": "4-root prospective exploratory trained toy; no 95/95 calibration, no trained TRM or model privacy statement", - "sealed_ARG03_N_case_count_untouched": 168 + "sealed_ARG03_N_case_count_untouched": 168, + "pre_fresh_engineering_amendments": [ + { + "number": 1, + "original_lock_git_blob": "14e42ea5925f3d5d0f914b3505e85057739830b1", + "original_experiment_git_blob": "efae0143b4de870ff4338012b5c9551748a99495", + "repaired_experiment_git_blob": "085e5329a393cb47e43559dc34dedeb9bf74a089", + "failed_hosted_run": "https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44239296050", + "observed": "11/12 excluded source tests passed. Exact-boundary a=-0.8 with outward signed donor perturbation was clipped to the same source value. The matched-pair generator properly rejected a no-change donor.", + "fix": "When the clamped donor source equals the recipient source, reverse the registered signed displacement to guarantee a genuine source change.", + "fresh_roots_examined": 0, + "science_adjustment": false, + "unchanged": [ + "teacher architecture", + "training updates", + "calibration roster", + "fresh roots", + "rank and depth selection", + "null controls", + "thresholds" + ] + } + ] } From d35138128e4b40618dddcdbdbc450174807cd463 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:46:42 +0800 Subject: [PATCH 11/19] docs(CGC-02): preserve initial unit-test donor boundary failure and pre-fresh repair --- .../cgc02/ENGINEERING_AMENDMENT_01.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_01.md diff --git a/research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_01.md b/research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_01.md new file mode 100644 index 000000000..c75f0fdd1 --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_01.md @@ -0,0 +1,7 @@ +# CGC-02 engineering amendment 01: clipped donor source at exact boundary + +**2026-11-18, before any fresh root was trained or scored.** The original source lock Git blob is `14e42ea5925f3d5d0f914b3505e85057739830b1`. The initial [excluded-root hosted engineering run #44239296050](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44239296050) verified the BPD/source lock and passed 11 of 12 geometry/source unit tests. The remaining test generated one exact negative-boundary input (`a=-0.8`) with an outward negative donor displacement, and clamping produced an unchanged event. The intended donor-pair invariant correctly rejected this no-change case. This is a generator defect, detected **before native execution, excluded trained-root scoring, and any fresh 2601/2607/2617/2621 scientific model outcomes**. + +The single source change computes the clamped donor write and, if it equals the original private value, reverses the sampled signed displacement before re-clamping. The magnitude range, independent donor RNG, source family, exact source-oracle definition and all evaluation filters remain unchanged. The original `experiment.py` Git blob is `efae0143b4de870ff4338012b5c9551748a99495`; the amended source blob is `085e5329a393cb47e43559dc34dedeb9bf74a089`. + +[LOCK.json](LOCK.json) records both source hashes, this failed run and the unchanged science contract. **No new-root data have been examined at amendment time.** If any later engineering failure requires a repair after scientific scoring, it must be reported as post-data and the original outcomes retained. From b7089716a574b70b94a90d74d42b588707529215 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:47:34 +0800 Subject: [PATCH 12/19] ci(CGC-02): isolate CGC-01 numpy-only theorem tests from newly added torch experiment tests --- .github/workflows/cgc01-source-math.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cgc01-source-math.yml b/.github/workflows/cgc01-source-math.yml index 4de05ab4d..0e372db58 100644 --- a/.github/workflows/cgc01-source-math.yml +++ b/.github/workflows/cgc01-source-math.yml @@ -28,7 +28,7 @@ jobs: - name: Install source-only numerical dependency run: python -m pip install "numpy>=1.26,<3" - name: Eighteen independent analytic and exact-rational checks - run: python -m unittest discover -s research/causal_gauge_compactification -p 'test_*.py' -v + run: python -m unittest discover -s research/causal_gauge_compactification -p 'test_finite_audit.py' -v - name: Reproduce pinned toy quotient and protected causal spectrum run: python research/causal_gauge_compactification/finite_audit.py - name: Verify source-only receipt by recomputation From c3686fbccb9db242c3c959879973c810396612ff Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:47:50 +0800 Subject: [PATCH 13/19] docs(CGC-02): document pre-fresh CGC-01 recursive test discovery isolation --- .../cgc02/ENGINEERING_AMENDMENT_02.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_02.md diff --git a/research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_02.md b/research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_02.md new file mode 100644 index 000000000..c82827a0f --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/ENGINEERING_AMENDMENT_02.md @@ -0,0 +1,7 @@ +# CGC-02 engineering amendment 02: preserve CGC-01 NumPy-only source checks + +**November 18, 2026.** CGC-01's source-only [original 18-test job](https://github.com/MoralityLabAI/Compactification-Theory/blob/main/.github/workflows/cgc01-source-math.yml) installed only NumPy and used broad recursive `test_*.py` discovery. Adding CGC-02's distinct PyTorch package under `research/causal_gauge_compactification/cgc02/` caused that job to import `cgc02/test_experiment.py` and fail with `ModuleNotFoundError: torch` (example [run #44239637130](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44239637130)). The prior exact rational CGC-01 source/math test definitions and verified receipt were unchanged. + +This CI-only amendment changes the CGC-01 discovery glob from `test_*.py` to `test_finite_audit.py`, retaining **precisely the 18 original CGC-01 tests** in the lightweight NumPy job. All CGC-02 PyTorch source, geometric and native BPD tests execute in the separately source-locked `cgc02-engineering.yml` job. Both workflows remain required for a clean PR. + +This amendment does not change either mathematical theorem, synthetic teacher physics, test-root roster, rank selection, science criteria or earlier CGC-01 evidence. It was made **before training CGC-02's four fresh roots**. From 78203c679c54aaab48a15173474ac6069d35b85b Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:49:23 +0800 Subject: [PATCH 14/19] ci(CGC-02): launch first SHA-locked four fresh teachers with heldout depth-eight tests and negative gate receipts --- .github/workflows/cgc02-fresh.yml | 107 ++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 .github/workflows/cgc02-fresh.yml diff --git a/.github/workflows/cgc02-fresh.yml b/.github/workflows/cgc02-fresh.yml new file mode 100644 index 000000000..4cca0a756 --- /dev/null +++ b/.github/workflows/cgc02-fresh.yml @@ -0,0 +1,107 @@ +name: CGC-02 registered four fresh recurrent-root depth-8 causal audit + +on: + push: + branches: + - "research/cgc02-*" + paths: + - ".github/workflows/cgc02-fresh.yml" + workflow_dispatch: + +permissions: + contents: read + +jobs: + registered-four-roots: + runs-on: ubuntu-latest + timeout-minutes: 18 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install pinned CPU Torch + run: python -m pip install "torch==2.5.1" "numpy>=1.26,<3" + - name: Verify frozen pre-data protocol and pre-fresh engineering repair + shell: bash + run: | + python - <<'PY' + import json,subprocess + from pathlib import Path + root=Path("research/causal_gauge_compactification/cgc02") + lock=json.loads((root/"LOCK.json").read_text()) + assert lock["status"]=="FROZEN_BEFORE_FRESH_FOUR_ROOT_TEACHER_TRAINING" + assert lock["fresh_exploratory_roots"]==[2601,2607,2617,2621] + assert lock["excluded_design_roots"]==[901,902] + assert lock["pre_fresh_engineering_amendments"][0]["fresh_roots_examined"]==0 + assert lock["native_bpd_pin"]=="f22a883144ee7d2caa2bd5d9936dd9e083c7f139" + for path,expected in lock["source_blobs"].items(): + actual=subprocess.check_output(["git","hash-object",str(root/path)],text=True).strip() + assert actual==expected,(path,actual,expected) + for path,expected in lock["cgc01_source_blobs"].items(): + actual=subprocess.check_output(["git","hash-object",path],text=True).strip() + assert actual==expected,(path,actual,expected) + print("CGC-02 FRESH source SHA LOCK VERIFIED; 901/902 excluded") + PY + - name: Recheck the registered task Jacobian and protected softmax geometry + run: | + python -m unittest discover \ + -s research/causal_gauge_compactification/cgc02 -p 'test_*.py' -v + - name: Train four new teachers and perform first registered depth-eight replay + shell: bash + run: | + python -m research.causal_gauge_compactification.cgc02.experiment \ + --phase fresh --teacher-steps 650 --factor-steps 360 \ + --pairs 512 --random-nulls 32 --tangent-nulls 16 \ + --out /tmp/cgc02_fresh_4root.json > /tmp/cgc02_stdout.json + - name: Independently print registered engineering and science gate ledger + shell: bash + run: | + python - <<'PY' + import json,math + from pathlib import Path + x=json.loads(Path("/tmp/cgc02_fresh_4root.json").read_text()) + assert x["roots"]==[2601,2607,2617,2621], x["roots"] + assert x["phase"]=="fresh" and len(x["rows"])==4 + assert x["config"]["depths"]==[2,4,6,8] and x["config"]["rank"]==2 + gates=x["registered_gates"] + for row in x["rows"]: + assert row["generated_pairs"]==512 + n=row["eligibility"]["eligible"] + assert 0<=n<=512 + assert len(row["factor_physical_mse_by_restart"])==2 + for depth in ("2","4","6","8"): + for name,score in row["causal_by_depth"][depth].items(): + assert score["immediate_normalized_readout_max_error"]<=1e-6,(row["seed"],name,depth) + assert math.isfinite(score["donor_mse_all"]) + for depth in ("4","8"): + matched=row["privileged_signed_full_task_jacobian_controls"][depth] + assert matched["arms"]==16 + assert matched["max_signed_task_derivative_error"]<=1e-4 + assert matched["max_physical_norm_error"]<=1e-4 + task=row["causal_by_depth"]["8"]["task_joint"] + weight=row["causal_by_depth"]["8"]["bpd_weight_svd"] + random=row["same_dose_random_K_controls_depth8"]["task_joint"] + tangent=row["privileged_signed_full_task_jacobian_controls"]["8"] + print("CGC02_ROOT="+json.dumps({ + "seed":row["seed"],"eligible":n, + "clean_k4_mae":row["clean_by_depth"]["4"]["recipient_task_mae_vs_oracle"], + "clean_k8_mae":row["clean_by_depth"]["8"]["recipient_task_mae_vs_oracle"], + "task_joint_k8_mse":task["donor_mse_eligible"], + "weight_svd_k8_mse":weight["donor_mse_eligible"], + "task_joint_k8_recovery":task["donor_recovery_eligible"], + "weight_svd_k8_recovery":weight["donor_recovery_eligible"], + "random_sham_k8_recovery":random["mean_donor_recovery_eligible"], + "signed_jacobian_sham_k8_recovery":tangent["mean_recovery_eligible"], + "one_step_task_quotient_defect":row["reduced_zero_fill_one_step_closure_defects"]["task_joint"], + })) + print("CGC02_GATES="+json.dumps(gates,sort_keys=True)) + print("CGC-02 source-registered 4-root replay finished; science failure does not suppress receipt") + PY + - uses: actions/upload-artifact@v4 + if: always() + with: + name: cgc02-fresh-four-root-protected-depth-eight-receipt + path: | + /tmp/cgc02_fresh_4root.json + /tmp/cgc02_stdout.json From 923c4ee5e2dcc988267e9c17a446d52458d66ddc Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:55:43 +0800 Subject: [PATCH 15/19] results(CGC-02): publish first four-root depth-eight portability and tangent-incremental negative result --- .../cgc02/RESULTS.md | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/RESULTS.md diff --git a/research/causal_gauge_compactification/cgc02/RESULTS.md b/research/causal_gauge_compactification/cgc02/RESULTS.md new file mode 100644 index 000000000..c9f0f536b --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/RESULTS.md @@ -0,0 +1,54 @@ +# CGC-02: registered trained protected causal rank fails unseen-depth portability + +**2026-11-18 first fresh-root exploratory receipt.** The [registered hosted run #44239969004](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44239969004) verified the frozen [LOCK.json](LOCK.json) against Git blobs before fitting any fresh teacher. It passed all **12 source/geometry tests**, trained the four predeclared independent roots \`2601,2607,2617,2621\`, and archived [full raw four-root JSON](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44239969004/artifacts/14398059500) (extracted JSON SHA-256 \`bc309cef503a30d778f992f2e7e4e764b1336dd19636e344d36c5ceb6817f070\`). PyTorch 2.5.1+cu124 CPU, one thread; all train/eval root IDs are present in the raw receipt. The separate excluded-engineering [native BPD run](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44239667587) passed 12 tests, actual nine-invocation full-mask parity (max 4.17e-7) and full-component donor swap parity (max 8.94e-8). + +The original clipped-donor edge case and NumPy-only CGC-01 test discovery conflict were fixed **before fresh data**, with their failed runs and pre-data amendments preserved in [ENGINEERING_AMENDMENT_01.md](ENGINEERING_AMENDMENT_01.md) and [ENGINEERING_AMENDMENT_02.md](ENGINEERING_AMENDMENT_02.md). The CGC-01 math tests have their own successful, unchanged 18-test regression. + +## Registered gates + +| Gate | Result | Registered criterion | +|---|---:|---| +| Engineering (teacher, physical BPD factors, gauge, full protected readout, signed-Jacobian controls) | **PASS 4/4 roots** | 4/4 | +| Exploratory unseen-depth task-subspace portability | **FAIL 1/4 roots** | ≥3/4 | +| Incremental mechanism advantage over privileged full-task Jacobian matched controls | **FAIL 0/4 roots** | ≥3/4 | +| Independent root-calibrated 95/95 effect inference | **Not claimed** | Requires separate prospective ≥59 null roots and ≥32 confirmation | + +Both independent physical BPD \`V@U\` refits per root achieved full shared-weight matrix MSE ≤3.46e-8. Complete factor-gauge transformation and physical weight-SVD projector comparisons were stable within numerical tolerance. The **entire three-class normalized current protected readout was invariant to every declared intervention** (observed maximum immediate probability difference 0.0), because the edit occupies an exact affine protected subkernel. Signed two-output task-Jacobian matching residuals were ≤1e-15. + +## Same teacher, different future horizon + +The teacher was supervised at post-write depths 2/4/6; depth 8 was held out from training *and* task-subspace calibration. The rank-two task block was selected using 256 fresh training-family calibration examples per root, from the eigenspace of the mean task-observability Gramian \`0.75 G_2+G_4+0.5 G_6\`. The output-weight BPD SVD block was selected from the **independently fitted physical matrix** without task gradients. The test source family has anti-correlated input scalars but the same source alphabet and independent exact target oracle. + +| Fresh teacher root | Eligible source-donor pairs / 512 | Clean teacher depth-8 task MAE | Task-conditioned rank-2 donor recovery at depth 4 | Same block at unseen depth 8 | BPD physical weight-SVD rank-2 at depth 8 | Privileged two-task signed-Jacobian sham mean at depth 8 | +|---:|---:|---:|---:|---:|---:|---:| +| 2601 | 442 | 0.01934 | 100% | **5.88%** | 75.11% | 6.08% | +| 2607 | 455 | 0.04206 | 100% | **9.23%** | 22.42% | 9.23% | +| 2617 | 432 | 0.03276 | 100% | **25.23%** | 91.67% | 24.90% | +| 2621 | 389 | 0.03374 | 100% | **19.28%** | 5.14% | 19.28% | +| **Root mean** | 1,718 eligible / 2,048 total generated | | **100%** | **14.91%** | **48.58%** | approximately **14.90%** | + +All eligibility counts arose from the **preregistered clean depth-4 target-correct, donor-target-different and current-full-softmax-close** filters. Every root exceeded the minimum 200 eligible cases. The task-conditioned block's mean eligible donor MSE at depth 8 was **0.01353**, compared with **0.01088** for physical BPD weight-SVD rank two. The full reconstructed physical BPD write recovered 100% of eligible donor model outputs at *both* depths 4 and 8, as did the full true teacher write and projected exact donor state. The full physical match is a **weight-reconstruction control** and does not establish sparse BPD mechanism identification. + +At supervised depth 4 the task-selected rank-two block achieved mean eligible MSE **7.48e-5**, while the rank-two BPD weight-SVD baseline averaged **0.01054**. Thus the superior first-order task subspace around supervised depths can fail drastically outside its selection horizon. At depth 8 the physical SVD baseline performs much better on three roots and much worse on root 2621, illustrating important model-to-model variation rather than a stable rank-two winner. + +## Why local rank and exact protected readout do not certify a recurrent mechanism + +The task-conditioned Gramian \`G=E[J^T J]\` optimizes a declared **first-order task response** objective at its selected depth/source distribution. It does not enforce invariance of the chosen subspace under the learned physical shared recurrence. Our independent *public-anchored zero-fill one-step closure* diagnostic for the selected task block gives nonzero mean projected-state defects **0.00938, 0.00949, 0.01151, 0.01378**, respectively. These numerical defects are descriptive; no certified global Lipschitz/Hessian bound or autonomous reduced dynamics is established. + +The privileged null control selects random protected directions to match the **entire signed 2D task Jacobian response and physical L2 dose** of the frozen task subspace. It closely reproduces the selected edit's depth-8 donor recovery across all four roots, with differences of approximately -0.20, 0.00, +0.33 and 0.00 **percentage points**. The registered stronger incremental gate therefore fails **0/4**, independently of the weight-SVD comparison. Reconstructing the same future task derivative explains essentially all measured rank-two task-subspace success in this gym. + +The first protected softmax is preserved **exactly** at the injection step because the selected physical subkernel zeroes its two variable logits. Future normalized public readouts can change under recurrence, and the experiment reports that drift separately. The limited three-class scalar toy does not supply transcript privacy, multi-token normalized-logit closure or proof of genuine learned secret-keeping. + +## Mathematical implication for Compactification-Theory + +**CGC-01's local Eckart–Young rank theorem remains valid.** CGC-02 identifies its key additional obligation for compact recurrent reasoning: the task-relevant block must also provide an approximately **closed dynamical quotient** over the intended horizon and source families. One natural next quantity is the **temporal principal-angle drift** between the development-selected protected task projector and a later-horizon protected task response eigenspace. The triangle-inequality bound +\[ +\|J_k(I-\Pi_{\rm dev})\|_{\rm op} +\le \sigma_{r+1}(J_k)+ +\|J_k\|_{\rm op}\|\Pi_{k,r}-\Pi_{\rm dev}\|_{\rm op} +\] +shows that even a small local singular tail can coexist with a large mismatch for a **frozen** earlier projector if task directions rotate with recurrent depth. This is a deduction from linear algebra, not a measured or certified angle in CGC-02. + +A prospective follow-up should freeze a time-transport/closure penalty for physical BPD/SAE blocks, measure protected task spectra across independently trained model roots, and score unseen horizons with the same privileged signed-Jacobian controls. It should compare task-ranked blocks, physical weight-SVD, same-dose controls, independently refitted factor gauges and a separately trained *autonomous* reduced transition with an explicit description/state/precision budget. The 59-root independent tolerance and source-family-disjoint 32-root confirmation are future protocols, not available conclusions. + +**Scope:** four fresh but same-source-family synthetic recurrent model roots, a learned physical BPD matrix with all factors active, a simple three-class softmax observer, and no newly trained real TRM/Nanbeige. Existing NOR/SMC/LSV, BPD SF03 0/32 and SF04 3/8 negative receipts and the sealed 168-case ARG-03-N dataset are unchanged. From cf8dd50dc05507862804d0038b276817063f8e54 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:56:39 +0800 Subject: [PATCH 16/19] ci(CGC-02): archive byte-verified first-run four-root raw JSON into the research PR branch --- .github/workflows/cgc02-archive.yml | 67 +++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 .github/workflows/cgc02-archive.yml diff --git a/.github/workflows/cgc02-archive.yml b/.github/workflows/cgc02-archive.yml new file mode 100644 index 000000000..3d29fd8ef --- /dev/null +++ b/.github/workflows/cgc02-archive.yml @@ -0,0 +1,67 @@ +name: CGC-02 archive first registered full raw four-root receipt + +on: + push: + branches: + - "research/cgc02-protected-recurrent-depth-20261118" + paths: + - ".github/workflows/cgc02-archive.yml" + workflow_dispatch: + +permissions: + contents: write + actions: read + +jobs: + immutable-raw-receipt: + runs-on: ubuntu-latest + timeout-minutes: 8 + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: true + - name: Fetch original registered first-run Actions artifact + shell: bash + env: + GH_TOKEN: ${{ github.token }} + run: | + mkdir -p "$RUNNER_TEMP/cgc02receipt" + gh run download 44239969004 \ + --repo MoralityLabAI/Compactification-Theory \ + --name cgc02-fresh-four-root-protected-depth-eight-receipt \ + --dir "$RUNNER_TEMP/cgc02receipt" + - name: Verify source gate, root roster and byte-for-byte artifact hash + shell: bash + run: | + python - <<'PY' + import json,hashlib,os + from pathlib import Path + root=Path("research/causal_gauge_compactification/cgc02") + path=Path(os.environ["RUNNER_TEMP"])/"cgc02receipt"/"cgc02_fresh_4root.json" + raw=path.read_bytes() + sha=hashlib.sha256(raw).hexdigest() + assert sha=="bc309cef503a30d778f992f2e7e4e764b1336dd19636e344d36c5ceb6817f070",(sha,len(raw)) + data=json.loads(raw) + assert data["phase"]=="fresh" and data["roots"]==[2601,2607,2617,2621] + assert len(data["rows"])==4 + assert data["registered_gates"]["engineering_roots_passed"]==4 + assert data["registered_gates"]["exploratory_unseen_depth_portability_roots"]==1 + assert data["registered_gates"]["strong_incremental_vs_privileged_tangent_roots"]==0 + assert json.loads((root/"LOCK.json").read_text())["fresh_exploratory_roots"]==[2601,2607,2617,2621] + dest=root/"results"/"fresh_4root.json" + dest.parent.mkdir(exist_ok=True,parents=True) + dest.write_bytes(raw) + print("CGC-02 RAW SHA VERIFIED AND STAGED:",sha,"bytes",len(raw)) + PY + - name: Commit immutable full JSON science receipt to this PR branch + shell: bash + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add research/causal_gauge_compactification/cgc02/results/fresh_4root.json + if git diff --cached --quiet; then + echo "Receipt already committed" + else + git commit -m "results(CGC-02): archive byte-verified four-root first-run full raw science receipt" + git push origin HEAD:research/cgc02-protected-recurrent-depth-20261118 + fi From 5240ec39ab518571fc22e557ae2b8f966aaebd7b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 04:56:52 +0000 Subject: [PATCH 17/19] results(CGC-02): archive byte-verified four-root first-run full raw science receipt --- .../cgc02/results/fresh_4root.json | 1918 +++++++++++++++++ 1 file changed, 1918 insertions(+) create mode 100644 research/causal_gauge_compactification/cgc02/results/fresh_4root.json diff --git a/research/causal_gauge_compactification/cgc02/results/fresh_4root.json b/research/causal_gauge_compactification/cgc02/results/fresh_4root.json new file mode 100644 index 000000000..8006eb966 --- /dev/null +++ b/research/causal_gauge_compactification/cgc02/results/fresh_4root.json @@ -0,0 +1,1918 @@ +{ + "experiment": "CGC-02 trained task-protected recurrent causal subspaces", + "phase": "fresh", + "evidence_class": "4-root source-locked exploratory", + "torch_version": "2.5.1+cu124", + "config": { + "teacher_steps": 650, + "factor_steps": 360, + "heldout_pairs": 512, + "rank": 2, + "calibration_examples": 256, + "depths": [ + 2, + 4, + 6, + 8 + ], + "random_null_arms": 32, + "signed_jacobian_null_arms": 16 + }, + "roots": [ + 2601, + 2607, + 2617, + 2621 + ], + "rows": [ + { + "seed": 2601, + "training_family": "independent_scalar_source", + "evaluation_family": "heldout_anticorrelated_scalar_source", + "generated_pairs": 512, + "eligibility": { + "recipient_clean_task_correct": 490, + "donor_clean_task_correct": 478, + "both_clean_task_correct": 464, + "clean_future_donor_change": 472, + "clean_current_full_softmax_gap_within_0p02": 512, + "eligible": 442, + "mean_clean_current_softmax_difference": 0.004054275341331959 + }, + "factor_physical_mse_by_restart": [ + 1.5856399862574359e-16, + 1.804652795566448e-16 + ], + "factor_complete_GL_gauge_max_error": 1.4901161193847656e-08, + "subspace_selection": { + "task_joint_gap": 5.3682814689107134, + "task_depth4_gap": 2.619744581814482, + "bpd_weight_svd_gap": 0.07901977765087054, + "teacher_weight_svd_gap": 0.07901976115244813, + "factor_restart_weight_svd_projector_distance": 5.03109163219051e-07, + "task_joint_leading_eigenvalues": [ + 8.689002209950416, + 5.640883527349483, + 0.27260205843876933, + 0.16203268709633223, + 0.004359246403908902, + 0.0018361953521495201 + ], + "calibration_examples": 256, + "calibration_depths": [ + 2, + 4, + 6 + ] + }, + "reduced_zero_fill_one_step_closure_defects": { + "task_joint": 0.009378531947731972, + "task_depth4": 0.009923386387526989, + "bpd_weight_svd": 0.03163976967334747, + "teacher_weight_svd": 0.031639765948057175, + "random_protected_basis": 0.07141377031803131 + }, + "clean_by_depth": { + "2": { + "recipient_task_mae_vs_oracle": 0.017800085246562958, + "donor_task_mae_vs_oracle": 0.02159746363759041 + }, + "4": { + "recipient_task_mae_vs_oracle": 0.015223950147628784, + "donor_task_mae_vs_oracle": 0.019642166793346405 + }, + "6": { + "recipient_task_mae_vs_oracle": 0.014644819311797619, + "donor_task_mae_vs_oracle": 0.018701927736401558 + }, + "8": { + "recipient_task_mae_vs_oracle": 0.019338319078087807, + "donor_task_mae_vs_oracle": 0.02509673684835434 + } + }, + "causal_by_depth": { + "2": { + "zero_edit": { + "eligible": 442, + "donor_mse_eligible": 0.12596502900123596, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11372797936201096, + "donor_recovery_all": 0.0546875, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 442, + "donor_mse_eligible": 4.408352106111124e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.972568083554506e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0030878738034516573 + }, + "physical_teacher_full": { + "eligible": 442, + "donor_mse_eligible": 4.408351378515363e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.9725677197566256e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186402320862, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0030878745019435883 + }, + "exact_dark_donor": { + "eligible": 442, + "donor_mse_eligible": 4.408354652696289e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.972570630139671e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0030878742691129446 + }, + "task_joint": { + "eligible": 442, + "donor_mse_eligible": 0.005643328186124563, + "donor_recovery_eligible": 0.6312217116355896, + "donor_mse_all": 0.0051398202776908875, + "donor_recovery_all": 0.666015625, + "mean_physical_dose": 0.22495180368423462, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.00439979275688529 + }, + "task_depth4": { + "eligible": 442, + "donor_mse_eligible": 0.005582589190453291, + "donor_recovery_eligible": 0.7013574838638306, + "donor_mse_all": 0.005082945805042982, + "donor_recovery_all": 0.7265625, + "mean_physical_dose": 0.2242051661014557, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.004296280909329653 + }, + "bpd_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.0009638576302677393, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0008685548091307282, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.004989766050130129 + }, + "teacher_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.0009638585615903139, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0008685555658303201, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0049897655844688416 + }, + "random_protected_basis": { + "eligible": 442, + "donor_mse_eligible": 0.1196264922618866, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.1080370768904686, + "donor_recovery_all": 0.05859375, + "mean_physical_dose": 0.06750298291444778, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0006518198060803115 + } + }, + "4": { + "zero_edit": { + "eligible": 442, + "donor_mse_eligible": 0.12629283964633942, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11401991546154022, + "donor_recovery_all": 0.0546875, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 442, + "donor_mse_eligible": 0.00010957812628475949, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 9.875638352241367e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0025458084419369698 + }, + "physical_teacher_full": { + "eligible": 442, + "donor_mse_eligible": 0.0001095781844924204, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 9.875644173007458e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186402320862, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0025458091404289007 + }, + "exact_dark_donor": { + "eligible": 442, + "donor_mse_eligible": 0.000109578286355827, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 9.875652904156595e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0025458093732595444 + }, + "task_joint": { + "eligible": 442, + "donor_mse_eligible": 3.795461816480383e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.4425349440425634e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.22495180368423462, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.005557110533118248 + }, + "task_depth4": { + "eligible": 442, + "donor_mse_eligible": 0.00010325115727027878, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 9.320144454250112e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2242051661014557, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.005403244402259588 + }, + "bpd_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.0014581733848899603, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.001321504358202219, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.005751648917794228 + }, + "teacher_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.0014581738505512476, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0013215047074481845, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.00575164845213294 + }, + "random_protected_basis": { + "eligible": 442, + "donor_mse_eligible": 0.1141035407781601, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.10296208411455154, + "donor_recovery_all": 0.05859375, + "mean_physical_dose": 0.06750298291444778, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0011823802487924695 + } + }, + "6": { + "zero_edit": { + "eligible": 442, + "donor_mse_eligible": 0.12635420262813568, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11405398696660995, + "donor_recovery_all": 0.0546875, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 442, + "donor_mse_eligible": 0.0002337248151889071, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00021063070744276047, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0028291838243603706 + }, + "physical_teacher_full": { + "eligible": 442, + "donor_mse_eligible": 0.00023372498981188983, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00021063086751382798, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186402320862, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002829184988513589 + }, + "exact_dark_donor": { + "eligible": 442, + "donor_mse_eligible": 0.00023372510622721165, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00021063095482531935, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0028291845228523016 + }, + "task_joint": { + "eligible": 442, + "donor_mse_eligible": 0.0037010740488767624, + "donor_recovery_eligible": 0.773755669593811, + "donor_mse_all": 0.0033655064180493355, + "donor_recovery_all": 0.794921875, + "mean_physical_dose": 0.22495180368423462, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.00684262765571475 + }, + "task_depth4": { + "eligible": 442, + "donor_mse_eligible": 0.003986210096627474, + "donor_recovery_eligible": 0.7149321436882019, + "donor_mse_all": 0.0036235377192497253, + "donor_recovery_all": 0.7421875, + "mean_physical_dose": 0.2242051661014557, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0066137476824223995 + }, + "bpd_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.0029421651270240545, + "donor_recovery_eligible": 0.9547511339187622, + "donor_mse_all": 0.0026834500022232533, + "donor_recovery_all": 0.951171875, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.007091661915183067 + }, + "teacher_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.002942165359854698, + "donor_recovery_eligible": 0.9547511339187622, + "donor_mse_all": 0.0026834500022232533, + "donor_recovery_all": 0.951171875, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.007091660052537918 + }, + "random_protected_basis": { + "eligible": 442, + "donor_mse_eligible": 0.11008131504058838, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.0992315411567688, + "donor_recovery_all": 0.064453125, + "mean_physical_dose": 0.06750298291444778, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0018347208388149738 + } + }, + "8": { + "zero_edit": { + "eligible": 442, + "donor_mse_eligible": 0.13137444853782654, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11855781823396683, + "donor_recovery_all": 0.0546875, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 442, + "donor_mse_eligible": 0.00047601055121049285, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0004289709613658488, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.004453528672456741 + }, + "physical_teacher_full": { + "eligible": 442, + "donor_mse_eligible": 0.0004760109295602888, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00042897125240415335, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186402320862, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.004453530069440603 + }, + "exact_dark_donor": { + "eligible": 442, + "donor_mse_eligible": 0.00047601101687178016, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0004289713688194752, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3318186104297638, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.004453529138118029 + }, + "task_joint": { + "eligible": 442, + "donor_mse_eligible": 0.013207763433456421, + "donor_recovery_eligible": 0.05882352963089943, + "donor_mse_all": 0.012008316814899445, + "donor_recovery_all": 0.15234375, + "mean_physical_dose": 0.22495180368423462, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.008879928849637508 + }, + "task_depth4": { + "eligible": 442, + "donor_mse_eligible": 0.013362575322389603, + "donor_recovery_eligible": 0.05429864302277565, + "donor_mse_all": 0.012146923691034317, + "donor_recovery_all": 0.1484375, + "mean_physical_dose": 0.2242051661014557, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.008555284701287746 + }, + "bpd_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.005127711687237024, + "donor_recovery_eligible": 0.7511312365531921, + "donor_mse_all": 0.004680303856730461, + "donor_recovery_all": 0.771484375, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.009754043072462082 + }, + "teacher_weight_svd": { + "eligible": 442, + "donor_mse_eligible": 0.005127711687237024, + "donor_recovery_eligible": 0.7511312365531921, + "donor_mse_all": 0.004680303856730461, + "donor_recovery_all": 0.771484375, + "mean_physical_dose": 0.31535011529922485, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.009754043072462082 + }, + "random_protected_basis": { + "eligible": 442, + "donor_mse_eligible": 0.1129586473107338, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.1017138883471489, + "donor_recovery_all": 0.064453125, + "mean_physical_dose": 0.06750298291444778, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0027636766899377108 + } + } + }, + "same_dose_random_K_controls_depth8": { + "task_joint": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.015271493728505448, + "maximum_donor_recovery_eligible": 0.031674209982156754, + "mean_donor_mse_eligible": 0.17251054802909493 + }, + "bpd_weight_svd": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.027856335596879944, + "maximum_donor_recovery_eligible": 0.0429864265024662, + "mean_donor_mse_eligible": 0.21108937496319413 + } + }, + "privileged_signed_full_task_jacobian_controls": { + "4": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 1.0, + "best_recovery_eligible": 1.0, + "max_signed_task_derivative_error": 5.551115123125783e-16, + "max_physical_norm_error": 1.1102230246251565e-16 + }, + "8": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 0.06080316752195358, + "best_recovery_eligible": 0.06108597293496132, + "max_signed_task_derivative_error": 8.881784197001252e-16, + "max_physical_norm_error": 1.1102230246251565e-16 + } + } + }, + { + "seed": 2607, + "training_family": "independent_scalar_source", + "evaluation_family": "heldout_anticorrelated_scalar_source", + "generated_pairs": 512, + "eligibility": { + "recipient_clean_task_correct": 501, + "donor_clean_task_correct": 493, + "both_clean_task_correct": 489, + "clean_future_donor_change": 463, + "clean_current_full_softmax_gap_within_0p02": 512, + "eligible": 455, + "mean_clean_current_softmax_difference": 0.005054567940533161 + }, + "factor_physical_mse_by_restart": [ + 1.9425227602042544e-16, + 1.8008964691431712e-16 + ], + "factor_complete_GL_gauge_max_error": 1.4901161193847656e-08, + "subspace_selection": { + "task_joint_gap": 6.402265267146573, + "task_depth4_gap": 3.0186096306218393, + "bpd_weight_svd_gap": 0.19638706530994277, + "teacher_weight_svd_gap": 0.1963870985920536, + "factor_restart_weight_svd_projector_distance": 3.3033819590855273e-07, + "task_joint_leading_eigenvalues": [ + 11.527916768774745, + 6.728297087058098, + 0.3260318199115251, + 0.18341122811244892, + 0.00704984606160491, + 0.0013679588222613082 + ], + "calibration_examples": 256, + "calibration_depths": [ + 2, + 4, + 6 + ] + }, + "reduced_zero_fill_one_step_closure_defects": { + "task_joint": 0.00948612205684185, + "task_depth4": 0.009856624528765678, + "bpd_weight_svd": 0.010824456810951233, + "teacher_weight_svd": 0.010824453085660934, + "random_protected_basis": 0.10284113883972168 + }, + "clean_by_depth": { + "2": { + "recipient_task_mae_vs_oracle": 0.01787727139890194, + "donor_task_mae_vs_oracle": 0.02180042490363121 + }, + "4": { + "recipient_task_mae_vs_oracle": 0.016738424077630043, + "donor_task_mae_vs_oracle": 0.019683614373207092 + }, + "6": { + "recipient_task_mae_vs_oracle": 0.017139123752713203, + "donor_task_mae_vs_oracle": 0.02010565996170044 + }, + "8": { + "recipient_task_mae_vs_oracle": 0.04205607622861862, + "donor_task_mae_vs_oracle": 0.04905116185545921 + } + }, + "causal_by_depth": { + "2": { + "zero_edit": { + "eligible": 455, + "donor_mse_eligible": 0.11720702797174454, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.10585109144449234, + "donor_recovery_all": 0.05859375, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 455, + "donor_mse_eligible": 0.0002921714913100004, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00026190775679424405, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0016483684303238988 + }, + "physical_teacher_full": { + "eligible": 455, + "donor_mse_eligible": 0.0002921712293755263, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00026190755306743085, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001648368895985186 + }, + "exact_dark_donor": { + "eligible": 455, + "donor_mse_eligible": 0.00029217114206403494, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0002619074657559395, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0016483687795698643 + }, + "task_joint": { + "eligible": 455, + "donor_mse_eligible": 0.005674792919307947, + "donor_recovery_eligible": 0.8615384697914124, + "donor_mse_all": 0.005136118736118078, + "donor_recovery_all": 0.875, + "mean_physical_dose": 0.19585010409355164, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0013622803380712867 + }, + "task_depth4": { + "eligible": 455, + "donor_mse_eligible": 0.0052091809920966625, + "donor_recovery_eligible": 0.8659340739250183, + "donor_mse_all": 0.004712587688118219, + "donor_recovery_all": 0.87890625, + "mean_physical_dose": 0.19787931442260742, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0013734312960878015 + }, + "bpd_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.007591771427541971, + "donor_recovery_eligible": 0.34065935015678406, + "donor_mse_all": 0.006901258137077093, + "donor_recovery_all": 0.41015625, + "mean_physical_dose": 0.2775641083717346, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0028505660593509674 + }, + "teacher_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.007591768633574247, + "donor_recovery_eligible": 0.34065935015678406, + "donor_mse_all": 0.006901254411786795, + "donor_recovery_all": 0.41015625, + "mean_physical_dose": 0.277564138174057, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002850566292181611 + }, + "random_protected_basis": { + "eligible": 455, + "donor_mse_eligible": 0.04185787960886955, + "donor_recovery_eligible": 0.032967034727334976, + "donor_mse_all": 0.03775103762745857, + "donor_recovery_all": 0.12890625, + "mean_physical_dose": 0.18663720786571503, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.003637148067355156 + } + }, + "4": { + "zero_edit": { + "eligible": 455, + "donor_mse_eligible": 0.12195729464292526, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11014804244041443, + "donor_recovery_all": 0.05859375, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 455, + "donor_mse_eligible": 0.00014061311958357692, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0001260553253814578, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001460061059333384 + }, + "physical_teacher_full": { + "eligible": 455, + "donor_mse_eligible": 0.00014061303227208555, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0001260552671737969, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0014600612921640277 + }, + "exact_dark_donor": { + "eligible": 455, + "donor_mse_eligible": 0.00014061297406442463, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00012605520896613598, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0014600612921640277 + }, + "task_joint": { + "eligible": 455, + "donor_mse_eligible": 0.00014123099390417337, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00012694770703092217, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.19585010409355164, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001814151182770729 + }, + "task_depth4": { + "eligible": 455, + "donor_mse_eligible": 0.0001514997420599684, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00013592097093351185, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.19787931442260742, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001884867437183857 + }, + "bpd_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.008749053813517094, + "donor_recovery_eligible": 0.28131869435310364, + "donor_mse_all": 0.007955546490848064, + "donor_recovery_all": 0.357421875, + "mean_physical_dose": 0.2775641083717346, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002603798406198621 + }, + "teacher_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.008749050088226795, + "donor_recovery_eligible": 0.28131869435310364, + "donor_mse_all": 0.00795554369688034, + "donor_recovery_all": 0.357421875, + "mean_physical_dose": 0.277564138174057, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002603798173367977 + }, + "random_protected_basis": { + "eligible": 455, + "donor_mse_eligible": 0.02478773146867752, + "donor_recovery_eligible": 0.08351648598909378, + "donor_mse_all": 0.022342480719089508, + "donor_recovery_all": 0.1796875, + "mean_physical_dose": 0.18663720786571503, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.005837394390255213 + } + }, + "6": { + "zero_edit": { + "eligible": 455, + "donor_mse_eligible": 0.1253865659236908, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11322024464607239, + "donor_recovery_all": 0.056640625, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 455, + "donor_mse_eligible": 0.00011242889740969986, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00010075912723550573, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012994768330827355 + }, + "physical_teacher_full": { + "eligible": 455, + "donor_mse_eligible": 0.00011242892651353031, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0001007591636152938, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012994777644053102 + }, + "exact_dark_donor": { + "eligible": 455, + "donor_mse_eligible": 0.00011242882465012372, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00010075907630380243, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012994777644053102 + }, + "task_joint": { + "eligible": 455, + "donor_mse_eligible": 0.0033887913450598717, + "donor_recovery_eligible": 0.9384615421295166, + "donor_mse_all": 0.0030749875586479902, + "donor_recovery_all": 0.943359375, + "mean_physical_dose": 0.19585010409355164, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0038837287575006485 + }, + "task_depth4": { + "eligible": 455, + "donor_mse_eligible": 0.003917261492460966, + "donor_recovery_eligible": 0.8549450635910034, + "donor_mse_all": 0.0035545022692531347, + "donor_recovery_all": 0.869140625, + "mean_physical_dose": 0.19787931442260742, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0038966352585703135 + }, + "bpd_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.009868990629911423, + "donor_recovery_eligible": 0.24175824224948883, + "donor_mse_all": 0.008974473923444748, + "donor_recovery_all": 0.322265625, + "mean_physical_dose": 0.2775641083717346, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002250277204439044 + }, + "teacher_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.009868986904621124, + "donor_recovery_eligible": 0.24175824224948883, + "donor_mse_all": 0.00897447019815445, + "donor_recovery_all": 0.322265625, + "mean_physical_dose": 0.277564138174057, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002250277204439044 + }, + "random_protected_basis": { + "eligible": 455, + "donor_mse_eligible": 0.010458867996931076, + "donor_recovery_eligible": 0.40439561009407043, + "donor_mse_all": 0.009416770190000534, + "donor_recovery_all": 0.46875, + "mean_physical_dose": 0.18663720786571503, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.007784734945744276 + } + }, + "8": { + "zero_edit": { + "eligible": 455, + "donor_mse_eligible": 0.1504843533039093, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.1358032375574112, + "donor_recovery_all": 0.0546875, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 455, + "donor_mse_eligible": 0.00017436387133784592, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00015623451326973736, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0007084138342179358 + }, + "physical_teacher_full": { + "eligible": 455, + "donor_mse_eligible": 0.00017436398775316775, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00015623461513314396, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0007084151729941368 + }, + "exact_dark_donor": { + "eligible": 455, + "donor_mse_eligible": 0.0001743638567859307, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00015623451326973736, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2985551357269287, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0007084148819558322 + }, + "task_joint": { + "eligible": 455, + "donor_mse_eligible": 0.016758913174271584, + "donor_recovery_eligible": 0.0923076942563057, + "donor_mse_all": 0.015209132805466652, + "donor_recovery_all": 0.18359375, + "mean_physical_dose": 0.19585010409355164, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.007061998825520277 + }, + "task_depth4": { + "eligible": 455, + "donor_mse_eligible": 0.017474014312028885, + "donor_recovery_eligible": 0.07912088185548782, + "donor_mse_all": 0.015859082341194153, + "donor_recovery_all": 0.171875, + "mean_physical_dose": 0.19787931442260742, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0069915782660245895 + }, + "bpd_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.010875756852328777, + "donor_recovery_eligible": 0.224175825715065, + "donor_mse_all": 0.00988697074353695, + "donor_recovery_all": 0.306640625, + "mean_physical_dose": 0.2775641083717346, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001261492958292365 + }, + "teacher_weight_svd": { + "eligible": 455, + "donor_mse_eligible": 0.010875752195715904, + "donor_recovery_eligible": 0.224175825715065, + "donor_mse_all": 0.009886966086924076, + "donor_recovery_all": 0.306640625, + "mean_physical_dose": 0.277564138174057, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012614934239536524 + }, + "random_protected_basis": { + "eligible": 455, + "donor_mse_eligible": 0.0033066803589463234, + "donor_recovery_eligible": 0.8483516573905945, + "donor_mse_all": 0.0029870010912418365, + "donor_recovery_all": 0.86328125, + "mean_physical_dose": 0.18663720786571503, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.01051380205899477 + } + } + }, + "same_dose_random_K_controls_depth8": { + "task_joint": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.019848901545628905, + "maximum_donor_recovery_eligible": 0.03956044092774391, + "mean_donor_mse_eligible": 0.19825343415141106 + }, + "bpd_weight_svd": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.030151099781505764, + "maximum_donor_recovery_eligible": 0.04615384712815285, + "mean_donor_mse_eligible": 0.24010036699473858 + } + }, + "privileged_signed_full_task_jacobian_controls": { + "4": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 1.0, + "best_recovery_eligible": 1.0, + "max_signed_task_derivative_error": 7.771561172376096e-16, + "max_physical_norm_error": 5.551115123125783e-17 + }, + "8": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 0.0923076942563057, + "best_recovery_eligible": 0.0923076942563057, + "max_signed_task_derivative_error": 9.992007221626409e-16, + "max_physical_norm_error": 1.1102230246251565e-16 + } + } + }, + { + "seed": 2617, + "training_family": "independent_scalar_source", + "evaluation_family": "heldout_anticorrelated_scalar_source", + "generated_pairs": 512, + "eligibility": { + "recipient_clean_task_correct": 493, + "donor_clean_task_correct": 470, + "both_clean_task_correct": 456, + "clean_future_donor_change": 474, + "clean_current_full_softmax_gap_within_0p02": 512, + "eligible": 432, + "mean_clean_current_softmax_difference": 0.0028685557190328836 + }, + "factor_physical_mse_by_restart": [ + 1.6015466032623816e-16, + 1.6310995827920841e-16 + ], + "factor_complete_GL_gauge_max_error": 1.4901161193847656e-08, + "subspace_selection": { + "task_joint_gap": 8.682567396811287, + "task_depth4_gap": 4.348819520010828, + "bpd_weight_svd_gap": 0.29774940000355865, + "teacher_weight_svd_gap": 0.2977494268610771, + "factor_restart_weight_svd_projector_distance": 4.79435300348996e-07, + "task_joint_leading_eigenvalues": [ + 10.27872827498085, + 8.977913156732448, + 0.295345759921162, + 0.17545392786925976, + 0.0037014283024332743, + 0.0005864322359156308 + ], + "calibration_examples": 256, + "calibration_depths": [ + 2, + 4, + 6 + ] + }, + "reduced_zero_fill_one_step_closure_defects": { + "task_joint": 0.01151358149945736, + "task_depth4": 0.01144482847303152, + "bpd_weight_svd": 0.021023765206336975, + "teacher_weight_svd": 0.021023757755756378, + "random_protected_basis": 0.0354921892285347 + }, + "clean_by_depth": { + "2": { + "recipient_task_mae_vs_oracle": 0.01592673733830452, + "donor_task_mae_vs_oracle": 0.019964788109064102 + }, + "4": { + "recipient_task_mae_vs_oracle": 0.01707863248884678, + "donor_task_mae_vs_oracle": 0.02062157355248928 + }, + "6": { + "recipient_task_mae_vs_oracle": 0.022433286532759666, + "donor_task_mae_vs_oracle": 0.025989020243287086 + }, + "8": { + "recipient_task_mae_vs_oracle": 0.03275882825255394, + "donor_task_mae_vs_oracle": 0.03916743025183678 + } + }, + "causal_by_depth": { + "2": { + "zero_edit": { + "eligible": 432, + "donor_mse_eligible": 0.1291247010231018, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11566932499408722, + "donor_recovery_all": 0.04296875, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 432, + "donor_mse_eligible": 7.458502659574151e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.605123053304851e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973581314087, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0015271968441084027 + }, + "physical_teacher_full": { + "eligible": 432, + "donor_mse_eligible": 7.458500476786867e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.605121598113328e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001527196727693081 + }, + "exact_dark_donor": { + "eligible": 432, + "donor_mse_eligible": 7.458495383616537e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.60511723253876e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0015271970769390464 + }, + "task_joint": { + "eligible": 432, + "donor_mse_eligible": 0.005850624293088913, + "donor_recovery_eligible": 0.5925925970077515, + "donor_mse_all": 0.0052975621074438095, + "donor_recovery_all": 0.638671875, + "mean_physical_dose": 0.20687593519687653, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002328082686290145 + }, + "task_depth4": { + "eligible": 432, + "donor_mse_eligible": 0.006170005537569523, + "donor_recovery_eligible": 0.5972222089767456, + "donor_mse_all": 0.005583131220191717, + "donor_recovery_all": 0.642578125, + "mean_physical_dose": 0.20425006747245789, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002293309196829796 + }, + "bpd_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.003896677168086171, + "donor_recovery_eligible": 0.7430555820465088, + "donor_mse_all": 0.003693176433444023, + "donor_recovery_all": 0.751953125, + "mean_physical_dose": 0.35451439023017883, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012218642514199018 + }, + "teacher_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.003896668553352356, + "donor_recovery_eligible": 0.7430555820465088, + "donor_mse_all": 0.003693168517202139, + "donor_recovery_all": 0.751953125, + "mean_physical_dose": 0.3545145094394684, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012218633200973272 + }, + "random_protected_basis": { + "eligible": 432, + "donor_mse_eligible": 0.11376815289258957, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.10227339714765549, + "donor_recovery_all": 0.052734375, + "mean_physical_dose": 0.09051553905010223, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0016395983984693885 + } + }, + "4": { + "zero_edit": { + "eligible": 432, + "donor_mse_eligible": 0.1264323890209198, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11344647407531738, + "donor_recovery_all": 0.048828125, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 432, + "donor_mse_eligible": 0.00010169710731133819, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 9.012035297928378e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973581314087, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0011971680214628577 + }, + "physical_teacher_full": { + "eligible": 432, + "donor_mse_eligible": 0.00010169723100261763, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 9.012046211864799e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0011971680214628577 + }, + "exact_dark_donor": { + "eligible": 432, + "donor_mse_eligible": 0.00010169715096708387, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 9.012040391098708e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0011971682542935014 + }, + "task_joint": { + "eligible": 432, + "donor_mse_eligible": 7.760257722111419e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.945533823454753e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.20687593519687653, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0017444022232666612 + }, + "task_depth4": { + "eligible": 432, + "donor_mse_eligible": 8.235326822614297e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 7.324859325308353e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.20425006747245789, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0017309269169345498 + }, + "bpd_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.003834336530417204, + "donor_recovery_eligible": 0.7523148059844971, + "donor_mse_all": 0.003693892154842615, + "donor_recovery_all": 0.755859375, + "mean_physical_dose": 0.35451439023017883, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0007791381794959307 + }, + "teacher_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.003834327682852745, + "donor_recovery_eligible": 0.7523148059844971, + "donor_mse_all": 0.0036938840057700872, + "donor_recovery_all": 0.755859375, + "mean_physical_dose": 0.3545145094394684, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0007791381794959307 + }, + "random_protected_basis": { + "eligible": 432, + "donor_mse_eligible": 0.12812000513076782, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11517161875963211, + "donor_recovery_all": 0.044921875, + "mean_physical_dose": 0.09051553905010223, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0016015275614336133 + } + }, + "6": { + "zero_edit": { + "eligible": 432, + "donor_mse_eligible": 0.12184729427099228, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.10944142937660217, + "donor_recovery_all": 0.048828125, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 432, + "donor_mse_eligible": 7.307613122975454e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.480023148469627e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973581314087, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001034854562021792 + }, + "physical_teacher_full": { + "eligible": 432, + "donor_mse_eligible": 7.307632768061012e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.480040610767901e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0010348543291911483 + }, + "exact_dark_donor": { + "eligible": 432, + "donor_mse_eligible": 7.307626219699159e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.480036245193332e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0010348546784371138 + }, + "task_joint": { + "eligible": 432, + "donor_mse_eligible": 0.002342198509722948, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0021335266064852476, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.20687593519687653, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0023546686861664057 + }, + "task_depth4": { + "eligible": 432, + "donor_mse_eligible": 0.002170766470953822, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.0019775601103901863, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.20425006747245789, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002339014085009694 + }, + "bpd_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.003068545600399375, + "donor_recovery_eligible": 0.8055555820465088, + "donor_mse_all": 0.0030119665898382664, + "donor_recovery_all": 0.802734375, + "mean_physical_dose": 0.35451439023017883, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0005936269299127162 + }, + "teacher_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.003068538149818778, + "donor_recovery_eligible": 0.8055555820465088, + "donor_mse_all": 0.0030119596049189568, + "donor_recovery_all": 0.802734375, + "mean_physical_dose": 0.3545145094394684, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0005936272209510207 + }, + "random_protected_basis": { + "eligible": 432, + "donor_mse_eligible": 0.12955957651138306, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11650709807872772, + "donor_recovery_all": 0.04296875, + "mean_physical_dose": 0.09051553905010223, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0015228482661768794 + } + }, + "8": { + "zero_edit": { + "eligible": 432, + "donor_mse_eligible": 0.11276417970657349, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.101201131939888, + "donor_recovery_all": 0.05078125, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 432, + "donor_mse_eligible": 2.849058546416927e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 2.527839387767017e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973581314087, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0008568415069021285 + }, + "physical_teacher_full": { + "eligible": 432, + "donor_mse_eligible": 2.8490752811194398e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 2.5278546672780067e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0008568420889787376 + }, + "exact_dark_donor": { + "eligible": 432, + "donor_mse_eligible": 2.8490721888374537e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 2.5278521206928417e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3676973879337311, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0008568419143557549 + }, + "task_joint": { + "eligible": 432, + "donor_mse_eligible": 0.009239275008440018, + "donor_recovery_eligible": 0.25231480598449707, + "donor_mse_all": 0.008387885987758636, + "donor_recovery_all": 0.328125, + "mean_physical_dose": 0.20687593519687653, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002752115251496434 + }, + "task_depth4": { + "eligible": 432, + "donor_mse_eligible": 0.008753499947488308, + "donor_recovery_eligible": 0.25462964177131653, + "donor_mse_all": 0.007944256998598576, + "donor_recovery_all": 0.330078125, + "mean_physical_dose": 0.20425006747245789, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002715500071644783 + }, + "bpd_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.0019782588351517916, + "donor_recovery_eligible": 0.9166666865348816, + "donor_mse_all": 0.001987767405807972, + "donor_recovery_all": 0.90625, + "mean_physical_dose": 0.35451439023017883, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0005461362889036536 + }, + "teacher_weight_svd": { + "eligible": 432, + "donor_mse_eligible": 0.001978253945708275, + "donor_recovery_eligible": 0.9166666865348816, + "donor_mse_all": 0.0019877625163644552, + "donor_recovery_all": 0.90625, + "mean_physical_dose": 0.3545145094394684, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0005461364053189754 + }, + "random_protected_basis": { + "eligible": 432, + "donor_mse_eligible": 0.112955242395401, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.10156838595867157, + "donor_recovery_all": 0.04296875, + "mean_physical_dose": 0.09051553905010223, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001456093043088913 + } + } + }, + "same_dose_random_K_controls_depth8": { + "task_joint": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.02010995364980772, + "maximum_donor_recovery_eligible": 0.032407406717538834, + "mean_donor_mse_eligible": 0.1537802265956998 + }, + "bpd_weight_svd": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.030671296641230583, + "maximum_donor_recovery_eligible": 0.04398148134350777, + "mean_donor_mse_eligible": 0.229799113702029 + } + }, + "privileged_signed_full_task_jacobian_controls": { + "4": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 1.0, + "best_recovery_eligible": 1.0, + "max_signed_task_derivative_error": 6.661338147750939e-16, + "max_physical_norm_error": 1.1102230246251565e-16 + }, + "8": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 0.24898726493120193, + "best_recovery_eligible": 0.25231480598449707, + "max_signed_task_derivative_error": 6.661338147750939e-16, + "max_physical_norm_error": 1.1102230246251565e-16 + } + } + }, + { + "seed": 2621, + "training_family": "independent_scalar_source", + "evaluation_family": "heldout_anticorrelated_scalar_source", + "generated_pairs": 512, + "eligibility": { + "recipient_clean_task_correct": 476, + "donor_clean_task_correct": 433, + "both_clean_task_correct": 415, + "clean_future_donor_change": 458, + "clean_current_full_softmax_gap_within_0p02": 512, + "eligible": 389, + "mean_clean_current_softmax_difference": 0.0016465787775814533 + }, + "factor_physical_mse_by_restart": [ + 7.138083527036265e-12, + 3.458880470930126e-08 + ], + "factor_complete_GL_gauge_max_error": 2.9802322387695312e-08, + "subspace_selection": { + "task_joint_gap": 6.030189096473148, + "task_depth4_gap": 2.9986560205295265, + "bpd_weight_svd_gap": 0.223625783177273, + "teacher_weight_svd_gap": 0.2236231606005803, + "factor_restart_weight_svd_projector_distance": 0.004668907728046179, + "task_joint_leading_eigenvalues": [ + 12.532384557090408, + 6.457056791983855, + 0.4268676955107072, + 0.19605475552165383, + 0.008440949655009697, + 0.0033470078442002196 + ], + "calibration_examples": 256, + "calibration_depths": [ + 2, + 4, + 6 + ] + }, + "reduced_zero_fill_one_step_closure_defects": { + "task_joint": 0.013779671862721443, + "task_depth4": 0.013807360082864761, + "bpd_weight_svd": 0.06190003454685211, + "teacher_weight_svd": 0.06189780682325363, + "random_protected_basis": 0.12944841384887695 + }, + "clean_by_depth": { + "2": { + "recipient_task_mae_vs_oracle": 0.018383478745818138, + "donor_task_mae_vs_oracle": 0.02376178652048111 + }, + "4": { + "recipient_task_mae_vs_oracle": 0.020642561838030815, + "donor_task_mae_vs_oracle": 0.026911897584795952 + }, + "6": { + "recipient_task_mae_vs_oracle": 0.0287831649184227, + "donor_task_mae_vs_oracle": 0.03523161634802818 + }, + "8": { + "recipient_task_mae_vs_oracle": 0.033737052232027054, + "donor_task_mae_vs_oracle": 0.04266871139407158 + } + }, + "causal_by_depth": { + "2": { + "zero_edit": { + "eligible": 389, + "donor_mse_eligible": 0.13656120002269745, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11600793153047562, + "donor_recovery_all": 0.06640625, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 389, + "donor_mse_eligible": 1.3202800630551792e-07, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 1.289868976073194e-07, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124968707561493, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0011733636492863297 + }, + "physical_teacher_full": { + "eligible": 389, + "donor_mse_eligible": 1.3251855079943198e-07, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 1.295414051583066e-07, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0011732842540368438 + }, + "exact_dark_donor": { + "eligible": 389, + "donor_mse_eligible": 1.3252000030661293e-07, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 1.295431957260007e-07, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0011732842540368438 + }, + "task_joint": { + "eligible": 389, + "donor_mse_eligible": 0.006326079834252596, + "donor_recovery_eligible": 0.740359902381897, + "donor_mse_all": 0.005432771053165197, + "donor_recovery_all": 0.78515625, + "mean_physical_dose": 0.2139120101928711, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002271784469485283 + }, + "task_depth4": { + "eligible": 389, + "donor_mse_eligible": 0.006825076881796122, + "donor_recovery_eligible": 0.7814909815788269, + "donor_mse_all": 0.005846383050084114, + "donor_recovery_all": 0.8203125, + "mean_physical_dose": 0.21234263479709625, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0023119745310395956 + }, + "bpd_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.02916516736149788, + "donor_recovery_eligible": 0.01799485832452774, + "donor_mse_all": 0.0259978249669075, + "donor_recovery_all": 0.119140625, + "mean_physical_dose": 0.2370646595954895, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001735740341246128 + }, + "teacher_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.029165348038077354, + "donor_recovery_eligible": 0.01799485832452774, + "donor_mse_all": 0.025997977703809738, + "donor_recovery_all": 0.119140625, + "mean_physical_dose": 0.2370632141828537, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0017357239266857505 + }, + "random_protected_basis": { + "eligible": 389, + "donor_mse_eligible": 0.10469012707471848, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.08912001550197601, + "donor_recovery_all": 0.068359375, + "mean_physical_dose": 0.10810044407844543, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0010351809905841947 + } + }, + "4": { + "zero_edit": { + "eligible": 389, + "donor_mse_eligible": 0.1319427341222763, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11245950311422348, + "donor_recovery_all": 0.06640625, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 389, + "donor_mse_eligible": 8.065956649261352e-07, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 7.902721108621336e-07, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124968707561493, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.000931372691411525 + }, + "physical_teacher_full": { + "eligible": 389, + "donor_mse_eligible": 8.053054330048326e-07, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 7.88632291914837e-07, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.000931272457819432 + }, + "exact_dark_donor": { + "eligible": 389, + "donor_mse_eligible": 8.053015108089312e-07, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 7.886299613346637e-07, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.000931272457819432 + }, + "task_joint": { + "eligible": 389, + "donor_mse_eligible": 4.22187295043841e-05, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.6414479836821556e-05, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2139120101928711, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002933395328000188 + }, + "task_depth4": { + "eligible": 389, + "donor_mse_eligible": 7.02349041148409e-07, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 7.521209113292571e-07, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.21234263479709625, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0031097724568098783 + }, + "bpd_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.028129523620009422, + "donor_recovery_eligible": 0.02570694126188755, + "donor_mse_all": 0.025285158306360245, + "donor_recovery_all": 0.125, + "mean_physical_dose": 0.2370646595954895, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0013436796143651009 + }, + "teacher_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.028129538521170616, + "donor_recovery_eligible": 0.02570694126188755, + "donor_mse_all": 0.02528516948223114, + "donor_recovery_all": 0.125, + "mean_physical_dose": 0.2370632141828537, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001343662035651505 + }, + "random_protected_basis": { + "eligible": 389, + "donor_mse_eligible": 0.10165641456842422, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.08676724880933762, + "donor_recovery_all": 0.06640625, + "mean_physical_dose": 0.10810044407844543, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001666948781348765 + } + }, + "6": { + "zero_edit": { + "eligible": 389, + "donor_mse_eligible": 0.12741044163703918, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.10882061719894409, + "donor_recovery_all": 0.068359375, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 389, + "donor_mse_eligible": 3.3324063224426936e-06, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.2654954793542856e-06, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124968707561493, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0009550924878567457 + }, + "physical_teacher_full": { + "eligible": 389, + "donor_mse_eligible": 3.329153742015478e-06, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.2611769711365923e-06, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0009550272952765226 + }, + "exact_dark_donor": { + "eligible": 389, + "donor_mse_eligible": 3.329140326968627e-06, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 3.2611651477054693e-06, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0009550263057462871 + }, + "task_joint": { + "eligible": 389, + "donor_mse_eligible": 0.004671952687203884, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 0.00399828003719449, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.2139120101928711, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.003756370162591338 + }, + "task_depth4": { + "eligible": 389, + "donor_mse_eligible": 0.004322064109146595, + "donor_recovery_eligible": 0.9871465563774109, + "donor_mse_all": 0.0037053092382848263, + "donor_recovery_all": 0.990234375, + "mean_physical_dose": 0.21234263479709625, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0040223910473287106 + }, + "bpd_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.02596586011350155, + "donor_recovery_eligible": 0.03341902419924736, + "donor_mse_all": 0.023547422140836716, + "donor_recovery_all": 0.13671875, + "mean_physical_dose": 0.2370646595954895, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012845966266468167 + }, + "teacher_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.02596566453576088, + "donor_recovery_eligible": 0.03341902419924736, + "donor_mse_all": 0.02354724518954754, + "donor_recovery_all": 0.13671875, + "mean_physical_dose": 0.2370632141828537, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012845805613324046 + }, + "random_protected_basis": { + "eligible": 389, + "donor_mse_eligible": 0.09946546703577042, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.08491753786802292, + "donor_recovery_all": 0.06640625, + "mean_physical_dose": 0.10810044407844543, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0023202875163406134 + } + }, + "8": { + "zero_edit": { + "eligible": 389, + "donor_mse_eligible": 0.13442067801952362, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.11467653512954712, + "donor_recovery_all": 0.068359375, + "mean_physical_dose": 0.0, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0 + }, + "physical_BPD_full": { + "eligible": 389, + "donor_mse_eligible": 7.00378268447821e-06, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.861163001303794e-06, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124968707561493, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001247409381903708 + }, + "physical_teacher_full": { + "eligible": 389, + "donor_mse_eligible": 6.997348464210518e-06, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.8527574512700085e-06, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012473998358473182 + }, + "exact_dark_donor": { + "eligible": 389, + "donor_mse_eligible": 6.997314812906552e-06, + "donor_recovery_eligible": 1.0, + "donor_mse_all": 6.852730621176306e-06, + "donor_recovery_all": 1.0, + "mean_physical_dose": 0.3124934136867523, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0012473991373553872 + }, + "task_joint": { + "eligible": 389, + "donor_mse_eligible": 0.014920494519174099, + "donor_recovery_eligible": 0.1928020566701889, + "donor_mse_all": 0.012829447165131569, + "donor_recovery_all": 0.30859375, + "mean_physical_dose": 0.2139120101928711, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0043396600522100925 + }, + "task_depth4": { + "eligible": 389, + "donor_mse_eligible": 0.014022508636116982, + "donor_recovery_eligible": 0.1928020566701889, + "donor_mse_all": 0.012068061158061028, + "donor_recovery_all": 0.30859375, + "mean_physical_dose": 0.21234263479709625, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.004632119555026293 + }, + "bpd_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.025520605966448784, + "donor_recovery_eligible": 0.0514138825237751, + "donor_mse_all": 0.02330697327852249, + "donor_recovery_all": 0.15625, + "mean_physical_dose": 0.2370646595954895, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.0018967418000102043 + }, + "teacher_weight_svd": { + "eligible": 389, + "donor_mse_eligible": 0.025520244613289833, + "donor_recovery_eligible": 0.0514138825237751, + "donor_mse_all": 0.023306649178266525, + "donor_recovery_all": 0.15625, + "mean_physical_dose": 0.2370632141828537, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.001896772999316454 + }, + "random_protected_basis": { + "eligible": 389, + "donor_mse_eligible": 0.11241254210472107, + "donor_recovery_eligible": 0.0, + "donor_mse_all": 0.09568127989768982, + "donor_recovery_all": 0.064453125, + "mean_physical_dose": 0.10810044407844543, + "immediate_normalized_readout_max_error": 0.0, + "future_normalized_readout_mean_abs_change": 0.002997859613969922 + } + } + }, + "same_dose_random_K_controls_depth8": { + "task_joint": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.019521208363585174, + "maximum_donor_recovery_eligible": 0.03084832988679409, + "mean_donor_mse_eligible": 0.18624736228957772 + }, + "bpd_weight_svd": { + "arms": 32, + "matched_at_depth": 8, + "mean_donor_recovery_eligible": 0.02554627286735922, + "maximum_donor_recovery_eligible": 0.04627249389886856, + "mean_donor_mse_eligible": 0.20041375514119864 + } + }, + "privileged_signed_full_task_jacobian_controls": { + "4": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 1.0, + "best_recovery_eligible": 1.0, + "max_signed_task_derivative_error": 6.661338147750939e-16, + "max_physical_norm_error": 1.1102230246251565e-16 + }, + "8": { + "arms": 16, + "match": "same full 2-output signed Jacobian and physical L2 norm", + "mean_recovery_eligible": 0.1928020566701889, + "best_recovery_eligible": 0.1928020566701889, + "max_signed_task_derivative_error": 8.881784197001252e-16, + "max_physical_norm_error": 1.1102230246251565e-16 + } + } + } + ], + "registered_gates": { + "engineering_roots_passed": 4, + "engineering_all_pass": true, + "exploratory_unseen_depth_portability_roots": 1, + "exploratory_unseen_depth_portability_gate_pass": false, + "strong_incremental_vs_privileged_tangent_roots": 0, + "strong_incremental_gate_pass": false, + "independent_scientific_inference": "none; 4 same-source-family roots, uncalibrated" + } +} From 4f7275ca6972733e1e1c987db490a51dad1b3e1f Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:57:34 +0800 Subject: [PATCH 18/19] docs(CGC-02): surface trained four-root depth portability failure from causal compactification theory index --- research/causal_gauge_compactification/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/research/causal_gauge_compactification/README.md b/research/causal_gauge_compactification/README.md index ebaf713ec..31ccccd1c 100644 --- a/research/causal_gauge_compactification/README.md +++ b/research/causal_gauge_compactification/README.md @@ -1,3 +1,5 @@ +**CGC-02 first trained recurrent test (2026-11-18):** [Registered 4-root result](cgc02/RESULTS.md), [byte-verified raw source-locked JSON](cgc02/results/fresh_4root.json), and [trained teacher/native BPD experiment](cgc02/README.md). Full three-class normalized current readout and BPD physical factors pass engineering 4/4 roots. Task-selected protected rank-two blocks achieve 100% heldout donor retrieval at trained depth 4 but only 14.9% root-mean at unseen depth 8; a physical BPD weight-SVD rank-two baseline achieves 48.6%. Registered portability FAIL 1/4 and incremental-vs-signed-full-task-Jacobian FAIL 0/4. This is exploratory same-family toy-model evidence, leaving CGC-01 mathematical claims intact. + # CGC-01: protected causal compactification [Mathematical theory](THEORY.md) · [Source-only audit and future protocol](PROTOCOL.md) · [Executable finite reference](finite_audit.py) From 3f77c1dfb3976fbc2fd570210fe27f60d30714b1 Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Wed, 18 Nov 2026 12:57:37 +0800 Subject: [PATCH 19/19] docs(CGC-02): link raw first-run protected task transport evidence in Compactification-Theory homepage --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 05f4ea02c..e8df3c4f9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +**CGC-02 depth-generalization test (Nov 18, 2026):** [Trained recurrent protected causal subspace results](research/causal_gauge_compactification/cgc02/RESULTS.md) from [PR #247](https://github.com/MoralityLabAI/Compactification-Theory/pull/247): registered engineering 4/4 pass, rank-two task portability at unseen depth 8 FAIL 1/4, incremental mechanism beyond full signed task-Jacobian null FAIL 0/4. [Full first-run raw data](research/causal_gauge_compactification/cgc02/results/fresh_4root.json). Source-locked synthetic teacher with native BPD physical checks; no real TRM or privacy claim. + **CGC-01 protected causal compactification (November 18, 2026):** [Task-conditioned safe causal dimension, finite-radius nonlinear bounds, exact recurrent quotient and precision-bit obstructions](research/causal_gauge_compactification/README.md). [Mathematical derivations](research/causal_gauge_compactification/THEORY.md) and 18 deterministic numerical/exact-rational tests connect BPD's source-binding controls with the NOR, LSV, SMC, SCM and recurrent-circuit compactification tracks. Source-only theory; no newly trained model result. **NOR-12:** [Task-supervised basin-conditioned residual readout](research/nor12_task_readout/README.md) fits four 16×14 matched residual rankers over the frozen 1,000-parameter RRC-25 GRU using only exact degree-192 public demo verification labels. The first heldout run yielded 44/72 future-correct for the basin residual vs. 42/72 original, with both gains arising from a single aliased late-source feature tensor. Four independent seed-separated 72-case confirmations yielded 167/288 vs. 160/288, matched by the random-feature control, with unadjusted case-level paired p≈0.21. An ablation of the basin feature left the first split's 44/72 result unchanged. [NOR-12B hosted independent results](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/43709095616) passed, and [NOR-12C frozen receipt audit](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/43709504979) is green. The original GRU is unchanged, and basin-specific task gains remain unestablished.