SkyWorld: action-conditioned world models for drones and ground robots

By Vishwa Β· Apache-2.0

paper: https://doi.org/10.5281/zenodo.24670178

SkyWorld predicts what a robot's camera will see next, given a few past frames and a sequence of commands. One model interface covers drones (6-DoF camera motion) and ground robots (wheeled bases and humanoids: base velocity commands plus head control).

This repository contains:

  • small CPU-trained checkpoints for two procedural worlds, an aerial city and an indoor building with walking people;
  • the full SkyWorld training suite (code/): models, data pipeline, procedural worlds, tests and the evaluation scripts;
  • the raw evaluation results behind the counterfactual-evaluation study (results/).

⚠️ These are research checkpoints: about 4 M parameters, 64Γ—64 pixels, trained for about an hour on two CPU cores, on synthetic data only. They show that the pipeline learns to follow commands. They are not a general-purpose world model, and they are not suitable for safety decisions on real robots.

Aerial: same start, five commands Indoor: same start, five commands (red = the command really ends in a collision)
aerial indoor

Videos: media/aerial_counterfactual.mp4, media/indoor_counterfactual.mp4.

Checkpoints

File What it is Params Training
weights/aerial/tokenizer.safetensors per-frame VAE, 64Γ—64 RGB β†’ 8Γ—16Γ—16 latent 0.93 M 1,200 steps
weights/aerial/dynamics.safetensors world model, drone actions (camera-frame velocity) 3.99 M* 4,000 steps, 56 min
weights/indoor/tokenizer.safetensors per-frame VAE, 64Γ—64 RGB β†’ 8Γ—16Γ—16 latent 0.93 M 1,200 steps
weights/indoor/dynamics.safetensors world model, ground actions (base velocity + head rates), wheeled and humanoid 3.99 M 4,000 steps, ~80 min
weights/indoor/probe.safetensors scene probe: latent frame β†’ free space ahead, front contact, nearest visible person 1.42 M 1,500 steps

Each .safetensors file holds the tensors; the .json file next to it holds the config and the latent statistics the world model was trained with. safetensors files cannot run code when loaded.

*The aerial world model was trained with SkyWorld v0.1 (drone only, 3.95 M parameters) and upgraded to the v0.2 layout, which adds an unused ground-robot action encoder. The upgrade is exact: for drone inputs, the outputs are identical to the original (maximum difference 0.0).

Model

  • Tokenizer: convolutional VAE, β„“1 reconstruction loss plus a small KL term.
  • World model: a transformer over 2Γ—2 latent patches that alternates spatial attention (within a frame) and causal temporal attention (across frames), with rotary embeddings and SwiGLU. It is trained with rectified flow matching and diffusion forcing: every frame gets its own noise level. Each layer is conditioned (AdaLN) on the frame's noise level, the action into the frame, the robot state, the data source and the embodiment. Each embodiment has its own action encoder.
  • Rollout: autoregressive, one frame at a time, 8 Euler steps, a sliding window of 8 frames.
  • Actions and state:
Drone Ground (wheeled / humanoid)
Action [vx, vy, vz, wx, wy, wz], camera frame [vx, vy, wz, head_yaw_rate, head_pitch_rate], base frame (x fwd, y left, z up)
State gravity in camera gravity in camera, head yaw, head pitch

Ground models are conditioned on the commands sent to the robot, not on the motion that resulted. "Commanded forward, view stopped moving" is therefore learned as being blocked by an obstacle.

Training data

All training data is generated by SkyWorld's own procedural renderers, so it carries no third-party dataset licence.

  • Aerial: 96 random flights over one ray-cast city, 10 Hz, 64Γ—64.
  • Indoor: 120 trajectories, each in a new building: rooms joined by doorways, furniture, and 1–5 people, most of them walking. Wheeled robots (camera 0.35–0.9 m) and humanoids (camera 1.35–1.65 m, scanning head, gait bob). The robot sometimes drives into obstacles, and a bumper stops it. Each frame is labelled with free distance ahead, front contact, and the nearest visible person.

Evaluation: counterfactual commands

From one context of 4 real frames, each model is given 5 different 1.2 s commands. Each imagined future is scored against the exact render of what every command really does. The test uses 24 starts that weren't used in training: new flight paths (aerial) and new buildings (indoor). Square brackets are 95% bootstrap intervals over starts.

Aerial Indoor
Right command's future is the closest of the five to reality (chance 20%) 82.5% [74.2, 90.8] 65.0% [57.5, 71.7]
PSNR, right command / other commands 19.5 / 18.2 dB 18.1 / 16.8 dB
Beats the same model with actions removed 86.7% 86.7%
Beats copy-last-frame 96.7% 35.8%

Indoors, the model loses to copy-last-frame on average (18.1 vs 26.2 dB). Copying is nearly exact whenever a command leaves the view unchanged: stopping, or being blocked by an obstacle. It wins on the turns, where the view changes (18.0 vs 16.8 dB for turn left).

Collision calls (indoor): the scene probe reads only the imagined frames.

Probe input Balanced accuracy
Last observed frame (no world model) 50.7% [49.7, 54.0]
Imagined frames (SkyWorld) 62.5% [53.4, 72.6]
True future frames (upper bound) 79.4% [71.2, 87.9]

Only 19 of the 120 command outcomes end in contact, so these intervals are wide. The per-start score matrices and collision calls are in results/*/raw.npz.

score matrices

How to use

git clone https://huggingface.co/<hf-user>/skyworld
cd skyworld
pip install ./code                      # Python >= 3.10, PyTorch >= 2.6

# Indoor: 5 commands x 24 unseen buildings, scored against exact renders (~25 min on 2 CPU cores)
python code/scripts/demo/ground_counterfactual_demo.py \
  --tok weights/indoor/tokenizer.safetensors --dyn weights/indoor/dynamics.safetensors \
  --probe weights/indoor/probe.safetensors --out out_indoor --starts 24

# Aerial
python code/scripts/demo/counterfactual_demo.py \
  --tok weights/aerial/tokenizer.safetensors --dyn weights/aerial/dynamics.safetensors \
  --out out_aerial --starts 24

In Python:

from skyworld.hub import load_model

world_model, blob = load_model("weights/indoor/dynamics.safetensors")
tokenizer, _ = load_model("weights/indoor/tokenizer.safetensors")
probe, _ = load_model("weights/indoor/probe.safetensors")
latent_stats = blob["task_state"]["latent_stats"]   # normalisation used in training

To train your own models, including on real robot data, see code/README.md (training configs, data adapters, multi-GPU training).

Limitations

  • Synthetic data only, 64Γ—64 resolution, small models: image quality is low, and indoors it is bounded by the tokenizer (21.0 dB reconstruction PSNR).
  • Behaviour on real camera images has not been tested.
  • The collision probe misses many contacts (37% recall from imagined frames), so it must not be used to decide whether a real robot may move.
  • The aerial and indoor models were trained separately; joint drone + ground training has not been evaluated.

Citation

Paper: Counterfactual Evaluation of Action-Conditioned World Models for Mobile Robots with Exact Ground Truth, TechRxiv preprint, 2026 (link to be added).

@misc{skyworld2026,
  author = {VishwaGW},
  title  = {Counterfactual Evaluation of Action-Conditioned World Models for Mobile Robots with Exact Ground Truth},
  year   = {2026},
  note   = {TechRxiv preprint}
}

License

Code and weights: Apache-2.0. Copyright 2026 VishwaGW.

Downloads last month

-

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