{"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/bayesian-model-selection-of-lithium-ion","title":"Bayesian Model Selection of Lithium-Ion Battery Models via Bayesian Quadrature","arxiv_id":"2210.17299","date":"2022-10-28","proceeding":null,"authors":["Masaki Adachi","Yannick Kuhn","Birger Horstmann","Arnulf Latz","Michael A. Osborne","David A. Howey"],"abstract":"A wide variety of battery models are available, and it is not always obvious which model `best' describes a dataset. This paper presents a Bayesian model selection approach using Bayesian quadrature. The model evidence is adopted as the selection metric, choosing the simplest model that describes the data, in the spirit of Occam's razor. However, estimating this requires integral computations over parameter space, which is usually prohibitively expensive. Bayesian quadrature offers sample-efficient integration via model-based inference that minimises the number of battery model evaluations. The posterior distribution of model parameters can also be inferred as a byproduct without further computation. Here, the simplest lithium-ion battery models, equivalent circuit models, were used to analyse the sensitivity of the selection criterion to given different datasets and model configurations. We show that popular model selection criteria, such as root-mean-square error and Bayesian information criterion, can fail to select a parsimonious model in the case of a multimodal posterior. The model evidence can spot the optimal model in such cases, simultaneously providing the variance of the evidence inference itself as an indication of confidence. We also show that Bayesian quadrature can compute the evidence faster than popular Monte Carlo based solvers.","url_abs":"https://arxiv.org/abs/2210.17299v4","url_pdf":"https://arxiv.org/pdf/2210.17299v4.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":"bayesian-model-selection-of-lithium-ion","repo_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"model-selection","task_name":"Model Selection"}],"methods":[{"method_slug":"fail","method_name":"fail"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2210.17299","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.17299"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":1,"unverified":7},"by_repo_kind":{"official":{"samples":8,"ran":1,"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":"a616e1ee7e9a83cd","entry":"train_GP_with_Adam","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_gp.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_gp.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a616e1ee7e9a83cd"}},{"code_sha256_prefix":"e8b2e5cf7b28624f","entry":"is_legal","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_lbfgs.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_lbfgs.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"e8b2e5cf7b28624f"}},{"code_sha256_prefix":"8163c2cf043b11dd","entry":"ker_svd_sparsify","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_rchq.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_rchq.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8163c2cf043b11dd"}},{"code_sha256_prefix":"8fdaf484c504fcbd","entry":"polyinterp","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_lbfgs.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_lbfgs.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8fdaf484c504fcbd"}},{"code_sha256_prefix":"03e63ed364d82e2e","entry":"rc_kernel_svd","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_rchq.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_rchq.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"03e63ed364d82e2e"}},{"code_sha256_prefix":"9dcade865205a6d6","entry":"recombination","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_rchq.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_rchq.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"9dcade865205a6d6"}},{"code_sha256_prefix":"b26b7e18aa96454a","entry":"set_gp","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_gp.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_gp.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"b26b7e18aa96454a"}},{"code_sha256_prefix":"83ea557ab0cefab9","entry":"train_GP_with_BFGS","repo":"Battery-Intelligence-Lab/BayesianModelSelection","repo_kind":"official","path":"BASQ/_gp.py","file_url":"https://github.com/Battery-Intelligence-Lab/BayesianModelSelection/blob/HEAD/BASQ/_gp.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"83ea557ab0cefab9"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}