ParticleGAN Research Portal
Learnable particle priors, composable GAN/DDGAN recipes, and an evolving scientific framework for stable, energy-optimal adversarial learning.
Replace fixed Gaussian latent noise with a learnable table of latent particles optimized alongside your PyTorch generator, evaluated across matched deterministic Forge protocols with hardware NVML energy telemetry and streamed training media.
Start Exploring¶
Interactive Leaderboard & Energy Pareto
Sortable family scores across the 71-test full suite and 115 view requirements, NVML J-to-PASS Pareto scatter plots, Law coverage heatmap, and side-by-side training GIFs streamed from Hugging Face.
Evolving Laws of GAN Learning
Implementation-independent formalization of Representational Geometry, Potential Geometry, Transport Identifiability, and Functional & Game Dynamics — backed by ten adversarial mathematical audits (P0–P10).
Read the Laws Hub →Family Formulations
Mathematical equations, update-loop diagrams, law-mechanism tables, and per-task receipts across Unified, Axiom, Minimal, RHBI, EMPF, BISPF, BCAP, Atlas, E22, K3P, KA2, R1/R2, and historical baselines.
Compare Families →Experiment Atlas & Studies
Per-experiment target-geometry schematics, protocol diagrams, exact numerical pass/fail gates, unresolved problems, and controlled ablation studies (including Occam's Razor and Law-4 energy studies).
Browse Experiments →10-Line PyTorch Quickstart¶
Supply ordinary torch.nn.Module networks. GANTrainer binds the recipe's optimizers, critic regularizer, and particle-prior update rule without mutating your architecture or weights.
import torch
from torch import nn
from particlegan import GANTrainer, get_recipe, init
def real_batch(n): # replace with your DataLoader: 8 Gaussians on a ring
angle = torch.randint(8, (n, 1)) * torch.pi / 4
return torch.cat([angle.cos(), angle.sin()], 1) + 0.05 * torch.randn(n, 2)
recipe = get_recipe(total_steps=2000) # default: "axiom" (axiom-v5 research preview)
G = nn.Sequential(nn.Linear(recipe.z_dim, 128), nn.LeakyReLU(0.2), nn.Linear(128, 2))
D = nn.Sequential(nn.Linear(2, 128), nn.LeakyReLU(0.2), nn.Linear(128, 1))
init.deterministic_orthogonal_(G, seed=0)
init.deterministic_orthogonal_(D, seed=1)
prior = init.deterministic_orthogonal_(recipe.make_prior())
trainer = GANTrainer(recipe, G, D, prior=prior, seed=0)
for _ in range(recipe.total_steps):
trainer.step(real_batch(recipe.batch_size))
samples = trainer.sample(1024)
from particlegan import get_recipe
default = get_recipe() # axiom (axiom-v5: <=2,500-LOC 4-Law core, lowest r256 energy)
unified = get_recipe("unified_v15") # Unified-v15 (74/79 receipts, 16/16 Occam, 103/115 view reqs)
v12 = get_recipe("unified_v12") # explicit 0.12.0 Unified-v12 preset
fast_core = get_recipe("minimal") # <900-LOC zero-Newton-Schulz fast core
v11 = get_recipe("unified_v11") # explicit 0.11.x Unified preset
rhbi = get_recipe("rhbi_optimized") # Relativistic Hellinger-Born-Infeld transport
empf = get_recipe("empf") # Exponential Moving Prototype Flow
bispf = get_recipe("bispf_optimized") # Born-Infeld Sinkhorn Particle Flow
How the Research Ecosystem Connects¶
flowchart LR
API["particlegan API<br/>(Recipes, Priors, GANTrainer)"] --> Forge["ParticleGAN Forge<br/>(Deterministic Protocols & Gates)"]
Laws["Evolving Laws Framework<br/>(Mathematical Audits P0-P10)"] -. informs & falsifies .-> API
Laws -. shapes challenge tasks .-> Forge
Forge --> Receipts["Committed Receipts & Studies<br/>(Git: reports/forge/)"]
Forge --> HFData["HF Evidence Dataset<br/>(Parquet, Archives, Training GIFs)"]
Receipts --> Portal["GitHub Pages Research Portal<br/>(Docs, Laws, Families, Experiments)"]
HFData --> Space["HF Static Leaderboard Space<br/>(Full Receipt & GIF Explorer)"]
HFData -. live GIF streaming .-> Portal
Scientific Governance & Provisional Evidence
- Research-preview default, not a qualified winner:
DEFAULT_RECIPE = "axiom"(matchingaxiom-v5) is the current research-preview default. Screening calibration underconfigs/forge/calibration/criteria-v1.jsonremainsBLOCKED, and no recipe in this repository is declared scientifically qualified. - Single-seed screening disclosure: Forge screening runs use protocol
seed = 0with deterministic orthogonal initialization across synthetic distributions, discrete visual benchmarks, and mock-noise DCGAN speed/energy workloads. Multi-seed and natural-image FID/Recall confirmation remain open. - Failures and gaps remain visible: Numerical
FAIL,BLOCKED,INCOMPATIBLE, andNOT MEASUREDoutcomes stay distinct and are never dropped from fixed full-suite denominators. Tuning budgets and adaptive selection lineage are disclosed on every leaderboard row. - Canonical source of truth: See the Canonical Forge Leaderboard, Unresolved Problems, and the Interactive HF Leaderboard Space.