Unified variational complexity strategy recovery

1. Introduction

This note studies when a variational latent-variable objective can recover a reference strategy structure, not merely fit the observable conditional law p(y∣x)p(y\mid x). The updated setup treats the realistic case where the ELBO is optimized over independently parameterized encoders, routers, and generators:

q(z∣x,y)∈Q,r(z∣x)∈R,g(y∣x,z)∈G.q(z\mid x,y)\in\mathcal Q,\qquad r(z\mid x)\in\mathcal R,\qquad g(y\mid x,z)\in\mathcal G.

The complexity term is a joint router-generator penalty C(r,g)C(r,g) rather than a decoder-only penalty. This better matches the factorization-selection story: a strategy should make both the routing rule and the strategy-conditioned generator simple.

The guiding principle becomes:

low-β ELBO supplies information pressure, while profiled router-generator complexity supplies selection.\boxed{ \text{low-}\beta\text{ ELBO supplies information pressure, while profiled router-generator complexity supplies selection.} }

The deterministic completed-trace attribute theorem is still useful, but it is now a specialization. The main theorem is over stochastic encoders $q\in \mathcal Q$ and uses the effective profiled cost

Aβ,λ(q):=inf⁡r∈R,g∈G[DecGap⁡(q,g)+βPriorGap⁡(q,r)+λC(r,g)].A_{\beta,\lambda}(q) := \inf_{r\in\mathcal R,g\in\mathcal G} \left[ \operatorname{DecGap}(q,g) + \beta\operatorname{PriorGap}(q,r) + \lambda C(r,g) \right].

This is an approximation-complexity regularizer: it penalizes encoders whose induced routing law and branch conditionals are hard to approximate faithfully with a simple router-generator pair.

2. Setup and recovery metrics

Let X\mathcal X and Y\mathcal Y be finite. Let μ\mu be a fixed input law and let p(y∣x)p(y\mid x) be the fixed conditional law being factorized. All expectations, entropies, and mutual informations are computed under

X∼μ,Y∼p(⋅∣X)X\sim\mu,\qquad Y\sim p(\cdot\mid X)

unless stated otherwise. Fix Z=[K]\mathcal Z=[K].

For an encoder q(z∣x,y)q(z\mid x,y), define

Qq(x,y,z)=μ(x)p(y∣x)q(z∣x,y).Q_q(x,y,z)=\mu(x)p(y\mid x)q(z\mid x,y).

The encoder-induced router and branch conditional are

q(z∣x)=∑yp(y∣x)q(z∣x,y),q(z\mid x)=\sum_y p(y\mid x)q(z\mid x,y),

and, when q(z∣x)>0q(z\mid x)>0,

q(y∣x,z)=p(y∣x)q(z∣x,y)q(z∣x).q(y\mid x,z)= \frac{p(y\mid x)q(z\mid x,y)}{q(z\mid x)}.

Let Iq(Y;Z∣X)I_q(Y;Z\mid X) denote conditional mutual information under QqQ_q.

Let the reference strategy be S⋆=σ(X,Y)∈[K]S^\star=\sigma(X,Y)\in[K]. The hard-strategy assumption says that the strategy is recognizable from the completed trace (X,Y)(X,Y). Define the hard reference encoder

q⋆(z∣x,y)=1{z=σ(x,y)},q^\star(z\mid x,y)=\mathbf 1\{z=\sigma(x,y)\},

and assume q⋆∈Qq^\star\in\mathcal Q when stating recovery theorems.

For a stochastic encoder, define weak and strong recovery distances under QqQ_q:

dw(q,S⋆):=Hq(Z∣X,S⋆)+Hq(S⋆∣X,Z),d_{\mathrm w}(q,S^\star) := H_q(Z\mid X,S^\star)+H_q(S^\star\mid X,Z),

and

ds(q,S⋆):=Hq(Z∣S⋆)+Hq(S⋆∣Z).d_{\mathrm s}(q,S^\star) := H_q(Z\mid S^\star)+H_q(S^\star\mid Z).

Weak recovery allows an input-dependent relabeling of latent states. Strong recovery requires one global relabeling.

Recovery distances

For every q∈Qq\in\mathcal Q:

  1. dw(q,S⋆)=0d_{\mathrm w}(q,S^\star)=0 if and only if qq weakly recovers S⋆S^\star.
  2. ds(q,S⋆)=0d_{\mathrm s}(q,S^\star)=0 if and only if qq strongly recovers S⋆S^\star.
  3. dw(q,S⋆)≤ds(q,S⋆)d_{\mathrm w}(q,S^\star)\le d_{\mathrm s}(q,S^\star).

\begin{proof} The proof is the same variation-of-information argument as in the deterministic case. For weak recovery, dw=0d_{\mathrm w}=0 if and only if

Hq(Z∣X,S⋆)=0,Hq(S⋆∣X,Z)=0.H_q(Z\mid X,S^\star)=0, \qquad H_q(S^\star\mid X,Z)=0.

Thus, for μ\mu-almost every xx, ZZ is a deterministic function of S⋆S^\star and S⋆S^\star is a deterministic function of ZZ under Qq(⋅∣X=x)Q_q(\cdot\mid X=x). Hence the positive-probability labels match up to a permutation πx\pi_x. The converse is immediate. The strong statement is the same argument without conditioning on XX. Finally, conditioning reduces entropy, giving dw≤dsd_{\mathrm w}\le d_{\mathrm s}. \end{proof}

3. Expressive ELBO and profiled router-generator cost

The joint-complexity beta-ELBO is

Lβ,λ(q,r,g):=EQq[−log⁡g(Y∣X,Z)]+β EX,YKL⁡(q(⋅∣X,Y)∥r(⋅∣X))+λC(r,g).\mathcal L_{\beta,\lambda}(q,r,g) := \mathbb E_{Q_q}[-\log g(Y\mid X,Z)] + \beta\,\mathbb E_{X,Y} \operatorname{KL}(q(\cdot\mid X,Y)\|r(\cdot\mid X)) + \lambda C(r,g).

Define

DecGap⁡(q,g):=EX,ZKL⁡(q(⋅∣X,Z)∥g(⋅∣X,Z)),\operatorname{DecGap}(q,g) := \mathbb E_{X,Z} \operatorname{KL}(q(\cdot\mid X,Z)\|g(\cdot\mid X,Z)),

where the first argument is the encoder-induced conditional law over YY, and

PriorGap⁡(q,r):=EXKL⁡(q(⋅∣X)∥r(⋅∣X)).\operatorname{PriorGap}(q,r) := \mathbb E_X \operatorname{KL}(q(\cdot\mid X)\|r(\cdot\mid X)).
ELBO information-complexity decomposition

For every (q,r,g)(q,r,g) for which the terms are well-defined,

Lβ,λ(q,r,g)=H(Y∣X)+(β−1)Iq(Y;Z∣X)+DecGap⁡(q,g)+βPriorGap⁡(q,r)+λC(r,g).\mathcal L_{\beta,\lambda}(q,r,g) = H(Y\mid X) + (\beta-1)I_q(Y;Z\mid X) + \operatorname{DecGap}(q,g) + \beta\operatorname{PriorGap}(q,r) + \lambda C(r,g).

\begin{proof} The reconstruction term decomposes as cross-entropy:

E[−log⁡g(Y∣X,Z)]=Hq(Y∣X,Z)+DecGap⁡(q,g).\mathbb E[-\log g(Y\mid X,Z)] = H_q(Y\mid X,Z)+\operatorname{DecGap}(q,g).

Since the (X,Y)(X,Y) marginal of QqQ_q is μ(x)p(y∣x)\mu(x)p(y\mid x),

Hq(Y∣X,Z)=H(Y∣X)−Iq(Y;Z∣X).H_q(Y\mid X,Z) = H(Y\mid X)-I_q(Y;Z\mid X).

The KL-to-prior term decomposes by inserting q(Z∣X)q(Z\mid X):

EX,YKL⁡(q(⋅∣X,Y)∥r(⋅∣X))=Iq(Y;Z∣X)+PriorGap⁡(q,r).\mathbb E_{X,Y}\operatorname{KL}(q(\cdot\mid X,Y)\|r(\cdot\mid X)) = I_q(Y;Z\mid X)+\operatorname{PriorGap}(q,r).

Combining the terms proves the identity. \end{proof}

For a fixed encoder, define the profiled router-generator cost

Aβ,λ(q):=inf⁡r∈R,g∈G[DecGap⁡(q,g)+βPriorGap⁡(q,r)+λC(r,g)],A_{\beta,\lambda}(q) := \inf_{r\in\mathcal R,g\in\mathcal G} \left[ \operatorname{DecGap}(q,g) + \beta\operatorname{PriorGap}(q,r) + \lambda C(r,g) \right],

and the profiled loss

Lˉβ,λ(q):=inf⁡r,gLβ,λ(q,r,g).\bar{\mathcal L}_{\beta,\lambda}(q) := \inf_{r,g} \mathcal L_{\beta,\lambda}(q,r,g).

Then

Lˉβ,λ(q)=H(Y∣X)−(1−β)Iq(Y;Z∣X)+Aβ,λ(q).\bar{\mathcal L}_{\beta,\lambda}(q) = H(Y\mid X) - (1-\beta)I_q(Y;Z\mid X) + A_{\beta,\lambda}(q).

For \beta<1, define

Jβ,λprof(q):=Iq(Y;Z∣X)−Aβ,λ(q)1−β.J^{\mathrm{prof}}_{\beta,\lambda}(q) := I_q(Y;Z\mid X) - \frac{A_{\beta,\lambda}(q)}{1-\beta}.

Then

Lˉβ,λ(q)=H(Y∣X)−(1−β)Jβ,λprof(q).\bar{\mathcal L}_{\beta,\lambda}(q) = H(Y\mid X) - (1-\beta)J^{\mathrm{prof}}_{\beta,\lambda}(q).

So full ELBO optimization over (q,r,g)(q,r,g) is equivalent, after profiling out the router and generator, to maximizing the profiled information-complexity score over encoders.

4. Profiled recovery margin

For ρ∈{w,s}\rho\in\{\mathrm w,\mathrm s\} and δ>0\delta>0, define

Bρ(δ):={q∈Q:dρ(q,S⋆)≥δ}.\mathcal B_\rho(\delta) := \{q\in\mathcal Q:d_\rho(q,S^\star)\ge\delta\}.

The profiled recovery margin is

Δβ,λρ,prof(δ):=Jβ,λprof(q⋆)−sup⁡q∈Bρ(δ)Jβ,λprof(q).\Delta_{\beta,\lambda}^{\rho,\mathrm{prof}}(\delta) := J^{\mathrm{prof}}_{\beta,\lambda}(q^\star) - \sup_{q\in\mathcal B_\rho(\delta)} J^{\mathrm{prof}}_{\beta,\lambda}(q).
Population recovery for the expressive ELBO

Assume \beta<1, q⋆∈Qq^\star\in\mathcal Q, and Δβ,λρ,prof(δ)>0\Delta_{\beta,\lambda}^{\rho,\mathrm{prof}}(\delta)>0. If

q^∈arg⁡min⁡q∈QLˉβ,λ(q),\widehat q\in \arg\min_{q\in\mathcal Q} \bar{\mathcal L}_{\beta,\lambda}(q),

then

d_\rho(\widehat q,S^\star)<\delta.

Consequently, if (q^,r^,g^)(\widehat q,\widehat r,\widehat g) is a full population minimizer of Lβ,λ(q,r,g)\mathcal L_{\beta,\lambda}(q,r,g) over Q×R×G\mathcal Q\times\mathcal R\times\mathcal G, then d_\rho(\widehat q,S^\star)<\delta.

\begin{proof} Since \beta<1,

Lˉβ,λ(q)=H(Y∣X)−(1−β)Jβ,λprof(q),\bar{\mathcal L}_{\beta,\lambda}(q) = H(Y\mid X) - (1-\beta)J^{\mathrm{prof}}_{\beta,\lambda}(q),

so minimizing the profiled loss is equivalent to maximizing Jβ,λprofJ^{\mathrm{prof}}_{\beta,\lambda}. Any profiled minimizer satisfies

Jβ,λprof(q^)≥Jβ,λprof(q⋆).J^{\mathrm{prof}}_{\beta,\lambda}(\widehat q) \ge J^{\mathrm{prof}}_{\beta,\lambda}(q^\star).

If dρ(q^,S⋆)≥δd_\rho(\widehat q,S^\star)\ge\delta, then q^∈Bρ(δ)\widehat q\in\mathcal B_\rho(\delta) and therefore

Jβ,λprof(q^)≤Jβ,λprof(q⋆)−Δβ,λρ,prof(δ),J^{\mathrm{prof}}_{\beta,\lambda}(\widehat q) \le J^{\mathrm{prof}}_{\beta,\lambda}(q^\star) - \Delta_{\beta,\lambda}^{\rho,\mathrm{prof}}(\delta),

a contradiction. A full ELBO minimizer induces a profiled minimizer in qq, because any lower profiled value at its encoder, or at another encoder, would give a lower full triple value. \end{proof}

The margin condition is stronger than the old hard-class condition: the reference strategy must beat all bad stochastic encoders in Q\mathcal Q, not only bad deterministic partitions.

5. Marginal fidelity and the small-complexity limit

For any router-generator pair, define the marginal conditional law

mr,g(y∣x):=∑zr(z∣x)g(y∣x,z).m_{r,g}(y\mid x) := \sum_z r(z\mid x)g(y\mid x,z).
Variational gaps control marginal fidelity

For every (q,r,g)(q,r,g),

EXKL⁡ ⁣(p(⋅∣X)∥mr,g(⋅∣X))≤PriorGap⁡(q,r)+DecGap⁡(q,g).\mathbb E_X \operatorname{KL}\!\left( p(\cdot\mid X) \middle\| m_{r,g}(\cdot\mid X) \right) \le \operatorname{PriorGap}(q,r)+\operatorname{DecGap}(q,g).

\begin{proof} For fixed xx, let

Px(y,z)=p(y∣x)q(z∣x,y)=q(z∣x)q(y∣x,z)P_x(y,z)=p(y\mid x)q(z\mid x,y)=q(z\mid x)q(y\mid x,z)

and

Mx(y,z)=r(z∣x)g(y∣x,z).M_x(y,z)=r(z\mid x)g(y\mid x,z).

The YY-marginals are p(⋅∣x)p(\cdot\mid x) and mr,g(⋅∣x)m_{r,g}(\cdot\mid x). Data processing gives

KL⁡(p(⋅∣x)∥mr,g(⋅∣x))≤KL⁡(Px∥Mx).\operatorname{KL}(p(\cdot\mid x)\|m_{r,g}(\cdot\mid x)) \le \operatorname{KL}(P_x\|M_x).

Factoring PxP_x and MxM_x gives

KL⁡(Px∥Mx)=KL⁡(q(⋅∣x)∥r(⋅∣x))+EZ∼q(⋅∣x)KL⁡(q(⋅∣x,Z)∥g(⋅∣x,Z)).\operatorname{KL}(P_x\|M_x) = \operatorname{KL}(q(\cdot\mid x)\|r(\cdot\mid x)) + \mathbb E_{Z\sim q(\cdot\mid x)} \operatorname{KL}(q(\cdot\mid x,Z)\|g(\cdot\mid x,Z)).

Averaging over XX proves the claim. \end{proof}

This makes the finite-λ\lambda tradeoff explicit. The profiled optimizer may choose a simpler approximate router-generator pair, incurring nonzero prior or decoder gaps. Exact marginal factorization is therefore not guaranteed at finite λ\lambda.

The high-fidelity limit is simple. Fix qq and β>0\beta>0. If the exact induced pair

rq(z∣x)=q(z∣x),gq(y∣x,z)=q(y∣x,z)r_q(z\mid x)=q(z\mid x), \qquad g_q(y\mid x,z)=q(y\mid x,z)

belongs to R×G\mathcal R\times\mathcal G and has finite C(rq,gq)C(r_q,g_q), then any minimizer (rλ,gλ)(r_\lambda,g_\lambda) of Aβ,λ(q)A_{\beta,\lambda}(q) satisfies

DecGap⁡(q,gλ)+βPriorGap⁡(q,rλ)≤λC(rq,gq).\operatorname{DecGap}(q,g_\lambda) + \beta\operatorname{PriorGap}(q,r_\lambda) \le \lambda C(r_q,g_q).

Thus

DecGap⁡(q,gλ)→0,PriorGap⁡(q,rλ)→0\operatorname{DecGap}(q,g_\lambda)\to0, \qquad \operatorname{PriorGap}(q,r_\lambda)\to0

as λ↓0\lambda\downarrow0, and the marginal law mrλ,gλ(y∣x)m_{r_\lambda,g_\lambda}(y\mid x) approaches p(y∣x)p(y\mid x) in expected KL.

Interpretation: λ→0\lambda\to0 is the high-fidelity, weak-implicit-bias limit. It restores marginal fidelity under exact realizability, but it also weakens semantic selection because the encoder score approaches maximum conditional information.

6. Deterministic hard-strategy specialization

Let

ΦK={ϕ:X×Y→[K]}.\Phi_K=\{\phi:\mathcal X\times\mathcal Y\to[K]\}.

For ϕ∈ΦK\phi\in\Phi_K, define the hard encoder

qϕ(z∣x,y)=1{z=ϕ(x,y)}.q_\phi(z\mid x,y)=\mathbf 1\{z=\phi(x,y)\}.

Let Zϕ=ϕ(X,Y)Z_\phi=\phi(X,Y). The induced router and generator are

rϕ(z∣x)=P(Zϕ=z∣X=x),r_\phi(z\mid x)=\mathbb P(Z_\phi=z\mid X=x),

and

gϕ(y∣x,z)=p(y∣x,Zϕ=z)g_\phi(y\mid x,z)=p(y\mid x,Z_\phi=z)

on positive-probability branches. Then

p(y∣x)=∑zrϕ(z∣x)gϕ(y∣x,z).p(y\mid x)=\sum_z r_\phi(z\mid x)g_\phi(y\mid x,z).

Also,

Iqϕ(Y;Z∣X)=I(Y;Zϕ∣X)=H(Zϕ∣X).I_{q_\phi}(Y;Z\mid X)=I(Y;Z_\phi\mid X)=H(Z_\phi\mid X).

Define C(ϕ):=C(rϕ,gϕ)C(\phi):=C(r_\phi,g_\phi). The deterministic profiled score is

Jβ,λprof(ϕ)=I(Y;Zϕ∣X)−Aβ,λ(qϕ)1−β.J^{\mathrm{prof}}_{\beta,\lambda}(\phi) = I(Y;Z_\phi\mid X) - \frac{A_{\beta,\lambda}(q_\phi)}{1-\beta}.

If the exact induced pair wins the inner profile,

Aβ,λ(qϕ)=λC(rϕ,gϕ),A_{\beta,\lambda}(q_\phi)=\lambda C(r_\phi,g_\phi),

then

Jβ,λprof(ϕ)=I(Y;Zϕ∣X)−λ1−βC(ϕ).J^{\mathrm{prof}}_{\beta,\lambda}(\phi) = I(Y;Z_\phi\mid X) - \frac{\lambda}{1-\beta}C(\phi).

This recovers the old information-complexity score

Jα(ϕ)=I(Y;Zϕ∣X)−αC(ϕ),α=λ1−β.J_\alpha(\phi)=I(Y;Z_\phi\mid X)-\alpha C(\phi), \qquad \alpha=\frac{\lambda}{1-\beta}.

So the original hard-class theorem is best read as the zero-gap specialization of the expressive profiled ELBO theorem.

7. Empirical recovery

The same margin controls empirical recovery. Let Lˉ^n\widehat{\bar{\mathcal L}}_n be an empirical profiled loss. If

\sup_{q\in\mathcal Q} \left| \widehat{\bar{\mathcal L}}_{\beta,\lambda,n}(q) - \bar{\mathcal L}_{\beta,\lambda}(q) \right| < \frac{(1-\beta)\Delta_{\beta,\lambda}^{\rho,\mathrm{prof}}(\delta)}{2},

then every empirical profiled minimizer satisfies

d_\rho(\widehat q_n,S^\star)<\delta.

For a finite encoder class ∣Q∣=N|\mathcal Q|=N, if each centered empirical profiled loss is sub-Gaussian with variance proxy σ2\sigma^2, then a union bound gives the sufficient condition

n≥8σ2(1−β)2(Δβ,λρ,prof(δ))2log⁡2Nη.n \ge \frac{8\sigma^2} {(1-\beta)^2(\Delta_{\beta,\lambda}^{\rho,\mathrm{prof}}(\delta))^2} \log\frac{2N}{\eta}.

The important scaling is

n≍statistical complexity of the encoder class(1−β)2(profiled recovery margin)2.n \asymp \frac{\text{statistical complexity of the encoder class}} {(1-\beta)^2(\text{profiled recovery margin})^2}.

8. Interpretation and limits

The clean paper-level message is:

  1. Low-β\beta ELBO supplies information pressure. For \beta<1, the objective rewards latents that capture residual variation in YY after conditioning on XX.
  2. Profiled router-generator complexity supplies selection. Aβ,λ(q)A_{\beta,\lambda}(q) penalizes encoders whose induced routing law and branch conditionals are hard to realize faithfully with a simple router-generator pair.
  3. Finite λ\lambda can trade fidelity for simplicity. Exact preservation of p(y∣x)p(y\mid x) is guaranteed by zero variational gaps, not by the ELBO objective alone.
  4. The limit λ→0\lambda\to0 restores high fidelity under realizability. For fixed qq and β>0\beta>0, the exact induced pair becomes competitive enough to force the profiled gaps to zero. The cost is that semantic selection weakens and the encoder objective tends toward maximum information.
  5. The deterministic ΦK\Phi_K result remains important. It is the clean hard-strategy partition special case, but it should not be presented as the main expressive ELBO theorem.

The margin condition is still an argmax-style assumption: recovery occurs when the reference strategy beats every bad competitor under the profiled score. Its value is not that the condition is automatic, but that it identifies the exact selection pressure needed and gives the same gap that controls empirical recovery.

Built with LogoFlowershow