Prerequisite Study Guide: ReLU Privileged-Basis Reconstruction

Author

Ishaan Shrivastava

1 Purpose

The target object is

\[ L(Q) = \inf_g \mathbb E\!\left[ \left\|Z-g(\operatorname{ReLU}(QZ))\right\|^2 \right]. \]

Your existing notes already cover the algebraic prerequisites:

  • expectation,
  • covariance,
  • independence,
  • finite second moments,
  • norms, traces, and outer products.

This guide covers only the remaining load-bearing material:

  1. measurable spaces, measurable maps, generated sigma-algebras, and laws;
  2. conditional expectation, tower property, and conditional variance;
  3. conditional expectation as an orthogonal projection in (L^2), hence the MMSE theorem.

2 Primary reading

Use:

Nima Moshayedi, Lectures on Probability Theory, University of Zurich

https://arxiv.org/pdf/2010.16280

The page numbers below refer to the printed page numbers in the notes.

2.1 Level 1 — Information and measurability

Read only:

  • Appendix A, §1, Measurable Spaces, pp. 143–144.
  • Appendix A, §3, Borel Sets, pp. 146–147.
  • Appendix A, §5, Measurable Maps, pp. 151–152.
  • Chapter 2, §1 and §1.1, General Definitions and Law of a Random Variable, pp. 25–28.
  • Chapter 2, §2.4 and Proposition 2.2, Sigma-algebras generated by a random variable, pp. 33–34.

You should leave this level knowing precisely:

\[ X:(\Omega,\mathcal F)\to(E,\mathcal E) \]

is measurable iff

\[ X^{-1}(B)\in\mathcal F \qquad \text{for every }B\in\mathcal E, \]

and

\[ \sigma(X) = \{X^{-1}(B):B\in\mathcal E\}. \]

The crucial factorization theorem is:

\[ Y\text{ is }\sigma(X)\text{-measurable} \iff Y=f(X) \]

for some measurable (f), in the setting used here.

2.2 Level 2 — Conditional expectation

Read only:

  • Chapter 3, §2.2, Discrete construction, pp. 80–82.
  • Chapter 3, §2.3 through Theorem 2.18, General construction and basic properties, pp. 82–84.
  • Theorem 2.29, Tower property, p. 86.

Skip on the first pass:

  • the Radon–Nikodym construction;
  • transition kernels;
  • martingales.

You should leave this level knowing that

\[ \mathbb E[X\mid\mathcal G] \]

is a (G)-measurable random variable satisfying

\[ \mathbb E[X1_G] = \mathbb E[\mathbb E[X\mid\mathcal G]1_G] \qquad \text{for every }G\in\mathcal G, \]

and that, for (HG),

\[ \mathbb E[\mathbb E[X\mid\mathcal G]\mid\mathcal H] = \mathbb E[X\mid\mathcal H]. \]

2.3 Level 3 — (L^2) geometry and MMSE

Read only:

  • Chapter 3, §1, (L^2(,F,P)) as a Hilbert space, pp. 73–75.
  • Chapter 3, §1.2, Orthogonal projection, pp. 78–79.
  • Definitions 2.12 and 2.15 and Remarks 2.13–2.14, pp. 82–83.
  • The first two paragraphs of §4.1.2, pp. 90–91, emphasizing the distinction between:
    • projection onto all ((A))-measurable functions;
    • projection onto the much smaller linear span of the observed variables.

You should leave this level able to prove

\[ \mathbb E\|Z-g(A)\|^2 = \mathbb E\|Z-\mathbb E[Z\mid A]\|^2 + \mathbb E\|\mathbb E[Z\mid A]-g(A)\|^2. \]

This identity is the actual reason conditional expectation is the MMSE decoder.

3 Optional terse reference

For a compact formal reference:

Matija Vidmar, Probability with Measure

https://arxiv.org/pdf/2604.01685

Relevant sections:

  • §1.1, measurable sets;
  • §1.3, measurable maps and generated sigma-fields;
  • §3.3, conditioning.

Do not use this as the first exposition unless you prefer definition-dense notes.

4 How to use the quiz

Do three passes.

  1. Closed-notes pass: attempt every question without reading the answer key.
  2. Open-notes repair pass: repair incomplete definitions and proofs.
  3. Compression pass: rewrite each starred proof in at most ten lines without omitting assumptions.

Each ordinary question is worth (2) points:

  • (0): absent, materially false, or circular;
  • (1): right idea but missing a required definition, assumption, or proof step;
  • (2): correct and explicit.

A starred question is load-bearing. A zero on any starred question means the corresponding level is not yet secure, regardless of total score.

5 Quiz

6 Part I — Measurability and information

6.1 Question 1 ★ — Sigma-algebra

State the definition of a sigma-algebra (F) on a set ().

Then state the definition of a probability space

\[ (\Omega,\mathcal F,\mathbb P). \]

Do not explain by analogy. Give the axioms.

6.2 Question 2 — Finite examples

Let

\[ \Omega=\{1,2,3,4\} \]

and

\[ \mathcal G = \{\varnothing,\Omega,\{1,2\},\{3,4\}\}. \]

  1. Prove that (G) is a sigma-algebra.
  2. Let \[ \mathcal H = \mathcal G\cup\{\{1,3\},\{2,4\}\}. \] Is (H) a sigma-algebra? Prove your answer.

6.3 Question 3 ★ — Measurable map

Let ((,F)) and ((E,E)) be measurable spaces.

State precisely what it means for

\[ X:\Omega\to E \]

to be measurable.

Why is the definition written using preimages, not images?

6.4 Question 4 — Composition

Let

\[ X:(\Omega,\mathcal F)\to(E,\mathcal E) \]

and

\[ f:(E,\mathcal E)\to(S,\mathcal S) \]

be measurable.

Prove directly from the definition that (fX) is measurable.

6.5 Question 5 ★ — Generated sigma-algebra

Let

\[ \Omega=\{\omega_1,\omega_2,\omega_3,\omega_4\} \]

and define

\[ X(\omega_1)=0,\qquad X(\omega_2)=0,\qquad X(\omega_3)=1,\qquad X(\omega_4)=2. \]

Assume the codomain has the full power-set sigma-algebra.

List every element of ((X)).

Interpret ((X)) as the information revealed by observing (X).

6.6 Question 6 — Law or pushforward distribution

Suppose

\[ \mathbb P(\{\omega_1\})=0.1,\quad \mathbb P(\{\omega_2\})=0.2,\quad \mathbb P(\{\omega_3\})=0.3,\quad \mathbb P(\{\omega_4\})=0.4. \]

Using the (X) from Question 5, compute the law

\[ \mathbb P_X = \mathbb P\circ X^{-1}. \]

Give its value on every subset of ({0,1,2}).

6.7 Question 7 ★ — Factorization through the observation

State the factorization theorem relating these two statements:

  1. (Y) is ((X))-measurable.
  2. (Y=f(X)) for some measurable function (f).

Use it to explain rigorously why an estimator that is allowed to use only (A) has the form

\[ g(A). \]

6.8 Question 8 — Type checking

For a random vector (A:R^d), distinguish the types of:

  1. (A);
  2. (aR^d);
  3. ((A));
  4. ({AB}), where (BB(R^d));
  5. (E[ZA]).

6.9 Question 9 ★ — Measurability of the ReLU observation

Assume

\[ Z:(\Omega,\mathcal F)\to(\mathbb R^d,\mathcal B(\mathbb R^d)) \]

is measurable and (QR^{dd}) is fixed.

Prove that

\[ A=\operatorname{ReLU}(QZ) \]

is measurable.

State every closure fact you use.

7 Part II — Conditional expectation

7.1 Question 10 ★ — Definition

Let (XL^1) and let (GF) be a sub-sigma-algebra.

State the defining properties of

\[ Y=\mathbb E[X\mid\mathcal G]. \]

Include the sense in which (Y) is unique.

7.2 Question 11 — Finite partition calculation

Let

\[ \Omega=\{1,2,3,4\}, \]

with probabilities

\[ (0.1,0.2,0.3,0.4), \]

and let

\[ X=(2,-1,4,0) \]

on these four outcomes.

Let

\[ \mathcal G = \sigma(\{1,2\},\{3,4\}). \]

Compute (E[XG]) as a random variable on ().

7.3 Question 12 ★ — Verify from the definition

For your answer to Question 11, verify explicitly that

\[ \mathbb E[X1_G] = \mathbb E[\mathbb E[X\mid\mathcal G]1_G] \]

for every (GG).

7.4 Question 13 — Already known information

Prove:

If (X) is (G)-measurable and integrable, then

\[ \mathbb E[X\mid\mathcal G]=X \qquad\text{a.s.} \]

7.5 Question 14 — Irrelevant information

Prove:

If (X) is integrable and independent of (G), then

\[ \mathbb E[X\mid\mathcal G] = \mathbb E[X] \qquad\text{a.s.} \]

7.6 Question 15 ★ — Tower property

Let

\[ \mathcal H\subseteq\mathcal G\subseteq\mathcal F \]

and (XL^1).

State and prove

\[ \mathbb E[\mathbb E[X\mid\mathcal G]\mid\mathcal H] = \mathbb E[X\mid\mathcal H]. \]

Use the defining property of conditional expectation, not an informal averaging argument.

7.7 Question 16 ★ — Law of total variance

For (XL^2), prove

\[ \operatorname{Var}(X) = \mathbb E[\operatorname{Var}(X\mid\mathcal G)] + \operatorname{Var}(\mathbb E[X\mid\mathcal G]). \]

Define

\[ \operatorname{Var}(X\mid\mathcal G) = \mathbb E[(X-\mathbb E[X\mid\mathcal G])^2\mid\mathcal G]. \]

Identify exactly where the cross term vanishes.

7.8 Question 17 — Vector version

For (ZL^2(;R^d)), prove

\[ \operatorname{Cov}(Z) = \mathbb E[\operatorname{Cov}(Z\mid\mathcal G)] + \operatorname{Cov}(\mathbb E[Z\mid\mathcal G]). \]

All quantities are matrices. State what expectation of a random matrix means.

7.9 Question 18 ★ — Trace of conditional covariance

Let

\[ m=\mathbb E[Z\mid\mathcal G]. \]

Prove

\[ \operatorname{tr}(\operatorname{Cov}(Z\mid\mathcal G)) = \mathbb E[\|Z-m\|^2\mid\mathcal G]. \]

Then prove

\[ \mathbb E[ \operatorname{tr}(\operatorname{Cov}(Z\mid\mathcal G)) ] = \mathbb E\|Z-m\|^2. \]

Do not remove the conditional expectation in the first identity.

7.10 Question 19 — Scalar ReLU with a uniform latent

Let

\[ Z\sim\operatorname{Unif}[-1,1], \qquad A=\operatorname{ReLU}(Z). \]

Compute explicitly:

  1. (E[ZA]) as a function (h(A));
  2. ((ZA));
  3. the MMSE \[ \mathbb E[(Z-\mathbb E[Z\mid A])^2]. \]

7.11 Question 20 — Scalar Gaussian ReLU

Let

\[ Z\sim\mathcal N(0,1), \qquad A=\operatorname{ReLU}(Z). \]

You may use

\[ \mathbb E[Z\mid Z\le 0] = -\sqrt{\frac{2}{\pi}}, \qquad \operatorname{Var}(Z\mid Z\le 0) = 1-\frac{2}{\pi}. \]

Compute (E[ZA]) and the MMSE.

7.12 Question 21 — Conditioning on a continuously distributed observation

Explain why the notation

\[ \mathbb E[Z\mid A=a] \]

cannot generally be defined by the elementary formula

\[ \frac{\mathbb E[Z1_{\{A=a\}}]}{\mathbb P(A=a)} \]

when (A) is continuous.

Explain why

\[ \mathbb E[Z\mid A] = \mathbb E[Z\mid\sigma(A)] \]

remains well-defined.

7.13 Question 22 — Sparse nonnegative scalar

Let

\[ Z= \begin{cases} 0,&\text{with probability }1-p,\\ X,&\text{with probability }p, \end{cases} \qquad X\sim\operatorname{Exp}(1), \]

and let (A=(Z)).

Compute (E[ZA]) and the MMSE.

8 Part III — (L^2) geometry and MMSE

8.1 Question 23 ★ — (L^2) as an inner-product space

Define

\[ L^2(\Omega,\mathcal F,\mathbb P) \]

and its inner product and norm.

Why are random variables that are equal almost surely treated as the same element of (L^2)?

8.2 Question 24 — The observable subspace

For a sub-sigma-algebra (G), define

\[ L^2(\Omega,\mathcal G,\mathbb P). \]

Prove it is a linear subspace of (L^2(,F,P)).

State the additional property needed before the orthogonal projection theorem applies.

8.3 Question 25 ★ — Projection theorem

State the orthogonal projection theorem for a closed linear subspace (M) of a Hilbert space (H).

Give both equivalent characterizations of the projection (P_Mx):

  1. closest point;
  2. orthogonality of the residual.

8.4 Question 26 ★ — Conditional expectation is the projection

Let (XL^2).

Prove that

\[ m=\mathbb E[X\mid\mathcal G] \]

satisfies

\[ \mathbb E[(X-m)V]=0 \]

for every (VL^2(,G,P)).

First prove it for indicator functions, then simple functions, then general (V).

8.5 Question 27 ★ — Pythagorean risk decomposition

Let

\[ Z\in L^2(\Omega;\mathbb R^d), \qquad m=\mathbb E[Z\mid\mathcal G], \]

and let (T) be any square-integrable (G)-measurable random vector.

Prove

\[ \mathbb E\|Z-T\|^2 = \mathbb E\|Z-m\|^2 + \mathbb E\|m-T\|^2. \]

Expand the square and prove that the cross term is exactly zero.

8.6 Question 28 ★ — MMSE decoder

Set

\[ A=\operatorname{ReLU}(QZ). \]

Using Questions 7 and 27, prove

\[ \inf_g \mathbb E\|Z-g(A)\|^2 = \mathbb E\|Z-\mathbb E[Z\mid A]\|^2. \]

State:

  1. the admissible class of (g);
  2. the integrability condition;
  3. the sense in which the minimizer is unique.

8.7 Question 29 ★ — Conditional covariance formula for (L(Q))

Prove

\[ L(Q) = \mathbb E[ \operatorname{tr}(\operatorname{Cov}(Z\mid A)) ], \qquad A=\operatorname{ReLU}(QZ). \]

Your proof should be a chain of explicit equalities.

8.8 Question 30 ★ — Exact recoverability

Prove the equivalence

\[ L(Q)=0 \]

if and only if

\[ Z\text{ is }\sigma(A)\text{-measurable}, \]

if and only if there exists a measurable (g) such that

\[ Z=g(A) \qquad\text{a.s.} \]

Explain why this is an almost-sure recoverability statement, not necessarily a statement that the deterministic map

\[ z\mapsto\operatorname{ReLU}(Qz) \]

is globally injective on all of (R^d).

8.9 Question 31 ★ — Arbitrary decoder versus linear decoder

Explain the difference between minimizing over:

\[ g(A)\quad\text{for every measurable }g \]

and minimizing over:

\[ BA+b. \]

Give a concrete example in which the MMSE decoder is nonlinear and therefore cannot be represented by an affine decoder.

8.10 Question 32 ★ — Gaussian rotational invariance

Assume

\[ Z\sim\mathcal N(0,I_d) \]

and (QO(d)).

Prove that (L(Q)) is independent of (Q).

Your proof must use:

  1. (Y=QZN(0,I_d));
  2. preservation of Euclidean norm by (Q);
  3. a bijection between decoders for (Z) and decoders for (Y).

9 Bridge problems toward the privileged-basis proof

These are not prerequisites. They test whether you can now begin the actual problem.

9.1 Bridge 1 — Identity basis for nonnegative latents

Assume

\[ Z\in[0,\infty)^d \qquad\text{a.s.} \]

Prove

\[ L(I)=0. \]

The sparsity and exponential assumptions are irrelevant for this step. Explain why.

9.2 Bridge 2 — Why one collision is insufficient

Someone argues:

I found (zz’) such that [ (Qz) = (Qz’). ] Therefore (L(Q)>0).

Give at least three reasons this argument is incomplete.

9.3 Bridge 3 — Correct positivity criterion

State a rigorous condition, in terms of conditional covariance, sufficient and necessary for

\[ L(Q)>0. \]

Then state a more concrete sufficient condition involving a positive-probability set of observations.

9.4 Bridge 4 — Forty-five-degree sparse case

Let (d=2) and

\[ Q = \frac{1}{\sqrt 2} \begin{bmatrix} 1&-1\\ 1&1 \end{bmatrix}. \]

Let (Z_1,Z_2) be independent sparse nonnegative exponential variables.

Write

\[ A=\operatorname{ReLU}(QZ) \]

coordinatewise.

Identify a region of latent space on which one ReLU coordinate is zero and the other reveals only (Z_1+Z_2).

Formulate a rigorous route to proving that the conditional distribution of (Z) on this region has nonzero variance. You do not need to complete all measure-theoretic details, but you must identify exactly what must be proved.

10 Readiness criterion

There are (32) main questions, for (64) points.

You are ready to begin the privileged-basis proof when:

  • total score is at least (52/64);
  • no starred question receives (0);
  • Questions 27–30 can be reproduced without notes;
  • you can explain in one paragraph why the problem is fundamentally about the conditional spread of ReLU fibres under the law of (Z).

The answer key is a separate file. Do not open it until completing the closed-notes pass.