in silico
Phase 1 : In Silico Validation
- Objectif
- Kill or confirm the core mathematical claim: that Monte Carlo path-integral gradients converge to analytic gradients with bounded bias from visibility discontinuities, and that architectural-to-scene mapping preserves gradient directionality, all at zero hardware cost.
- Coût estimé
- €500-2000 (cloud GPU + software licenses)
- Durée estimée
- 6-8 weeks
- Critères de réussite
- Relative L2 gradient error at N=4096 · < 5% in smooth regions; < 10% near visibility boundaries after reparameterization · (Compare autodiff gradient to closed-form analytic gradient over 100 random parameter draws per cell)
- Convergence slope of log(error) vs log(N) · Slope in [-0.6, -0.4] for smooth regions; slope in [-1.2, -0.8] after soft-visibility reparameterization · (Linear regression with t-test on slope vs 0, Bonferroni-corrected across 540 cells)
- Cosine similarity autodiff vs finite-difference (continuous params) · > 0.9 · (One-sample t-test against 0 with mixed-effects model (random intercept per parameter cell))
- Cosine similarity for vane count (continuous relaxation) · > 0.7 · (Same as above, restricted to vane-count cells)
- Gradient SNR at read noise <= 10 e-, flux >= 1e4, N=1024 · > 10 dB · (|mean gradient| / std across 50 MC seeds)
- Sign-change rate at SNR > 10 dB · < 5% · (Binomial test against p=0.5, Bonferroni-corrected)
- Negative-control gradient magnitude · < 0.01 * max signal gradient, TOST p < 0.05 · (One-sample t-test and equivalence test over 100 repetitions)
- Parasitic gradient magnitude at N=1024 · < 10% of signal gradient · (Paired t-test on log(parasitic/signal) against log(0.1))
- On continue si
- At least 5 of 7 falsifiable predictions are supported, AND relative L2 gradient error < 5% at N=4096 in smooth regions, AND cosine similarity > 0.9 for continuous parameters, AND gradient SNR > 10 dB at read noise <= 10 e- and flux >= 1e4.
- On arrête si
- Fewer than 3 of 7 predictions are supported, OR relative L2 gradient error > 20% at N=4096 even after reparameterization, OR cosine similarity < 0.5 for continuous parameters (mapping invalidates gradient directionality).
- On réoriente si
- 3-4 predictions supported: pivot to a hybrid approach where differentiable rendering is used only for smooth-region sensitivity analysis (FOV, integration time) and discrete parameters (vane count) are handled by finite differences on the reference optical model.
- Risques
- Soft-visibility reparameterization introduces bias that does not vanish at operational NProbabilité : mediumParade : Sweep temperature tau and use adaptive tau annealing; if bias persists, fall back to path-replay with boundary sampling (Mitsuba 3 “prb” integrator) and report bias floor explicitly
- Zemax/CODE V Python API licensing or version incompatibility blocks reference PSF generationProbabilité : lowParade : Pre-generate PSF library offline; use open-source alternatives (POPPY, PROPER) for cross-validation; budget 2 weeks for license resolution
- GPU memory limits prevent N=4096 at 1000+ DOFProbabilité : mediumParade : Use gradient checkpointing, tile-based rendering, and mixed precision; rent A100 80GB if needed; if still blocked, cap N at 1024 and extrapolate with fitted slope
- Mixed-effects models fail to converge on 540-cell designProbabilité : lowParade : Reduce to hierarchical Bayesian model with PyMC; pre-register analysis plan; use bootstrap CIs as fallback
- Parasitic gradients from soft-argmax dominate signal at low SNRProbabilité : mediumParade : Sweep soft-argmax temperature; use straight-through estimator as alternative; report parasitic/signal ratio as function of temperature