Skip to main content
Back

DSReg Untangles Frozen AI Representations Without Labels or Retraining

A new regularizer called DSReg peels apart the mixed latents inside JEPA-style world models, recovering each individual world variable with no decoder and no labels.

Pro

  • DSReg provably recovers individual world latents from JEPA encoders without decoders, reconstruction, or labels (paper).
  • Builds on LeJEPA's linear identifiability by fitting a sparsity-selecting rotation on top of a frozen encoder.
  • Requires only Structural Diversity: no two latents leave the same dependency footprint on observations.
  • Main theorem is formally verified in Lean 4 and strictly weakens prior structural sparsity conditions.
  • Scales to 8192 latents on a single 48 GB GPU with graceful recovery degradation.
  • Code available on GitHub; project page at dsreg.github.io.

Yujia Zheng, David Klindt, Randall Balestriero, and Bernhard Schölkopf propose DSReg, a lightweight regularizer that disentangles representations from a frozen LeJEPA encoder. Under the paper’s assumptions, the method recovers individual latent factors without labels, a decoder, or an end-to-end reconstruction objective.

Representation learners often preserve the information needed for downstream tasks while distributing each real-world factor across many coordinates. A supervised linear probe can recover useful combinations, but coordinate-level editing and sparse control work better when one axis corresponds to one factor. DSReg addresses that alignment problem by finding a rotation of the learned representation.

Why JEPA coordinates remain mixed

Joint-Embedding Predictive Architectures train an encoder to predict representations of related observations, such as different views or moments from the same scene. The cited LeJEPA result establishes linear identifiability in the Gaussian-latent setting: the learned representation contains the true latent state up to an invertible linear transformation.

Linear identifiability preserves information while leaving the coordinate system ambiguous. Position, color, velocity, and texture can remain mixed across dimensions, even when a linear map could recover them with sufficient labels. DSReg narrows that ambiguity to signed permutation, meaning coordinates may be reordered or flipped in direction but are no longer arbitrary mixtures.

DSReg rotating mixed JEPA features into individual latent factors up to signed permutation
DSReg searches for a rotation whose dependency structure isolates individual latent factors.

Distinct footprints identify the factors

DSReg relies on an assumption the authors call Structural Diversity. Each latent factor must affect a distinct set of observed variables, such as pixels or sensor readings. That set forms the factor’s dependency footprint and corresponds locally to the nonzero entries in a Jacobian column.

Dependency footprints may overlap, and one may contain another. A global illumination factor can therefore affect every pixel, provided no second factor has the same footprint. The requirement concerns which observations respond to each latent, not whether the affected regions are disjoint.

The paper proves that Structural Diversity is strictly weaker than structural assumptions used in earlier nonlinear independent component analysis work: those earlier conditions imply Structural Diversity, while the reverse implication does not always hold. The authors also provide a Lean formalization of the main identifiability theorem.

A post-hoc search over rotations

DSReg keeps the pretrained encoder fixed and fits an orthogonal transformation on top of its embeddings. The optimization selects the rotation that yields the sparsest estimated dependencies between representation coordinates and observations.

  1. Choose anchors. Sample points from the learned representation space.
  2. Estimate local effects. Regress nearby observations on nearby embeddings to approximate local Jacobians.
  3. Rotate the representation. Optimize an orthogonal matrix applied to the embeddings.
  4. Penalize dense dependencies. Use an L1-style objective that favors Jacobian columns with sparse support.

Local regression supplies the dependency estimates without training a decoder to reconstruct inputs. Because the encoder remains frozen, developers can apply DSReg to an existing LeJEPA checkpoint and evaluate the rotated coordinates without repeating pretraining.

The theorem shows that the sparsest rotation recovers the underlying factors up to sign and permutation when LeJEPA’s identifiability conditions and Structural Diversity both hold. This leaves the semantic name and direction of each coordinate unresolved, but removes general linear mixing.

Sparse probes gain while dense recovery holds

The reported experiments separate overall information recovery from coordinate alignment. On an MLP control benchmark, LeJEPA and DSReg both reach an R2 of 0.988 for dense latent recovery. DSReg improves individual-factor recovery, readout with eight labels, and sparse editing at that same dense-recovery score.

Evaluation Reported result
Dense latent recovery R2 remains 0.988
Sparse-use probes Improvements across editing, control, rollout prediction, and surprise detection
Few-shot readout Improved recovery using eight labels
Jacobian noise Recovery remains above 0.99 through the reported 0.20 noise level
Largest tested representation 8,192 latent dimensions on one 48 GB GPU
DSReg improvements over LeJEPA across six sparse-use evaluations
The paper reports gains across six tasks that depend on a small number of representation coordinates.

Scaling experiments reach 8,192 latent dimensions on a single 48 GB GPU. According to the paper, sampled anchor estimation keeps the per-step cost nearly flat as latent dimension grows, while explicitly materializing the Jacobian increases cost by roughly two orders of magnitude between 512 and 1,024 dimensions.

Where aligned coordinates pay off

Coordinate alignment primarily helps tasks that use a small subset of latent dimensions. Examples include editing one visual attribute, controlling a system through a few state variables, predicting rollouts from sparse factors, and detecting a change associated with one real-world cause.

Dense regression and classification receive little benefit because a linear probe can absorb an arbitrary rotation. DSReg becomes useful when interpretability, intervention, sample-efficient readout, or sparse computation depends on the coordinate system itself.

The guarantee has clear boundaries

  • Structural Diversity is an assumption about the data-generating process. Distinct dependency footprints may be plausible in a domain, but they cannot generally be verified from learned embeddings alone.
  • The proof inherits LeJEPA’s Gaussian-latent setting. Heavy-tailed, categorical, or otherwise non-Gaussian factors fall outside the stated guarantee.
  • Local estimates depend on data coverage. Sparse neighborhoods or noisy observations can reduce Jacobian quality, even though the reported synthetic tests show tolerance to moderate estimation noise.
  • Signed permutation leaves semantics unresolved. A small amount of grounding is still required to determine which coordinate represents a given factor and which direction increases it.
  • Optimization may matter in practice. The theorem characterizes the target solution under its assumptions; an implementation must still find a suitable rotation from finite data.

Test a frozen checkpoint

The authors publish an implementation in the GitHub repository, with experiments and the Lean proof linked from the project page. A practical evaluation should compare the original and rotated embeddings on dense prediction, few-label factor readout, and interventions that vary one coordinate at a time.