{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/improving-hyperparameter-learning-under","title":"Improving Hyperparameter Learning under Approximate Inference in Gaussian Process Models","arxiv_id":"2306.04201","date":"2023-06-07","proceeding":null,"authors":["Rui Li","ST John","Arno Solin"],"abstract":"Approximate inference in Gaussian process (GP) models with non-conjugate likelihoods gets entangled with the learning of the model hyperparameters. We improve hyperparameter learning in GP models and focus on the interplay between variational inference (VI) and the learning target. While VI's lower bound to the marginal likelihood is a suitable objective for inferring the approximate posterior, we show that a direct approximation of the marginal likelihood as in Expectation Propagation (EP) is a better learning objective for hyperparameter optimization. We design a hybrid training procedure to bring the best of both worlds: it leverages conjugate-computation VI for inference and uses an EP-like marginal likelihood approximation for hyperparameter learning. We compare VI, EP, Laplace approximation, and our proposed training procedure and empirically demonstrate the effectiveness of our proposal across a wide range of data sets.","url_abs":"https://arxiv.org/abs/2306.04201v1","url_pdf":"https://arxiv.org/pdf/2306.04201v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"improving-hyperparameter-learning-under","repo_url":"https://github.com/aaltoml/improved-hyperparameter-learning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"hyperparameter-optimization","task_name":"Hyperparameter Optimization"},{"task_slug":"variational-inference","task_name":"Variational Inference"}],"methods":[{"method_slug":"focus","method_name":"Focus"},{"method_slug":"gaussian-process","method_name":"Gaussian Process"},{"method_slug":"variational-inference","method_name":"Variational Inference"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2306.04201","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2306.04201"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/secondmind-labs/bayesian_","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/secondmind-labs/bayesian_benchmarks","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/aaltoml/improved-hyperparameter-learning","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":3,"unverified":16},"by_repo_kind":{"official":{"samples":14,"ran":3,"repositories":1},"found_in_text":{"samples":5,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"9b436ef2d0792040","entry":"add_classficiation","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"python/bayesian_benchmarks/data.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/python/bayesian_benchmarks/data.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9b436ef2d0792040"}},{"code_sha256_prefix":"5cadf1fc3261f6c0","entry":"add_regression","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"python/bayesian_benchmarks/data.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/python/bayesian_benchmarks/data.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5cadf1fc3261f6c0"}},{"code_sha256_prefix":"cba0faabe1fa7dc7","entry":"normalize","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"python/bayesian_benchmarks/data.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/python/bayesian_benchmarks/data.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cba0faabe1fa7dc7"}},{"code_sha256_prefix":"f870491bfd736f8d","entry":"adapt_array","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"python/bayesian_benchmarks/database_utils.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/python/bayesian_benchmarks/database_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f870491bfd736f8d"}},{"code_sha256_prefix":"0989691c9ccd9673","entry":"broadcasting_ABT","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/utils/util.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/utils/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0989691c9ccd9673"}},{"code_sha256_prefix":"a2f6bd90423824b5","entry":"broadcasting_ATB","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/utils/util.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/utils/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a2f6bd90423824b5"}},{"code_sha256_prefix":"63e11d72c9447f5e","entry":"classification_model","repo":"secondmind-labs/bayesian_benchmarks","repo_kind":"found_in_text","path":"bayesian_benchmarks/models/non_bayesian_models.py","file_url":"https://github.com/secondmind-labs/bayesian_benchmarks/blob/HEAD/bayesian_benchmarks/models/non_bayesian_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"63e11d72c9447f5e"}},{"code_sha256_prefix":"710c670579f1dfc9","entry":"conditional_from_precision_sites_white","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/utils/util.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/utils/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"710c670579f1dfc9"}},{"code_sha256_prefix":"6969043e1e929528","entry":"convert_array","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"python/bayesian_benchmarks/database_utils.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/python/bayesian_benchmarks/database_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6969043e1e929528"}},{"code_sha256_prefix":"287775627678ecfc","entry":"dict_to_lists","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"python/bayesian_benchmarks/database_utils.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/python/bayesian_benchmarks/database_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"287775627678ecfc"}},{"code_sha256_prefix":"fc15d16c3abea6c5","entry":"dict_to_lists","repo":"secondmind-labs/bayesian_benchmarks","repo_kind":"found_in_text","path":"bayesian_benchmarks/database_utils.py","file_url":"https://github.com/secondmind-labs/bayesian_benchmarks/blob/HEAD/bayesian_benchmarks/database_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fc15d16c3abea6c5"}},{"code_sha256_prefix":"c4378427f9c3bf42","entry":"expand_to_absolute","repo":"secondmind-labs/bayesian_benchmarks","repo_kind":"found_in_text","path":"bayesian_benchmarks/paths.py","file_url":"https://github.com/secondmind-labs/bayesian_benchmarks/blob/HEAD/bayesian_benchmarks/paths.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c4378427f9c3bf42"}},{"code_sha256_prefix":"8f109eb7cd08f71b","entry":"gpflow_log_inv_probit","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/new_bernoulli/compare_logphi.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/new_bernoulli/compare_logphi.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8f109eb7cd08f71b"}},{"code_sha256_prefix":"b96b3647dd98a6d3","entry":"inv_probit","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/new_bernoulli/compare_logphi.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/new_bernoulli/compare_logphi.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b96b3647dd98a6d3"}},{"code_sha256_prefix":"6de929b77412ac69","entry":"logphi","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/new_bernoulli/logphi.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/new_bernoulli/logphi.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6de929b77412ac69"}},{"code_sha256_prefix":"f328d35a5192c364","entry":"new_log_inv_probit","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/new_bernoulli/logphi.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/new_bernoulli/logphi.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f328d35a5192c364"}},{"code_sha256_prefix":"f21ba8b805fe6210","entry":"non_bayesian_model","repo":"secondmind-labs/bayesian_benchmarks","repo_kind":"found_in_text","path":"bayesian_benchmarks/models/non_bayesian_models.py","file_url":"https://github.com/secondmind-labs/bayesian_benchmarks/blob/HEAD/bayesian_benchmarks/models/non_bayesian_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f21ba8b805fe6210"}},{"code_sha256_prefix":"485726aef7679d8c","entry":"np_logphi","repo":"aaltoml/improved-hyperparameter-learning","repo_kind":"official","path":"src/new_bernoulli/logphi.py","file_url":"https://github.com/aaltoml/improved-hyperparameter-learning/blob/HEAD/src/new_bernoulli/logphi.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"485726aef7679d8c"}},{"code_sha256_prefix":"8bd09fd901fa3107","entry":"regression_model","repo":"secondmind-labs/bayesian_benchmarks","repo_kind":"found_in_text","path":"bayesian_benchmarks/models/non_bayesian_models.py","file_url":"https://github.com/secondmind-labs/bayesian_benchmarks/blob/HEAD/bayesian_benchmarks/models/non_bayesian_models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8bd09fd901fa3107"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}