Comments (7)
Thanks for pointing out your confusion! The evaluation code has been updated. We now use AUROC & AUPR for OOD detection, and AUROC & ECE for confidence calibration. The entropy-based uncertainty scores are normalized to [0, 1]. The paper will also be updated soon.
Just a reminder that the entropy-based uncertainty is only used for OOD detection. We use standard softmax probabilities for confidence calibration.
from emcmc.
Setting confidence
to be 1 - entropy
is just for evaluation purpose, since we aim to evaluate the Bayesian predictive uncertainty (computed by entropy). You can even set confidence
to be -entropy
. Only the relative uncertainty values are meaningful in the ECE metric
from emcmc.
thanks for your super quick reply.
I am still confused.
Think about this case: we have entropy > 2 for all predictions, then 1 - entropy would be negative, and we have ECE= 0. Does it mean the model is well calibrated?
from emcmc.
Yes, the example is right, but it won't happen to a trained model. The reason why I use 1 - entropy
rather than 1 - entropy/log(N)
is: The real entropy values obtained are all very close to 0, and if I normalize it to the range [0, 1]
, there will not be any small confidence score. That's bad for ECE computation
from emcmc.
Thanks Bolian, it makes more sense to me.
One more thing, I find one incorrect claim in Lemma 1. It is true that the marginal distribution of
from emcmc.
You may check the proof of Lemma 1. The current ArXiv version has a small typo, but it will help you understand this claim.
The point is: the integral is only w.r.t.
from emcmc.
my bad, ur right. There is a small typo in eq.21, but the idea is correct. The main trick is
from emcmc.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emcmc.