Inverse Modeling Explorer

We “invert” measurements to infer processes such as carbon storage or greenhouse-gas emissions. A good fit can have several explanations: explore which answers the data support and which new measurements help tell them apart.

Parameters:

Decay time τ₁ · Decay time τ₂ · Starting fraction f

Posterior density
LowHigh
X τ₁ · decay time 1 (months)Y τ₂ · decay time 2 (months)Z f · starting fraction
Preparing the explorer… JavaScript is needed for the interactive plots.
What do these parameters mean?

We model plant material as two components that decay at different rates. The measurements show their combined remaining mass.

τ₁ and τ₂ · Decay times
Time for each component to fall to about 37% of its starting mass. Longer times mean slower decay. The axes use log scales: 1, 10 and 100 months are equally spaced.
f · Starting fraction
Share of the initial mass in component 1. If f = 0.2, component 1 starts with 20% and component 2 with 80%.

Try this:

The same reasoning across Earth science

A forward model predicts observations from a set of parameters. An inverse problem uses observations to work back to plausible parameters. The difficulty is that different parameters can produce similar signals.

1 · Propose an explanation

Choose values for the unknown quantities, such as a decay time or an emission rate.

2 · Predict and compare

Run the physical model. Compare its prediction with the measurements, allowing for errors.

3 · Keep the uncertainty

Examine all supported combinations. Ask which new observation would tell them apart.

ExampleWhat we observeWhat we infer
Land carbonPlant material remaining over timeDecay times and starting amounts
Atmospheric remote sensingLight absorbed at different wavelengthsGas amount, light path, surface brightness
Atmospheric fluxesGas concentrations and isotope ratiosSources, atmospheric mixing, or chemical loss
Seismology (analogy)Seismic-wave arrival timesEarthquake location and wave speeds

Why the shape matters: a long band means quantities can compensate for each other. Separate regions can mean different explanations, or simply different names for the same components. A compact region means the parameters are better constrained under the chosen model and assumptions.

More measurements help most when they respond differently to the unknowns. Even a very good fit can give uncertain predictions, especially beyond the times or conditions observed.

The Bayesian vocabulary, in plain language
Parameter
An unknown quantity we want to estimate.
Prior
The ranges and relative plausibility assigned before using these observations.
Likelihood
How well a prediction explains the observations under an assumed error model.
Posterior
The probability distribution over parameters after combining the likelihood and prior.
Marginalization
Adding up posterior density over a parameter to describe the others. The 2D map does this for the third parameter.

posterior ∝ likelihood × prior

Here, uniform means equal prior density in (log₁₀τ₁, log₁₀τ₂, f). The finite bounds and this coordinate choice still influence the uncertainty.

A best fit is a single combination. The posterior also describes uncertainty around it. Probability belongs to a region of parameter space: the color of a single point is a density, expressed here relative to the peak.

Equations, assumptions, data and references

Prior choice: No external estimates of the three fitted quantities are used as priors. Within the chosen ranges, the prior is uniform in the plotted coordinates, so the 3D density is proportional to the data likelihood.

Colors show posterior density on a logarithmic scale, relative to the peak in the current view. Probability comes from regions of parameter space.

The display omits density below exp(−6), about 0.25% of the peak, for readability. The calculated uncertainty includes the full bounded posterior. Each selection of observations and each view has its own peak, so compare the width and shape of the supported region when changing observations. The cloud shows grid locations, with transparent dots that can overlap. The 2D map integrates over the third parameter; selecting a map location shows its conditional best-fitting third value, which is a representative prediction for that location. All three examples use a teaching model, chosen error assumptions, and finite parameter ranges. The uncertainty shown covers only the three fitted quantities; fixed inputs and model structure are not varied.

The forward problem

The forward model maps three unknown parameters, θ = (τ₁, τ₂, f), to a predicted observation M(t): the sum of two exponentially decaying components. In this application, the components represent stores of decomposing plant material, called pools in carbon-cycle science. Each loses material at a rate proportional to its remaining amount, and observations measure their combined remaining mass at specified times.

Component 1: f
decay time τ₁
+
Component 2: 1 − f
decay time τ₂
dC₁/dt = −C₁/τ₁
dC₂/dt = −C₂/τ₂
M(t) = 100[f exp(−t/τ₁) + (1−f) exp(−t/τ₂)]

The inverse problem estimates θ from the observations yᵢ at times tᵢ, accounting for assumed errors, fixed parameter bounds and the chosen coordinates. The posterior describes the parameter combinations supported by those choices and the data. Here, the observed quantity is the percentage of plant organic matter remaining; this example illustrates carbon-pool inference using a simplified model.

The observations used here

Time (months)Organic matter remaining (%)
0100.00 · initial normalization
2.584.21
673.09
1261.08
2447.23

The observations are Bouteloua gracilis organic matter remaining at Cedar Creek under the UV-block treatment, from Brandt et al. (2010), archived in aridec v1.0.2. The numerical series is column CBB of the archived Brandt2010 entry. The time-zero normalization is fixed by the model and is excluded from the likelihood. Only the chosen observations enter each fit.

Original field experiment: Brandt et al. (2010)
Archived database: aridec v1.0.2
Exact numerical source · Series metadata

Why this solution space is interesting

Two modes can describe exactly the same decay curve. Swapping τ₁ and τ₂ while replacing f by 1−f leaves M(t) unchanged. Those two peaks represent the same model prediction under different component labels. “Swap component names” demonstrates this with the same predicted observations.

The data also leave genuine parameter trade-offs. Different component fractions and decay times can produce similar predictions at a few observation times. Use the first two observations to expose broad curved regions, then restore all four. At the default error scale, the region where the two decay times are equal is much less plausible with all four observations. Any visible connection depends on the fixed display threshold and the finite grid.

A local quadratic approximation cannot explain the whole geometry. The component-label symmetry and curved trade-offs arise from the forward equations and these observations. No extra peaks, bridges, or warping functions were added to the posterior.

Statistical assumptions, coordinates, and numerical checks

The likelihood uses independent Gaussian residuals, with the selected common σ. The prior is uniform in (log₁₀τ₁, log₁₀τ₂, f), with decay times between 10−0.3 and 102.3 months (about 0.50–200 months), and f between 0.02 and 0.98. Thus the density shown is with respect to log decay-time coordinates and the fraction, not linear decay-time coordinates. These prior bounds and the error model are analysis choices, not claims from the original study.

J(θ) = Σᵢ [M(tᵢ; θ) − yᵢ]² / (2σ²)
p(θ | y) / pmax = exp[−(J(θ) − Jmin)]
p(log τ₁, log τ₂ | y) ∝ ∫ p(log τ₁, log τ₂, f | y) df

The blue–turquoise–yellow color scale is applied to log relative posterior density. Transparency helps expose the volume interior, so overlapping dots can blend colors; use the 2D map to avoid overlapping dots.

The three-parameter cloud uses a regular 65 × 65 × 81 grid in the displayed prior coordinates. Its dots are volume-rendering elements, not Monte Carlo samples. The flat two-parameter map marginalizes over f by midpoint quadrature (121 nodes). Color shows relative log marginal density. The two views each have their own maximum for the color scale. Peak density and integrated probability mass are different quantities.

For the selected observations, the optimum fraction at any pair of decay times is found analytically by bounded linear least squares. A grid search followed by a pattern search locates a best fit. For all four observations, an independent numerical optimization gives approximately τfast = 3.284 months, τslow = 46.903 months, ffast = 0.2139, with squared residual sum 0.4475 percentage-points². The model and observations are embedded in this file; no server or network connection is needed. Three.js is included, with a Canvas fallback when WebGL is unavailable.

With only four nonzero-time observations and a simplified stationary model, this is an explainer of an actual inverse problem, not a validated ecological parameter product. It does not model seasonal forcing, microbial transfers, or every cause of litter loss. Broader discussion of identifiability in decomposition data: Sarquis & Sierra (2023).