metadata
tags:
- ml-intern
FinJEPA: Financial Joint-Embedding Predictive Architecture
FinJEPA is a JEPA-based world model for portfolio optimization over a separated action space consisting of:
- Portfolio weights (continuous, simplex-constrained)
- Trading signals (discrete: long/short/flat per asset)
- Hedging signal (binary: on/off)
Architecture (SOTA Blend)
| Component | Source | Key Innovation |
|---|---|---|
| Time Series Encoder | TS-JEPA (Sennadir 2025) | 1D-CNN patch tokenizer + Transformer |
| Action Conditioning | JEPA-WMs (Terver 2025) | AdaLN + RoPE in predictor |
| Collapse Prevention | EB-JEPA (Terver 2026) | SIGReg + Inverse Dynamics Model |
| Multi-step Rollout | EB-JEPA | K-step autoregressive training |
| Planner | JEPA-WMs + EB-JEPA | CEM L2 cost / MPPI cumulative cost in latent space |
| TD Branch | TD-JEPA (Bagatella 2025) | Optional separate task encoder for zero-shot RL |
Model
Financial Time Series (T, F)
β
βΌ
[TimeSeriesTokenizer] ββ 1D-CNN patches + position encoding
β
βββββΊ [Context Encoder] (student)
β β
β βΌ
β [Predictor] ββββ Action embedding (weights + signals)
β (AdaLN + RoPE) β
β β β
β βΌ βΌ
β Predicted target [ActionEmbedder]
β embeddings βββ weights (continuous)
β βββ signals (discrete)
β βββ hedge (binary)
β
βββββΊ [Target Encoder] (teacher, EMA frozen)
β
βΌ
Ground truth target embeddings
Usage
python finjepa/run_training_fast.py
Full training on real data:
python finjepa/train.py --data_source hf \
--dataset_name paperswithbacktest/Stocks-Daily-Price \
--n_assets 5 --batch_size 128 --epochs 50 --push_to_hub
References
- TS-JEPA β Sennadir et al. (2025). arxiv:2509.25449
- JEPA-WMs β Terver et al. (2025). arxiv:2512.24497
- EB-JEPA β Terver et al. (2026). arxiv:2602.03604
- V-JEPA 2 β Assran et al. (2025). arxiv:2506.09985
- TD-JEPA β Bagatella et al. (2025). arxiv:2510.00739
Generated by ML Intern
This model repository was generated by ML Intern, an agent for machine learning research and development on the Hugging Face Hub.
- Try ML Intern: https://smolagents-ml-intern.hf.space
- Source code: https://github.com/huggingface/ml-intern