Every demo in this section is the same inverse problem: given a present-day snapshot of a star cluster, which birth and structural parameters can you actually recover, and what are the fundamental limits? That is the inverse of what progenax does in the forward direction (parameters → initial conditions), run through one physics-direct differentiable inference engine: forward model → analytic predicted statistic → Gaussian/Poisson likelihood → MLE + Fisher information.
The deeper point is not “we can recover .” It is that a differentiable forward
model turns inference into information geometry. Because every initial condition is
jax.grad-able, the Fisher matrix is computable, and it tells you — before you
observe — what is measurable, what is degenerate, and what will bias you. And the
recurring discovery across the demos is that the astrophysics lives in the
degeneracies and systematics, not the point estimates. Most of the headline
results are not “we recovered ” but “ is degenerate with ,” or “ is
biased if you assume the wrong .”
The demos sort onto three axes.
The shared method: physics-direct differentiable inference¶
The demos share one inference layer (scripts/_demo_inference.py). The
design avoids both expensive likelihood-free / simulation-based inference and
any non-differentiable resampling inside the loss. The recipe:
Forward-sample mock stars at truth. Draw positions+velocities from a progenax model (here to 105). This is done once, to make the data; it is not repeated inside the optimizer.
Compress to binned kinematic summaries. Reduce the stars to per-group (or per-component) binned 1-D velocity dispersions on a frozen set of radial bins, each carrying a finite- standard error. For an isotropic pooled estimator over the three velocity components,
where the (not ) comes from pooling all three one-D components into a inner sum. This compression is what makes the cost -independent: the likelihood sees a few hundred binned numbers, never the 105 stars.
Likelihood against analytic predictions. Compare the binned data to the model’s analytic expectation with a Gaussian (χ²) likelihood,
with masking under-occupied bins. Gradients flow only through the analytic prediction — the data side is a fixed constant — so is exact and cheap, and there is no reparametrization-gradient noise from resampling.
Optimize and quantify. Adam (
mle_adam, a fixed-steplax.scan— deterministic and differentiable-friendly) from several dispersed starts; the Fisher information from the Gauss-Newton of the residual vector (fisher_information_gnviajax.jacrev, which is robust through the ODE/quadraturecustom_vjps, unlike a full Hessian); and, where affordable, full posterior sampling with a vendored blackjax NUTS.
Measurable — clean recovery, then the catch¶
These establish that the machinery recovers truth, and then find what the point estimate hides.
Demo | Recovered | The catch |
|---|---|---|
IMF + equipartition (B2) | from masses and kinematics | kinematics alone give a mild – degeneracy; the mass channel pins tighter — multi-channel inference is what makes it well-posed |
Halo + core (B3) | for a two-family cluster | the three are near-orthogonal (Fisher correlations 0) — a best case, by contrast with B11 below |
King concentration (B11) | from star counts alone | : a more-concentrated/smaller-core model mimics the same counts. Tight marginals hide a strong covariance — counts need kinematics to break it |
Anisotropy (B6) | the Osipkov–Merritt from | fit the OM form to a Michie cluster and you get a inflation and a biased — “the cluster has anisotropy radius ” is meaningless without naming the DF family |
Degenerate — the Fisher matrix is rank-deficient¶
The strongest results: the inverse problem is fundamentally (not statistically) ill-posed, and the differentiable Fisher exposes it exactly.
Birth-environment archaeology (B5) is the deepest. The environment-dependent IMF Marks et al., 2012Jeřábková et al., 2018 maps , the high-mass slope. is trivially measurable (a 40 top-heavy detection at ), but the map is three-to-one, so the environment-space Fisher is exactly rank 1 — two machine-precision-zero eigenvalues. A continuum of birth environments produces the identical mass function. You cannot read a cluster’s birth metallicity, mass, or star-formation efficiency off its IMF slope without an external constraint on two of the three. This is a caution for any claim that infers birth conditions from a present-day mass function.
Rotation + projection (B8) is the same rank-deficiency from geometry: a cluster rotating at rate viewed at inclination has a mean line-of-sight velocity , so constrains only the product — the Fisher is rank 1. Cluster rotation amplitudes from line-of-sight velocities are lower limits, degenerate with inclination; breaking it needs the projected flattening, which velocities cannot supply.
Biased — wrong-physics systematics¶
Unresolved-binary mass function (B4) is the headline. Unresolved binaries blend photometrically (their summed light inflates the inferred mass), distorting the observed mass function. A controlled experiment — shuffle the mass ratio against the period to preserve both marginals and change only the correlation — isolates the Moe & Di Stefano Moe & Di Stefano, 2017 – coupling. Ignoring it biases the binary fraction low by 5% ( at survey scale), because the blended (close) subset is more equal-mass under the real coupling than an independent model assumes. It is a systematic — fixed fractional bias whose significance grows as . Binary-fraction measurements from the photometric binary sequence that assume an independent -distribution are biased; you need the realistic –– covariance.
The wrong-IMF curve (B2d) and the OM-vs-Michie misfit (B6) are the same lesson in other channels: assume the wrong generative physics and the recovered parameter shifts in a quantifiable, detectable way.
Honest diagnostics — what the observables actually carry¶
Binary energy budget (B9): the internal binary binding energy is a separate reservoir that dwarfs the cluster potential (12–1900×) and is environment-dependent — the seed of binary-burning / core-collapse arrest. The naive resolved virial ratio is contaminated by orbital phase and is not the cluster’s ; virialize binary ICs on the system centres-of-mass.
Differentiable diagnostics (B10): the JAX surrogates for the CW04 substructure Cartwright & Whitworth, 2004 and the Allison mass-segregation ratio Allison et al., 2009 track their non-differentiable MST counterparts — so “substructure” and “segregation” can enter a gradient-based loss they never could before.
Tidal radius (B7): of the truncation-radius information lives in the few outermost (count-limited) bins, so the Poisson treatment is essential — and a cluster’s orbit (Galactocentric distance, via the Jacobi radius King, 1962) is encoded in its faint outer star counts.
Cross-engine agreement (B1): two independent engines build the same cluster — the consistency check the recoveries rest on.
What this is, and what it is not¶
The implication¶
The reason to build differentiable cluster initial conditions is not faster point estimation. It is that the Fisher information of a differentiable forward model is a forecasting instrument: for a given observable and sample size, it tells you what a cluster survey can and cannot claim. These demos are a first map of that information content for star-cluster observables — and the most valuable entries on the map are the ones that say “this is degenerate” (birth environment IMF slope; rotation inclination) and “this is biased if you assume the wrong physics” (binary fraction under the wrong – coupling; anisotropy under the wrong DF). Those are cautions an observer can carry to real data.
- Marks, M., Kroupa, P., Dabringhausen, J., & Pawlowski, M. S. (2012). Evidence for top-heavy stellar initial mass functions with increasing density and decreasing metallicity. Monthly Notices of the Royal Astronomical Society, 422, 2246–2254. 10.1111/j.1365-2966.2012.20767.x
- Jeřábková, T., Kroupa, P., Dabringhausen, J., Hilker, M., & Bekki, K. (2018). Impact of metallicity and star formation rate on the time-dependent, galaxy-wide stellar initial mass function. Astronomy and Astrophysics, 620, A39. 10.1051/0004-6361/201833055
- Moe, M., & Di Stefano, R. (2017). Mind your Ps and Qs: The interrelation between period (P) and mass-ratio (Q) distributions of binary stars. The Astrophysical Journal Supplement Series, 230, 15. 10.3847/1538-4365/aa6fb6
- Cartwright, A., & Whitworth, A. P. (2004). The statistical analysis of star clusters. Monthly Notices of the Royal Astronomical Society, 348, 589–598. 10.1111/j.1365-2966.2004.07360.x
- Allison, R. J., Goodwin, S. P., Parker, R. J., Portegies Zwart, S. F., de Grijs, R., & Kouwenhoven, M. B. N. (2009). Using the minimum spanning tree to trace mass segregation. Monthly Notices of the Royal Astronomical Society, 395, 1449–1454. 10.1111/j.1365-2966.2009.14508.x
- King, I. R. (1962). The structure of star clusters. I. An empirical density law. The Astronomical Journal, 67, 471. 10.1086/108756