Tutorials › Quantitative Systems Pharmacology (QSP) › When Spatial Heterogeneity Changes Model Predictions

Spatial and Agent-Based Approaches · Tutorial 215 of 799

When Spatial Heterogeneity Changes Model Predictions

Use transport timescales, spatial measurements, and nonlinear averaging to decide whether a well-mixed QSP model can answer a biological question.

Advanced 10 min read

What You'll Learn

  • Estimate a diffusion timescale from a characteristic distance and diffusion coefficient.
  • Compare transport and binding timescales to assess whether concentration gradients may persist.
  • Explain why applying a nonlinear occupancy or response function to mean concentration can give a different result from averaging local predictions.
  • Calculate receptor-weighted average occupancy when receptor abundance varies across regions.
  • Identify evidence that supports a well-mixed model, a spatial model, or further measurements.
  • Recognize limitations of timescale estimates and spatially averaged observations.

Why Spatial Heterogeneity Can Change a Prediction

A well-mixed model represents a tissue or cell population with one concentration and one state for each modeled quantity. This can be efficient and sufficient when transport makes concentration differences small on the timescale relevant to the question. But a single average concentration does not necessarily predict the average biological response. If occupancy or downstream response is nonlinear in concentration, applying the response function to the average can differ from calculating the local response first and then averaging it.

The decision is therefore not simply whether a tissue is spatially heterogeneous. It is whether spatial differences persist over relevant distances and times, and whether those differences change the model output needed for the biological question. Diffusion timescale estimates, the expected degree of nonlinear response, and spatially resolved observations provide complementary evidence.

Definition: A well-mixed model treats the modeled concentration or state as spatially uniform within its represented domain. A spatial model allows that quantity to vary with position. A well-mixed approximation is adequate for a specified question when replacing spatial variation with the chosen aggregate representation does not materially change the predicted quantity over the relevant conditions and times.

Transport Time as a First Screening Test

For diffusion with coefficient \(D\), a useful order-of-magnitude estimate of the time to diffuse across a characteristic distance \(L\) is

$$ \tau_D \sim \frac{L^2}{D}. $$

Here, \(L\) is a distance in the tissue and \(D\) has units of distance squared per time, so \(\tau_D\) has units of time. This estimate is a screening calculation, not an exact prediction of equilibration. Geometry, boundary conditions, spatially varying properties, and local removal or binding can alter how quickly concentrations become similar.

Compare \(\tau_D\) with the timescale of the biological process and the observation. If diffusion across the relevant distance is much faster than binding, signaling, or the time resolution of interest, substantial concentration differences may dissipate before they affect the measured output. If transport is comparable to or slower than those processes, local responses can develop before the tissue equilibrates. This comparison indicates when spatial effects are plausible; it does not by itself establish that a spatial model is necessary.

For reversible binding in a region with approximately constant free concentration \(C\), a simple binding timescale is \(1/(k_{\mathrm{on}}C+k_{\mathrm{off}})\), where \(k_{\mathrm{on}}\) and \(k_{\mathrm{off}}\) are the association and dissociation rate constants. Comparing that local timescale with \(\tau_D\) helps determine whether appreciable binding can occur before concentrations change through transport. The estimate assumes the simple binding process and a locally stable \(C\); it should not be treated as a full model of a tissue with depletion or complex kinetics.

Worked Example: Comparing Diffusion and Binding Timescales

Suppose a hypothetical tissue has an effective diffusion coefficient \(D=3{,}000\ \mathrm{\mu m^2/min}\), and the relevant distance from a perfused boundary is \(L=200\ \mathrm{\mu m}\). At a local concentration of \(5\ \mathrm{nM}\), let \(k_{\mathrm{on}}=0.020\ \mathrm{nM^{-1}min^{-1}}\) and \(k_{\mathrm{off}}=0.10\ \mathrm{min^{-1}}\). Compare the timescales.

The diffusion estimate is

$$ \tau_D \sim \frac{(200\ \mathrm{\mu m})^2}{3{,}000\ \mathrm{\mu m^2/min}} =\frac{40{,}000\ \mathrm{\mu m^2}}{3{,}000\ \mathrm{\mu m^2/min}} \approx 13.3\ \mathrm{min}. $$

The local binding timescale under the stated assumptions is

$$ \tau_{\mathrm{bind}} =\frac{1}{k_{\mathrm{on}}C+k_{\mathrm{off}}} =\frac{1}{(0.020\ \mathrm{nM^{-1}min^{-1}})(5\ \mathrm{nM})+0.10\ \mathrm{min^{-1}}} =\frac{1}{0.20\ \mathrm{min^{-1}}} =5.00\ \mathrm{min}. $$

Diffusion across the full distance is slower than the local binding timescale in this estimate. Binding could therefore respond to local concentrations before the tissue has equilibrated across \(200\ \mathrm{\mu m}\). That makes spatial effects plausible, especially early in the response; it does not prove that a spatial model will change the eventual endpoint. Measurements or a prediction comparison are still needed. The calculation also assumes the stated effective \(D\), distance, and locally constant concentration; different geometry or local sinks could change the result.

Nonlinear Responses Do Not Generally Commute With Averaging

A common way to expose the effect of heterogeneity is to compare the response at the mean concentration with the mean of local responses. For a simple equilibrium occupancy model, the local fractional occupancy at free concentration \(C\) is

$$ g(C)=\frac{C}{K_d+C}, $$

where \(K_d\) and \(C\) have the same concentration units. If regions have concentrations \(C_i\) and occupy fractions \(w_i\) of the relevant population, with \(w_i\geq 0\) and \(\sum_i w_i=1\), the mean local occupancy is \(\sum_i w_i g(C_i)\). A single-concentration model instead predicts \(g(\sum_i w_i C_i)\). These are not generally equal.

For \(C\geq0\), the second derivative of the occupancy function is

$$ g''(C)=-\frac{2K_d}{(K_d+C)^3}<0. $$

Thus \(g\) is concave over nonnegative concentrations. Jensen's inequality gives \(\sum_i w_i g(C_i)\leq g(\sum_i w_i C_i)\) under the assumptions of this occupancy function and common \(K_d\). In this case, using mean concentration tends to overpredict the average local occupancy when concentrations vary. Other response functions can have different curvature, so the direction and magnitude of the discrepancy must be checked for the response of interest.

Worked Example: Averaging Occupancy Across Two Regions

Consider two equal-volume regions with hypothetical free concentrations of \(0\ \mathrm{nM}\) and \(10\ \mathrm{nM}\), and a common \(K_d=5\ \mathrm{nM}\). Assume receptor density is the same in both regions and occupancy is at equilibrium. Compare mean local occupancy with occupancy evaluated at mean concentration.

The local occupancies are

$$ g(0)=\frac{0}{5+0}=0, \qquad g(10)=\frac{10}{5+10}=\frac{10}{15}=\frac{2}{3}. $$

With equal region weights, the mean local occupancy is

$$ \overline{g(C)} =\frac{0+10/15}{2} =\frac{1}{3} \approx 0.333. $$

The mean concentration is \((0+10)/2=5\ \mathrm{nM}\), so the well-mixed prediction is

$$ g(\bar{C})=\frac{5\ \mathrm{nM}}{5\ \mathrm{nM}+5\ \mathrm{nM}}=0.500. $$

In this hypothetical example, mean local occupancy is about \(0.333\), whereas occupancy at the mean concentration is \(0.500\), a difference of \(0.167\), or 16.7 percentage points. The calculation uses the exact value \(10/15\) through the averaging step. The discrepancy arises even though both approaches use the same occupancy function and the same mean concentration; they differ in the order of averaging and applying a nonlinear function.

Use Spatial Observations and the Relevant Aggregate

The appropriate average depends on the model output. If the question concerns the fraction of receptors occupied across tissue, regions with more receptors contribute more bound receptors. An unweighted mean of regional occupancies is appropriate only when the regions contribute equally to the receptor population. Likewise, an assay signal may weight regions by tissue volume, cell number, receptor abundance, or signal-generation properties. A bulk measurement can conceal gradients and does not automatically equal the average of the biological quantity being modeled.

Worked Example: Receptor-Weighted Occupancy

Suppose two hypothetical equal-volume regions have concentrations \(1\ \mathrm{nM}\) and \(9\ \mathrm{nM}\), with \(K_d=3\ \mathrm{nM}\). Region A has receptor density 1 in relative units and region B has receptor density 2. Assume equilibrium occupancy and that the total bound-receptor fraction is the output of interest.

The regional occupancies are

$$ g(C_A)=\frac{1}{3+1}=0.250, \qquad g(C_B)=\frac{9}{3+9}=0.750. $$

Because the regions have equal volume but receptor densities in the ratio \(1:2\), their weights in the total receptor population are \(1/3\) and \(2/3\). Therefore the receptor-weighted bound fraction is

$$ \frac{1(0.250)+2(0.750)}{1+2} =\frac{1.750}{3} \approx 0.583. $$

The volume-weighted mean concentration is \((1+9)/2=5\ \mathrm{nM}\). Applying the occupancy function to that concentration gives \(5/(3+5)=0.625\). The well-mixed prediction is higher by \(0.625-0.583=0.042\), or about 4.17 percentage points. This comparison assumes the given regional concentrations and receptor densities represent the tissue and that \(K_d\) is common. It also illustrates why the output's weighting must be specified before comparing models.

Spatially resolved measurements can test whether the gradients relevant to a prediction are present. Examples include measuring drug concentration or target engagement at multiple tissue locations, or comparing regions expected to differ in delivery. Measurements should be interpreted at their actual spatial and temporal resolution: a coarse assay can average away a gradient, and an indirect biomarker may not measure local free concentration or occupancy directly. The earlier material on direct occupancy assays and indirect target-engagement biomarkers is useful for distinguishing what the observed signal represents.

Choosing a Model and Diagnosing Failure

Start from the biological question and the output to be predicted. A well-mixed model is often a reasonable choice when evidence supports rapid transport relative to the relevant response times, spatial variation is small at the scales that matter, and predictions are insensitive to plausible heterogeneity. If measurements show persistent gradients, or a nonlinear local response makes those gradients consequential, a spatial representation may be required. An intermediate approach is to represent a small number of distinct regions or compartments; it can capture some heterogeneity without resolving position continuously, but its adequacy must also be checked against the question and data.

ApproachUseful whenMain caution
One well-mixed stateTransport is effectively rapid and the output is insensitive to plausible spatial variation.A bulk mean may hide gradients or misrepresent a nonlinear response.
Several regional statesThere are identifiable regions with meaningfully different exposure or biology.Results can depend on how regions and exchange between them are represented.
Spatially resolved modelPosition-dependent transport or response is central to the question and supported by data.More spatial detail adds parameters and data demands; added complexity does not guarantee better predictions.

Useful diagnostics include comparing predicted outputs from a well-mixed model with regional predictions under plausible concentration profiles; checking whether the measured spatial pattern changes over the response time; and verifying that the average used for comparison matches the measured or clinically relevant quantity. Warning signs include systematic errors by tissue location, a bulk prediction that matches only after local overprediction and underprediction cancel, or a response that changes materially when the same mean concentration is distributed differently across regions.

A timescale calculation can fail as a decision rule if the chosen distance is irrelevant, the effective diffusion coefficient is poorly known, or uptake and binding act as local sinks. A spatial model can also be weakly identified if only bulk data are available: many different spatial profiles may produce the same bulk average. In that case, further spatial measurements or sensitivity analysis may be more informative than adding model detail. A well-mixed model is not inherently incorrect, and a spatial model is not automatically more credible; the choice is conditional on the question, evidence, and prediction robustness.

Common Mistakes

  • Comparing only mean concentrations. Equal means do not imply equal average responses when the response is nonlinear. Compare local responses and the appropriately weighted aggregate.
  • Treating \(\tau_D\) as an exact equilibration time. It is an order-of-magnitude estimate. Geometry, boundaries, binding, and removal can matter.
  • Using the wrong weights. Volume-weighted concentration and receptor-weighted occupancy answer different questions when receptor abundance varies.
  • Assuming that a gradient automatically requires a spatial model. If the requested prediction is insensitive to that gradient, a well-mixed model may still answer the question adequately.
  • Assuming a bulk assay rules out spatial variation. A pooled observation can conceal local differences, especially when the assay does not measure the local quantity directly.
Key takeaway: Evaluate spatial necessity by comparing transport and response timescales, asking how heterogeneity passes through the relevant response function, and matching model averages to the quantity observed or predicted. Use spatial structure when it changes the answer that matters, not merely because spatial variation is possible.

Check Your Understanding

Answer each question, then compare with the brief solutions.

  1. A characteristic distance is \(100\ \mathrm{\mu m}\) and \(D=2{,}000\ \mathrm{\mu m^2/min}\). Estimate \(\tau_D\). What does the estimate tell you if the response time is 2 minutes?
  2. For the occupancy function \(g(C)=C/(K_d+C)\), why can \(g\) of mean concentration differ from mean local occupancy?
  3. Two equal-volume regions have concentrations \(2\ \mathrm{nM}\) and \(8\ \mathrm{nM}\), with \(K_d=2\ \mathrm{nM}\). Calculate both mean local occupancy and occupancy at mean concentration, assuming equal receptor density.
  4. Name two reasons a diffusion-timescale comparison alone cannot establish that a spatial model is necessary.

Solutions. (1) \(\tau_D\sim(100\ \mathrm{\mu m})^2/(2{,}000\ \mathrm{\mu m^2/min})=5.00\ \mathrm{min}\). This exceeds the 2-minute response time, so spatial effects are plausible, not proven. (2) The occupancy function is nonlinear; for \(C\geq0\), \(g''(C)=-2K_d/(K_d+C)^3<0\), so applying it after averaging generally differs from averaging its local values. (3) Local occupancies are \(2/(2+2)=0.500\) and \(8/(2+8)=0.800\). Their mean is \(0.650\). Mean concentration is \(5\ \mathrm{nM}\), giving \(g(5)=5/(2+5)\approx0.714\). (4) The estimate is approximate and may omit geometry, boundaries, binding, or local removal; and even persistent heterogeneity may not materially change the specified output.

Clinical Biostats