Aim 3: Posterior Sampling and Uncertainty
November 22, 2022


A common notion of uncertainty
original
perturbed
mean
std
A common notion of uncertainty
std
What does this measure of uncertainty tell us?
1. Regions of the reconstruction with higher variance
2. Range of where a new sample will be
3. How far the ground-truth image is



Our setting
1. The ground truth image
X∼p(X)
2. The observation process
Y=X+v, v∼N(0,σ2I)
3. The sampling procedure
Z=f(Y)∼QY≈p(X∣Y)
Three sources of randomness
Our setting
original
perturbed
sampled
Question
Fix a pair (x,y), and sample m times from f(y),
where will the (m+1)-th sample fall?
Conformal predictions
Coverage [Shafer and Vovk, 2008][Angelopoulos and Bates, 2022]
P[Ytest∈C(Xtest)]≥1−α
In our case, entrywise coverage
∀j∈[d], P[f(y)j∈I(y)j]≥1−α
Theorem (Entrywise calibrated quantiles) Let l^α,u^α be the ⌊(m+1)α/2⌋/m and ⌈(m+1)(1−α/2)⌉/m empirical quantiles of f(y)j over m i.i.d. samples. Then,
I(y)j=[l^α,u^α]
provides entrywise coverage
Entrywise calibrated quantiles
original
l^α
u^α
u^α−l^α
Entrywise calibrated quantiles
original
l^α
u^α
u^α−l^α
Comparison of standard deviation with entrywise calibrated quantiles
std
u^α−l^α
Calibrated quantiles distribution
Q1ΔHU≤7
Q2ΔHU∈(7,8]
Q3ΔHU∈(8,55]
Q4ΔHU>55
original
u^α−l^α
Calibrated quantiles distribution
original
Q1ΔHU≤7
Q2ΔHU∈(7,8]
Q3ΔHU∈(8,9]
Q4ΔHU>9
u^α−l^α
Calibrated quantiles distribution
original
Q3ΔHU∈(8,34]
Q4ΔHU>34
u^α−l^α
Q1ΔHU≤7
Q2ΔHU∈(7,8]
Calibrated quantiles distribution
original
Q3ΔHU∈(8,44]
Q4ΔHU>44
u^α−l^α
Q1ΔHU≤7
Q2ΔHU∈(7,8]
Calibrated quantiles
What does this measure of uncertainty tell us?
1. Regions of the reconstruction with higher variance
2. Range of where a new sample will be
3. How far the ground-truth image is



u^α−l^α
Risk control [Bates, 21]
For a pair (x,y) define
ℓ(x,I(y))=d#{j∈[d]: xj∈/I(y)j}
Definition (Risk-Controlling Prediction Set) A random set predictor I: Y→P(X) is an (ϵ, δ)-RCPS if
P[E(X,Y)[ℓ(X,I(Y)]≤ϵ]≥1−δ
Image-to-Image Regression [Angelopolous, 22]


[11/22/22] Aim 3: Posterior Sampling and Uncertainty
By Jacopo Teneggi
[11/22/22] Aim 3: Posterior Sampling and Uncertainty
- 108