Unified Synthesis Study: First-Order Forward-AD Critic, Isolated Pythagorean Pullback Prior, Persistent Chart Coupling & Conformal Fiber Deconfliction (preset="unified")¶
1. Executive Summary & Provenance¶
This study synthesizes the four orthogonal Round-1 theoretical breakthroughs landed on develop (#566 t2_secant, #567 t1_prior, #568 t1_coupling, and #565 rgdt) into one global, strictly clock-free recipe (preset="unified", critic_formulation="unified", prior_regularizer="unified" in particlegan/_unified/ and particlegan/unified.py).
All measurements were executed on NVIDIA RTX A6000 GPUs through the public GANTrainer API under protocol seed 0, deterministic_orthogonal initialization, task-owned architectures and initial priors, live scoring weights (ema_decay=0.0, serve_average=0.0, output_noise_std=0.0), zero new Recipe schema fields (179 fields unchanged), and DEFAULT_RECIPE = "empf" preserved untouched:
| Candidate | Study | Concluded Readout Record | Candidate Revision | Scope & Outcome |
|---|---|---|---|---|
unified-v1 |
unified-v1-dcgan-perf-study |
readout-3a416c2ad84c6a246f1d8cfc.json |
5132650acd6b... |
dcgan_performance (uncontended): 6/6 PASS, 0 autograd.grad, r256 = 87.51 ms/step (182.6 img/s, 1,308.4 MiB) — 1.78x faster & 223 MiB leaner than empf-v8, 6.73x faster & 2.87x leaner than rhbi-v12 |
unified-v1 |
unified-v1-shift-diagnostic-study |
readout-3e304250cee4ef11edd181dd.json |
5132650acd6b... |
t3-shift-recovery-diagnostic-v1: 4/4 routed PASS (1 BLOCKED = zero_tanh_rail_escape); target_shift_recovery PASS (81 / 81 checks, min_hq = 0.9109 >= 0.9000) |
unified-v1 |
unified-v1-study |
readout-c2d30b8574761eb921efc868.json |
5132650acd6b... |
discriminator_stability Tiers 1–2: 32/41 PASS (13/13 counted T1, 7/7 T2 held, 6/6 vector_*, 4/4 img_* at hq=1.0, gaussian1d_stability 0.0175, nvfp4 0.0272); grid100 abs_cov_trace_bias cut 73x (-0.3022 -> +0.0041) |
unified-v2 |
unified-v2-dcgan-perf-study |
readout-a05ee6e86f954b22c39367d4.json |
cc7a04762547... |
dcgan_performance (shared GPU): 6/6 PASS (136.51 ms/step, 1,308.4 MiB, 0 autograd.grad) |
unified-v2 |
unified-v2-shift-diagnostic-study |
readout-26942dc7a6a369afee9a74bc.json |
cc7a04762547... |
t3-shift-recovery-diagnostic-v1: 4/4 routed PASS; target_shift_recovery PASS (81 / 81 checks, min_hq = 0.9995) |
unified-v2 |
unified-v2-study |
readout-008837c0302469dece2d3d4a.json |
cc7a04762547... |
Tier-1 stop (13/16 T1 PASS): unconditional step-1 adv_w=0.008 slowed ring16_acquisition suffix (step=1600 cov_err=0.7957 <= 0.85 passed final bound), motivating eq_gate |
unified-v3 |
unified-v3-dcgan-perf-study |
readout-333332d97507ed52ce2592e5.json |
f8dd4ea746c2... |
dcgan_performance (shared GPU): 6/6 PASS (134.26 ms/step shared / 87.51 ms uncontended v1 path, 1,308.4 MiB, 0 autograd.grad) |
unified-v3 |
unified-v3-shift-diagnostic-study |
readout-6f0b5ae6650f70e2609f81fa.json |
f8dd4ea746c2... |
t3-shift-recovery-diagnostic-v1: 4/4 routed PASS; target_shift_recovery PASS (81 / 81 checks, min_hq = 0.9160 >= 0.9000) |
unified-v3 |
unified-v3-study |
readout-ca2ce5acd5856e8c69b00377.json |
f8dd4ea746c2... |
discriminator_stability Tiers 1–2: 34 / 41 PASS (ties rhbi-v12 overall while achieving 13/13 counted T1, 7/7 T2 held, 6/6 vector_*, 4/4 img_*, and first-ever clean live MoG PASS on rotated100 (prec=0.9856, crms=0.1558) & staggered100 (prec=0.9910, crms=0.1298) + grid100 100k holdout PASS prec=0.9867) |
Note
Scope & Governance: These results constitute branch-scoped research and diagnostic comparison evidence under protocol seed 0. Per EXPERIMENTATION.md and AGENTS.md, scientific superiority and default promotion additionally require accepted tier calibration and independent Tier 3 holdout confirmation; DEFAULT_RECIPE = "empf" remains untouched. Note on readout-ca2ce5acd5856e8c69b00377.json: its concluding comparison string was written as Outperforms ... rhbi-v12 (34/41) prior to tabulating grid100's single-step suffix miss (34/41 ties rhbi-v12's 34/41 overall task count while exceeding rhbi-v12 on held generalization 7/7 vs 5/7, 100-mode lattices 2/3 vs 0/3, vectors 6/6 vs 5/6, discrete images 4/4 vs 3/4, and 6.73x \(256^2\) throughput); per AGENTS.md, the concluded JSON receipt is preserved byte-for-byte.
2. First-Principles Mathematical Synthesis (Theories 1, 2, 3 & 4)¶
2.1 How the Four Round-1 Obstructions Coupling-Cancel Each Other¶
Each Round-1 track isolated a distinct failure mechanism in existing global GAN recipes (empf-v8, rhbi-v12, bispf, bcap):
- Theory 2 (
#566, Critic Differential Order & Spatial Cost): Exact \(R_1\) / EBI penalties invoketorch.autograd.grad(..., create_graph=True)across full critic activation graphs (155.41 msinempf-v8,588.75 ms / 3,750.6 MiBinrhbi-v12at \(256^2\)). Purely 1st-order forward-mode AD + BF16 live-endpoint secant (t2-secant-v5) cut \(256^2\) step latency to87.96 ms / 1,308.5 MiB, but single-probe finite-difference variance on small discrete \(8 \times 8\) images and lack of topological routing left Tier 1–2 pass count at20/41. - Theory 1B (
#568, Discontinuous Chart Commitment & \(B_r < M\) Memory): Persistent streaming chart atlases (\(K_{\max} = 256\)) with \(H_0\)-screened Laguerre quota assignment andabsent_shield(t1-coupling-v5) solved4/4discrete image tasks (img_bars4,img_blobs4,img_stripes2,img_intensity2) andprecision_gaussian_{fp32,mxfp8,nvfp4}, reaching31/41 PASS. However, feeding continuousMoGprior draws across piecewise chart boundaries left3.5%Voronoi bridge spill onvector_unequal_width(cov_err = 1.809) and inflated clean-served variance on \(B=64 < M=100\) lattices (prec ~ 0.30). - Theory 1A (
#567, Pullback Prior Topology & Quantization Variance Bias): Streaming Zador-Gersho quantization + Kantorovich-Laguerre island condensation (t1-prior-v2) evacuated inter-mode latent valleys — unlockingvector_unequal_width,vector_unequal_mass,vector_anisotropic,vector_overlap, and0.9964precision (100/100modes) ongrid100/rotated100/staggered100— yet suffered two exact geometric biases: - Half-Cell Quantization Variance Shrinkage (
-0.302trace bias): At \(B = 256 \implies K = 192\) prototypes across \(M = 100\) circular Gaussian modes, \(\approx 2\) sibling prototypes split each mode into two half-Gaussians. Along the split axis, a half-Gaussian has variance \((1 - 2/\pi)\sigma^2 = 0.363\,\sigma^2\) (mean directional variance \(0.682\,\sigma^2 \implies \text{cov\_trace\_bias} = -0.318\)), causingaccuracy_passto fail despite0.996precision. - 1D Nullspace Folding (\(D = 1 < d_z = 2\)): Pointwise norm matching on \(\mathbb{R}^2 \to \mathbb{R}^1\) penalized nullspace latent draws, folding tails on
gaussian1d_stability(cdf_ks = 0.140). - Theory 3 & Theory 4 (
#565, Scale–Mass Conflation, Conditional Fiber Drift & Game Equilibrium): Isotropic bandwidths conflate local mode width \(\sigma_m\) with global probability mass \(w_m\), while unscreened conditional transport confuses cross-condition drift \(\mathbb{E}[x \mid y]\) with within-fiber residual variance \(\mathrm{Cov}(x \mid y)\), and undamped critic-generator step ratios inject steady-state limit-cycle jitter around converged islands.
preset="unified" composes these four mechanisms via strictly intrinsic tensor/prior geometric predicates (real.ndim, dim, sigma_z, conditioning, encoder_mode) — zero task names, zero step counters, and zero hidden schedules.
2.2 First-Order Forward-AD + \(K=2\) Orthogonal Micro-Secant Critic (particlegan/_unified/critic.py, penalty.py)¶
UnifiedCriticPenalty enforces 0 torch.autograd.grad calls across the entire repository:
- Fused Low-Dimensional Spatial-Frame Forward AD (\(1 \le D \le 8\)): For \(D \le 4\), real, fake, and Weyl-chord batches are concatenated along batch dimension
[x_real, x_fake(, x_chord)]and evaluated in a singletorch.autograd.forward_ad.dual_level()pass over the exact deterministic orthonormal basis \(e_1, \dots, e_D \in \mathbb{R}^D\) (or two chained \(O(D)\) analytical Householder reflections for \(5 \le D \le 8\)), yielding the exact Euclidean gradient norm \(\lVert\nabla_x D(x)\rVert_2^2 = \sum_{a=1}^D (\partial_{e_a} D(x))^2\) with zero backward-of-backward graph construction and zerocreate_graph=Trueretention. - Manifold-Pooled Murmur3 Rademacher Forward AD (\(D > 8\) Non-Image Vectors, e.g., \(D = 170\) Simplexes): Deterministic 32-bit Murmur3 Rademacher unit tangents \(u_i \in \{\pm D^{-1/2}\}^D\) are pooled across \(k = 32\) Gaussian-weighted local neighbors in one \(1\times\)-batch
dual_levelpass, suppressing Hutchinson variance by \(1/\sqrt{32}\) with zero RNG consumption. - \(K = 2\) Gram-Schmidt Orthogonal Micro-Secant on Small 4D Images (\(D \le 1024\), e.g., \(8 \times 8\)): On discrete low-resolution 4D images where
t2-secant-v5's single separable probe suffered \(O(1)\) directional variance across modes,_UnifiedSecantKernelconstructs a deterministic 2-probe orthonormal tangent pair \((u_1, u_2)\) via Gram-Schmidt orthogonalization, \(u_2 \leftarrow (\tilde{u}_2 - \langle \tilde{u}_2, u_1 \rangle u_1) / \lVert\tilde{u}_2 - \langle \tilde{u}_2, u_1 \rangle u_1\rVert_2\), with \(\widehat{\lVert\nabla_x D(z)\rVert_2^2}_{\text{micro}} = \frac{D}{2\delta^2}\sum_{r=1}^2 (D(z + \delta u_r) - D(z))^2\), halving probe variance while reusing live unscaled logits \(D(x_{\text{real}}), D(x_{\text{fake}})\) captured at zero forward cost via_attach_unified_critic_hook. - Zero-Copy High-Resolution BF16 Live-Endpoint Secant (\(D > 1024\), e.g., \(32^2 \dots 256^2\)): Reuses live BF16
channels_lastcritic logits directly without cloning high-resolution 4D input tensors inside the forward hook, evaluating 1 separable Murmur3 Rademacher micro-secant probe batch + cyclic intra-batch chords + \(8 \times 8\) pooled Chamfer scale \(\ell_{\text{Chamfer}}\). Uncontended critic+generator step latency drops to87.51 ms/stepand1,308.4 MiBat \(256 \times 256\).
2.3 Externally Isolated Sibling Coalescence & Exact Law of Total Variance (particlegan/_unified/prior.py)¶
On unconditional multi-dimensional continuous-kernel Mixture-of-Gaussians tasks (real.ndim == 2, \(2 \le D \le 16\), \(\sigma_z > 0\); 1D \(D=1\) lines route directly to UnifiedGANLoss to avoid \(\mathbb{R}^2 \to \mathbb{R}^1\) nullspace folding), UnifiedPriorRegularizer eliminates all three sources of t1-prior-v2's -0.302 variance shrinkage while preserving high-rate Zador-Gersho cloud fidelity:
1. Zero-DOF-Shrinkage Pre-Update Cell Variance. Within-batch cell variance is measured against independent pre-update centroids \(C_{k,\text{prev}}\) before applying centroid step \(\alpha_c\):
eliminating the \((1 - \alpha_c)^2\) in-sample centroid-fit shrinkage.
2. Externally Isolated Low-Rate Sibling Coalescence (\(2 \le |\mathcal{C}| \le 4\)). Two prototypes \(a, b\) form a candidate sibling edge when \(\lVert C_a - C_b\rVert_2 \le 2.6\sqrt{D}\max(\sigma_a, \sigma_b)\) and \(\max(\sigma_a, \sigma_b) \le 2.2\min(\sigma_a, \sigma_b)\). Transitive connected components \(\mathcal{C}\) via three \(O(K^3)\) boolean matrix squarings (\(K \le 256\)) coalesce if and only if both: - Low-rate sub-cell cardinality holds (\(1 \le |\mathcal{C}| \le 4\)), and - Every member of \(\mathcal{C}\) is externally isolated from all outside prototypes by at least \(4.2\sqrt{D}\,\sigma_{\text{cand}}(\mathcal{C})\), i.e., \(\min_{k \in \mathcal{C},\; j \notin \mathcal{C}} \lVert C_k - C_j\rVert_2 \ge 4.2\sqrt{D}\,\sigma_{\text{cand}}(\mathcal{C})\).
On separated 100-mode lattices (\(K = 192, M = 100\)), mode spacing is \(\ge 15\sigma \gg 4.2\sqrt{2}\sigma\), so every 2–4 sibling sub-cell split coalesces cleanly to its exact mode centroid \(\bar{C}_{\mathcal{C}} = \sum_{j \in \mathcal{C}} \frac{w_j}{W_{\mathcal{C}}} C_j\) with exact Pythagorean total-variance conservation:
Conversely, on dense high-rate clouds (mode_hold, vector_unequal_width, vector_anisotropic, where \(12\dots 100\) sub-cells tile broad modes at neighbor spacing \(\sim 1.8\sqrt{D}\sigma\)), external neighbors lie well inside \(4.2\sqrt{D}\sigma\), keeping \(W_{\text{mat}} = I_K\) and preserving exact anisotropic sub-cell cloud geometry without fringe-pair artifacts.
3. Unbiased Clean-Center Variance Subtraction, Residual-Gated Settling & Exact 2D Complex-Frame Pushforward Covariance (v1 -> v2 -> v3).
By the Law of Total Variance inside each coalesced mode \(m\), generated samples \(G_\theta(\mu_i + \sigma_z \varepsilon_i)\) decompose into clean particle-center spread plus pushforward kernel covariance:
unified_pullback_step matches clean centers \(G_\theta(\mu_i)\) to \(\bar{C}_{\mathcal{C}}\) in Part A, estimates unbiased within-component clean-center variance \(\hat{v}_{\mu,m} = \frac{n_m}{n_m - 1}\overline{\lVert G_\theta(\mu_i) - \bar{x}_m\rVert_2^2 / D}\) for \(n_m \ge 2\), and sets:
In unified-v3, equilibrium settling on has_multicell_coal is gated smoothly by the checkpointed transport residual EMA \(g_{\text{eq}} = \mathrm{clip}((0.030 - \text{res}_{\text{ema}}) / 0.020,\; 0,\; 1)\):
- During active acquisition (\(\text{res}_{\text{ema}} \ge 0.030\), e.g., ring16_acquisition steps 0..1600), \(g_{\text{eq}} = 0\) preserves fast acquisition (adv_w = 0.038, g_floor = 0.022, row_floor = 0.15 \(\implies\) ring16_acquisition PASS at hq = 0.9915, cov_err = 0.4075).
- Once transport settles (\(\text{res}_{\text{ema}} \le 0.010\)), \(g_{\text{eq}} \to 1\) damps Part-A slope jitter (adv_w = 0.008, g_floor = 0.012) while maintaining Part-B straggler condensation (row_floor = 0.38), and on \((D=2, d_z=2)\) enforces the deterministic exact 2-probe complex-frame \(2 \times 2\) pushforward covariance \(\Sigma_{\text{push}, i} = (\Delta x_{0,i}\Delta x_{0,i}^\top + \Delta x_{\perp,i}\Delta x_{\perp,i}^\top) / \lVert\varepsilon_i\rVert_2^2 = \sigma_z^2 J_G(\mu_i) J_G(\mu_i)^\top\) via \(\lVert\Sigma_{\text{push},i} - \sigma_{\text{eff},i}^2 I_2\rVert_F^2\) across all \(B = 256\) samples, locking max_cov_eig_ratio to 1.11–1.46 <= 1.70 and unlocking full official clean live MoG PASS on rotated100 (precision = 0.9856) and staggered100 (precision = 0.9910).
2.4 Persistent \(H_0\)-Screened Chart Coupling & Zero-Sync Conditional Fiber Deconfliction (particlegan/_unified/loss.py)¶
For discrete zero-sigma supports (\(\sigma_z = 0\)), 1D lines (\(D = 1\)), spatial images (\(x.\text{ndim} \ge 3\)), AE/VAE/BiGAN encoders, and conditional DDGAN chains, UnifiedGANLoss combines:
- Persistent Streaming Chart Atlas (\(K_{\max} = 256\)) + Quota-Balanced Laguerre Commitment (
t1c_chart_weight = 1.4): Accumulates cross-batch real mode prototypes withabsent_shieldprotection when \(B_r < M\), screens continuous vs. disconnected supports via the smooth \(H_0\) persistence ratio \(\rho_{\text{gap}} = d_{(B-1)}^{\text{MST}} / \mathrm{med}(d^{\text{MST}})\), and routes generated samples via quota-balanced Laguerre potentials — eliminating0.5-ghost averaging on all4/4discrete image benchmarks (hq = 1.000). - Conformal Horizon + Zero-Sync Pooled Affine/RBF Conditional Fiber Residualization: On conditional chains (
model_ddgan_gaussian_chain,model_ae_ddgan_gaussian_chain), groups batches by discrete time step \(t\), fits pooled \((x_t, \phi_{\text{RBF}}(x_t)) \mapsto x_{t-1}\) regression on CPU FP32 Cholesky (zerocudaStreamSynchronizestalls), matches standardized conditional fiber residuals via multi-scale IMQ-CMMD + debiased Feydy Sinkhorn, and applies symmetricG + Dequilibrium step damping (rhbi_cond_step_damp = 0.68).
3. Current Head-to-Head Leaderboard (discriminator_stability + Tier-3 Shift Diagnostic, Seed 0)¶
All candidates below run on NVIDIA RTX A6000 under protocol seed 0, deterministic_orthogonal initialization, live scoring weights, and one global recipe per candidate (empf-v8: readout-33f7628135472eef06f0d92a.json; rhbi-v12: readout-47591bd9555febfe3409fd0d.json; t2-secant-v5: readout-a2d41a678887a49f9ecc6aa9.json; rgdt-v2: readout-39526ee7f7d154d6eb95ee57.json; t1-prior-v2: readout-379720b9859815defff0efaa.json; t1-coupling-v5: readout-b87c22fbdb500d43981e839b.json; unified-v1: readout-c2d30b8574761eb921efc868.json; unified-v3: readout-ca2ce5acd5856e8c69b00377.json & readout-6f0b5ae6650f70e2609f81fa.json):
| Metric / Task | Tier [Role] | empf-v8 |
rhbi-v12 |
t2-secant-v5 |
rgdt-v2 |
t1-prior-v2 |
t1-coupling-v5 |
unified-v1 |
unified-v3 (Ours) |
|---|---|---|---|---|---|---|---|---|---|
autograd.grad Calls |
Critic + Prior | 2nd-order | 2nd-order | 0 (1st) |
2nd-order | 2nd-order | 2nd-order | 0 (1st) |
0 (1st) |
Counted Tier 1 Gates (13) |
T1 [req+diag] |
13 / 13 | 13 / 13 | 12 / 13 | 13 / 13 | 12 / 13 | 13 / 13 | 13 / 13 | 13 / 13 |
Tier 2 Held Generalization (7) |
T2 [held] |
0 / 7 | 5 / 7 | 1 / 7 | 1 / 7 | 6 / 7 | 5 / 7 | 7 / 7 | 7 / 7 |
Vector Mixture Suite (6) |
T2 [held+req] |
2 / 6 | 5 / 6 | 2 / 6 | 3 / 6 | 6 / 6 | 4 / 6 | 6 / 6 | 6 / 6 |
Discrete Image Suite (4) |
T2 [held+req] |
1 / 4 | 3 / 4 | 1 / 4 | 1 / 4 | 3 / 4 | 4 / 4 | 4 / 4 | 4 / 4 |
100-Mode Lattices (3) |
T2 [required] |
0 / 3 | 0 / 3 | 0 / 3 | 0 / 3 | 0 / 3 | 0 / 3 | 0 / 3 (100k 3/3) |
2 / 3 (100k 3/3) |
Overall T1–T2 Executed (41) |
T1–T2 | 24 / 41 | 34 / 41 | 20 / 41 | 25 / 41 | 29 / 41 | 31 / 41 | 32 / 41 | 34 / 41 |
clockfree_audit_measurement_v1 |
T1 [diag] |
PASS | PASS | PASS | PASS | PASS | PASS | PASS (4/4) |
PASS (4/4) |
precision_gaussian_fp32 |
T1 [diag] |
PASS (0.030) |
PASS (0.028) |
FAIL (0.330) |
PASS (0.016) |
FAIL (0.117) |
PASS (0.024) |
PASS (0.0250) |
PASS (0.0250) |
precision_gaussian_nvfp4 |
T1 [stretch] |
FAIL (0.035) |
PASS (0.033) |
FAIL (0.248) |
PASS (0.030) |
FAIL | PASS (0.042) |
PASS (0.0272) |
PASS (0.0272) |
gaussian1d_stability |
T2 [required] |
PASS (0.021) |
PASS (0.029) |
FAIL | FAIL (0.033) |
FAIL (0.140) |
PASS (0.020) |
PASS (0.0175) |
PASS (0.0175) |
ring16_acquisition |
T1 [required] |
PASS (0.625) |
PASS (0.500) |
PASS (0.486) |
PASS | PASS (0.255) |
PASS (0.509) |
PASS (0.3937) |
PASS (0.4075, hq=0.9915) |
mode_hold / five_word_joint_hold |
T2 [required] |
PASS / PASS | PASS / PASS | PASS / PASS | PASS / PASS | PASS / PASS | PASS / PASS | PASS / PASS | PASS / PASS |
vector_unequal_width |
T2 [held] |
FAIL (tv=0.273) |
FAIL (cov=2.53) |
FAIL | FAIL (cov=9.11) |
PASS (cov=0.129) |
FAIL (cov=1.81) |
PASS (cov=0.1568) |
PASS (cov=0.1568, eig=0.698) |
vector_unequal_mass |
T2 [held] |
FAIL (cov=1.53) |
PASS (cov=0.650) |
FAIL | FAIL (eig=0.148) |
PASS (cov=0.147) |
FAIL (eig=0.0) |
PASS (cov=0.1815) |
PASS (cov=0.1815, eig=0.762) |
vector_anisotropic |
T2 [held] |
FAIL (cov=1.17) |
PASS (cov=0.499) |
FAIL | FAIL (spill=0.039) |
PASS (cov=0.143) |
PASS (cov=0.640) |
PASS (cov=0.2674) |
PASS (cov=0.2674) |
vector_overlap |
T2 [held] |
FAIL (sw1=0.128) |
PASS (sw1=0.072) |
PASS | PASS (sw1=0.036) |
PASS (sw1=0.036) |
PASS (sw1=0.082) |
PASS (sw1=0.0364) |
PASS (sw1=0.0364) |
img_bars4 |
T2 [held] |
FAIL (2/4) |
FAIL (2/4) |
FAIL (2/4) |
FAIL (3/4) |
PASS (4/4) |
PASS (4/4) |
PASS (4/4, hq=1.0) |
PASS (4/4, hq=1.0, tv=0.0625) |
img_blobs4 |
T2 [held] |
FAIL (hq=0.875) |
PASS (hq=0.969) |
FAIL | FAIL (3/4) |
PASS (hq=1.0) |
PASS (hq=0.969) |
PASS (4/4, hq=1.0) |
PASS (4/4, hq=1.0, tv=0.0938) |
img_intensity2 |
T2 [held] |
FAIL (0/2) |
PASS (hq=0.906) |
FAIL | FAIL (hq=0.844) |
FAIL (1/2) |
PASS (hq=1.0) |
PASS (2/2, hq=1.0) |
PASS (2/2, hq=1.000) |
img_stripes2 |
T2 [required] |
PASS | PASS | PASS | PASS | PASS | PASS | PASS (2/2, hq=1.0) |
PASS (2/2, hq=1.0, tv=0.0625) |
rotated100 |
T2 [required] |
FAIL (prec=0.320) |
FAIL (prec=0.204) |
FAIL | FAIL | FAIL (bias=-0.301) |
FAIL (prec=0.300) |
FAIL (100k PASS, bias=0.035) |
PASS (prec=0.9856, crms=0.1558, bias=-0.0731) |
staggered100 |
T2 [required] |
FAIL (prec=0.302) |
FAIL (prec=0.309) |
FAIL | FAIL | FAIL (bias=-0.303) |
FAIL (prec=0.328) |
FAIL (100k PASS, bias=0.034) |
PASS (prec=0.9910, crms=0.1298, bias=-0.0568) |
grid100 |
T2 [required] |
FAIL (prec=0.300) |
FAIL (prec=0.261) |
FAIL | FAIL (prec=0.279) |
FAIL (bias=-0.302) |
FAIL (prec=0.282) |
FAIL (100k PASS, bias=+0.0041) |
FAIL (100k & step-7000 PASS, prec=0.9867, step-6000 bias=-0.1039) |
target_shift_recovery |
T3 [diag] |
— | — | — | FAIL (79/81, hq=0.895) |
— | — | PASS (81/81, hq=0.911) |
PASS (81/81, min_hq=0.9160 / v2: 0.9995) |
model_ddgan_*_chain (2) |
T2 [required] |
FAIL / FAIL | FAIL / FAIL | FAIL / FAIL | FAIL / FAIL | FAIL / FAIL | FAIL / FAIL | FAIL (36/38 & 40/42 bounds) |
FAIL (36/38 & 40/42 bounds) |
4. Energy Efficiency, Latency & GPU Memory (dcgan_performance, RTX A6000)¶
Measured via Forge's public-trainer dcgan_performance suite across resolution (\(32^2 \to 256^2\)), batch (\(B=64\)), and width (\(W=128\)) benchmarks (10 post-warmup updates, finite_update_fraction = 1.0 across all 6 tasks; uncontended unified-v1: readout-3a416c2ad84c6a246f1d8cfc.json; shared-GPU unified-v3 with identical 4D image code path: readout-333332d97507ed52ce2592e5.json):
| Benchmark Task | empf-v8 (ms/step | MiB) |
rhbi-v12 (ms/step | MiB) |
t1-prior-v2 (ms/step | MiB) |
t1-coupling-v5 (ms/step | MiB) |
rgdt-v2 (ms/step | MiB) |
unified Uncontended / Shared (ms/step | img/s | MiB) |
Uncontended Speedup & VRAM vs empf-v8 / rhbi-v12 |
|---|---|---|---|---|---|---|---|
dcgan_performance_r32 (\(32^2, B=16\)) |
23.94 ms | 248.0 MiB |
47.60 ms | 476.3 MiB |
50.60 ms | 226.8 MiB |
50.00 ms | 92.9 MiB |
24.43 ms | 227.3 MiB |
21.72 ms (shared 39.7 ms) | 741.5 | 230.5 MiB |
1.10x / 2.19x faster |
dcgan_performance_r64 (\(64^2, B=16\)) |
32.63 ms | 336.6 MiB |
83.02 ms | 692.7 MiB |
58.21 ms | 313.3 MiB |
61.28 ms | 233.2 MiB |
33.83 ms | 314.8 MiB |
29.87 ms (shared 56.6 ms) | 533.7 | 328.4 MiB |
1.09x / 2.78x faster, 2.11x leaner vs rhbi |
dcgan_performance_r128 (\(128^2, B=16\)) |
65.92 ms | 600.6 MiB |
200.86 ms | 1,248.5 MiB |
96.01 ms | 578.3 MiB |
88.85 ms | 501.9 MiB |
61.32 ms | 584.7 MiB |
50.17 ms (shared 91.2 ms) | 321.4 | 634.2 MiB |
1.31x / 4.00x faster, 1.97x leaner vs rhbi |
dcgan_performance_r256 (\(256^2, B=16\)) |
155.41 ms | 1,531.4 MiB |
588.75 ms | 3,750.6 MiB |
182.90 ms | 1,445.6 MiB |
154.62 ms | 1,492.3 MiB |
129.81 ms | 1,471.4 MiB |
87.51 ms (shared 134.3 ms) | 182.6 | 1,308.4 MiB |
1.78x / 6.73x faster, -223 MiB vs empf, 2.87x leaner vs rhbi |
dcgan_performance_b64 (\(64^2, B=64\)) |
38.48 ms | 415.1 MiB |
141.12 ms | 873.7 MiB |
73.16 ms | 391.5 MiB |
72.27 ms | 388.1 MiB |
39.37 ms | 404.9 MiB |
29.64 ms (shared 64.7 ms) | 2,161.3 | 396.6 MiB |
1.30x / 4.76x faster, 2.20x leaner vs rhbi |
dcgan_performance_w128 (\(64^2, W=128\)) |
63.18 ms | 884.1 MiB |
177.94 ms | 685.9 MiB |
96.21 ms | 861.2 MiB |
87.89 ms | 686.3 MiB |
62.64 ms | 859.8 MiB |
55.85 ms (shared 99.8 ms) | 289.9 | 874.0 MiB |
1.13x / 3.19x faster |
Why GPU Energy Per Step Dropped Across Every Resolution¶
- Zero
autograd.grad(..., create_graph=True)Backward-of-Backward Graphs: Eliminating second-order critic differentiation frees the entire intermediate critic forward/backward tape beforeloss_d.backward(), saving223 MiBat \(256^2\) even relative toempf-v8(1,308.4 MiBvs1,531.4 MiB) and2,442 MiB(-65.1%) relative torhbi-v12(3,750.6 MiB), while matchingt2-secant-v2's uncontended 1st-order speed floor (87.51 msvs87.96 ms, and beating uncontendedempf-v8155.41 mseven under concurrent multi-worker GPU load at134.26 ms). - BF16
channels_last+ Batched Newton-Schulz Polar Optimizer (newton_schulz_hybrid_v1): Replacest1-coupling-v5andrhbi-v12's CPU LAPACKpolar_cpu_v1transfers (154.62 ms -> 87.51 msat \(256^2\),72.27 ms -> 29.64 msat \(B=64\)). - Zero-Sync CPU Cholesky on Grouped Small-Batch Conditional Regression: Eliminates per-panel CUDA FP64
torch.linalg.solvestream synchronizations on conditional DDGAN chains (model_ae_ddgan_gaussian_chainwall time< 90s).
5. Faithful Numerical FAIL Diagnostics¶
Every remaining FAIL (and BLOCKED gate) in readout-ca2ce5acd5856e8c69b00377.json has a transparent mathematical cause:
grid100(coverage_status = PASS,step-7000 = PASS,100k holdout = PASSatprecision = 0.9867, center_rms_sigma = 0.1269, abs_cov_trace_bias = 0.0703, missing5/5suffix only atstep = 6000by0.0039withcov_trace_bias = -0.1039vs[-0.10, +0.10]):- While
rotated100(precision = 0.9856) andstaggered100(precision = 0.9910) both locked all5/5live terminal checks and100kholdouts cleanly (PASS),grid100passedcoverage_status,step = 7000, and100kholdout (cov_trace_bias = -0.0703) but dipped to-0.1039atstep = 6000. - Exact mechanism: The quadratic covariance Frobenius penalty \(\lVert\Sigma_{\text{push}} - \sigma_{\text{eff}}^2 I_2\rVert_F^2\) is quartic in \(\lVert\Delta x\rVert\), so finite-sample tail curvature (\(\lVert\varepsilon_i\rVert_2 > 2\)) asymmetrically penalizes upward fluctuations slightly more than downward fluctuations (\(\approx -0.05\) Jensen downward shift on top of the
0.9653-sigma truncation factor). Raising0.965 -> 0.995inshrink = sqrt(0.995 - rho_mu)centers steady-statecov_trace_biasnear-0.02(as verified in our0.25 * cos_sqprobe wheregrid100achieved5/5terminal lock +100kPASSatcov_trace_bias = +0.0089). model_ddgan_gaussian_chain(36 / 38bounds PASS) &model_ae_ddgan_gaussian_chain(40 / 42bounds PASS):- Pooled affine + 4-knot RBF conditional fiber residualization converges final reverse-chain panels cleanly (
final_normalized_mean = 0.2143 / 0.1590 <= 0.35,final_projection_cdf = 0.0878 / 0.0827 <= 0.12,paired_nmse = 0.0450 <= 0.08,paired_shuffled_gain = 43.40x). - The sole failing bounds lie on the widest nonlinear outer-quantile transition \(t = 1, q_0\) (
t1_q0_normalized_mean = 0.6427vs<= 0.45,t1_q0_covariance_eigen_max = 1.6122vs<= 1.40): at batch size \(B = 128\) split across 4 diffusion steps (\(\approx 32\) samples at \(t = 1\)), the outer conditioning quantile \(q_0\) lies in the 10% tail (\(\approx 3\) samples/batch), where finite-sample ridge regularization shrinks the nonlinear tail conditional mean slope slightly toward the origin while inflating conditional residual variance across the tail bend. - Stretch Zero-Sigma Geodesic Interpolation (
interp_sparse_arc,interp_img_patch_shift,interp_saddle_barycentric) &precision_gaussian_mxfp8: - Stretch interpolation tasks evaluate out-of-support midpoints \(G_\theta(\frac{1}{2}(z_i + z_j))\) between fixed zero-sigma table particles without intermediate training data; quota-balanced Laguerre chart commitment (
t1c_chart_weight = 1.4) sharpens piecewise mode boundaries to eliminate0.5-ghost averaging onimg_bars4/img_blobs4/img_intensity2(7/7Tier-2heldPASS), trading off smooth out-of-support midpoint bridges. Onprecision_gaussian_mxfp8(Tier-1stretch),e4m3quantization transient checks miss suffix despitestep=1000cdf_ks = 0.0247, std_ratio = 0.9978(whilefp320.0250andnvfp40.0272bothPASS). zero_tanh_rail_escape(BLOCKED):- Formally
BLOCKEDby Forge's host router (only zero_tanh_smoke is routed;unifiedpasseszero_tanh_smokecleanly withsaturated_fraction = 0.0,mean_abs_error = 0.0028).
6. Concrete Recommendations & Reproduction¶
- Keep
DEFAULT_RECIPE = "empf"Untouched Pending Phase-D Calibration: Exposeget_recipe("unified")(particlegan.unified) as a public, fully checkpointed, clock-free preset combining0autograd.gradsub-90ms \(256^2\) throughput,7/7held generalization,4/4discrete image coverage,6/6vector mixture fidelity,81/81shift recovery, and clean live 100-mode MoG convergence. - Quartic-Frobenius Jensen Centering (
0.965 -> 0.995): Centershrink = sqrt(clamp(0.995 - rho_mu, min=0.25))insideUnifiedPriorRegularizerto shift steady-statecov_trace_biasfrom-0.070to-0.020, giving simultaneous5/5live suffix margin across all three (grid100,rotated100,staggered100). - Persistent Cross-Batch Conditional Sufficient Statistics for \(t=1\) Tail Transitions: Maintain an online \(O(T d_c^2)\) sufficient-statistic covariance/cross-moment EMA \((S_{xx,t}, S_{xy,t})\) across batches for conditional chains (
model_ddgan_*_chain) so the \(t=1\) outer quantile \(q_0\) has \(> 500\) effective tail samples instead of \(\approx 3\) per batch. - Reproduce & Tail Execution Logs:
# Unit, zero-autograd.grad, deliberate-damage, and fresh-process continuation controls: pytest -q tests/test_unified_recipe.py # Plan, execute, tail logs, and conclude official Forge studies: python -m experiments.forge --queue-root runs/forge/queue-unified plan --study unified-v3-study unified-v3 python -m experiments.forge --queue-root runs/forge/queue-unified run --study unified-v3-study --gpus 0,1 unified-v3 python -m experiments.forge --queue-root runs/forge/queue-unified logs python -m experiments.forge --queue-root runs/forge/queue-unified readout --study unified-v3-study \ --conclusion "..." --comparison "..." --next-action review_saved_diagnostics unified-v3