Skip to content

Round-4 Track 3 Study: Solution-Complete 4-Law + Zero-eigh CondFiber Champion (preset="unified_v11")

Branch: feat/solve-gans-r4-solution-complete
Formulation: Unified 4-Law + Zero-eigh Cross-Batch Conditional Fiber Bank + Zero-pinv/Zero-autograd.grad Analytic Non-Ascent Projection (preset="unified_v11", critic_formulation="unified_v11", prior_regularizer="unified_v11", optimizer_family="unified_v11_equil", constraint_geometry_mode="direction_blend", public API particlegan/unified_v11.py / particlegan/_unified_v11/)
Hard Primitive Audit: Strictly 0 torch.autograd.grad · 0 torch.linalg.svd · 0 torch.linalg.svdvals · 0 torch.linalg.eigh · 0 torch.linalg.eigvalsh · 0 torch.linalg.pinv across every forward, backward, penalty, transport, conditional fiber bank, prior, and optimizer path — monkeypatch-enforced in tests/test_unified_v11.py.
Contract & Compatibility: DEFAULT_RECIPE == "empf" unchanged, Recipe retains all 179 fields, particlegan/recipe_compat.py untouched, pre-existing packages (_unified_v4/, _cond_fiber/, _minimal/, _r4_ablation/, etc.) and all prior readout receipts remain completely untouched.
Default-Adoption / Calibration Gate: BLOCKED for global default adoption (DEFAULT_RECIPE remains "empf"). This study establishes a new single-recipe zero-SVD / zero-eigh / zero-pinv / zero-autograd.grad solution-completeness ceiling (9 concluded official Forge readout receipts, 55 / 62 runnable unique tasks PASS (88.7%), 41 / 47 executed Tiers 1–2 discriminator_stability PASS) while keeping every remaining honest numerical failure visible.


1. Executive Summary (unified-v11, rev 8ec9b4cd0e38)

Evaluated under protocol seed 0, deterministic_orthogonal initialization, clean live sampling, and one unchanged global unified-v11 recipe (candidate_revision = 8ec9b4cd0e385b82d24068c07e450b3229942a7796271fb9da2ca27c5006bc07) on NVIDIA RTX A6000:

Official Forge View unified-v11 Result Key Verbatim Metrics Official Readout Receipt
discriminator_stability (Tiers 1–2, 47 executed + 1 prereq-blocked) 41 / 47 PASS (0 ERROR, 0 TIMEOUT) Tier 1: 11/11 required + 3/3 precision (fp32/mxfp8/nvfp4) + 2/2 t3_iso + 3/3 Nash + residual_student (1.0, wrong_pad=0.0); Tier 2: FIRST zero-SVD/zero-eigh/zero-autograd.grad unified recipe to PASS model_ddgan_gaussian_chain (confirmed_step=2500, 5/5 suffix, t1_q0_mean=0.1790, eig_max=1.3085), 4/4 discrete images, 6/6 vectors, 2/2 VAEs, grid100 & rotated100, interp_sparse_arc readout-fc5b67a7
dcgan_performance (32²–256² RGB Idle RTX A6000) 6 / 6 (100%) PASS r256 = 89.19 ms/step median (p95 = 89.45 ms/step, 179.62 img/s, 1372.60 MiB peak alloc / 1402.0 MiB res); r32 = 25.66 ms, r64 = 31.77 ms, r128 = 62.12 ms, b64 = 32.42 ms, w128 = 41.57 ms readout-1e5fb235
t4_imbalance_nash_stretch (>500× Asymmetry & Hostile Init) 3 / 3 (100%) PASS overpowered_critic (16/16, hq=0.9429, tv=0.0781, core_eig=0.3703), overpowered_generator (16/16, hq=0.8779, tv=0.0576, core_eig=0.2917), hostile_imbalance (hq=0.9836, tv=0.1025, core_eig=0.7007) readout-2eb07e97
t3-shift-recovery-diagnostic-v1 (Non-Stationary Shift & Rail) 5 / 5 (100%) PASS target_shift_recovery (81/81 post-deadline checks, min_hq=0.9709, min_modes=8, stable_from_step=2800), zero_tanh_rail_escape (mae=0.0021, rms=0.0026, p99=0.0076, sat=0.0), zero_tanh_smoke (mae=0.0032), ae_gan_hold (hold=0.0200, recon_mse=0.0043), mode_hold (8/8, hq=1.0000) readout-2029c37a
t3_causal_isolation_stretch (8× Scale-Mass + Saddle Shift) 2 / 2 (100%) PASS (restored from v10's 1/2!) t3_iso_scale_mass_8x PASS (4/4, hq=0.9590, tv=0.0178, core_min_eigen_ratio=0.4925), t3_iso_horizon_saddle_shift PASS (4/4, hq=0.9219, tv=0.0781, frozen_control_modes=2) readout-d1e36bf5
bispf_throughput_endurance (Tier-3 7.5k Ring Endurance) 3 / 3 (100%) PASS mode_hold (8/8, hq=1.0000), ring_hold (converged_step=1400, 1200/1200 hold checks, 0 failures), ring_extension (300/300 extension checks, 0 failures) readout-346f0dad
t4-strange-architectures-v1 (16-Layer & Rail Pathologies) 6 / 7 PASS PASS: clockfree (4/4), zero_tanh_smoke, zero_tanh_rail_escape, grid100, grid100_mlp16 (ctr=0.0683, prec=0.9926), grid100_res16_scaled_tanh (ctr=0.0548, tr=-0.0406, prec=0.9905); FAIL: grid100_res16_tanh (100k holdout accuracy_pass=True, ctr=0.0917, prec=0.9884, sat=0.0, missed live suffix) readout-b96d9de4
r3-tier3-long-horizon-holdout-v1 (Tier-3 14k Holdout) 15 / 17 executed (15 / 18 total) PASS: grid100_14k (ctr=0.0990, tr=-0.0176, radial_ks=0.0062, prec=0.9853, cov_frob_rms=0.0802), rotated100_14k (ctr=0.1401, tr=-0.0276, radial_ks=0.0085, prec=0.9893, cov_frob_rms=0.0868), ring_extension, target_shift_recovery, zero_tanh_rail_escape, mode_hold, ring_hold, grid100, rotated100, two_pole, unused_token_hold, ae_gan_hold, clockfree_audit, zero_tanh_smoke, five_word_joint_smoke; FAIL: five_word_joint_hold (23/25 checks, endpoint_passed=True), staggered100 (100k holdout accuracy_pass=True, blocked staggered100_14k) readout-43bffb4e
r3-tier4-frontier-holdout-v1 (Tier-4 Frontier + Host Bounds) 3 / 4 runnable PASS (+12 host BLOCKED) PASS: grid100, grid100_mlp16, grid100_res16_scaled_tanh; FAIL: grid100_res16_tanh; 12 unimplemented STRETCH_VECTOR_HOSTS tasks explicitly BLOCKED readout-add854c6

Across all 9 concluded receipts, unified-v11 passes 55 / 62 unique runnable tasks (88.7%) — advancing past both Round-3 champions (unified-v10 40/46, cond-fiber-v1 40/47) on discriminator_stability while uniting all four Laws + zero-eigh conditional diffusion fibers + 3/3 precision (fp32/mxfp8/nvfp4) + 2/2 causal isolation + 3/3 Nash + 5/5 shift/rail + 14k 100-mode holdouts + sub-90 ms/step r256 inside ONE unchanged recipe.


2. Mathematical Formulation & Key Round-4 Mechanisms (particlegan/_unified_v11/)

unified_v11 preserves the four-Law architecture of unified_v4 (4,713 LOC across 8 files: unified_v11.py + _unified_v11/{__init__,bank,critic,loss,optimizer,penalty,prior}.py) and closes four structural gaps without introducing any torch.autograd.grad, svd, svdvals, eigh, eigvalsh, or pinv call:

2.1 Zero-eigh Cross-Batch Conditional Fiber Bank (bank.py, loss.py)

Round-3's cond-fiber-v1 unlocked model_ddgan_gaussian_chain, but relied on torch.linalg.eigh for exact SPD spectral whitening and spectral clamping inside its conditional operator bank. UnifiedV11CondFiberBank eliminates torch.linalg.eigh completely while maintaining < 1.1 × 10⁻¹⁴ numerical agreement: - Exact Zero-eigh Symmetric Eigensolver (zero_eigh_symmetric): Branchless closed-form solver for \(d \in \{1, 2\}\) and exact cyclic Jacobi rotations in float64 for \(d \ge 3\) (6–10 sweeps, sorted ascending eigenvalues, deterministic column-sign canonicalization), powering sym_eigensplit_zero_eigh for symmetric inverse square roots \(\Sigma_r^{-1/2}\) and SPD ridge solves. - Cross-Batch Sufficient-Statistics Bank + Paired-Context FIFO Ring (\(M = 384\)): Per discrete stratum \(t\), tracks exponential sufficient statistics \((W_t, S_c, S_y, S_{cc}, S_{cy}, S_{yy})\) alongside a checkpointed FIFO ring of paired contexts \((c_i, x_i, y_i)\) for midpoint-canceling local \(k\)-NN conditional covariance differences \(\Delta\Sigma_{\text{loc}}(c_i)\). - Conditional Cooling Law: Combines hollow multi-scale IMQ-CMMD residual \(r_{\text{imq}}\) with the worst stratum operator discrepancy \(r_{\text{op,worst}}\) via \(r_{\text{cond}} = r_{\text{imq}} + \min\!\left(0.5,\; 0.11\,\max(0,\; r_{\text{op,worst}} - 0.10)\right)\) and \(s_{\text{step}} = 1 - 0.85\,\mathrm{smoothstep}\!\left((0.050 - \max(0, \bar r_{\text{cond}}))/0.024\right)\). - Performance Optimization: Eliminating redundant inverse solves (need_inv=False), caching upper-triangular/ridge/age indices, GPU-side sym_eigensplit_zero_eigh, and float32 ring \(k\)-NN covariance cuts model_ae_ddgan_* step cost from 71.8 ms/step to 42.3 ms/step (faster than cond-fiber-v1's 45.0 ms/step).

2.2 Strictly Zero-autograd.grad / Zero-pinv Analytic Non-Ascent Projection (optimizer.py)

unified-v10 lacked direction_blend (limiting residual_student), whereas standard ConstraintGeometryOptimizer uses torch.autograd.grad and torch.linalg.pinv. UnifiedV11EquilibratedOptimizer (family="unified_v11_equil") implements strictly zero-autograd.grad, zero-pinv constrained projection: - Protected Normals via Standard .backward(): On 2-objective conflict steps (residual_student, model_ae_*), bind_protected_losses evaluates both protected normals using loss_k.backward(retain_graph=True, inputs=trainable_p) (0 torch.autograd.grad). On single-objective steps (len == 1 or bind_protected_from_grads), a zero-clone fast path (_protected_single = True) avoids redundant backward passes and parameter cloning — critically keeping the Law-4 generator secant trust band active on pullback tasks (nash_overpowered_generator_ring16, zero_tanh_rail_escape, target_shift_recovery, grid100_mlp16). - Closed-Form \(1 \times 1\) / \(2 \times 2\) Non-Ascent Projection (zero_pinv_project_nonascent): Enumerates active sets \(\{0\}\), \(\{1\}\), and \(\{0, 1\}\) analytically using the exact \(2 \times 2\) Gram inverse and rank-1 pseudoinverse (when \(1 - \rho^2 \le 10^{-14}\)), preserving per-group learning-rate scales (such as low-LR VAE priors with prior_lr_mult=0.02) so both residual_student (success_rate=1.0, wrong_pad_rate=0.0) AND model_vae_categorical (decoder_mean_hq=1.0, decoder_mean_mass_tv=0.0061) PASS cleanly:

\[ G_2^{-1} = \begin{bmatrix} 1 & \rho \\ \rho & 1 \end{bmatrix}^{-1}, \qquad G_2^{+} = \frac{1}{4}\begin{bmatrix} 1 & s \\ s & 1 \end{bmatrix} \quad (1 - \rho^2 \le 10^{-14}). \]

2.3 Scale-Invariant \(k=4\) Density-Ratio Orphan Gate (loss.py)

In unified-v10, the bipartite deficit macro-transport gate compared cross-distances against a global horizon \(\ell\), which misclassified small-scale components on t3_iso_scale_mass_8x (core_min_eigen_ratio = 0.2155 FAIL). v11_zero_eigh_bipartite_deficit_macro_loss replaces the global horizon test with a scale-invariant local \(k=4\) nearest-neighbor density-ratio gate:

\[ r_{\text{loc}}(y_j) = \frac{d_{k=4}(y_j, X_{\text{fake}})}{d_{k=4}(y_j, Y_{\text{real}} \setminus \lbrace y_j\rbrace)}, \qquad g_{\text{orphan}}(y_j) = \mathrm{smoothstep}\left(\frac{r_{\text{loc}}(y_j) - 3.52}{1.30}\right). \]

Because \(r_{\text{loc}}\) is invariant to per-component spatial scale \(\sigma_m\), small-scale components in an 8× scale-mass mixture are never over-pulled (t3_iso_scale_mass_8x PASS: hq=0.9590, mass_tv=0.0178, core_min_eigen_ratio=0.4925), while genuine \(42.4\sigma\) equidistant orphan modes after a saddle shift trigger full macro-transport rescue (t3_iso_horizon_saddle_shift PASS: hq=0.9219, 4/4 modes vs 2/4 frozen control).

2.4 Fused \(Z = [X, Y]\) FP32/BF16 Quintic Tikhonov Polar & Per-Group Depth Accounting (optimizer.py)

  • Fused Augmented Polar: Packs \([X, Y]\) into a single tensor \(Z \in \mathbb{R}^{m \times (n + m)}\) so \(Z Z^\top = X X^\top + Y Y^\top\) and \(P(G) Z = [P(G) X, P(G) Y]\) execute in half the GEMMs, using exact float32 for small layers (\(m < 64\)) and bfloat16 for \(64 \le m \le 128\). Combined with canonical transposed shape batching and per-group L_raw depth counting (preventing concatenated (G, E) groups from spuriously activating deep-network damping on 3-layer BiGANs), this unlocks 3/3 precision (fp32, mxfp8, nvfp4) PASS (mxfp8: std_ratio=1.0015, cdf_ks=0.0339; nvfp4: std_ratio=1.0239, cdf_ks=0.0253) while keeping dcgan_performance_r256 at 89.19 ms/step median (p95 = 89.45 ms/step, 1372.60 MiB peak alloc).

3. Cross-Champion Leaderboard (Verbatim Committed Forge Receipts)

All entries below are strictly verbatim from committed reports/forge/records/readout-*.json receipts under protocol seed 0 on NVIDIA RTX A6000 (— denotes no committed readout for that candidate/view):

Candidate autograd.grad SVD/eigh/pinv disc_stab (T1–2) precision (fp32/mx8/nv4) ddgan_gauss t4_nash t3_iso t3_shift t4_arch endurance t3_14k (grid/rot) dcgan_r256 (ms · MiB)
unified-v11 (this PR) 0 0 41/47 3/3 PASS 3/3 2/2 5/5 6/7 3/3 PASS / PASS 89.19 · 1372.6
unified-v10 (R3) 0 0 40/46 2/3 FAIL 3/3 1/2 5/5 6/7 3/3 — 89.66 · 1372.6
cond-fiber-v1 (R3) 0 eigh+SVD 40/47 3/3 PASS — — — — — — 87.50 · 1308.4
t4-nash-v3 (R3) 0 0 33/46 — FAIL 3/3 — — — — — 39.68 · 1372.9
minimal-v2 (R4 T1) 0 0 10/17 T1 0/3 — 2/3 1/2 2/4 (u) 3/7 (u) — — 55.50 · 1344.8
empf-v8 (Default) Yes Yes 24/41 — — — 0/2 — — — — 130.13 · 1435.4
rhbi-v12 Yes Yes 34/41 — — — 0/2 — — — — 588.75 · 3750.6

4. Honest Failure & Boundary Analysis (All 7 Remaining Numerical Gaps + 12 Host-Blocked Tasks)

Faithful numerical failures are reported verbatim without formula substitution or gate softening:

  1. staggered100 (FAIL in readout-fc5b67a7 & readout-43bffb4e, blocking staggered100_14k): Passes coverage (coverage_status="PASS") and passes the independent 100k holdout (accuracy_pass=True, precision=0.9927, center_rms_sigma=0.1484, cov_frob_rms=0.1256, mass_tv=0.0368), but misses the live sustained accuracy threshold (final_metrics.center_rms_sigma=0.1649, accuracy_pass=False).
  2. grid100_res16_tanh (FAIL in readout-b96d9de4 & readout-add854c6): Passes the independent 100k holdout (accuracy_pass=True, precision=0.9884, center_rms_sigma=0.0917, cov_frob_rms=0.1600, mass_tv=0.0329, saturated_fraction=0.0), but misses an intermediate live-curve check under the shared recipe (same boundary as unified-v10).
  3. five_word_joint_hold (FAIL in readout-fc5b67a7 & readout-43bffb4e): Passes 23 / 25 continuation checks and passes the endpoint (endpoint_passed=True, modes=5, mass_tv=0.0346, minimum_reconstruction_token_probability=0.9973, reconstruction_exact=1), with two transient mid-window dips (steps 3001 and 3334).
  4. model_ddgan_bimodal_chain (FAIL in readout-fc5b67a7): Reaches 8 / 24 passing checks (first_pass_step=3125, passing_suffix=2/5, final_hq=0.9478, final_mode_mass_tv=0.0376), but retains excessive t1_q0 variance (t1_q0_covariance_eigen_max=3.1085, t1_q0_normalized_mean=0.7189). Unlike cond-fiber-v1 (which uses exact SVD DualNorm smoothing), 5-step Quintic polar leaves slight residual high-curvature overshoot on bimodal reverse-diffusion steps.
  5. model_ae_ddgan_gaussian_chain (FAIL in readout-fc5b67a7, blocking model_ae_ddgan_bimodal_chain): Achieves strong final marginal and paired reconstruction (final_normalized_mean=0.0143, final_projection_cdf=0.0339, paired_nmse=0.0530, paired_shuffled_gain=36.91×, t2..t4 transition CDFs 0.020–0.054), but t1_q0 remains under-converged (t1_q0_normalized_mean=0.7536, t1_q0_covariance_eigen_max=1.5380, 0/24 passing checks) under the joint AE + DDGAN objective.
  6. interp_img_patch_shift (FAIL in readout-fc5b67a7): Records endpoint_hq=0.0, interp_hq=0.0 despite finite_fraction=1.0, triggered by a known CUDA float32 reduction edge case in the frozen scorer (torch.ones(82, device="cuda", dtype=torch.float32).mean().item() == 0.99999994 < 1.0). Frozen scorers are preserved untouched per repository rules.
  7. interp_saddle_barycentric (FAIL in readout-fc5b67a7): Achieves endpoint_hq=0.8333, barycenter_hq=0.6795, barycenter_surface_mae=0.0741, xy_bins_covered=16/16 (finite_fraction=1.0), short of the stretch surface-accuracy threshold.
  8. Tier-4 Unimplemented Host Adapters (12 BLOCKED in readout-add854c6): misgan_block_recovery, misgan_block_neural_imputer, ring16_bigan_continuous, misgan_mcar_p50_recovery, misgan_mcar_p80_anchored, pacgan_unequal_mass, pacgan8_grid100, alice_spiral_bigan, infogan_anisotropic_modes, cgan_overlapping_classes, cramer_energy_overlap, and cyclegan_unpaired_constellation remain explicitly BLOCKED (distinct from numerical FAIL) due to missing Forge host adapters.

5. Verification, Determinism & Reproduction

Unit & Semantic Control Suite (tests/test_unified_v11.py)

  • Strict monkeypatch enforcement of 0 torch.autograd.grad, 0 svd/svdvals/eigh/eigvalsh/pinv across 1D/2D/170D GAN, 2D Conv2d, deep 16-layer MLP, continuous-conditioned DDGAN fiber bank, and 2-objective direction_blend steps.
  • Machine-precision verification (< 1.1e-14) of zero_eigh_symmetric against torch.linalg.eigh on \(d \in \{1, 2, 3, 4, 8\}\) and exactness of zero_pinv_project_nonascent on 1- and 2-constraint active sets (including collinear rank-1 cases).
  • Bit-exact fresh-process continuation across checkpoint save/load and active mechanism boundaries (including conditional fiber bank warmup and direction_blend state), plus deliberate-damage & tamper-rejection controls.
  • Exact Recipe field count (179), DEFAULT_RECIPE == "empf", and clockfree_audit_measurement_v1 (4/4 parity checks PASS).

Exact Reproduction Commands

export PYTHONPATH="$PWD:${PYTHONPATH:-}"
QR="/tmp/forge-unified-v11"

# 1. Idle RTX A6000 DCGAN throughput & VRAM
python3 -m experiments.forge --queue-root "$QR" enqueue unified-v11 --study unified-v11-dcgan-perf-study --cuda-model "NVIDIA RTX A6000"
python3 -m experiments.forge --queue-root "$QR" drain --gpus 0

# 2. Remaining 8 official Forge studies (with automatic task reuse inside $QR)
for S in unified-v11-study unified-v11-t3-iso-study unified-v11-t4-nash-study \
         unified-v11-shift-diagnostic-study unified-v11-endurance-study \
         unified-v11-t4-arch-study unified-v11-t3-holdout-study unified-v11-t4-holdout-study; do
  python3 -m experiments.forge --queue-root "$QR" enqueue unified-v11 --study "$S" --cuda-model "NVIDIA RTX A6000"
done
python3 -m experiments.forge --queue-root "$QR" drain --gpus 0,1

# 3. Unit tests & governance gates
pytest -q tests/test_unified_v11.py tests/test_minimal.py tests/test_r4_ablation_razor.py tests/test_unified_v4.py tests/test_cond_fiber.py tests/test_m4_it2_challenger2_stress.py
python3 scripts/check_lint.py
python3 -m experiments.forge validate
python3 -m experiments.forge history --check
python3 -m experiments.forge compile --check
python3 ops/refresh_forge_readouts.py --check --reports-only