Sparse-TD-JEPA: Improving Zero-Shot Reinforcement Learning With Sparse Latent Task Representations
Organizations: University of California, Merced
Abstract
Successor-feature-based zero-shot reinforcement learning methods pre-train a task encoder and successor-feature predictor on offline, reward-free data, then recover a policy at test time by solving a closed-form linear regression over a small labeled dataset. We identify an underexplored limitation of this approach: when the task encoder produces dense representations, the inferred reward signal becomes diffuse across the state space, reducing the contrast between goal-relevant states and the background and providing a weaker signal for the policy to follow. We address this limitation by introducing an l1 sparsity penalty that concentrates reward-predictive structure into a smaller effective subspace of the task encoder's latent space. The penalty is applied only during training and requires no architectural change or modification to the closed-form inference procedure. We instantiate this approach as Sparse-TD-JEPA, a single-line of code addition based on Temporal-Difference Joint-Embedding Predictive Architecture (TD-JEPA) that significantly improved its performance in zero-shot reinforcement learning. We evaluate Sparse-TD-JEPA on 65 tasks across the DeepMind Control (DMC) Suite and OGBench, covering locomotion, navigation, trajectory stitching, puzzle solving, and robotic manipulation. Sparse-TD-JEPA improves over TD-JEPA in all 13 domain-level comparisons. On DMC, it increases the average return from 661 +- 6 to 714 +- 3. On OGBench, it increases the average success rate from 38.0 +- 0.8 to 48.4 +- 2.3, with improvements of 13.4-18.0 percentage points on the evaluated antmaze navigation and stitching domains. Overall, Sparse-TD-JEPA achieves the highest mean performance among established zero-shot baselines in nine of the 13 domains. Analysis further shows that sparsity produces a sharper and more task-informative inferred reward landscape.
Figures & tables
| Laplacian | ICVF | HILP | FB | RLDP | BYOL | BYOL- | TD-JEPA | Ours | |
|---|---|---|---|---|---|---|---|---|---|
| DMC (avg) | |||||||||
| walker | |||||||||
| cheetah | |||||||||
| quadruped | |||||||||
| pointmass | |||||||||
| OGBench (avg) |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Regularizer | Behavior on | Effect on training | Shown in |
| , , any | constant | none (zero gradient) | Thm. 1 , Cor. 2 |
| isotropically smoothed norms | constant | none (zero gradient) | Cor. 2 |
| weight decay (output layer) | function-preserving | parameter scale only | Rem. 2 |
| dropout on output | quadratic, isotropic | noise; no sparsity pressure | Rem. 3 |
| orthonormality (second moments) | orbit-invariant | blind to per-example | Lem. 2 |
| , | minimized at flat | favors dense embeddings | Prop. 2 (iii) |
| Domain group | lr | ortho. coef. |
|---|---|---|
| OGBench Antmaze | ||
| OGBench Manipulation | ||
| DMC |
| Domain group | lr | goal-sampling prob. |
|---|---|---|
| OGBench Antmaze | ||
| OGBench Manipulation | ||
| DMC |
| Domain group | lr b | ortho. coefficient |
|---|---|---|
| OGBench Antmaze | ||
| OGBench Manipulation | ||
| DMC |
| Domain group | lr b | ortho. coefficient |
|---|---|---|
| OGBench Antmaze | ||
| OGBench Manipulation | ||
| DMC |
| Domain group | lr | ortho. coefficient |
|---|---|---|
| OGBench Antmaze | ||
| OGBench Manipulation | ||
| DMC |
| Domain group | lr ψ | -coefficient |
|---|---|---|
| OGBench Antmaze | ||
| OGBench Manipulation | ||
| DMC |
| Domain | State dim. | Action dim. | Tasks | Task Description |
|---|---|---|---|---|
| Walker | 24 | 6 | Stand | Upright torso, minimal height |
| Walk | Stand reward plus forward velocity | |||
| Run | Stand reward plus higher velocity | |||
| Spin | Continuous rotation while balanced | |||
| Cheetah | 17 | 6 | Walk | Reward linear in forward velocity, max 10 m/s |
| Walk Backward | Reward linear in backward velocity |
| Domain | State dim | Action dim | Task | Task Description |
| Antmaze Medium Navigate | 29 | 8 | Task1–5 | Navigate to five goals in the medium maze |
| Antmaze Large Navigate | 29 | 8 | Task1–5 | Navigate to five goals in the large maze |
| Antmaze Medium Stitch | 29 | 8 | Task1–5 | Reach five goals by stitching sub-trajectories |
| Antmaze Large Stitch | 29 | 8 | Task1–5 | Reach five goals by stitching sub-trajectories |
| Antmaze Medium Explore | 29 | 8 | Task1–5 | Reach five goals from low-quality, high-coverage exploratory data |
| Cube Single | 28 | 5 | Horizontal | Pick-and-place, horizontal offset |