← Leaderboard · Experiment Catalog · Explore by Laws · Research Portal
Particle VAE (Hard-Assigned Posterior) Fidelity & KL Identity (model_vae_hard)¶
| Field | Value |
|---|---|
| Laws Tested | Law 1 · Law 3B |
| Edge Cases | variational-posterior hard-routing kl-identity |
Primary View (discriminator_stability) |
Tier 1 (required) |
| Four Laws Adherence Role | — |
| Fixed Full-Suite Denominator | Yes (59-test active runnable denominator) |
| Adapter / Domain | public_api_model_toy / transfer_sustained |
| Prior | mog (sigma=0.025, standardize=False) |
| Update Budget | 1200 steps |
What This Experiment Tests¶
Hard-assignment counterpart to model_vae_categorical, testing whether discrete hard posterior routing still maintains reconstruction accuracy, posterior mutual information, calibrated posterior noise, and exact KL identity.
Note
Protocol notes: Tier-1 required public-API model task (1,200 updates).
Laws & Edge Cases Targeted¶
- Law 1: Representational Geometry (Law 1 theory) — Can the system represent the required probability measure efficiently and faithfully?
- Law 3B: Conditional Fiber & Stratum Identifiability (Unifies with Provisional Law 5) (Law 3B theory) — Does the learning system possess enough information to determine appropriate transport?
- Edge-case tags:
variational-posterior,hard-routing,kl-identity
Common Failure Mode¶
Hard posterior routing amplifies gradient variance and triggers dead particles or posterior collapse.
Historical audit diagnosis (reports/forge/problem-definitions.json): Hard posterior routing amplifies gradient variance and can trigger dead particles or posterior collapse when paired with adaptive critics or incompatible prior updates.
- Recommended research focus: Prevent hard-assignment dead particles and posterior collapse without breaking categorical VAE or unconditional GAN stability.
Visual Schematic¶
Target & Protocol Schematic · not training output — generated deterministically from the declared task contract.
Protocol & Architecture Diagram¶
flowchart LR
X["Real Data x"] --> E["Encoder E(x)"]
E --> P["Prior: mog (sigma=0.025, P=16, z=2)"]
P --> Dec["Decoder / Generator G(z)"]
Dec --> Rec["Reconstruction Loss"]
Dec --> D["Adversarial Critic D(x)"]
D --> Gate["Gate: transfer_sustained (1200 steps, 5 sustained)"]
Rec --> Gate
Task Contract & Numerical Gates¶
Execution & Sampling Contract¶
| Contract Field | Declared Value |
|---|---|
| Initializer | deterministic_orthogonal |
| Prior | mog (sigma=0.025, standardize=False) |
| Update Budget | 1200 steps |
| Batch Size | 64 |
| Particles / Latent Dim | P=16 / z_dim=2 |
| Sampling Law | task_model_kernel_and_posterior_without_serving_noise |
| Evaluation Output Noise | clean |
| Scoring Weights | live |
| Integrity Guards | finite_state, rng_isolation, optimizer_roles, exact_optimizer_updates, mechanism_exercised |
| Assigned Views | discriminator_stability (T1 required), prior-ablation-full-suite-v1 (T1 diagnostic), vaegan_coverage (T1 diagnostic) |
Numerical Pass/Fail Thresholds¶
| Metric | Operator | Threshold |
|---|---|---|
reconstruction_mse |
<= |
0.05 |
shuffle_reconstruction_ratio |
>= |
5.0 |
posterior_mutual_information |
>= |
0.3 |
posterior_noise_variance_ratio |
>= |
0.8 |
posterior_noise_variance_ratio |
<= |
1.2 |
kl_identity_error |
<= |
1e-05 |
elbo_identity_error |
<= |
0.0001 |
decoder_mean_hq |
>= |
0.85 |
decoder_mean_mass_tv |
<= |
0.15 |
decoder_mean_modes |
>= |
2 |
likelihood_hq |
>= |
0.85 |
likelihood_mass_tv |
<= |
0.15 |
likelihood_modes |
>= |
2 |
Recorded Family Results¶
Important
Screening outcomes below come from recorded single-seed (seed = 0) Forge evidence. NOT MEASURED, BLOCKED, and INCOMPATIBLE are non-numerical states — not scientific failures — and confer no pass or qualification credit.
| Family | Selected Candidate | Outcome | Key Recorded Metrics | Family Report | Training Media |
|---|---|---|---|---|---|
| Axiom | axiom-v5 |
PASS | recomputed complete live curve and terminal suffix | Axiom | HF GIF |
| EMPF | empf-v8 |
PASS | recomputed complete live curve and terminal suffix | EMPF | HF GIF |
| GAN v3 release 0.7 | recipe-prior-refactor-release07-gan-v3-v1 |
PASS | recomputed complete live curve and terminal suffix | GAN v3 release 0.7 | HF GIF |
| K3P | recipe-prior-refactor-k3p-v1 |
PASS | recomputed complete live curve and terminal suffix | K3P | HF GIF |
| KA2 | recipe-prior-refactor-ka2-v1 |
PASS | recomputed complete live curve and terminal suffix | KA2 | HF GIF |
| R1/R2 | recipe-prior-refactor-r1r2-v1 |
PASS | recomputed complete live curve and terminal suffix | R1/R2 | HF GIF |
| RHBI | rhbi-v12 |
PASS | recomputed complete live curve and terminal suffix | RHBI | HF GIF |
| Unified | unified-v15 |
PASS | recomputed complete live curve and terminal suffix | Unified | HF GIF |
| Atlas | atlas-particle-normal-v4 |
FAIL | recomputed complete live curve and terminal suffix | Atlas | HF GIF |
| BCAP | recipe-prior-refactor-bcap-pure-v1 |
NOT MEASURED |
No recorded result for this selected configuration and source. | BCAP | — |
| BISPF | bispf-optimized-quintic-v1 |
NOT MEASURED |
No recorded result for this selected configuration and source. | BISPF | — |
| E22 | e22 |
NOT MEASURED |
No recorded result for this selected configuration and source. | E22 | — |
Reproduce This Experiment¶
# Validate this task declaration and inspect planned dependencies
python -m experiments.forge validate
python -m experiments.forge plan --view discriminator_stability --candidate unified-v12 --tasks model_vae_hard
Declaration & Source Files:
- Task contract: configs/forge/tasks/model_vae_hard.json
- Source code: benchmarks/toy_audit/api_model_vae.py
- Source code: benchmarks/toy_audit/api_contract.py
- Source code: benchmarks/toy_audit/api_run.py
- Source code: benchmarks/toy_audit/reproducibility.py
- Source code: experiments/forge/model_toy_adapter.py
- Source code: experiments/forge/observation_checkpoints.py
- Source code: particlegan/policy.py
Annotation Provenance¶
This page was assembled read-only from the following versioned inputs without altering any task execution/evaluation fingerprint:
- Task contract JSON: configs/forge/tasks/model_vae_hard.json
- Editorial task documentation sidecar: configs/forge/task-documentation/model_vae_hard.json
- Read-only Python AST source: benchmarks/toy_audit/api_model_vae.py (AST symbols:
__doc__) - Read-only Python AST source: benchmarks/toy_audit/api_contract.py (AST symbols:
__doc__) - Read-only Python AST source: benchmarks/toy_audit/api_run.py (AST symbols:
__doc__) - Read-only Python AST source: benchmarks/toy_audit/reproducibility.py (AST symbols:
__doc__) - Read-only Python AST source: experiments/forge/model_toy_adapter.py (AST symbols:
__doc__) - Read-only Python AST source: experiments/forge/observation_checkpoints.py (AST symbols:
__doc__) - Read-only Python AST source: particlegan/policy.py (AST symbols:
__doc__)