Add model card for Sub-JEPA
#1
by nielsr HF Staff - opened
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: reinforcement-learning
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Sub-JEPA: Subspace Gaussian Regularization for Stable End-to-End World Models
|
| 6 |
+
|
| 7 |
+
Official implementation of the paper: [Sub-JEPA: Subspace Gaussian Regularization for Stable End-to-End World Models](https://arxiv.org/abs/2605.09241).
|
| 8 |
+
|
| 9 |
+
## Overview
|
| 10 |
+
|
| 11 |
+
Joint-Embedding Predictive Architectures (JEPAs) provide a simple framework for learning world models by predicting future latent states. However, JEPA training can be subject to collapse without sufficient structural constraints. **Sub-JEPA** relaxes global constraints used in previous methods (like LeWM) by applying Gaussian regularization across multiple random subspaces rather than the original high-dimensional embedding space. This leads to a better balance between training stability and representation quality in continuous-control environments.
|
| 12 |
+
|
| 13 |
+
## Resources
|
| 14 |
+
|
| 15 |
+
- **GitHub:** [intcomp/Sub-JEPA](https://github.com/intcomp/Sub-JEPA)
|
| 16 |
+
- **Paper:** [arXiv:2605.09241](https://arxiv.org/abs/2605.09241)
|
| 17 |
+
|
| 18 |
+
## Installation
|
| 19 |
+
|
| 20 |
+
To set up the environment, clone the repository and apply the Sub-JEPA patch to the underlying LeWM codebase:
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
git clone --recursive https://github.com/intcomp/Sub-JEPA.git
|
| 24 |
+
cd Sub-JEPA
|
| 25 |
+
|
| 26 |
+
# Apply the Sub-JEPA patch to LeWM
|
| 27 |
+
git -C le-wm apply ../lewm_subjepa.patch
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
Please refer to the [official repository](https://github.com/intcomp/Sub-JEPA) for additional environment and data setup instructions.
|
| 31 |
+
|
| 32 |
+
## Usage
|
| 33 |
+
|
| 34 |
+
### Training
|
| 35 |
+
|
| 36 |
+
Training is configured with Hydra. To train on the `tworoom` environment:
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
PYTHONPATH=. python le-wm/train.py data=tworoom
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
### Evaluation
|
| 43 |
+
|
| 44 |
+
Evaluation configurations are located under `le-wm/config/eval/`:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
python le-wm/eval.py --config-name=tworoom.yaml policy=tworoom/subjepa
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Citation
|
| 51 |
+
|
| 52 |
+
```bibtex
|
| 53 |
+
@misc{zhao2026subjepa,
|
| 54 |
+
title = {Sub-JEPA: Subspace Gaussian Regularization for Stable End-to-End World Models},
|
| 55 |
+
author = {Zhao, Kai and Nie, Dongliang and Lin, Yuchen and Luo, Zhehan and Gu, Yixiao and Fan, Deng-Ping and Zeng, Dan},
|
| 56 |
+
year = {2026},
|
| 57 |
+
eprint = {2605.09241},
|
| 58 |
+
archivePrefix = {arXiv},
|
| 59 |
+
primaryClass = {cs.LG},
|
| 60 |
+
url = {https://arxiv.org/abs/2605.09241}
|
| 61 |
+
}
|
| 62 |
+
```
|