model fitting errors for SingleTaskMultiFidelityGP & MultiTaskGP #2676
Replies: 2 comments 3 replies
-
SingleTaskMultiFidelityGP does assume that the fidelity of the function is monotonic in the parameter (based on the kernel from https://arxiv.org/abs/1903.04703). You could use a SingletaskGP if the relationship between the fidelity parameter and fidelity of the function is not monotonic. That maybe the source of the model fitting errors. What are the model fitting errors? |
Beta Was this translation helpful? Give feedback.
-
Hi I have revisited the problem and have some reproducable data. It is at the end of the message since i posted this in another thread (#2706 (comment)): Hi i also have a question regarding the LinearTruncatedFidelityKernel : is this kernel really positive definite and a therefore valid kernel for GP's? with:
And when evaluating psd'ness of the kernel it is sufficient to look at this this part: Now the polynomial kernel is psd for positive natural numbers. But the power hyperparameter is allowed to be a positive real number. Therefore im asking if the kernel is truely psd? Im asking all this since i am getting a covariance matrix for test data that is not psd and i therefore cannot compute outputs for the my training data is:
and this code gets me the negative eigenvalues for the covariance matrix of the LinearTruncatedFidelityKernel:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
During optimization runs using the
SingleTaskMultiFidelityGP
and theMultiTaskGP
i often encounter model fitting errors using thefit_gpytorch_mll
function.I was wondering where these model fitting problems came from. I was also wondering if both models require a strict ordering of the fidelity values? and how do these models handle non-linear inter-task/inter-fidelity dependencies?
For example, I got this test problem with 4 fidelity levels:
Here the SingleTaskMultiFidelityGP had some model fitting issues.
I know that these issues can also arise when there are identical or many close data points, which then leads to an ill-conditioned covariance matrix. But could some problems also arise from the fact that there are non-linear inter-fidelity/inter-task dependencies and/or that the model requires a strict ordering of the fidelity functions, which is not given (meaning target fidelity has lowest function values on the whole domain, second highest fidelity has 2nd lowest function values on the whole domain, etc.)?
To be honest I also set the noise covariance of the models close to zero, which I know can also be troublesome, but I cannot pinpoint the exact problem since the error is not very informative.
Best regards,
Stefan Tönnis
Beta Was this translation helpful? Give feedback.
All reactions