SandHouse
Pages

TL1 — Concepts

A held-out prediction set consists of complete episodes that are never used for gradient updates. For a segment (Xt,At,…,At+k−1,Xt+k), evaluate Zt=Eθ(Xt), Zt+k|t−=DZ(k)(Zt,At:t+k−1), Zt+k=Eθ(Xt+k) and measure ℰk=𝔼held-out[1N∑i|zt+k|t,i−−zt+k,i|2] “Held out” therefore means new trajectories or environment seeds, not merely transitions randomly removed from the same episodes. Splitting by episode prevents nearly identical neighboring frames from appearing in both training and validation.

Useful representation metrics include:

\- Per-dimension standard deviation across observations.

\- Effective rank of the latent covariance.

\- VISReg scale, center, and shape terms.

\- Action sensitivity: |DZ(Zt,At)−DZ(Zt,A′t)|

\- Prediction loss after shuffling actions.

\- A frozen linear probe trained to recover MiniGrid’s symbolic cell representation—object type,

color, and state—from zt,i.

\- Improvement over the identity predictor: Zt+k|t−=Zt

The linear probe is not part of training. It is an evaluation instrument: freeze (E_\\theta), fit a

small linear model on one subset, and report accuracy on held-out episodes. It measures whether

the representation preserves environmentally meaningful information in an easily accessible form.

A practical stopping rule would be something like:

\- Held-out multi-step prediction stops improving.

\- Linear-probe performance stops improving.

\- Effective rank and latent standard deviations remain healthy.

\- Action shuffling substantially worsens prediction.

\- Probe-set pointwise drift remains below the desired threshold.

VISReg Projection

I am now restricting the VISReg projection across batches to 128 dims

Implications of fixed VISReg projections: - Positive: the shape objective is deterministic for a given batch. - Positive: it removes the gradient noise caused by drawing new directions every batch. - Positive: results and drift measurements should be more reproducible. - Positive: it should lower the persistent encoder-drift floor. - Negative: the encoder is only directly tested along a finite set of directions. - Negative: it could fit those directions without perfectly matching projections elsewhere.