Update in MFCK/ SMFCK - #830
Open
mcastanoUQ wants to merge 27 commits into
Open
Conversation
…r MFK, adition of Prediction of heteroscedastic noise for SMFCK
…unctions of MFCK.
…hods to aovid code repetition.
…, integration of gradients for MFCK, addition of prediction of heteroscedastic noise for both surrogate models, Integration of sequential optimization. Now MFCK can integrate gradient based optimizers as TNC. Updates for the tutorial notebooks using now the sequential optimization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the MFCK and SMFCK multi-fidelity surrogate models with gradient-based
hyperparameter optimization, heteroscedastic noise prediction, and a sequential
optimization scheme. Also includes an internal refactoring that makes the shared
co-Kriging machinery reusable and inspectable.
Modularization
Shared logic previously duplicated across the MFCK and SMFCK implementations has
been extracted into helper methods:
Beyond removing duplication, this exposes the intermediate quantities so that
internal behaviour (conditioning, cross-level correlations) can be inspected
directly rather than only through the final prediction.
Gradients for MFCK
Analytical gradients of the log marginal likelihood with respect to the kernel
hyperparameters are now implemented for the RBF kernel. This allows MFCK to be
trained with gradient-based optimizers such as TNC.
Heteroscedastic noise prediction
Both MFCK and SMFCK can now predict input-dependent noise
Sequential optimization
An option that integrates hyperparameter optimization level by level rather
than jointly. This option reduces the training complexity of MFCK to make it comparable to that of MFK.
Notebooks
Updated to use the sequential optimization option in all tutorials associated:
tutorial/MultiFi/SMT_MFCK_tutorial.ipynbtutorial/MultiFi/SMT_SMFCK_tutorial.ipynbtutorial/MultiFi/SMT_SMFK_tutorial.ipynbtutorial/MultiFi/Paper_SMFCK_Notebook_Rosenbrock.ipynb