Weddell 3M

Author: teerthsharma · Contact: teerth@evilseal.si · Code: https://github.com/teerthsharma/weddell

A 3,157,077-parameter causal transformer that suggests one of 21 underwater-navigation steering moves. It is written and trained in Rust with Burn. A human stays in control.

Research model, tested only in simulation. It has not run on a real vehicle. It is not a safety system, not a collision guarantee, and must not be used to control hardware.

Result

On offline validation data it makes better one-step choices than a stacked-input MLP. In held-out closed-loop simulation that advantage did not pass the test, and it scored worse than a hand-written planner.

Offline (96,164 validation steps, mean of 5 training seeds, lower is better)

Model Parameters History One-step regret SE over seeds Hard rows
Always straight ahead 0 none 0.092293 - 1.271
Linear 26,901 1 step 0.088936 0.002002 0.778
MLP 674,709 4 steps 0.041982 0.001622 0.321
Weddell 3M 3,157,077 32 steps 0.030329 0.000449 0.239

Paired improvement over the MLP: 0.012066 (SE 0.001312 over seeds, 0.000810 over maps).

Held-out closed loop (100 simulated maps, 5 seeds; positive favours the 3M)

Comparison Gain SE over seeds SE over maps Passed (> 2 SE both ways)
vs hand-written planner -0.0698 0.0133 0.0362 No (3M is worse)
vs MLP +0.0307 0.0200 0.0262 No
vs linear +1.8622 0.0812 0.1612 Yes

Share of episodes handed back to the human (lower is better): hand planner 0.335, MLP 0.355, 3M 0.386, linear 0.534.

Limits

  • The 3M has about 4.7 times the MLP's parameters and sees 8 times more history. The offline gain cannot be assigned to size, history or architecture, and it is not evidence that scaling helps.
  • The two models used different learning-rate grids, and the validation maps were also used to choose the learning rate.
  • A low offline regret is not evidence of good closed-loop steering: about 87% of the always-straight baseline's regret sits in about 6% of rows.
  • The model contains no topological component.
  • All data is simulated (1,893,266 training steps). Nothing here shows performance in water.

Files

weights/{t3m,mlp,linear}/seed{0..4}/{last,best}/model.bpk (Burn burnpack format) with a state.txt for each. Offline numbers use last; the closed-loop run used best. All five seeds are published; none was picked. Loading and scoring code is in the GitHub repository.

Licence

MIT. The training code's early-stopping rule uses Aether, and its licence is included as LICENSE-AETHER.md: Aether-Lang was invented by Teerth Sharma (https://github.com/teerthsharma/Aether-Lang). The simulator's REMUS-100 vehicle model is a Rust port from PythonVehicleSimulator (MIT).

Downloads last month

-

Downloads are not tracked for this model. How to track
Video Preview
loading