EnvShip-DR / EnvShip-PhysFuse weights: SDF-map Transformer (+ kinematic decoder) for 10-minute vessel trajectory prediction
These are the checkpoints for the code at https://github.com/mark000071/transfomer-ship-traj-pred. That repository holds the model code, the evaluation scripts and the full README, including the known discrepancies. The data is mark000071/envship_v2_datasets (Track A).
# from the GitHub repo root
python scripts/download_weights.py # 12 headline checkpoints
python scripts/download_weights.py --subset all # everything below
python scripts/download_weights.py --subset main physics # what EnvShip-PhysFuse needs
python scripts/download_weights.py --subset main physics multimodal # + EnvShip-PhysFuse-MM read-outs
bash exp/reproduce_physfuse.sh ./checkpoints # re-evaluates all 12 fusions with the saved gates
bash exp/reproduce_mm.sh ./checkpoints 6 # assembles + evaluates the 24 K=6 read-outs, applies the 12 saved scorers
2026-10 update: EnvShip-PhysFuse. A physics–data fusion of the released EnvShip-DR with a
kinematic-decoder Transformer (bounded acceleration / turn-rate controls integrated by a unicycle
model) through a 1.6k-parameter gate on physical cues, plus test-time SDF projection. It lowers
the 3-seed test ADE by 6.2–15.0 m in all four regions (Wilcoxon p < 1e-230) and beats an
equal-compute two-model ensemble by 4.5–10.0 m. Details: manuscript v4 (paper/v4/ on GitHub)
and docs/PHYSICS_TOKENIZATION_STUDY.md.
2026-11 update: EnvShip-PhysFuse-MM (multimodal output). The same two networks now return the single EnvShip-PhysFuse forecast (unchanged; the back-bones are frozen and bit-identical to the released ones) and K ranked modes. These come from light read-outs (158k parameters) on the frozen back-bones, data-driven and kinematic, fused by a 5.4k-parameter scorer fitted on val.
Test minADE@6, 3 seeds:
| Region | DMA | Piraeus | Norway | NOAA |
|---|---|---|---|---|
| EnvShip-PhysFuse-MM | 48.5 | 89.2 | 71.7 | 61.1 |
| training-free CV anchor fan | 55.7 | 122.8 | 81.8 | 68.3 |
It is best on minADE@3 in every region. In Norway and NOAA the kinematic read-out alone is
slightly better at k = 6. The read-outs are released heads-only (heads.pt, 0.6 MB). Run
python -m exp.mm_assemble assemble <weights_dir> <run_dir> to rebuild the full checkpoint from the
released back-bone named in heads.pt["base"]. Details: multimodal_study/MULTIMODAL_STUDY.md
and multimodal_study/multimodal_tables.md.
| Folder | Content | Test ADE (m) |
|---|---|---|
envship_dr/dma/v4_env_spatial_e90_s{42,1,2}/ |
headline, DMA | 84.38 / 85.05 / 85.65 (recorded)¹ |
envship_dr/piraeus/v4_env_spatial_e90_s{42,1,2}/ |
headline, Piraeus | 155.94 / 157.31 / 151.19 |
envship_dr/norway/v4_env_spatial_e90_s{42,1,2}/ |
headline, Norway | 123.57 / 119.28 / 112.20 |
envship_dr/noaa/v4_env_spatial_e90_s{42,1,2}/ |
headline, NOAA | 105.38 / 110.51 / 108.33 |
envship_dr/{region}/v4_env_spatial_e30_s42/ |
30-epoch schedule | DMA 94.34 · Piraeus 218.52 · Norway 174.07 · NOAA 167.07 |
ablation_dma/v4_{variant}_e30_s42/ |
DMA ablation, 30 ep | vanilla 97.99 · env_pool 94.43 · env_spatial 90.41 · social 99.35 · social_env_pool 97.67 · social_env_spatial 91.36 |
lstm_env_pool/{region}_s{seed}/ |
LSTM + env-pool baseline² | Piraeus 146.43 / 151.86 / 149.99 · Norway 123.64 / 126.76 / 137.61 · NOAA 105.65 / 107.20 / 103.43 |
paper/ |
manuscript v4 PDF + LaTeX source (paper_v4_latex_source.tar.gz; Overleaf-ready paper_v4_overleaf.zip; backup, canonical copy on GitHub paper/v4/) |
— |
code/ |
git archive snapshots of the GitHub repo (latest: main_18c2772, with the multimodal study) |
— |
per_sample_errors/ |
errors.npz (d: N × 30 per-step errors), for paired tests |
— |
physics_study/runs/s3_{region}_kin_s{42,1,2}/ |
kinematic (unicycle) decoder, 90 ep — physics hypothesis of EnvShip-PhysFuse | DMA 92.55 · Piraeus 164.00 · Norway 108.19 · NOAA 105.85 (3-seed means) |
physics_study/runs/fuse_{region}_s{seed}/ |
EnvShip-PhysFuse gate (gate.pt) + fused per-sample errors (errors.npz, errors_proj.npz) |
DMA 78.74 · Piraeus 139.82 · Norway 106.61 · NOAA 97.12 (3-seed means, + projection) |
physics_study/runs/fusectl_{region}_s{seed}/ |
equal-compute control (2 × EnvShip-DR, same gate) | 83.35 · 150.84 · 113.80 · 103.76 |
physics_study/runs/s{1,2,4}_dma_*/ |
DMA screening runs (13 variants, 30 ep; fine-tune tests) | see docs/PHYSICS_TOKENIZATION_STUDY.md |
multimodal_study/runs/mmfz_{region}_{dir,kin}_k{6,10}_s{seed}/ |
multimodal read-outs (heads.pt + config), K = 6 × 3 seeds and K = 10 × seed 42; mode arrays mm_{test,val}[_proj].npz (modes, logits, idx, best_ade) |
see multimodal_tables.md |
multimodal_study/runs/mmfzfuse_{region}_k{6,10}_s{seed}/ |
EnvShip-PhysFuse-MM mode-fusion scorer (scorer.pt, with τ and T) + fused modes and metrics |
minADE@6 48.5 · 89.2 · 71.7 · 61.1 |
multimodal_study/runs/mmfzfusectl_*, mmbase_*, mm_*, mmfuse_* |
equal-compute control (2 × direct); baselines (CV anchor fan, MC-dropout, seed ensemble); full fine-tuning ablation (seed 42, no weights) | — |
multimodal_study/anchors/{region}_k{6,10}.npz |
train-split k-means mode anchors (needed to load the read-outs) | — |
physics_study/runs/released/{region}_s{seed}/ |
released checkpoints re-evaluated with exp/ code, ± test-time SDF projection |
— |
¹ On the public (post-refill) DMA rasters these checkpoints score 84.31 / 84.97 / 85.64. See the GitHub README, §B. ² This baseline reads the binary land and water masks (env channels 0–1), not the SDF. See the GitHub README, §A.
Each folder contains best.pt and the exact training config.yaml. A checkpoint is a dict
{"model": state_dict, "config", "epoch", "val_ADE_greedy30", ...}. Integrity:
sha256sum -c SHA256SUMS.
Research use only; not for autonomous collision avoidance. See docs/MODEL_CARD.md on GitHub.