I wanted to see whether SmolVLA could steer a simulated wheeled robot along a painted path using camera pixels, its previous motion, and a short instruction. The final checkpoint completed eight of ten held-out routes on Apple Silicon. The first checkpoint completed one.
The simulator
The robot drives through a 2D world at 10 Hz. Each seed changes the shape of the cyan path and the robot’s starting position and heading. At each step, SmolVLA sees a 224 × 224 RGB view centered on the robot, its previous forward speed and turn rate, and the instruction “Follow the cyan path to the finish line.” Its actions set the next forward speed and turn rate.
A scripted controller looks ahead along the known path and steers toward a point on it. I used it to record 50 demonstrations, totaling 6,724 frames, in LeRobot dataset format. The simulator can also save a GIF that puts the robot’s trajectory beside the camera view used by the policy.
Training runs
I started from Hugging Face’s pretrained lerobot/smolvla_base checkpoint and fine-tuned it on the demonstrations using Apple Metal. The first run took 120 optimizer steps. I then started from that checkpoint and trained for another 500 steps, for 620 total. The model predicts ten actions at a time, and the simulator executes the first action before requesting a fresh prediction from the next observation. SmolVLA documentation.
Evaluation and results
I tested the scripted controller and both checkpoints on the same ten routes, using seeds 1000–1009. The demonstration seeds were 0–49. To pass, the robot had to reach the finish within 240 simulation steps while staying within 0.65 m of the path in the lateral direction.
| Controller | Routes completed |
|---|---|
| Scripted controller | 10/10 |
| SmolVLA after 120 steps | 1/10 |
| SmolVLA after 620 steps | 8/10 |
On the first held-out route, the final checkpoint reached the finish in 13.3 simulated seconds with 0.163 m mean lateral error and 0.452 m peak error. Seed 1005 drifted over the limit after 104 steps, reaching 0.664 m. Seed 1007 exceeded the limit after 14 steps, reaching 0.657 m. The scripted controller’s highest error across all ten routes was 0.182 m.
The extra training improved the finish rate substantially on this test set. The early failure on seed 1007 shows that recovery from some starting poses remains a weakness. The results cover ten generated routes in a simplified simulator, so they describe performance on this specific path-following task.
Run it yourself
The repository includes the simulator, demonstration recorder, training launcher, and checkpoint evaluator. The README walks through running the expert, collecting a dataset, and evaluating a fine-tuned model. SmolVLA path-following simulator on GitHub.
