VKVlad KulikovPublic / lectures
Information Theory for ML4 / 16

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 ϕ\phi?

One correct option

Question 4.2.2

4.2. Jensen's inequality

Under strict convexity, when can equality hold in Jensen's inequality?

One correct option

Question 4.2.3

4.2. Jensen's inequality

What is the Jensen gap for ϕ(x)=x2\phi(x)=x^2?

One correct option

Question 4.2.4

4.2. Jensen's inequality

Which function is concave on (0,∞)(0,\infty)?

One correct option

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?

One correct option

Question 4.3.2

4.3. Ensembles: an exact guarantee for log loss

What distributional average corresponds to averaging logits before the softmax?

One correct option

Question 4.3.3

4.3. Ensembles: an exact guarantee for log loss

Why does improved NLL not guarantee improved top-1 accuracy?

One correct option

Question 4.3.4

4.3. Ensembles: an exact guarantee for log loss

Which statement about the two ensemble constructions is correct?

One correct option

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?

One correct option

Question 4.4.2

4.4. The ELBO: the logarithm sits outside hidden explanations

What is the exact ELBO gap?

One correct option

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?

One correct option

Question 4.4.4

4.4. The ELBO: the logarithm sits outside hidden explanations

What does a higher ELBO not guarantee automatically?

One correct option

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>0A,B>0?

One correct option

Question 4.5.2

4.5. The log-sum inequality and convexity of KL

After normalization, what directly proves the stated log-sum inequality?

One correct option

Question 4.5.3

4.5. The log-sum inequality and convexity of KL

What does joint convexity of KL state?

One correct option

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 PP and QQ?

One correct option

Question 4.6.1

Optional mathematical and engineering deepening

In a local quadratic approximation, what controls the scalar Jensen gap for a twice-differentiable ϕ\phi?

One correct option

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?

One correct option

Question 4.7.1

Optional mathematical and engineering deepening

When does coarse-graining preserve KL exactly?

One correct option

Question 4.7.2

Optional mathematical and engineering deepening

How can an arithmetic probability mixture be computed stably from model log probabilities?

One correct option

Question 4.C.1

Computational block

Let XX take the values 11, 22 and 66 with probabilities 0.50.5, 0.250.25 and 0.250.25. Compute the Jensen gap E[X2]−(EX)2\mathbb E[X^2]-(\mathbb E X)^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),q_1=(0.83,\ 0.01,\ 0.16), \qquad q_2=(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 xx let p(x,z=0)=0.09p(x,z=0)=0.09 and p(x,z=1)=0.01p(x,z=1)=0.01, and take the approximation q(z∣x)=(0.5,0.5)q(z\mid x)=(0.5,0.5). Compute the gap between log⁡p(x)\log p(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).P=(0.5,\ 0.25,\ 0.25), \qquad Q=(0.25,\ 0.25,\ 0.5).

Merge the second and third states into one and compute DKLD_{\mathrm{KL}} between the coarse-grained distributions, in nats, rounded to three decimals. (tolerance 0.002)