Article view

hetGPy: Heteroskedastic Gaussian Process Modeling in Python

By David O’Gara, Mickaël Binois, Roman Garnett, Ross A. Hammond

Article information

Publication
Published 5 February 2025
Institutions at publication
Washington University in St. Louis; Institut national de recherche en sciences et technologies du numérique; Université Côte d'Azur; Brookings Institution; Santa Fe Institute
11 Citations OpenAlex, 4 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

Computer experiments are ubiquitous in the physical and social sciences. When experiments are time-consuming to run, emulator (or surrogate) models are often used to map the input-output response surface of the simulator, treating it as a black box. The workhorse function of emulator models is Gaussian process regression (GPR).GPs provide flexible, non-linear regression targets with good interpolation properties and uncertainty quantification. However, it is well-known that naïve GPR scales cubically with input size, and specifically involves intensive computation of matrix determinants and solving linear systems when fitting hyperparameters (Garnett, 2023; Gramacy, 2020). Further, naïve GPR with noisy observations typically assumes an independent, identically-distributed noise process, but many data-generating mechanisms, especially those found in stochastic computer simulation, exhibit non-equal variance noise (also known as heteroskedasticity) (Baker et al., 2020). The software package hetGP (Binois & Gramacy, 2021) alleviates both of these concerns when the dataset of interest contains multiple observations per location (i.e. a dataset of size 𝑁 has 𝑛 << 𝑁 unique input locations). The hetGP framework can calculate matrix inverses and determinants (and therefore the log likelihood and its gradients) on the order 𝑂(𝑛 3 ) rather than 𝑂(𝑁 3 ) time in the naïve case (Binois et al., 2018). This is accomplished via multiple applications of the Woodbury matrix identity (Binois et al., 2018;Harville, 1997) and leveraging the replication structure. Further, hetGP also models the mean and noise processes as two coupled GPs, allowing smooth noise dynamics over parameter space (Binois et al., 2018;Gramacy, 2020Gramacy, , 2020)). The package has been used in a variety of contexts, such as statistics (Binois et al., 2018(Binois et al., , 2019)), biology (Lazaridis, 2022) and computational epidemiology (Shattock et al., 2022). We present a Python reimplementation hetGPy, developed in part due to Python's widespread use in computer simulation (Downey, 2023;Kinser, 2022).

Citations per year

Citations per year
YearCitations
2025 2
2026 9

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 11 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
United States3
France1