Skip to content

feat: add representation health tools and close software gaps - #8

Merged
josaum merged 4 commits into
mainfrom
feat/representation-health-gaps
Oct 26, 2026
Merged

josaum merged 4 commits into
mainfrom
feat/representation-health-gaps

Conversation

@josaum

@josaum josaum commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Summary

Implements the actionable gaps from an October 2026 JEPA literature and code review, while keeping production-only experiments explicit.

Literature-backed additions

  • SACReg (λ-JEPA, arXiv:2609.35288): mean/covariance/log-determinant regularization for the backbone representation used downstream.
  • SubSIGReg (Sub-JEPA, arXiv:2605.09241): SIGReg over frozen row-orthonormal subspaces to avoid over-constraining low-dimensional dynamics.
  • effective_rank diagnostics and opt-in train/validation effective-rank histories in BiJEPATrainer.

Correctness and robustness fixes

  • GEPA preserves the best candidate ever evaluated, records non-regressing trajectories, and validates search parameters.
  • Multilevel loss handles empty levels and mismatched weights safely.
  • Streaming rejects wrong dimensions and out-of-order timestamps without partial state mutation.
  • Adds a reproducible Docker test environment.

Documentation

  • Maps MotionJEPA, MM-LeJEPA, UR-JEPA, and World-as-Graph as experiment candidates rather than unsupported defaults.
  • Corrects the stale onto_projection note: it is already optimized and checkpointed.
  • Leaves leakage-free time-truncated healthcare probes, per-rank graph-loading optimization, and production objective A/B tests explicitly open.

Validation

  • 148 targeted tests passed for new regularizers, BiJEPA, GEPA, EventJEPA, and streaming.
  • Broader available suite reached 271 passing tests; remaining local gaps were missing optional dependencies in the reset sandbox.
  • Syntax compilation and git diff --check passed.
  • GitHub CI will provide full lint, type, Python 3.10–3.12, and PyTorch validation (expected 409 tests).

@josaum
josaum merged commit fe2eab0 into main Oct 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant