JaxNaviSim: A GPU-Accelerated, Data-Driven Simulator and Learning Benchmark for Maritime Navigation
Organizations: Singapore Management University
Abstract
Coordinating vessels through the shared waterways of busy ports grows more challenging as vessel traffic increases. Port authorities need realistic simulations to assess how arrival schedules, anchorage assignments, and routes affect vessel throughput and navigation safety. Existing AIS-based trajectory models predict a vessel's track from its past trajectory in an open-loop fashion. They do not simulate step-by-step responses to other ships or test whether a vessel collides or reaches its goal. To address this problem, we introduce JaxNaviSim, a data-driven simulator and learning benchmark coupling Automatic Identification System (AIS) data with fast, controllable traffic simulation, in which learned models steer vessels through recorded traffic. First, we release a dataset of ~141 million AIS records from over 30K vessels across eight high-density regions of the Singapore Strait, among the world's busiest waterways, with ~6.7 million vessel-hours. Unlike several existing AIS datasets which mostly cover open seas, ours captures close-quarters vessel traffic in the narrow strait. Second, we define a navigation task for each recorded vessel trajectory. A model steers that vessel every 10 s from its recorded state to its anchoring point or region exit, while surrounding ships follow their recorded tracks or are steered by the model. We implement a JAX simulator that runs these tasks in large batches on a GPU. We also incorporate multiple vessel dynamics models and sea surface currents. Finally, we benchmark imitation learning (IL), offline and online RL, and include Predictive Action Refinement (PAR) as a safety baseline that cuts collision rates to 1-3%. The comparison shows that low tracking error does not ensure arrival, and learned policies can reach most destinations yet collide in 20-45% of episodes.
Figures & tables
| Domain | Real data | Open code/dataset | GPU simulation | Collision check | Multi-agent | IL | Offline/online RL | |
| nuPlan ( 2021 ) | road | ✓ | ✓ | ✗ | box overlap | ✗ | ✓ | ✗ |
| NAVSIM ( 2024 ) | road | ✓ | ✓ | ✗ | box overlap | ✗ | ✓ | ✗ |
| Nocturne ( 2022 ) | road | ✓ | ✓ | ✗ | box overlap | ✓ | ✓ | online |
| Waymax ( 2023 ) | road | ✓ | ✓ | ✓ | box overlap | ✓ | ✓ | online |
| GPUDrive ( 2025 ) | road | ✓ | ✓ | ✓ | box overlap | ✓ | ✓ | online |
| MariNav ( 2025 ) | sea | ✓ | code | ✗ | ✗ | ✗ | ✗ | online |
| Anchorage groups | Intersection/TSS regions | |||||||||
| AEW | AESPA | AEPBC | AWW | Total | Int. 1 | Int. 2 | TSS E | TSS W | Total | |
| Train episodes | 22,258 | 20,396 | 11,985 | 7,404 | 62,043 | 107,243 | 92,763 | 68,906 | 26,152 | 295,064 |
| Train transitions (millions) | 1.93 | 2.58 | 1.20 | 0.68 | 6.39 | 18.53 | 11.25 | 28.20 | 10.13 | 68.11 |
| Test episodes | 7,600 | 7,068 | 4,219 | 2,454 | 21,341 | 34,836 | 30,778 | 18,958 | 6,538 | 91,110 |
| Test arrivals | 22% | 76% | 54% | 53% | — | — | — | — | — | — |
Appendix figures & tables38 assets
Supplementary material from the paper’s appendix.
Appendix
| Region | Episode screen | After vessel-size screen | Final benchmark |
| train / test | train / test | train / test | |
| AEW | 24,829 / 8,514 | 23,795 / 8,141 | 22,258 / 7,600 |
| AESPA | 22,642 / 7,810 | 21,861 / 7,574 | 20,396 / 7,068 |
| AEPBC | 13,079 / 4,605 | 12,494 / 4,400 | 11,985 / 4,219 |
| AWW | 11,687 / 3,704 | 9,245 / 3,041 | 7,404 / 2,454 |
| Total | 72,237 / 24,633 | 67,395 / 23,156 | 62,043 / 21,341 |
| Class | AIS codes | Vessels |
| Unknown | 0 | type not available |
| Fishing and operations | 30–39 | fishing, towing, dredging, diving, military, sailing |
| Special | 50–59 | pilot, search and rescue, tug, port tender, law enforcement, medical |
| Passenger | 60–69 | passenger |
| Cargo | 70–79 | cargo |
| Tanker | 80–89 | tanker |
| FM-BC setting | Value |
| Encoder | Wayformer-style late fusion |
| Representation width | 128 |
| Observed history | Current and one preceding state |
| Observed neighbours | Ten nearest valid vessels within 1 nautical mile |
| Additional vessel features | AIS type and beam |
| Action chunk / execution | Four actions / four steps |
| Region | (m) | (m) | (rad) |
| AEW | 105.17 | 93.093 | 0.21136 |
| AESPA | 106.02 | 76.033 | 0.24734 |
| AEPBC | 108.56 | 57.422 | 0.22246 |
| AWW | 94.994 | 81.945 | 0.16107 |
| AEW setting | ReinFlow | HR-PPO |
| Parallel environments | 256 | 1,024 |
| Rollout per environment | 64 four-action chunks | 128 individual steps |
| Training iterations | 1,525 | 762 |
| PPO epochs per iteration | 4 | 4 |
| Minibatches per epoch | 16 | 32 |
| Actor learning rate |
| Model | Action | Dim. | Heading | Reproduces a recording |
| Delta | 3 | taken from the recording, controlled independently | exactly | |
| Port-glide | 2 | taken from the recording | no, misses sideways motion | |
| Water-track | 2 | estimated from the movement | exactly | |
| Nomoto | 2 | estimated from the movement, then filtered | exactly |
| Sea current in | Goal rate at radius | gc-ADE | |||||
| Motion model | simulator | expert labels | policy input | 200 m | 500 m | 1000 m | (m) |
| Delta-current (3-D) | 93.57 | 97.46 | 98.94 | 79.7 | |||
| 92.03 | 95.88 | 97.50 | 114.5 | ||||
| 91.08 | 95.90 | 97.73 | 119.1 | ||||
| Water-track (2-D) | 72.15 | 90.52 | 96.10 | 80.9 | |||
| 91.76 | 95.89 | 97.59 | 103.2 | ||||
| (m) | ||||||||
| Region | Method | October protocol | test-selected | difference | October protocol | test-selected | October protocol | test-selected |
| AEW | FM-BC | |||||||
| AEW | NF-BC | |||||||
| AEW | ReinFlow | |||||||
| AEW | HR-PPO | |||||||
| AEW | PPO | |||||||
| (m) | ||||||||
| Region | Method | test-selected | final | difference | test-selected | final | test-selected | final |
| AEW | FM-BC | |||||||
| AEW | NF-BC | |||||||
| AEW | ReinFlow | |||||||
| AEW | HR-PPO | |||||||
| AEW | PPO | |||||||
| (m) | ||||||||||
| Region | Episodes | FM-BC | + PAR (E0) | + PAR (C3) | FM-BC | + PAR (E0) | + PAR (C3) | FM-BC | + PAR (E0) | + PAR (C3) |
| AEW | 5080 | |||||||||
| AESPA | 4791 | |||||||||
| AEPBC | 2856 | |||||||||
| AWW | 1546 | |||||||||
| Region | Method | Model | (m) | ||
| AEW | GLRP | stored | |||
| AEW | GLRP | retrained | |||
| AEW | TrAISformer | stored | |||
| AEW | TrAISformer | retrained | |||
| AEW | FM-BC | October-selected | |||
| AESPA | GLRP | stored |
| October (31 days) | Full test (92 days) | |||||||
| Region | Method | Model | (m) | (m) | ||||
| AEW | GLRP | stored | ||||||
| AEW | GLRP | retrained | ||||||
| AEW | TrAISformer | stored | ||||||
| AEW | TrAISformer | retrained | ||||||
| AEW | FM-BC | October-selected | ||||||
| Workload | RTX 3090 | H100 NVL |
| Transition-only microbenchmark (Section 5.1 ) | 3,109,757 (986 ) | 9,212,347 (2,922 ) |
| More closely matched replay (full obs., metrics, termination) | 534,635 (170 ) | 1,277,186 (405 ) |
| FM-BC closed-loop rollout, policy inference every step | 22,404 (batch 128) | 56,791 (batch 512) |
| FM-BC | FM-BC + PAR | ||||||
| Region | Setting | ||||||
| AEW | clean | 0.8929 | 0.1968 | 23.08 | 0.8925 | 0.0114 | 22.97 |
| AEW | HYCOM current | 0.6521 | 0.3197 | 32.57 | 0.7120 | 0.0186 | 32.02 |
| AESPA | clean | 0.9304 | 0.4568 | 26.91 | 0.9236 | 0.0362 | 27.12 |
| AESPA | HYCOM current | 0.6075 | 0.5587 | 35.67 | 0.7566 | 0.0441 | 35.09 |
| FM-BC | FM-BC + PAR | |||||||
| Region | Neighbour observation | Reduction kept | ||||||
| AEW | clean | 0.8929 | 0.1968 | 23.08 | 0.8925 | 0.0114 | 22.97 | 100.0 % |
| AEW | noise 10 m | 0.8917 | 0.1941 | 23.09 | 0.8426 | 0.1820 | 25.22 | 6.5 % |
| AEW | noise 25 m | 0.8929 | 0.1941 | 23.09 | 0.7913 | 0.2605 | 27.51 | 35.8 % |
| AEW | noise 50 m | 0.8922 | 0.1962 | 23.09 | 0.7579 | 0.2863 | 29.05 | 48.6 % |
| AEW | delay 1 step (10 s) | 0.8929 | 0.1964 | 23.09 | 0.8916 | 0.0142 | 22.97 | 98.3 % |
| Full test set | November–December | |||||
| PAR setting (AEW, seed 0) | ||||||
| default: radius 400 m, threshold 10.4 m (stored) | 0.8925 | 0.0114 | 22.97 | 0.8907 | 0.0122 | 22.83 |
| goal-rule radius 200 m | 0.8928 | 0.0116 | 22.97 | 0.8911 | 0.0124 | 22.84 |
| goal-rule radius 800 m | 0.8928 | 0.0112 | 22.97 | 0.8909 | 0.0118 | 22.84 |
| progress threshold 5.2 m | 0.8926 | 0.0112 | 22.97 | 0.8915 | 0.0118 | 22.83 |
| progress threshold 20.8 m | 0.8958 | 0.0116 | 22.98 | 0.8949 | 0.0124 | 22.86 |
| Method | IQM [95% CI] | mean [95% CI] | IQM [95% CI] | mean [95% CI] |
| DEAS-BoN | 0.960 [0.959, 0.961] | 0.933 [0.931, 0.935] | 0.736 [0.734, 0.739] | 0.704 [0.703, 0.706] |
| QC-FQL | 0.931 [0.930, 0.932] | 0.921 [0.920, 0.922] | 0.743 [0.741, 0.744] | 0.709 [0.708, 0.710] |
| ReinFlow | 0.922 [0.916, 0.932] | 0.905 [0.898, 0.912] | 0.730 [0.723, 0.737] | 0.696 [0.689, 0.702] |
| FM-BC + PAR | 0.901 [0.899, 0.902] | 0.886 [0.883, 0.887] | 0.979 [0.977, 0.981] | 0.978 [0.977, 0.979] |
| FM-BC | 0.896 [0.892, 0.900] | 0.875 [0.872, 0.878] | 0.734 [0.731, 0.737] | 0.703 [0.702, 0.705] |
| HR-PPO | 0.894 [0.888, 0.897] | 0.892 [0.885, 0.902] | 0.712 [0.705, 0.720] | 0.687 [0.683, 0.691] |
| Method | IQM [95% CI] | mean [95% CI] | IQM [95% CI] | mean [95% CI] |
| DEAS-BoN | 0.960 [0.958, 0.963] | 0.934 [0.932, 0.936] | 0.727 [0.725, 0.730] | 0.699 [0.698, 0.701] |
| QC-FQL | 0.929 [0.926, 0.932] | 0.918 [0.916, 0.920] | 0.733 [0.730, 0.737] | 0.704 [0.702, 0.707] |
| ReinFlow | 0.919 [0.912, 0.926] | 0.901 [0.894, 0.907] | 0.714 [0.711, 0.717] | 0.682 [0.676, 0.689] |
| FM-BC + PAR | 0.904 [0.901, 0.908] | 0.888 [0.885, 0.890] | 0.978 [0.976, 0.980] | 0.978 [0.977, 0.979] |
| HR-PPO | 0.898 [0.892, 0.905] | 0.899 [0.892, 0.906] | 0.702 [0.696, 0.707] | 0.681 [0.677, 0.686] |
| FM-BC | 0.897 [0.893, 0.901] | 0.876 [0.872, 0.879] | 0.722 [0.717, 0.726] | 0.698 [0.695, 0.700] |
| AEW | AESPA | |||
| train | test | train | test | |
| Episodes | 22,258 | 7,600 | 20,396 | 7,068 |
| Distinct ego vessels (MMSI) | 3,511 | 1,573 | 4,701 | 1,978 |
| Arrival share (%) | 23 | 22 | 75 | 76 |
| Ego hours | 5,986 | 2,000 | 8,505 | 2,932 |
| Duration (min), p5/p50/p95 | 7.5/12.7/34.3 | 7.7/12.5/33.2 | 9.5/24.2/43.2 | 9.8/24.2/42.0 |
| AEPBC | AWW | |||
| train | test | train | test | |
| Episodes | 11,985 | 4,219 | 7,404 | 2,454 |
| Distinct ego vessels (MMSI) | 3,016 | 1,377 | 1,535 | 798 |
| Arrival share (%) | 56 | 54 | 52 | 53 |
| Ego hours | 4,053 | 1,415 | 2,304 | 786 |
| Duration (min), p5/p50/p95 | 8.5/19.0/36.8 | 8.8/18.8/36.2 | 6.3/16.2/38.7 | 6.5/16.8/39.9 |
| Dataset source | Areas | Size | |
| nuPlan ( 2021 ) | nuPlan | 4 cities | 1,282 driving-hours |
| Nocturne ( 2022 ) | Waymo Open Motion Dataset | 6 cities | 574 driving-hours |
| Waymax ( 2023 ) | Waymo Open Motion Dataset | 6 cities | 574 driving-hours |
| GPUDrive ( 2025 ) | Waymo Open Motion Dataset | 6 cities | 574 driving-hours |
| MariNav ( 2025 ) | AIS data from Kpler | Gulf of St. Lawrence | 10M records |
| ShipNaviSim ( 2025 ) | not stated | a selected area of the Singapore Strait | 59.6M records |
| Setting | (%) | (%) | (m) |
| FM-BC | 89.33 | 19.33 | 23.20 |
| Cost-guided sampling, | |||
| 89.64 | 10.28 | 23.17 | |
| 89.56 | 8.02 | 23.14 | |
| 89.68 | 5.75 | 23.11 | |
| 89.56 | 3.25 | 23.08 | |
| Layer | AEW | AESPA | AEPBC | AWW |
| FM-BC | 89.74 / 20.39 / 22.99 | 92.97 / 45.93 / 26.86 | 90.06 / 27.68 / 24.58 | 78.22 / 27.62 / 27.29 |
| + cost-guided sampling | 89.49 / 2.30 / 22.87 | 92.22 / 5.27 / 26.76 | 89.79 / 3.44 / 24.45 | 79.13 / 8.86 / 27.31 |
| + MPPI | 92.02 / 5.79 / 22.04 | 88.92 / 13.04 / 27.26 | 89.33 / 8.02 / 23.91 | 80.25 / 13.71 / 24.90 |
| + PAR | 89.64 / 1.15 / 22.93 | 92.53 / 3.23 / 27.07 | 90.86 / 2.01 / 24.60 | 81.29 / 2.50 / 27.57 |