Overview
The LVGP model is an extension of the Gaussian process (GP) model (Williams and Rasmussen 2006). LVGP is a flexible model with best-in-class accuracy for interpolating highly nonlinear data containing categorical input parameters.
For data sets containing purely numerical input parameters, LVGP models have the same features as most other Gaussian process regression models. When the data contains string input parameters, the LVGP model maps the string values to locations in a latent space (Zhang et al., 2020). The latent space is a mathematical representation of the relationship between the string input variables and the numerical input parameters. By using latent variables to represent the string parameters levels, the model can capture complex patterns and nonlinear relationships that might not be apparent from the numerical input data alone. This allows the LVGP model to make more accurate predictions when the data is a mix of numerical and nonnumerical parameters. Figure 1 shows the relationship between the parameter types.
For any physical system model with categorical design variables, there are underlying quantitative or numerical physical variables that account for the response from the different levels of the categorical input parameter. For example, if the dataset contains a parameter called “material” with values of steel, aluminum, and titanium, the modeled phenomena are based on structural properties that have numerical values. The phenomena might relate to the yield strength and Young’s modulus, which are latent variables. In many situations, the latent variables are not obvious and are inferred from the data by LVGP.
The latent space and latent variables mimic the underlying quantitative space and quantitative variables. In the model training process, the app estimates each level’s latent variable values based on statistical principles (maximizing the likelihood of suitable output). The latent variables themselves generally do not have clear meanings. However, the relative locations of the levels in the latent spaces (determined by the levels’ latent variable values) sometimes reveal meaningful relationships between these levels and even the nature of the latent variables. Zhang et al. provide examples of this phenomenon in their publication (Zhang et al., 2020). They have also shown that LVGP models achieve much better modeling accuracy than competing models across a wide range of data sets.

In the figure above, are the underlying physical quantitative variables that fully characterize the levels of the qualitative variable, , in terms of their effect on the response. is the index of design variables.
Although it is generally unknown how many underlying variables are associated with each categorical variable, empirical results have shown that two-dimensional latent variables generally result in best modeling accuracy and efficiency. The LVGP implementation in the app assumes a two-dimensional latent space.
Similar to Universal Kriging, LVGP models can either “honor the data” (exact interpolation) or “smooth the data” (inexact interpolation) by tuning the noise variance setting of the models.
The training time of LVGP models scales with the number of design/input parameters, the number of design/data points, and the number of response variables. With respect to categorical design variables, each categorical level counts as roughly two input parameters in terms of the scale of training time.
The quality of an LVGP model depends on the location of the sample points in the design space. LVGP models perform best with space-filling designs where sample points are far apart. However, the model is also robust against cluster sample points provided that you set sufficient noise variance for the model.
Once an LVGP model is trained, you can use it in design analysis. Training an LVGP model is slower than other interpolation techniques such as Radial Basis Functions; however, the prediction times are comparable.