Method / tool

Gaussian Process

A probabilistic, non-parametric model that places a distribution over functions, yielding calibrated uncertainty estimates alongside predictions — not just a single point value but a full posterior with confidence bounds.

The problem — Most predictive models in bioimage analysis produce a number. They do not tell you how much to trust that number. A segmentation confidence score and a batch-corrected morphology readout both carry hidden uncertainty; ignoring it means downstream decisions — hit calls, dose-response fits, patient risk scores — inherit error silently.

What it is / how it works — A Gaussian Process (GP) is a prior over functions: given training observations, it returns a posterior distribution at every new input point, parameterised by a mean and variance. The kernel (covariance) function encodes assumptions about smoothness and length scale; popular choices include the squared-exponential (RBF) and Matérn families. In practice, a GP fit to a dose-response curve yields not just the EC₅₀ estimate but a credible interval that reflects both measurement noise and sparse-data uncertainty. In spatial calibration — flat-field correction across a well plate, for instance — GP regression can model position-dependent bias while propagating that uncertainty into downstream feature values. This treatment of uncertainty as a first-class output is precisely the kind of epistemic honesty that distinguishes a production pipeline from a research prototype.

Role in Fovea pipelines — GPs appear at several nodes: spatial bias correction (modelling illumination non-uniformity as a smooth spatial function), dose-response readout (fitting pharmacological curves with calibrated confidence), and as a component of uncertainty-drift-and-failure-modes workflows where out-of-distribution inputs need a principled flagging signal rather than a silent extrapolation. Because a GP's predictive variance rises in data-sparse regions, it provides a natural alarm for inputs that fall outside the training distribution — complementing validation-without-ground-truth strategies that cannot rely on held-out labels.

Where it breaks — GP inference scales as O(n³) in the number of training points, making naïve implementations impractical beyond a few thousand observations. Sparse approximations (inducing-point methods, e.g. SGPR) and GPU-accelerated libraries (GPyTorch) are the standard mitigations. Kernel choice also matters: a misspecified kernel under- or over-smooths the posterior, introducing systematic bias that looks like well-calibrated uncertainty but is not. Treat GP outputs as calibrated only after verifying coverage on held-out data.

Calibration is not free. A GP posterior can be formally well-specified and still badly calibrated if the kernel or noise model is mismatched to the data-generating process. Always validate empirical coverage.

References

Appears in these notes

  • Measure Where It MattersAdaptive, uncertainty-driven acquisition treats the microscope as part of the model — spending photons and time only where the image is uncertain or the biology is happening, instead of scanning everything uniformly.

← Back to the constellation