You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Train a surrogate model that predicts ecosystem outcomes from config, and use it to identify which of the ~48 tunable parameters actually matter. This enables cheap exploration of the parameter space without running the full physics simulation.
Background
The ecosim engine has ~299 constants across 8 source files, but only ~48 are truly tunable (38 in sim_config.json + 10 world rates). Many may be dead weight — they only matter in edge cases that rarely trigger. Sensitivity analysis tells us which params to expose and which to freeze.
See: docs/ECOSIM_PARAMETER_TELEMETRY_SPACE.md § "Concrete Use Cases A+C"
Two Sub-Tasks
1. Surrogate Model
Inputs: ~48 tunable params + species trait vectors + biome ID (one-hot or embedding)
Targets: aggregate metrics at T=1000, T=5000, T=10000:
Biodiversity index (species still alive / initial count)
Time-to-collapse (tick when population drops below threshold)
Carrying capacity (peak population per species)
Event rate summary (deaths, reproductions, predations normalized by tick count)
Model: MLP or Gaussian Process — input space is small (~50D), output is ~10 metrics
Goal
Train a surrogate model that predicts ecosystem outcomes from config, and use it to identify which of the ~48 tunable parameters actually matter. This enables cheap exploration of the parameter space without running the full physics simulation.
Background
The ecosim engine has ~299 constants across 8 source files, but only ~48 are truly tunable (38 in
sim_config.json+ 10 world rates). Many may be dead weight — they only matter in edge cases that rarely trigger. Sensitivity analysis tells us which params to expose and which to freeze.See:
docs/ECOSIM_PARAMETER_TELEMETRY_SPACE.md§ "Concrete Use Cases A+C"Two Sub-Tasks
1. Surrogate Model
2. Sensitivity Analysis
sim_config.jsondown to the params that actually matterModule Structure
Design Constraints
Acceptance Criteria
scripts/train_surrogate.pyloads telemetry JSONL, trains MLP, saves modelscripts/sensitivity_analysis.pyproduces ranked feature importance plotserver/ecosim/metrics.pydefines reusable outcome metric functionsRelated
docs/ECOSIM_PARAMETER_TELEMETRY_SPACE.md(Phase 2)