Papers › Uncertainty-guided Continual Learning with Bayesian Neural Networks

Uncertainty-guided Continual Learning with Bayesian Neural Networks

6 Jun 2019ICLR 2020 1arXiv:1906.02425archive 2025-07-28

Sayna Ebrahimi, Mohamed Elhoseiny, Trevor Darrell, Marcus Rohrbach

Continual learning aims to learn new tasks without forgetting previously learned ones. This is especially challenging when one cannot access data from previous tasks and when the model has a fixed capacity. Current regularization-based continual learning algorithms need an external representation and extra computation to measure the parameters' \textit{importance}. In contrast, we propose Uncertainty-guided Continual Bayesian Neural Networks (UCB), where the learning rate adapts according to the uncertainty defined in the probability distribution of the weights in networks. Uncertainty is a natural way to identify \textit{what to remember} and \textit{what to change} as we continually learn, and thus mitigate catastrophic forgetting. We also show a variant of our model, which uses uncertainty for weight pruning and retains task performance after pruning by saving binary masks per tasks. We evaluate our UCB approach extensively on diverse object classification datasets with short and long sequences of tasks and report superior or on-par performance compared to existing approaches. Additionally, we show that our model does not necessarily need task information at test time, i.e. it does not presume knowledge of which task a sample belongs to.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1906.02425")

Code

Syntology Ran 2 of 11 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong.

By repository: official repository: 11 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

SaynaEbrahimi/UCB officialmentioned in papermentioned on GitHubpytorchMIT report
SaynaEbrahimi/BayesianContinualLearning mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 2 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran · our draft was wrong
9unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from SaynaEbrahimi/UCB. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

is_number SaynaEbrahimi/UCB/src/utils.py official repository ran · violated contract MIT (permissive) · 0fe9cf6c00ef56ea · report
human_format SaynaEbrahimi/UCB/src/utils.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · eb4492b8e8e4c8a7 · report
Net SaynaEbrahimi/UCB/src/networks/mlp_ucb.py official repository unverified MIT (permissive) · f3ba7ada669d2d03 · report
Net SaynaEbrahimi/UCB/src/networks/resnet_ucb.py official repository unverified MIT (permissive) · 278d3ba66464aecf · report
conv3x3 SaynaEbrahimi/UCB/src/networks/resnet_ucb.py official repository unverified MIT (permissive) · c7994f266fbc4ab3 · report
get SaynaEbrahimi/UCB/src/dataloaders/cifar.py official repository unverified MIT (permissive) · f497ffa094e5187d · report
get SaynaEbrahimi/UCB/src/dataloaders/mixture.py official repository unverified MIT (permissive) · c141139ade360683 · report
get SaynaEbrahimi/UCB/src/dataloaders/mnist2.py official repository unverified MIT (permissive) · 8b6d1b5f5705f3d7 · report
get SaynaEbrahimi/UCB/src/dataloaders/mnist5.py official repository unverified MIT (permissive) · da97457bd98cf9b8 · report
get SaynaEbrahimi/UCB/src/dataloaders/pmnist.py official repository unverified MIT (permissive) · 690c5890415e69c3 · report
print_model_report SaynaEbrahimi/UCB/src/utils.py official repository unverified MIT (permissive) · 59aaf24fd0c63e49 · report

Tasks

Continual Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Pruning

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections