Add files using upload-large-folder tool
Browse files- README.md +123 -0
- benchmark-results/algonauts/dev/IPSID [context] 15 s/results.json +0 -0
- benchmark-results/algonauts/dev/IPSID [context] 180 s/results.json +0 -0
- benchmark-results/algonauts/dev/IPSID [context] 30 s/results.json +0 -0
- benchmark-results/algonauts/dev/IPSID [context] 60 s/results.json +0 -0
- benchmark-results/algonauts/dev/IPSID [context] 7.5 s/results.json +0 -0
- benchmark-results/algonauts/dev/IPSID [context] 90 s/results.json +0 -0
- benchmark-results/algonauts/dev/IPSID [context]/results.json +0 -0
- benchmark-results/algonauts/dev/NeuroWorld k1 120s (latent)/results.json +0 -0
- benchmark-results/algonauts/dev/NeuroWorld k1 15s (latent)/results.json +0 -0
- benchmark-results/algonauts/dev/NeuroWorld k1 180s (latent)/results.json +0 -0
- benchmark-results/algonauts/dev/NeuroWorld k1 30s (latent)/results.json +0 -0
- benchmark-results/algonauts/dev/NeuroWorld k1 60s (latent)/results.json +0 -0
- benchmark-results/algonauts/dev/NeuroWorld k1 90s (latent)/results.json +0 -0
- benchmark-results/algonauts/dev/NeuroWorld-style k1 (latent)/results.json +0 -0
- benchmark-results/algonauts/dev/TRIBEv2 zero-shot/results.json +0 -0
- benchmark-results/algonauts/dev/linear [context] 120 s/results.json +0 -0
- benchmark-results/algonauts/val/IPSID [context] 15 s/results.json +0 -0
- benchmark-results/algonauts/val/IPSID [context] 180 s/results.json +0 -0
- benchmark-results/algonauts/val/IPSID [context] 30 s/results.json +0 -0
- benchmark-results/algonauts/val/IPSID [context] 60 s/results.json +0 -0
- benchmark-results/algonauts/val/IPSID [context] 7.5 s/results.json +0 -0
- benchmark-results/algonauts/val/IPSID [context] 90 s/results.json +0 -0
- benchmark-results/algonauts/val/IPSID [context]/results.json +0 -0
- benchmark-results/algonauts/val/NeuroWorld k1 120s (latent)/results.json +0 -0
- benchmark-results/algonauts/val/NeuroWorld k1 15s (latent)/results.json +0 -0
- benchmark-results/algonauts/val/NeuroWorld k1 180s (latent)/results.json +0 -0
- benchmark-results/algonauts/val/NeuroWorld k1 30s (latent)/results.json +0 -0
- benchmark-results/algonauts/val/NeuroWorld k1 60s (latent)/results.json +0 -0
- benchmark-results/algonauts/val/NeuroWorld k1 90s (latent)/results.json +0 -0
- benchmark-results/algonauts/val/NeuroWorld-style k1 (latent)/results.json +0 -0
- benchmark-results/algonauts/val/TRIBEv2 zero-shot/results.json +0 -0
- benchmark-results/algonauts/val/linear [context] 120 s/results.json +0 -0
- benchmark-results/algonauts/val/linear [context] 15 s/results.json +0 -0
- benchmark-results/algonauts/val/linear [context] 180 s/results.json +0 -0
- benchmark-results/algonauts/val/linear [context] 30 s/results.json +0 -0
- benchmark-results/algonauts/val/linear [context] 60 s/results.json +0 -0
- benchmark-results/algonauts/val/linear [context] 7.5 s/results.json +0 -0
- benchmark-results/algonauts/val/linear [context] 90 s/results.json +0 -0
- benchmark-results/algonauts/val/ridge-jepa-120s-std-partial (latent)/results.json +0 -0
- benchmark-results/algonauts/val/ridge-jepa-15s-std-partial (latent)/results.json +0 -0
- benchmark-results/algonauts/val/ridge-jepa-180s-std-partial (latent)/results.json +0 -0
- benchmark-results/algonauts/val/ridge-jepa-30s-std-partial (latent)/results.json +0 -0
- benchmark-results/algonauts/val/ridge-jepa-60s-std-partial (latent)/results.json +0 -0
- benchmark-results/algonauts/val/ridge-jepa-7.5s-std-partial (latent)/results.json +0 -0
- benchmark-results/algonauts/val/ridge-jepa-90s-std-partial (latent)/results.json +0 -0
- spectator-v1/algonauts-120s/model/config.yaml +151 -0
- spectator-v1/algonauts-7.5s/model/config.yaml +151 -0
- spectator-v1/algonauts/model/config.yaml +154 -0
- spectator-v1/hcp/model/config.yaml +219 -0
README.md
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
tags:
|
| 5 |
+
- neuroscience
|
| 6 |
+
- fmri
|
| 7 |
+
- brain-dynamics
|
| 8 |
+
- world-model
|
| 9 |
+
- jepa
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Spectator
|
| 13 |
+
|
| 14 |
+
Weights of **Spectator**, the model of *State of Mind: Learning and Evaluating World Models of Naturalistic Brain Dynamics*, and the stored BrainStateBench scores of the paper's main table. Code: [github.com/yuxiangwei0808/State-of-Mind](https://github.com/yuxiangwei0808/State-of-Mind).
|
| 15 |
+
|
| 16 |
+
Spectator keeps a 2,048-number state built from the last minutes of a viewer's fMRI (Schaefer-1000 parcels) and rolls it forward while they watch a movie. A linear encoder makes the state; it was trained in the JEPA sense against its own slowly updated copy and then frozen. One matrix, solved in closed form, predicts the next state from the state and the movie's TRIBE v2 features. A linear probe per viewer reads the 1,000 parcels from any state. The model and its training are described in the [repository's README](https://github.com/yuxiangwei0808/State-of-Mind#spectator).
|
| 17 |
+
|
| 18 |
+
## Files
|
| 19 |
+
|
| 20 |
+
Download into the repository's output root (`outputs/` by default, or `$NEUROWORLD_OUTPUT`); the configs in the code find the files there:
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
hf download stanjsx/Spectator --local-dir outputs
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
| Path | Contents | Size |
|
| 27 |
+
|---|---|---:|
|
| 28 |
+
| `spectator-v1/algonauts/model/` | Spectator on Algonauts 2025 with 180 s of fMRI history (the paper's model): `best.pt` (every weight), `config.yaml`, `probe.npz`, `probe-first-pass.npz`, `reference-rollout.pt` | 181 MB |
|
| 29 |
+
| `spectator-v1/algonauts/encoder.pt`, `matrix.pt` | the frozen encoder and the final matrix as separate files, which `neuroworld/configs/spectator/algonauts.yaml` names (both are also in `best.pt`) | 117 MB |
|
| 30 |
+
| `spectator-v1/algonauts/lags.pt`, `jepa-start-matrix.pt` | where the JEPA phase starts (`algonauts-jepa.yaml`): stage 0's map with the closed-form lag weights, and the closed-form start matrix | 53 MB |
|
| 31 |
+
| `spectator-v1/hcp/` | Spectator on HCP: the Algonauts encoder with its lag weights (`lags.pt`) and the matrix (`matrix.pt`) refitted on HCP; `model/` as above, with one probe pooled over viewers | 253 MB |
|
| 32 |
+
| `spectator-v1/algonauts-7.5s/model/`, `algonauts-120s/model/` | Spectator with 7.5 and 120 s of history (the main table's other columns): `best.pt`, `config.yaml` and the probes. Each history length has its own encoder, held in `best.pt` | 275 MB |
|
| 33 |
+
| `benchmark-results/` | a BrainStateBench result store with the Algonauts scores of the main table's rows at every history length from 7.5 to 180 s | 503 MB |
|
| 34 |
+
| `benchmark-results-own-fill/` | the linear forecaster's Updating with the frames it is not shown filled by its own forecast (`benchmark updating --own-fill`), which is how the paper reports it | 75 MB |
|
| 35 |
+
|
| 36 |
+
The checkpoints hold weights and training metadata, with no optimizer state: they load, score and seed the closed-form refits, but gradient training cannot resume from them. Paths in their metadata are written as `${NEUROWORLD_DATA}` and `${NEUROWORLD_OUTPUT}`.
|
| 37 |
+
|
| 38 |
+
## Use
|
| 39 |
+
|
| 40 |
+
From the repository root, with the code installed (`neuroworld/requirements-dev.txt`):
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
import json
|
| 44 |
+
import numpy as np
|
| 45 |
+
import torch
|
| 46 |
+
from neuroworld.train.readout import load_world_model
|
| 47 |
+
from neuroworld.utils.config import load_config
|
| 48 |
+
|
| 49 |
+
folder = "outputs/spectator-v1/algonauts/model"
|
| 50 |
+
cfg = load_config(f"{folder}/config.yaml")
|
| 51 |
+
model, _ = load_world_model(cfg, f"{folder}/best.pt", "cpu")
|
| 52 |
+
|
| 53 |
+
# brain: [B, 120, 1000], the last 120 fMRI frames (TR 1.49 s; 180 frames at 1 s on HCP), as the prepared datasets hold them.
|
| 54 |
+
# stimuli["context"]: [B, 44, 2048], TRIBE v2's contextual rows of the movie for a 40-frame rollout.
|
| 55 |
+
# reference-rollout.pt holds a fixed synthetic input of these shapes and the states it gives.
|
| 56 |
+
ref = torch.load(f"{folder}/reference-rollout.pt", weights_only=True)
|
| 57 |
+
with torch.no_grad():
|
| 58 |
+
states = model.rollout(ref["brain"], ref["stimuli"], horizon_trs=40) # [B, 40, 2048], equal to ref["states"]
|
| 59 |
+
|
| 60 |
+
probe = np.load(f"{folder}/probe.npz")
|
| 61 |
+
groups = json.loads(str(probe["meta"]))["groups"] # the viewers: Algonauts2025/01, 02, 03, 05
|
| 62 |
+
i = groups.index("Algonauts2025/01")
|
| 63 |
+
parcels = states.numpy() @ probe[f"W {i}"] + probe[f"b {i}"] # [B, 40, 1000]
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
`probe-first-pass.npz` is the probe Updating uses to fill the frames it does not show the model, before the second pass reads with `probe.npz`.
|
| 67 |
+
|
| 68 |
+
**Scoring.** The benchmark assembles the inputs from the prepared datasets ([DATA.md](https://github.com/yuxiangwei0808/State-of-Mind/blob/main/DATA.md)). To score Spectator on every task:
|
| 69 |
+
|
| 70 |
+
```bash
|
| 71 |
+
python -m neuroworld.spectator score outputs/spectator-v1/algonauts/model --seconds 180 --dataset algonauts --store outputs/my-results --name spectator-180s
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
It fits the probe on the training recordings before scoring. A stored probe is reused only when the weights, the benchmark code and the data paths all match, so on another machine the probe is refitted. A refit reproduces the shipped probe up to floating-point rounding (largest relative difference 1.4e-6).
|
| 75 |
+
|
| 76 |
+
**Comparing a model with the paper's rows.** Score it into the downloaded store and print the benchmark card, which pools Friends S6 and the four Movie10 films and gives paired 95% intervals against the reference row:
|
| 77 |
+
|
| 78 |
+
```bash
|
| 79 |
+
python -m neuroworld.benchmark suite --dataset algonauts --model py:my_model.py:MyModel --output outputs/benchmark-results
|
| 80 |
+
python -m neuroworld.benchmark profile --output outputs/benchmark-results --reference "ridge-jepa-180s-std-partial (latent)"
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
[`examples/persistence.py`](https://github.com/yuxiangwei0808/State-of-Mind/blob/main/examples/persistence.py) shows the model interface.
|
| 84 |
+
|
| 85 |
+
## Stored scores
|
| 86 |
+
|
| 87 |
+
Rows of `benchmark-results/algonauts/` (`<L>` is the history length: 7.5, 15, 30, 60, 90, 120 or 180):
|
| 88 |
+
|
| 89 |
+
| Paper name | Row |
|
| 90 |
+
|---|---|
|
| 91 |
+
| Spectator | `ridge-jepa-<L>s-std-partial (latent)` |
|
| 92 |
+
| Linear forecaster | `linear [context] <L> s` |
|
| 93 |
+
| IPSID | `IPSID [context] <L> s` (`IPSID [context]` at 120 s) |
|
| 94 |
+
| NeuroWorld | `NeuroWorld k1 <L>s (latent)`; `NeuroWorld-style k1 (latent)` at 7.5 s |
|
| 95 |
+
| TRIBE v2 | `TRIBEv2 zero-shot` (reads no fMRI) |
|
| 96 |
+
|
| 97 |
+
The splits are `val` (*Friends* S6), `dev` (*Hidden Figures* and *Life*) and `test` (*The Bourne Supremacy* and *The Wolf of Wall Street*); the paper reports all three pooled. Forecast scores are in `<split>/<row>/results.json`; State scores (the Movie10 repeats) in `state/`; Updating scores in `updating/`. The files hold summed errors per recording and per step, not forecasts. Each file's `stamp` records the benchmark code and the probe it was scored with. The card warns that `NeuroWorld k1 180s (latent)` combines two fits of its probe. The paper's BrainVista and MIRAGE rows were scored by a collaborator and are not included.
|
| 98 |
+
|
| 99 |
+
## Results
|
| 100 |
+
|
| 101 |
+
All Algonauts 2025 test data (*Friends* S6 and the four Movie10 films), 180 s of fMRI history, skill in % (higher is better); r is the parcel-averaged Pearson correlation over the 40 steps of the minute.
|
| 102 |
+
|
| 103 |
+
| Model | Forecast | State | Updating | r |
|
| 104 |
+
|---|---:|---:|---:|---:|
|
| 105 |
+
| TRIBE v2 (stimulus only) | 4.2 | 0.0 | 4.1 | 0.173 |
|
| 106 |
+
| Linear forecaster | 11.6 | 2.6 | 12.7 | 0.294 |
|
| 107 |
+
| IPSID | 8.7 | 1.2 | 12.5 | 0.243 |
|
| 108 |
+
| NeuroWorld | 8.3 | 0.4 | 13.4 | 0.239 |
|
| 109 |
+
| **Spectator** | **16.0** | **5.5** | **20.3** | **0.349** |
|
| 110 |
+
|
| 111 |
+
On HCP (7T movies, 184 viewers), Spectator's Forecast is 6.6 on new content and 9.6 for new viewers, State 6.2, and Updating 15.7 and 18.2 (new content, new viewers).
|
| 112 |
+
|
| 113 |
+
## Data
|
| 114 |
+
|
| 115 |
+
No fMRI data or stimulus features are included. Algonauts 2025 comes from the [Algonauts challenge](https://algonautsproject.com/) (CNeuroMod) and HCP from the [Human Connectome Project](https://www.humanconnectome.org/); the repository's preparation scripts build the inputs the models read.
|
| 116 |
+
|
| 117 |
+
## License
|
| 118 |
+
|
| 119 |
+
CC BY-NC 4.0. Spectator is trained on and reads features made by [TRIBE v2](https://github.com/facebookresearch/tribev2), which is released under CC BY-NC 4.0.
|
| 120 |
+
|
| 121 |
+
## Citation
|
| 122 |
+
|
| 123 |
+
*State of Mind: Learning and Evaluating World Models of Naturalistic Brain Dynamics.*
|
benchmark-results/algonauts/dev/IPSID [context] 15 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/IPSID [context] 180 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/IPSID [context] 30 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/IPSID [context] 60 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/IPSID [context] 7.5 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/IPSID [context] 90 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/IPSID [context]/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/NeuroWorld k1 120s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/NeuroWorld k1 15s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/NeuroWorld k1 180s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/NeuroWorld k1 30s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/NeuroWorld k1 60s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/NeuroWorld k1 90s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/NeuroWorld-style k1 (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/TRIBEv2 zero-shot/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/dev/linear [context] 120 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/IPSID [context] 15 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/IPSID [context] 180 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/IPSID [context] 30 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/IPSID [context] 60 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/IPSID [context] 7.5 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/IPSID [context] 90 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/IPSID [context]/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/NeuroWorld k1 120s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/NeuroWorld k1 15s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/NeuroWorld k1 180s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/NeuroWorld k1 30s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/NeuroWorld k1 60s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/NeuroWorld k1 90s (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/NeuroWorld-style k1 (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/TRIBEv2 zero-shot/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/linear [context] 120 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/linear [context] 15 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/linear [context] 180 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/linear [context] 30 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/linear [context] 60 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/linear [context] 7.5 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/linear [context] 90 s/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/ridge-jepa-120s-std-partial (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/ridge-jepa-15s-std-partial (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/ridge-jepa-180s-std-partial (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/ridge-jepa-30s-std-partial (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/ridge-jepa-60s-std-partial (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/ridge-jepa-7.5s-std-partial (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
benchmark-results/algonauts/val/ridge-jepa-90s-std-partial (latent)/results.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
spectator-v1/algonauts-120s/model/config.yaml
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Spectator with 120 s of fMRI history (run ridge-jepa-120s-std-partial; its benchmark row is
|
| 2 |
+
# 'ridge-jepa-120s-std-partial (latent)'). best.pt holds every weight: the encoder and start-matrix files
|
| 3 |
+
# named under train: are where its training started, and are not part of this release.
|
| 4 |
+
data:
|
| 5 |
+
batch_size: 1024
|
| 6 |
+
bundle_path: ${NEUROWORLD_DATA}/algonauts/derivatives/neuroworld-schaefer1000-v2
|
| 7 |
+
context_features: ${NEUROWORLD_DATA}/algonauts/derivatives/neuroworld-schaefer1000-v2-tribev2-context
|
| 8 |
+
dev_runs: []
|
| 9 |
+
epoch_steps: 0
|
| 10 |
+
extra_movie: null
|
| 11 |
+
extra_rest: []
|
| 12 |
+
extra_sd: 0.61
|
| 13 |
+
extra_windows: 0
|
| 14 |
+
heldout_subjects: []
|
| 15 |
+
hrf_delay_seconds: 0.0
|
| 16 |
+
num_workers: 4
|
| 17 |
+
preload: true
|
| 18 |
+
rest_only: false
|
| 19 |
+
rest_store: null
|
| 20 |
+
sequence_states: 17
|
| 21 |
+
split_frames: {}
|
| 22 |
+
test_runs: []
|
| 23 |
+
tr_seconds: 1.49
|
| 24 |
+
train_runs:
|
| 25 |
+
- Algonauts2025/*/task-friends/s0[1-5]*/run-*
|
| 26 |
+
val_runs:
|
| 27 |
+
- Algonauts2025/*/task-friends/s06*/run-*
|
| 28 |
+
window_stride_trs: 3
|
| 29 |
+
design: transformer_world_model
|
| 30 |
+
eval:
|
| 31 |
+
horizon_trs: 20
|
| 32 |
+
prefix_trs: 1
|
| 33 |
+
probe_ridge: 0.1
|
| 34 |
+
probe_windows: 4096
|
| 35 |
+
window_stride_trs: 20
|
| 36 |
+
model:
|
| 37 |
+
attention_heads: 16
|
| 38 |
+
chunk_frames: 0
|
| 39 |
+
conditioning: input
|
| 40 |
+
context_states: 1
|
| 41 |
+
context_width: 2048
|
| 42 |
+
encoder_depth: 2
|
| 43 |
+
encoder_dropout: 0.1
|
| 44 |
+
encoder_heads: 8
|
| 45 |
+
encoder_hidden_dim: 0
|
| 46 |
+
encoder_kind: linear
|
| 47 |
+
encoder_linear_path: false
|
| 48 |
+
encoder_mlp_dim: 1024
|
| 49 |
+
encoder_output_norm: true
|
| 50 |
+
encoder_width: 512
|
| 51 |
+
fast_window_trs: 5
|
| 52 |
+
history_block_states: 10
|
| 53 |
+
history_blocks: 0
|
| 54 |
+
history_measured_only: false
|
| 55 |
+
history_spaced: false
|
| 56 |
+
measurement_token: false
|
| 57 |
+
mlp_depth: 0
|
| 58 |
+
mlp_hidden_dim: 2048
|
| 59 |
+
movie_rank: 0
|
| 60 |
+
movie_tokens: false
|
| 61 |
+
own_drive: false
|
| 62 |
+
predictor_depth: 6
|
| 63 |
+
predictor_dropout: 0.1
|
| 64 |
+
predictor_kind: mlp
|
| 65 |
+
predictor_mlp_dim: 2048
|
| 66 |
+
predictor_output_norm: true
|
| 67 |
+
predictor_width: 0
|
| 68 |
+
slow_extra_branches: 0
|
| 69 |
+
slow_per_dimension: true
|
| 70 |
+
state_dim: 2048
|
| 71 |
+
state_step: 1
|
| 72 |
+
state_tokens: 2
|
| 73 |
+
state_window_trs: 80
|
| 74 |
+
stimulus_context: concat
|
| 75 |
+
stimulus_context_trs: 5
|
| 76 |
+
stimulus_features: tribev2_context
|
| 77 |
+
stimulus_scaling: standardize
|
| 78 |
+
token_positions_file: null
|
| 79 |
+
tribev2_checkpoint: ${NEUROWORLD_DATA}/hub/models--facebook--tribev2/snapshots/f894e783020944dcd96e5568550afe2aa9743f9f/best.ckpt
|
| 80 |
+
zero_brain: false
|
| 81 |
+
readout:
|
| 82 |
+
batch_size: 16
|
| 83 |
+
cache_rollouts: true
|
| 84 |
+
epochs: 200
|
| 85 |
+
hidden_dim: 1024
|
| 86 |
+
lr: 1.0e-05
|
| 87 |
+
patience: null
|
| 88 |
+
schedule: cosine
|
| 89 |
+
select_by: parcel_pearson
|
| 90 |
+
train_horizon_trs: 20
|
| 91 |
+
train_on: rollout
|
| 92 |
+
warmup_steps: 500
|
| 93 |
+
weight_decay: 0.001
|
| 94 |
+
window_stride_trs: 20
|
| 95 |
+
seed: 0
|
| 96 |
+
train:
|
| 97 |
+
accumulation_steps: 4
|
| 98 |
+
device: auto
|
| 99 |
+
encoder_checkpoint: ${NEUROWORLD_OUTPUT}/checkpoints/algonauts/wave2_20261102/history-D-EMA-40.pt
|
| 100 |
+
encoder_lr_factor: 1.0
|
| 101 |
+
epochs: 100
|
| 102 |
+
freeze_encoder: true
|
| 103 |
+
freeze_encoder_body: false
|
| 104 |
+
freeze_fast_encoder: false
|
| 105 |
+
grad_clip: 1.0
|
| 106 |
+
l1_scale: 1.0
|
| 107 |
+
latent_error: squared
|
| 108 |
+
log_every_steps: 100
|
| 109 |
+
lr: 5.0e-05
|
| 110 |
+
mask_blocks: 2
|
| 111 |
+
mask_lengths:
|
| 112 |
+
- 3
|
| 113 |
+
- 6
|
| 114 |
+
mask_suffix_probability: 0.5
|
| 115 |
+
masked_predictor_depth: 2
|
| 116 |
+
masked_target: latent
|
| 117 |
+
masked_target_norm: false
|
| 118 |
+
modality_dropout: 0.3
|
| 119 |
+
mode: stimulus
|
| 120 |
+
objective: latent
|
| 121 |
+
optimizer: adamw
|
| 122 |
+
output_dir: null
|
| 123 |
+
parcel_weight: 0.0
|
| 124 |
+
patience: 10
|
| 125 |
+
precision: bf16
|
| 126 |
+
prediction_weight: 1.0
|
| 127 |
+
predictor_checkpoint: ${NEUROWORLD_OUTPUT}/checkpoints/algonauts/wave2_20261102/direct-start-ridge-jepa-120s-std-partial.pt
|
| 128 |
+
predictor_checkpoint_movie: true
|
| 129 |
+
reveal_readout: null
|
| 130 |
+
rollout_detach_every: 0
|
| 131 |
+
rollout_schedule: null
|
| 132 |
+
rollout_step_weights: uniform
|
| 133 |
+
rollout_steps: 16
|
| 134 |
+
rollout_weight: 1.0
|
| 135 |
+
run_tag: null
|
| 136 |
+
schedule: cosine
|
| 137 |
+
sigreg_knots: 17
|
| 138 |
+
sigreg_projections: 1024
|
| 139 |
+
sigreg_ramp_epochs: 0
|
| 140 |
+
sigreg_scale_file: null
|
| 141 |
+
sigreg_weight: 0.09
|
| 142 |
+
slow_loss_weight: 1.0
|
| 143 |
+
target: encoder
|
| 144 |
+
target_momentum: 0.998
|
| 145 |
+
warmup_fraction: 0.01
|
| 146 |
+
weight_decay: 0.001
|
| 147 |
+
wandb:
|
| 148 |
+
entity: null
|
| 149 |
+
mode: offline
|
| 150 |
+
name: null
|
| 151 |
+
project: neuralworld
|
spectator-v1/algonauts-7.5s/model/config.yaml
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Spectator with 7.5 s of fMRI history (run ridge-jepa-7.5s-std-partial; its benchmark row is
|
| 2 |
+
# 'ridge-jepa-7.5s-std-partial (latent)'). best.pt holds every weight: the encoder and start-matrix files
|
| 3 |
+
# named under train: are where its training started, and are not part of this release.
|
| 4 |
+
data:
|
| 5 |
+
batch_size: 1024
|
| 6 |
+
bundle_path: ${NEUROWORLD_DATA}/algonauts/derivatives/neuroworld-schaefer1000-v2
|
| 7 |
+
context_features: ${NEUROWORLD_DATA}/algonauts/derivatives/neuroworld-schaefer1000-v2-tribev2-context
|
| 8 |
+
dev_runs: []
|
| 9 |
+
epoch_steps: 0
|
| 10 |
+
extra_movie: null
|
| 11 |
+
extra_rest: []
|
| 12 |
+
extra_sd: 0.61
|
| 13 |
+
extra_windows: 0
|
| 14 |
+
heldout_subjects: []
|
| 15 |
+
hrf_delay_seconds: 0.0
|
| 16 |
+
num_workers: 4
|
| 17 |
+
preload: true
|
| 18 |
+
rest_only: false
|
| 19 |
+
rest_store: null
|
| 20 |
+
sequence_states: 17
|
| 21 |
+
split_frames: {}
|
| 22 |
+
test_runs: []
|
| 23 |
+
tr_seconds: 1.49
|
| 24 |
+
train_runs:
|
| 25 |
+
- Algonauts2025/*/task-friends/s0[1-5]*/run-*
|
| 26 |
+
val_runs:
|
| 27 |
+
- Algonauts2025/*/task-friends/s06*/run-*
|
| 28 |
+
window_stride_trs: 3
|
| 29 |
+
design: transformer_world_model
|
| 30 |
+
eval:
|
| 31 |
+
horizon_trs: 20
|
| 32 |
+
prefix_trs: 1
|
| 33 |
+
probe_ridge: 0.1
|
| 34 |
+
probe_windows: 4096
|
| 35 |
+
window_stride_trs: 20
|
| 36 |
+
model:
|
| 37 |
+
attention_heads: 16
|
| 38 |
+
chunk_frames: 0
|
| 39 |
+
conditioning: input
|
| 40 |
+
context_states: 1
|
| 41 |
+
context_width: 2048
|
| 42 |
+
encoder_depth: 2
|
| 43 |
+
encoder_dropout: 0.1
|
| 44 |
+
encoder_heads: 8
|
| 45 |
+
encoder_hidden_dim: 0
|
| 46 |
+
encoder_kind: linear
|
| 47 |
+
encoder_linear_path: false
|
| 48 |
+
encoder_mlp_dim: 1024
|
| 49 |
+
encoder_output_norm: true
|
| 50 |
+
encoder_width: 512
|
| 51 |
+
fast_window_trs: 0
|
| 52 |
+
history_block_states: 10
|
| 53 |
+
history_blocks: 0
|
| 54 |
+
history_measured_only: false
|
| 55 |
+
history_spaced: false
|
| 56 |
+
measurement_token: false
|
| 57 |
+
mlp_depth: 0
|
| 58 |
+
mlp_hidden_dim: 2048
|
| 59 |
+
movie_rank: 0
|
| 60 |
+
movie_tokens: false
|
| 61 |
+
own_drive: false
|
| 62 |
+
predictor_depth: 6
|
| 63 |
+
predictor_dropout: 0.1
|
| 64 |
+
predictor_kind: mlp
|
| 65 |
+
predictor_mlp_dim: 2048
|
| 66 |
+
predictor_output_norm: true
|
| 67 |
+
predictor_width: 0
|
| 68 |
+
slow_extra_branches: 0
|
| 69 |
+
slow_per_dimension: false
|
| 70 |
+
state_dim: 1024
|
| 71 |
+
state_step: 1
|
| 72 |
+
state_tokens: 1
|
| 73 |
+
state_window_trs: 5
|
| 74 |
+
stimulus_context: concat
|
| 75 |
+
stimulus_context_trs: 5
|
| 76 |
+
stimulus_features: tribev2_context
|
| 77 |
+
stimulus_scaling: standardize
|
| 78 |
+
token_positions_file: null
|
| 79 |
+
tribev2_checkpoint: ${NEUROWORLD_DATA}/hub/models--facebook--tribev2/snapshots/f894e783020944dcd96e5568550afe2aa9743f9f/best.ckpt
|
| 80 |
+
zero_brain: false
|
| 81 |
+
readout:
|
| 82 |
+
batch_size: 16
|
| 83 |
+
cache_rollouts: true
|
| 84 |
+
epochs: 200
|
| 85 |
+
hidden_dim: 1024
|
| 86 |
+
lr: 1.0e-05
|
| 87 |
+
patience: null
|
| 88 |
+
schedule: cosine
|
| 89 |
+
select_by: parcel_pearson
|
| 90 |
+
train_horizon_trs: 20
|
| 91 |
+
train_on: rollout
|
| 92 |
+
warmup_steps: 500
|
| 93 |
+
weight_decay: 0.001
|
| 94 |
+
window_stride_trs: 20
|
| 95 |
+
seed: 0
|
| 96 |
+
train:
|
| 97 |
+
accumulation_steps: 4
|
| 98 |
+
device: auto
|
| 99 |
+
encoder_checkpoint: ${NEUROWORLD_OUTPUT}/checkpoints/algonauts/wave2_20261102/history-matrix-jepa-7.5s-m1-r40.pt
|
| 100 |
+
encoder_lr_factor: 1.0
|
| 101 |
+
epochs: 100
|
| 102 |
+
freeze_encoder: true
|
| 103 |
+
freeze_encoder_body: false
|
| 104 |
+
freeze_fast_encoder: false
|
| 105 |
+
grad_clip: 1.0
|
| 106 |
+
l1_scale: 1.0
|
| 107 |
+
latent_error: squared
|
| 108 |
+
log_every_steps: 100
|
| 109 |
+
lr: 5.0e-05
|
| 110 |
+
mask_blocks: 2
|
| 111 |
+
mask_lengths:
|
| 112 |
+
- 3
|
| 113 |
+
- 6
|
| 114 |
+
mask_suffix_probability: 0.5
|
| 115 |
+
masked_predictor_depth: 2
|
| 116 |
+
masked_target: latent
|
| 117 |
+
masked_target_norm: false
|
| 118 |
+
modality_dropout: 0.3
|
| 119 |
+
mode: stimulus
|
| 120 |
+
objective: latent
|
| 121 |
+
optimizer: adamw
|
| 122 |
+
output_dir: null
|
| 123 |
+
parcel_weight: 0.0
|
| 124 |
+
patience: 10
|
| 125 |
+
precision: bf16
|
| 126 |
+
prediction_weight: 1.0
|
| 127 |
+
predictor_checkpoint: ${NEUROWORLD_OUTPUT}/checkpoints/algonauts/wave2_20261102/direct-start-ridge-jepa-7.5s-std-partial.pt
|
| 128 |
+
predictor_checkpoint_movie: true
|
| 129 |
+
reveal_readout: null
|
| 130 |
+
rollout_detach_every: 0
|
| 131 |
+
rollout_schedule: null
|
| 132 |
+
rollout_step_weights: uniform
|
| 133 |
+
rollout_steps: 16
|
| 134 |
+
rollout_weight: 1.0
|
| 135 |
+
run_tag: null
|
| 136 |
+
schedule: cosine
|
| 137 |
+
sigreg_knots: 17
|
| 138 |
+
sigreg_projections: 1024
|
| 139 |
+
sigreg_ramp_epochs: 0
|
| 140 |
+
sigreg_scale_file: null
|
| 141 |
+
sigreg_weight: 0.09
|
| 142 |
+
slow_loss_weight: 1.0
|
| 143 |
+
target: encoder
|
| 144 |
+
target_momentum: 0.998
|
| 145 |
+
warmup_fraction: 0.01
|
| 146 |
+
weight_decay: 0.001
|
| 147 |
+
wandb:
|
| 148 |
+
entity: null
|
| 149 |
+
mode: offline
|
| 150 |
+
name: null
|
| 151 |
+
project: neuralworld
|
spectator-v1/algonauts/model/config.yaml
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Spectator on Algonauts, the model the paper reports: the JEPA phase's encoder, frozen, and the final closed-form matrix
|
| 2 |
+
# (standardized movie rows of the newest 5 frames, partial-history windows, penalty 1e-3 x mean diagonal, x10 on the state block,
|
| 3 |
+
# x100 on the movie block). Run as ridge-jepa-180s-std-partial; frozen copy: ${NEUROWORLD_OUTPUT}/spectator-v1/algonauts/model.
|
| 4 |
+
# Only the encoder and matrix files, the window and the movie settings matter here: nothing in this config is trained.
|
| 5 |
+
# Frozen on November 12, 2026: a fully resolved configuration, so later changes to defaults do not change it.
|
| 6 |
+
data:
|
| 7 |
+
batch_size: 1024
|
| 8 |
+
bundle_path: ${NEUROWORLD_DATA}/algonauts/derivatives/neuroworld-schaefer1000-v2
|
| 9 |
+
context_features: ${NEUROWORLD_DATA}/algonauts/derivatives/neuroworld-schaefer1000-v2-tribev2-context
|
| 10 |
+
dev_runs: []
|
| 11 |
+
epoch_steps: 0
|
| 12 |
+
extra_movie: null
|
| 13 |
+
extra_rest: []
|
| 14 |
+
extra_sd: 0.61
|
| 15 |
+
extra_windows: 0
|
| 16 |
+
heldout_subjects: []
|
| 17 |
+
history_fill: false
|
| 18 |
+
hrf_delay_seconds: 0.0
|
| 19 |
+
num_workers: 4
|
| 20 |
+
preload: true
|
| 21 |
+
rest_only: false
|
| 22 |
+
rest_store: null
|
| 23 |
+
sequence_states: 17
|
| 24 |
+
split_frames: {}
|
| 25 |
+
test_runs: []
|
| 26 |
+
tr_seconds: 1.49
|
| 27 |
+
train_runs:
|
| 28 |
+
- Algonauts2025/*/task-friends/s0[1-5]*/run-*
|
| 29 |
+
val_runs:
|
| 30 |
+
- Algonauts2025/*/task-friends/s06*/run-*
|
| 31 |
+
window_stride_trs: 3
|
| 32 |
+
design: transformer_world_model
|
| 33 |
+
eval:
|
| 34 |
+
horizon_trs: 20
|
| 35 |
+
prefix_trs: 1
|
| 36 |
+
probe_ridge: 0.1
|
| 37 |
+
probe_windows: 4096
|
| 38 |
+
window_stride_trs: 20
|
| 39 |
+
model:
|
| 40 |
+
attention_heads: 16
|
| 41 |
+
chunk_frames: 0
|
| 42 |
+
conditioning: input
|
| 43 |
+
context_states: 1
|
| 44 |
+
context_width: 2048
|
| 45 |
+
encoder_depth: 2
|
| 46 |
+
encoder_dropout: 0.1
|
| 47 |
+
encoder_heads: 8
|
| 48 |
+
encoder_hidden_dim: 0
|
| 49 |
+
encoder_kind: linear
|
| 50 |
+
encoder_linear_path: false
|
| 51 |
+
encoder_mlp_dim: 1024
|
| 52 |
+
encoder_output_norm: true
|
| 53 |
+
encoder_width: 512
|
| 54 |
+
fast_window_trs: 5
|
| 55 |
+
history_block_states: 10
|
| 56 |
+
history_blocks: 0
|
| 57 |
+
history_measured_only: false
|
| 58 |
+
history_spaced: false
|
| 59 |
+
measurement_token: false
|
| 60 |
+
mlp_depth: 0
|
| 61 |
+
mlp_hidden_dim: 2048
|
| 62 |
+
movie_rank: 0
|
| 63 |
+
movie_tokens: false
|
| 64 |
+
own_drive: false
|
| 65 |
+
predictor_depth: 6
|
| 66 |
+
predictor_dropout: 0.1
|
| 67 |
+
predictor_kind: mlp
|
| 68 |
+
predictor_mlp_dim: 2048
|
| 69 |
+
predictor_output_norm: true
|
| 70 |
+
predictor_width: 0
|
| 71 |
+
slow_extra_branches: 0
|
| 72 |
+
slow_per_dimension: true
|
| 73 |
+
state_dim: 2048
|
| 74 |
+
state_step: 1
|
| 75 |
+
state_tokens: 2
|
| 76 |
+
state_window_trs: 120
|
| 77 |
+
stimulus_context: concat
|
| 78 |
+
stimulus_context_trs: 5
|
| 79 |
+
stimulus_features: tribev2_context
|
| 80 |
+
stimulus_scaling: standardize
|
| 81 |
+
token_positions_file: null
|
| 82 |
+
tribev2_checkpoint: ${NEUROWORLD_DATA}/hub/models--facebook--tribev2/snapshots/f894e783020944dcd96e5568550afe2aa9743f9f/best.ckpt
|
| 83 |
+
zero_brain: false
|
| 84 |
+
readout:
|
| 85 |
+
batch_size: 16
|
| 86 |
+
cache_rollouts: true
|
| 87 |
+
epochs: 200
|
| 88 |
+
hidden_dim: 1024
|
| 89 |
+
lr: 1.0e-05
|
| 90 |
+
patience: null
|
| 91 |
+
schedule: cosine
|
| 92 |
+
select_by: parcel_pearson
|
| 93 |
+
train_horizon_trs: 20
|
| 94 |
+
train_on: rollout
|
| 95 |
+
warmup_steps: 500
|
| 96 |
+
weight_decay: 0.001
|
| 97 |
+
window_stride_trs: 20
|
| 98 |
+
seed: 0
|
| 99 |
+
train:
|
| 100 |
+
accumulation_steps: 4
|
| 101 |
+
device: auto
|
| 102 |
+
encoder_checkpoint: ${NEUROWORLD_OUTPUT}/spectator-v1/algonauts/encoder.pt
|
| 103 |
+
encoder_lr_factor: 1.0
|
| 104 |
+
epochs: 100
|
| 105 |
+
freeze_encoder: true
|
| 106 |
+
freeze_encoder_body: false
|
| 107 |
+
freeze_fast_encoder: false
|
| 108 |
+
grad_clip: 1.0
|
| 109 |
+
l1_scale: 1.0
|
| 110 |
+
latent_error: squared
|
| 111 |
+
log_every_steps: 100
|
| 112 |
+
lr: 5.0e-05
|
| 113 |
+
mask_blocks: 2
|
| 114 |
+
mask_lengths:
|
| 115 |
+
- 3
|
| 116 |
+
- 6
|
| 117 |
+
mask_suffix_probability: 0.5
|
| 118 |
+
masked_predictor_depth: 2
|
| 119 |
+
masked_target: latent
|
| 120 |
+
masked_target_norm: false
|
| 121 |
+
modality_dropout: 0.3
|
| 122 |
+
mode: stimulus
|
| 123 |
+
objective: latent
|
| 124 |
+
optimizer: adamw
|
| 125 |
+
output_dir: null
|
| 126 |
+
parcel_weight: 0.0
|
| 127 |
+
patience: 10
|
| 128 |
+
precision: bf16
|
| 129 |
+
prediction_weight: 1.0
|
| 130 |
+
predictor_checkpoint: ${NEUROWORLD_OUTPUT}/spectator-v1/algonauts/matrix.pt
|
| 131 |
+
predictor_checkpoint_movie: true
|
| 132 |
+
reveal_readout: null
|
| 133 |
+
rollout_detach_every: 0
|
| 134 |
+
rollout_schedule: null
|
| 135 |
+
rollout_step_weights: uniform
|
| 136 |
+
rollout_steps: 16
|
| 137 |
+
rollout_weight: 1.0
|
| 138 |
+
run_tag: null
|
| 139 |
+
schedule: cosine
|
| 140 |
+
sigreg_knots: 17
|
| 141 |
+
sigreg_projections: 1024
|
| 142 |
+
sigreg_ramp_epochs: 0
|
| 143 |
+
sigreg_scale_file: null
|
| 144 |
+
sigreg_weight: 0.09
|
| 145 |
+
slow_loss_weight: 1.0
|
| 146 |
+
target: encoder
|
| 147 |
+
target_momentum: 0.998
|
| 148 |
+
warmup_fraction: 0.01
|
| 149 |
+
weight_decay: 0.001
|
| 150 |
+
wandb:
|
| 151 |
+
entity: null
|
| 152 |
+
mode: offline
|
| 153 |
+
name: null
|
| 154 |
+
project: neuralworld
|
spectator-v1/hcp/model/config.yaml
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Spectator on HCP: the Algonauts encoder's fast map, with lag weights (180 frames, the next 24) and the final matrix
|
| 2 |
+
# (movie factor 10,000) refitted on HCP's 148 training viewers; oldest window frames removed for motion enter as zero
|
| 3 |
+
# (data.history_fill). Run as ridge-jepa-180s-hcp-refit-m1e4; frozen copy: ${NEUROWORLD_OUTPUT}/spectator-v1/hcp/model.
|
| 4 |
+
# Frozen on November 12, 2026: a fully resolved configuration, so later changes to defaults do not change it.
|
| 5 |
+
data:
|
| 6 |
+
batch_size: 1024
|
| 7 |
+
bundle_path: ${NEUROWORLD_DATA}/hcp_movies/derivatives/neuroworld-schaefer1000-v2
|
| 8 |
+
context_features: ${NEUROWORLD_DATA}/hcp_movies/derivatives/neuroworld-schaefer1000-v2-tribev2-context
|
| 9 |
+
dev_runs: []
|
| 10 |
+
epoch_steps: 0
|
| 11 |
+
extra_movie: null
|
| 12 |
+
extra_rest: []
|
| 13 |
+
extra_sd: 0.61
|
| 14 |
+
extra_windows: 0
|
| 15 |
+
heldout_subjects:
|
| 16 |
+
- HCP7T/100610
|
| 17 |
+
- HCP7T/104416
|
| 18 |
+
- HCP7T/105923
|
| 19 |
+
- HCP7T/116726
|
| 20 |
+
- HCP7T/118225
|
| 21 |
+
- HCP7T/126426
|
| 22 |
+
- HCP7T/134829
|
| 23 |
+
- HCP7T/140117
|
| 24 |
+
- HCP7T/158035
|
| 25 |
+
- HCP7T/169343
|
| 26 |
+
- HCP7T/175237
|
| 27 |
+
- HCP7T/177140
|
| 28 |
+
- HCP7T/178142
|
| 29 |
+
- HCP7T/191033
|
| 30 |
+
- HCP7T/192439
|
| 31 |
+
- HCP7T/199655
|
| 32 |
+
- HCP7T/200210
|
| 33 |
+
- HCP7T/200614
|
| 34 |
+
- HCP7T/204521
|
| 35 |
+
- HCP7T/205220
|
| 36 |
+
- HCP7T/214019
|
| 37 |
+
- HCP7T/214524
|
| 38 |
+
- HCP7T/263436
|
| 39 |
+
- HCP7T/346137
|
| 40 |
+
- HCP7T/360030
|
| 41 |
+
- HCP7T/412528
|
| 42 |
+
- HCP7T/525541
|
| 43 |
+
- HCP7T/541943
|
| 44 |
+
- HCP7T/581450
|
| 45 |
+
- HCP7T/671855
|
| 46 |
+
- HCP7T/706040
|
| 47 |
+
- HCP7T/725751
|
| 48 |
+
- HCP7T/732243
|
| 49 |
+
- HCP7T/765864
|
| 50 |
+
- HCP7T/943862
|
| 51 |
+
- HCP7T/971160
|
| 52 |
+
history_fill: true
|
| 53 |
+
hrf_delay_seconds: 0.0
|
| 54 |
+
num_workers: 4
|
| 55 |
+
preload: true
|
| 56 |
+
rest_only: false
|
| 57 |
+
rest_store: null
|
| 58 |
+
sequence_states: 17
|
| 59 |
+
split_frames:
|
| 60 |
+
test:
|
| 61 |
+
HCP7T/*/task-movie/run-04/*:
|
| 62 |
+
- - 0
|
| 63 |
+
- 797
|
| 64 |
+
train:
|
| 65 |
+
HCP7T/*/task-movie/run-01/*:
|
| 66 |
+
- - 0
|
| 67 |
+
- 734
|
| 68 |
+
- - 817
|
| 69 |
+
- 921
|
| 70 |
+
HCP7T/*/task-movie/run-02/*:
|
| 71 |
+
- - 0
|
| 72 |
+
- 545
|
| 73 |
+
- - 814
|
| 74 |
+
- 918
|
| 75 |
+
HCP7T/*/task-movie/run-03/*:
|
| 76 |
+
- - 0
|
| 77 |
+
- 649
|
| 78 |
+
- - 811
|
| 79 |
+
- 915
|
| 80 |
+
val:
|
| 81 |
+
HCP7T/*/task-movie/run-01/*:
|
| 82 |
+
- - 734
|
| 83 |
+
- 817
|
| 84 |
+
HCP7T/*/task-movie/run-02/*:
|
| 85 |
+
- - 545
|
| 86 |
+
- 814
|
| 87 |
+
HCP7T/*/task-movie/run-03/*:
|
| 88 |
+
- - 649
|
| 89 |
+
- 811
|
| 90 |
+
test_runs: []
|
| 91 |
+
tr_seconds: 1.0
|
| 92 |
+
train_runs:
|
| 93 |
+
- HCP7T/*/task-movie/run-0[1-3]/dir-*
|
| 94 |
+
val_runs:
|
| 95 |
+
- HCP7T/*/task-movie/run-0[1-3]/dir-*
|
| 96 |
+
window_stride_trs: 3
|
| 97 |
+
design: transformer_world_model
|
| 98 |
+
eval:
|
| 99 |
+
horizon_trs: 20
|
| 100 |
+
prefix_trs: 1
|
| 101 |
+
probe_ridge: 0.1
|
| 102 |
+
probe_windows: 4096
|
| 103 |
+
window_stride_trs: 20
|
| 104 |
+
model:
|
| 105 |
+
attention_heads: 16
|
| 106 |
+
chunk_frames: 0
|
| 107 |
+
conditioning: input
|
| 108 |
+
context_states: 1
|
| 109 |
+
context_width: 2048
|
| 110 |
+
encoder_depth: 2
|
| 111 |
+
encoder_dropout: 0.1
|
| 112 |
+
encoder_heads: 8
|
| 113 |
+
encoder_hidden_dim: 0
|
| 114 |
+
encoder_kind: linear
|
| 115 |
+
encoder_linear_path: false
|
| 116 |
+
encoder_mlp_dim: 1024
|
| 117 |
+
encoder_output_norm: true
|
| 118 |
+
encoder_width: 512
|
| 119 |
+
fast_window_trs: 5
|
| 120 |
+
history_block_states: 10
|
| 121 |
+
history_blocks: 0
|
| 122 |
+
history_measured_only: false
|
| 123 |
+
history_spaced: false
|
| 124 |
+
measurement_token: false
|
| 125 |
+
mlp_depth: 0
|
| 126 |
+
mlp_hidden_dim: 2048
|
| 127 |
+
movie_rank: 0
|
| 128 |
+
movie_tokens: false
|
| 129 |
+
own_drive: false
|
| 130 |
+
predictor_depth: 6
|
| 131 |
+
predictor_dropout: 0.1
|
| 132 |
+
predictor_kind: mlp
|
| 133 |
+
predictor_mlp_dim: 2048
|
| 134 |
+
predictor_output_norm: true
|
| 135 |
+
predictor_width: 0
|
| 136 |
+
slow_extra_branches: 0
|
| 137 |
+
slow_per_dimension: true
|
| 138 |
+
state_dim: 2048
|
| 139 |
+
state_step: 1
|
| 140 |
+
state_tokens: 2
|
| 141 |
+
state_window_trs: 180
|
| 142 |
+
stimulus_context: concat
|
| 143 |
+
stimulus_context_trs: 5
|
| 144 |
+
stimulus_features: tribev2_context
|
| 145 |
+
stimulus_scaling: standardize
|
| 146 |
+
token_positions_file: null
|
| 147 |
+
tribev2_checkpoint: ${NEUROWORLD_DATA}/hub/models--facebook--tribev2/snapshots/f894e783020944dcd96e5568550afe2aa9743f9f/best.ckpt
|
| 148 |
+
zero_brain: false
|
| 149 |
+
readout:
|
| 150 |
+
batch_size: 16
|
| 151 |
+
cache_rollouts: true
|
| 152 |
+
epochs: 200
|
| 153 |
+
hidden_dim: 1024
|
| 154 |
+
lr: 1.0e-05
|
| 155 |
+
patience: null
|
| 156 |
+
schedule: cosine
|
| 157 |
+
select_by: parcel_pearson
|
| 158 |
+
train_horizon_trs: 20
|
| 159 |
+
train_on: rollout
|
| 160 |
+
warmup_steps: 500
|
| 161 |
+
weight_decay: 0.001
|
| 162 |
+
window_stride_trs: 20
|
| 163 |
+
seed: 0
|
| 164 |
+
train:
|
| 165 |
+
accumulation_steps: 4
|
| 166 |
+
device: auto
|
| 167 |
+
encoder_checkpoint: ${NEUROWORLD_OUTPUT}/spectator-v1/hcp/lags.pt
|
| 168 |
+
encoder_lr_factor: 1.0
|
| 169 |
+
epochs: 100
|
| 170 |
+
freeze_encoder: true
|
| 171 |
+
freeze_encoder_body: false
|
| 172 |
+
freeze_fast_encoder: false
|
| 173 |
+
grad_clip: 1.0
|
| 174 |
+
l1_scale: 1.0
|
| 175 |
+
latent_error: squared
|
| 176 |
+
log_every_steps: 100
|
| 177 |
+
lr: 5.0e-05
|
| 178 |
+
mask_blocks: 2
|
| 179 |
+
mask_lengths:
|
| 180 |
+
- 3
|
| 181 |
+
- 6
|
| 182 |
+
mask_suffix_probability: 0.5
|
| 183 |
+
masked_predictor_depth: 2
|
| 184 |
+
masked_target: latent
|
| 185 |
+
masked_target_norm: false
|
| 186 |
+
modality_dropout: 0.3
|
| 187 |
+
mode: stimulus
|
| 188 |
+
objective: latent
|
| 189 |
+
optimizer: adamw
|
| 190 |
+
output_dir: null
|
| 191 |
+
parcel_weight: 0.0
|
| 192 |
+
patience: 10
|
| 193 |
+
precision: bf16
|
| 194 |
+
prediction_weight: 1.0
|
| 195 |
+
predictor_checkpoint: ${NEUROWORLD_OUTPUT}/spectator-v1/hcp/matrix.pt
|
| 196 |
+
predictor_checkpoint_movie: true
|
| 197 |
+
reveal_readout: null
|
| 198 |
+
rollout_detach_every: 0
|
| 199 |
+
rollout_schedule: null
|
| 200 |
+
rollout_step_weights: uniform
|
| 201 |
+
rollout_steps: 16
|
| 202 |
+
rollout_weight: 1.0
|
| 203 |
+
run_tag: null
|
| 204 |
+
schedule: cosine
|
| 205 |
+
sigreg_knots: 17
|
| 206 |
+
sigreg_projections: 1024
|
| 207 |
+
sigreg_ramp_epochs: 0
|
| 208 |
+
sigreg_scale_file: null
|
| 209 |
+
sigreg_weight: 0.09
|
| 210 |
+
slow_loss_weight: 1.0
|
| 211 |
+
target: encoder
|
| 212 |
+
target_momentum: 0.998
|
| 213 |
+
warmup_fraction: 0.01
|
| 214 |
+
weight_decay: 0.001
|
| 215 |
+
wandb:
|
| 216 |
+
entity: null
|
| 217 |
+
mode: offline
|
| 218 |
+
name: null
|
| 219 |
+
project: neuralworld
|