{"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/low-rank-extended-kalman-filtering-for-online","title":"Low-rank extended Kalman filtering for online learning of neural networks from streaming data","arxiv_id":"2305.19535","date":"2023-05-31","proceeding":null,"authors":["Peter G. Chang","Gerardo Durán-Martín","Alexander Y Shestopaloff","Matt Jones","Kevin Murphy"],"abstract":"We propose an efficient online approximate Bayesian inference algorithm for estimating the parameters of a nonlinear function from a potentially non-stationary data stream. The method is based on the extended Kalman filter (EKF), but uses a novel low-rank plus diagonal decomposition of the posterior precision matrix, which gives a cost per step which is linear in the number of model parameters. In contrast to methods based on stochastic variational inference, our method is fully deterministic, and does not require step-size tuning. We show experimentally that this results in much faster (more sample efficient) learning, which results in more rapid adaptation to changing distributions, and faster accumulation of reward when used as part of a contextual bandit algorithm.","url_abs":"https://arxiv.org/abs/2305.19535v3","url_pdf":"https://arxiv.org/pdf/2305.19535v3.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":"low-rank-extended-kalman-filtering-for-online","repo_url":"https://github.com/probml/rebayes","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"bayesian-inference","task_name":"Bayesian Inference"},{"task_slug":"variational-inference","task_name":"Variational Inference"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.19535","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.19535"}},"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/probml/rebayes","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":16},"by_repo_kind":{"official":{"samples":16,"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":"b6639560c7bf65bb","entry":"dual_rebayes_scan","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/dual_base.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/dual_base.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":"b6639560c7bf65bb"}},{"code_sha256_prefix":"f39959a451751e97","entry":"dual_rebayes_scan_dataloader","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/dual_base.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/dual_base.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":"f39959a451751e97"}},{"code_sha256_prefix":"0680cd69e361d8d9","entry":"form_tril_matrix","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/dual_base.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/dual_base.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":"0680cd69e361d8d9"}},{"code_sha256_prefix":"fe943d9b682c0902","entry":"generate_random_angles","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/rotating_permuted_mnist_data.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/rotating_permuted_mnist_data.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":"fe943d9b682c0902"}},{"code_sha256_prefix":"14dc7dd47d3f91c5","entry":"initialize_classification_cnn","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/utils/models.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/utils/models.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":"14dc7dd47d3f91c5"}},{"code_sha256_prefix":"11e15fbc7917aec9","entry":"initialize_classification_mlp","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/utils/models.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/utils/models.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":"11e15fbc7917aec9"}},{"code_sha256_prefix":"938eee8370c8529d","entry":"initialize_regression_cnn","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/utils/models.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/utils/models.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":"938eee8370c8529d"}},{"code_sha256_prefix":"c75d6783556336d6","entry":"load_classification_mnist","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/datasets.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/datasets.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":"c75d6783556336d6"}},{"code_sha256_prefix":"1656f7098078556c","entry":"load_mnist","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/datasets.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/datasets.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":"1656f7098078556c"}},{"code_sha256_prefix":"999b1fbf08239066","entry":"load_split_mnist_dataset","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/classification_data.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/classification_data.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":"999b1fbf08239066"}},{"code_sha256_prefix":"7e8bad2bdd0499d1","entry":"make_1d_regression","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/nonstat_1d_data.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/nonstat_1d_data.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":"7e8bad2bdd0499d1"}},{"code_sha256_prefix":"7086c322676771f1","entry":"make_coefs","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/nonstat_1d_data.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/nonstat_1d_data.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":"7086c322676771f1"}},{"code_sha256_prefix":"fc4b6acab73f8a84","entry":"make_rotating_moons","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/moons_data.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/moons_data.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":"fc4b6acab73f8a84"}},{"code_sha256_prefix":"20cd65fc4da514aa","entry":"make_showdown_moons","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/moons_data.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/moons_data.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":"20cd65fc4da514aa"}},{"code_sha256_prefix":"cde5ea6d06ce99f0","entry":"sample_1d_regression_sequence","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/nonstat_1d_data.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/nonstat_1d_data.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":"cde5ea6d06ce99f0"}},{"code_sha256_prefix":"1a10482faddfe012","entry":"showdown_preprocess","repo":"probml/rebayes","repo_kind":"official","path":"rebayes/datasets/datasets.py","file_url":"https://github.com/probml/rebayes/blob/HEAD/rebayes/datasets/datasets.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":"1a10482faddfe012"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}