Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
58 views

Predicting Values with Bayesian Neural Network

I want to use a Bayesian Neural Network for a regression task. To do that I converted a BNN from this paper to Python 3. The provided training script runs and I receive a pickle file, which I want to ...
2 votes
1 answer
436 views

How could Bayesian neural networks be used for transfer learning?

In transfer learning, we use big data from similar tasks to learn the parameters of a neural network, and then fine-tune the neural network on our own task that has little data available for it. Here, ...
0 votes
0 answers
49 views

Should we sum or mean reduce the KL loss in Bayes by Backprop?

I'm unsure if you're supposed to use sum or mean reduction of KL loss for Bayes by Backprop. For example, the BayesianTorch library does both: it reduces by mean across each individual tensor (as seen ...
1 vote
2 answers
91 views

KL loss not changing in a Bayesian Neural Network?

I've been trying to train a Bayesian Neural Network and I noticed that the KL loss (which enforces the prior) isn't changing over time. And it occurred to me that while in standard Bayesian inference ...
0 votes
1 answer
66 views

What is the difference between an input and observed data in a Bayesian neural network?

I'm new to the Bayesian perspective and would appreciate clarity on this. In a few resources concerning Bayesian deep learning (such as this one), I see this notation: $p(y|x, D) = \int p(y|x, \theta)...
2 votes
0 answers
153 views

Today's Practicality of Bayesian Neural Networks

Just having heard lately about BNNs (wow, ANNs and CNNs are clear; now there's a B? What's that? Ahh, Bayesian ;-)) and quickly getting their main idea and focus, that is, weights not being pure ...
5 votes
1 answer
815 views

What is the intuition behind variational inference for Bayesian neural networks?

I'm trying to understand the concept of Variational Inference for BNNs. My source is this work. The aim is to minimize the divergence between the approx. distribution and the true posterior $$\text{KL}...
1 vote
1 answer
794 views

What's the likelihood in Bayesian Neural Networks?

I'm trying to understand the concept behind BNN. Their are based on the Bayes Theorem: $$p(w \mid \text{data}) = \frac{p(\text{data} \mid w)*p(w)}{p(\text{data})}$$ which boils down to $$\text{...
3 votes
0 answers
88 views

Why does this formula $\sigma^2 + \frac{1}{T}\sum_{t=1}^Tf^{\hat{W_t}}(x)^Tf^{\hat{W_t}}(x_t)-E(y)^TE(y)$ approximate the variance?

How does: $$\text{Var}(y) \approx \sigma^2 + \frac{1}{T}\sum_{t=1}^Tf^{\hat{W_t}}(x)^Tf^{\hat{W_t}}(x_t)-E(y)^TE(y)$$ approximate variance? I'm currently reading What Uncertainties Do We Need in ...
4 votes
1 answer
128 views

Is there any research on models that provide uncertainty estimation?

Is there any research on machine learning models that provide uncertainty estimation? If I train a denoising autoencoder on words and put through a noised word, I'd like it to return a certainty that ...
7 votes
1 answer
2k views

How should the neural network deal with unexpected inputs?

I recently wrote an application using a deep learning model designed to classify inputs. There are plenty of examples of this using images of irises, cats, and other objects. If I trained a data ...
2 votes
1 answer
1k views

Why is neural networks being a deterministic mapping not always considered a good thing?

Why is neural networks being a deterministic mapping not always considered a good thing? So I'm excluding models like VAEs since those aren't entirely deterministic. I keep thinking about this and my ...
2 votes
0 answers
74 views

Are bayesian neural networks suited for text (or document) classification?

I've tried to do my research on Bayesian neural networks online, but I find most of them are used for image classification. This is probably due to the nature of Bayesian neural networks, which may be ...