Module 4. Jensen's inequality: when averaging meets nonlinearity
Choose your answers and select “Check”. Numbers accept a decimal point, comma, or simple fraction. Answers and drafts are saved in this browser and shared between RU/EN.
Checked: 0 / 24 · Correct: 0
Question 4.2.1
4.2. Jensen's inequality
Which inequality is valid for a convex function ϕ?
Question 4.2.2
4.2. Jensen's inequality
Under strict convexity, when can equality hold in Jensen's inequality?
Question 4.2.3
4.2. Jensen's inequality
What is the Jensen gap for ϕ(x)=x2?
Question 4.2.4
4.2. Jensen's inequality
Which function is concave on (0,∞)?
Question 4.3.1
4.3. Ensembles: an exact guarantee for log loss
What does probability averaging guarantee for the NLL of a fixed example?
Question 4.3.2
4.3. Ensembles: an exact guarantee for log loss
What distributional average corresponds to averaging logits before the softmax?
Question 4.3.3
4.3. Ensembles: an exact guarantee for log loss
Why does improved NLL not guarantee improved top-1 accuracy?
Question 4.3.4
4.3. Ensembles: an exact guarantee for log loss
Which statement about the two ensemble constructions is correct?
Question 4.4.1
4.4. The ELBO: the logarithm sits outside hidden explanations
Which function receives Jensen's inequality in the ELBO derivation shown in this module?
Question 4.4.2
4.4. The ELBO: the logarithm sits outside hidden explanations
What is the exact ELBO gap?
Question 4.4.3
4.4. The ELBO: the logarithm sits outside hidden explanations
What does the KL term in the standard VAE form of the ELBO compare?
Question 4.4.4
4.4. The ELBO: the logarithm sits outside hidden explanations
What does a higher ELBO not guarantee automatically?
Question 4.5.1
4.5. The log-sum inequality and convexity of KL
Which equality condition for the log-sum inequality is correct when A,B>0?
Question 4.5.2
4.5. The log-sum inequality and convexity of KL
After normalization, what directly proves the stated log-sum inequality?
Question 4.5.3
4.5. The log-sum inequality and convexity of KL
What does joint convexity of KL state?
Question 4.5.4
4.5. The log-sum inequality and convexity of KL
What happens to KL when the same coarse-graining is applied to P and Q?
Question 4.6.1
Optional mathematical and engineering deepening
In a local quadratic approximation, what controls the scalar Jensen gap for a twice-differentiable ϕ?
Question 4.6.2
Optional mathematical and engineering deepening
When does a probability mixture attain equality with the mean member NLL on a fixed example?
Question 4.7.1
Optional mathematical and engineering deepening
When does coarse-graining preserve KL exactly?
Question 4.7.2
Optional mathematical and engineering deepening
How can an arithmetic probability mixture be computed stably from model log probabilities?
Question 4.C.1
Computational block
Let X take the values 1, 2 and 6 with probabilities 0.5, 0.25 and 0.25. Compute the Jensen gap E[X2]−(EX)2. (tolerance 0.01)
Question 4.C.2
Computational block
Two models predict
q1=(0.83,0.01,0.16),q2=(0.11,0.88,0.01),
with equal weights, and class 1 is observed. Compute the NLL of the arithmetic probability mixture, rounded to three decimals. (tolerance 0.005)
Question 4.C.3
Computational block
For a fixed x let p(x,z=0)=0.09 and p(x,z=1)=0.01, and take the approximation q(z∣x)=(0.5,0.5). Compute the gap between logp(x) and the ELBO, in nats, rounded to three decimals. (tolerance 0.005)
Question 4.C.4
Computational block
Let
P=(0.5,0.25,0.25),Q=(0.25,0.25,0.5).
Merge the second and third states into one and compute DKL between the coarse-grained distributions, in nats, rounded to three decimals. (tolerance 0.002)