V2 (Dynamic)v3.2

Hypernetwork

Generates personalized tumor parameters for each patient

Architecture
Dual-Path Hypernetwork with Late Gated Fusion and Physics Constraints
Global C-index (Path A)
0.7042

Phase 0: gate clamp + aux survival + physics bottleneck

Target: > 0.65
Stratified C-index (Path A)
0.6701

18 reliable / 33 cancer types

Target: > 0.60
Global C-index (Path B)
0.6869

DSN Hypernet via 128-PDX DSN, v5.10

Target: > 0.65
Physics Compliance
100%

0.00% violation rate across both paths

Target: 100%

Overview

Takes a patient's compressed biological fingerprint and generates the specific growth rate, drug sensitivity, and immune response parameters for that individual's tumor simulation. Every parameter is bounded by biological law — growth rates can't be negative or impossibly fast, drug sensitivity is between 0% and 100%. Two separate paths: one for human clinical data, one for mouse model data. The model automatically learns how much to weight molecular data versus histology images for each cancer type.

Inputs

4 inputs
z_full (Path A)328

Full multi-modal VAE latent for human/clinical data

Source: vae
z_dsn (Path B)281

z_shared(201) + z_meth_imputed(48) + z_cnv_imputed(32) via DSN

Source: dsn
WSI embeddings1,536

UNI2-h histopathology embeddings (late gated fusion)

Source: UNI2-h pathology encoder
Cancer type64 (embedding)

Cancer type embedding for FiLM conditioning

Source: Clinical metadata

Outputs

6 outputs
rho[K]

Growth rates, constrained to [0, 0.3]/day via sigmoid

Consumers: neural-ode
beta[K, D]

Drug sensitivity, constrained to [0, 1] via sigmoid

Consumers: neural-ode
omega[1]

Immune killing coefficient, constrained > 0 via softplus

Consumers: neural-ode
N0[K]

Initial clone populations (sum = 1)

Consumers: neural-ode
sigma[1]

Stochastic noise scale, constrained > 0

Consumers: evosim
risk[1]

Calibrated survival risk score

Mathematical Formulation

Growth Rate

Sigmoid-constrained to [0, 0.3]/day

Gated Fusion

Learned gate with per-cancer bias

Survival Loss

Cox partial log-likelihood

Key Features

  • Two separate paths: Specialist (328d) and Translator (281d via DSN)
  • Late gated fusion: omics 77% / WSI 23% (Path A)
  • FiLM conditioning on cancer type embedding (64d)
  • Physics bottleneck: ODE params → dynamics projection → survival head
  • Anti-gate-starvation: gate clamping + auxiliary per-modality survival heads
  • MC Dropout uncertainty quantification

Key Innovations

  • 1Dual-path architecture for human and PDX data
  • 2Physics bottleneck creates gradient path: L_survival → rho/omega
  • 3Triangulated validation (physics + fidelity + utility)
  • 4Conditioned gating with per-cancer bias (zero-initialized)

Hyperparameters

Omics Projection
328→128 (Path A), 281→128 (Path B)
WSI Bottleneck
1536→256→128
Cancer Embed Dim
64
Batch Size
128
Epochs
200 (early stopping ~61)
Learning Rate
3e-4 (AdamW)

Training Details

Path A: Trained on v5.10 latents (9,393 samples) + WSI + survival. Phase 0 flags: gate_clamp, aux_survival, cancer_moddrop, physics_bottleneck. Early stopping at epoch 61. Path B: Trained on DSN-processed latents (281d) with same architecture. Stratified K=4 cancer type cross-validation.