Introducing Waldo, the geospatial data agent Learn More

What is a World Model? How AI Predicts the Physical World

Authors

A world model is an AI model that predicts what happens next. You give it the current situation and an action, and it tells you the situation that follows. An agent, such as a self-driving system or a game-playing program, uses it to test moves in its head before it makes one. For a world model of real roads to work, the drive recordings it learns from need the right time on every record, plus the weather, terrain, and speed limits of each place.

Key takeaways

  • A world model predicts the next moment from the current one and an action. An agent learns to act by practicing inside those predictions, so any mistake in the world model becomes a mistake in how the agent acts.
  • Wherobots helps world model teams in two ways. It joins drive recordings to the conditions around each car: weather, daylight, slope, and speed limits. It also checks those recordings for errors before anyone trains on them.
  • In the Vehicle Energy Dataset, the published clock is 48 hours off. Every drive would have been matched with the weather from two days later. WherobotsDB found the error by comparing the cars’ thermometers with an airport weather station.
  • Only 3.4 of 3,084 hours of Ann Arbor driving were in snow, in the dark, on a steep hill. A model trained on these recordings has almost nothing to learn from in those conditions.

What is a world model?

A world model takes the state of a place and an action, and returns the state that comes next. The state can be a list of numbers, a camera image, a 3D scene, or a map of temperature and wind for the whole planet.

A model inside an agent. An agent that learns by trial and error can carry its own forecaster of what each move will do. In World Models (2018), David Ha and Jürgen Schmidhuber shrank each frame of the game VizDoom to a short code. They trained a network to predict the next code, then trained a player that practiced only inside those predictions. They called the predictions the model’s “dream.”

A world generator. Since 2024, the term also covers large models that generate a whole world you can explore, as video or in 3D. Google DeepMind’s Genie 3 (August 2025) builds an interactive environment from a text prompt, at 720p and 24 frames per second. World Labs introduced Atlas on 1 September 2026. It generates, rebuilds, and simulates 3D worlds.

A mental model. The idea is older than computers. Kenneth Craik argued in The Nature of Explanation (1943) that a mind carrying a “small-scale model” of the world can try out choices before they happen.

How a world model works

Diagram of six steps in a world model. Observe takes camera frames and joint angles for an agent, and stations, satellites, radar and reanalysis for the Earth system. Encode state produces a latent vector per frame or a grid of variables on a 0.25 degree mesh. Predict next state gives the next latent after an action or the atmosphere 6 hours later. Plan or roll out tries actions in imagination or steps forward to a 10-day forecast. Act or forecast picks the best action or issues guidance for real places. A sixth bar, compare with what happened, loops back to observe
The six-step loop, shown for an agent and for a weather model. Step 6 is where real observations correct the model. Schematic.

Take a car as the example.

  1. Observe. The car records camera images, wheel speed, engine load, and its GPS position. Every record carries a time.
  2. Summarize. The model compresses those signals into a short description of the moment. Some things the car cannot sense, such as the slope of the road ahead or freezing rain at the nearest airport. Those have to come from outside data.
  3. Predict. The model takes that description and a possible action, such as braking gently, and predicts the next moment.
  4. Imagine. Chaining predictions gives an imagined drive, seconds or minutes long. Researchers call this a rollout. The car compares many rollouts and scores each one.
  5. Act. The car takes the action whose rollouts scored best.
  6. Correct. New recordings arrive. The model’s predictions are compared with what happened, the ground truth, and the model is retrained to close the gap.

Types of world models

TypeExamplesWhat it predictsWhat grounds it
Compact learned modelDreamer, DreamerV3, MuZeroThe next moment, as a short code, and the rewardMany runs of one game or task
Video and 3D world generatorGenie 3, NVIDIA Cosmos, Waymo World Model, AtlasVideo frames, sensor views, or 3D scenesLarge video collections and recordings from vehicle fleets
Physics simulatorNOAA HRRRThe next hours of weather, from physics equationsFresh observations fed into every run
Learned Earth modelGraphCastGlobal weather days aheadDecades of past weather, rebuilt from observations

The HRRR model from NOAA is the physics example. It updates every hour at 3 km resolution across the lower 48 states.

World model vs LLM

A large language model learns from text, documents, databases, and the internet. It predicts the next token, a word or part of a word. A world model predicts the next state of a place, usually after an action. Yann LeCun argues in A Path Towards Autonomous Machine Intelligence (2022) that machines need world models, learned by watching the world, before they can plan.

World model examples

  • Minecraft. DreamerV3 used one set of settings on more than 150 tasks. Danijar Hafner and colleagues report in Mastering diverse control tasks through world models (Nature, 2025) that it was the first program to mine diamonds in Minecraft from scratch, with no human examples.
  • Board games. MuZero learned its own model of Go, chess, and shogi without being told the rules, and played at AlphaZero’s level, per Julian Schrittwieser and colleagues’ Mastering Atari, Go, chess and shogi by planning with a learned model (Nature, 2020).
  • Robot arms. Meta’s V-JEPA 2 (2025) first learned from more than a million hours of internet video. Meta then trained it further on less than 62 hours of robot video, and used it to plan how to pick up and place objects.
  • Driving. The Waymo World Model (February 2026) builds on Genie 3. It generates camera and lidar views of rare driving situations.
  • Weather. Remi Lam and colleagues’ GraphCast, in Learning skillful medium-range global weather forecasting (Science, 2023), forecasts 10 days ahead on a 0.25° grid in under a minute.

How reinforcement learning works in world models

Reinforcement learning trains an agent by trial and error. The agent tries actions and keeps the ones that earn a reward. Some agents learn only from the real world. Others first learn a world model, then practice inside it. Richard Sutton’s Dyna (1991) did both: real experience improved the model, and practice inside the model improved the agent. Dreamer, in Dream to Control: Learning Behaviors by Latent Imagination (ICLR 2020), learns to act entirely from imagined drives.

Practice inside a model is cheap. On a public road it replaces tests nobody could run safely. The risk is that the model is wrong. Suppose a driving world model learned mostly from dry daytime drives. On a snowy night it may predict a dry-road stopping distance. An agent that practiced inside it learns to brake too late.

So the recordings behind a world model of real places need:

  1. The conditions around the car. Speed and engine load change with slope, weather, daylight, and the speed limit. The model needs those values on top of the car’s own sensor readings.
  2. The right time on every record. If a drive is matched with the wrong hour’s weather, the model learns how cars drove in weather that was not there.
  3. A count of what is covered. Where the recordings hold almost no driving, the model is guessing.

Why world models need physical world data

AI is blind to the physical world when everything it knows comes from text, documents, databases, and the internet. A world model of a car needs facts tied to a place and a time: the slope under the wheels, the rain that hour, the speed limit on that road, the angle of the sun. Those facts come from maps, satellite and elevation data, and weather records. Matching them to millions of car positions is a spatial join.

Ground observations attach those conditions to every recorded position. The joined recordings then give a world model a starting point for each imagined drive, and real outcomes to check its predictions against. Post hoc analysis checks the recordings after they are collected. Is the clock right? Which conditions are covered? And how close are the elevation and weather values to the car’s own readings?

How Wherobots supports world model teams

Wherobots is the Context Engine for Physical World Data. It helps world model teams in three ways.

Grounding simulated worlds in observed data. WherobotsDB reads, indexes, and joins weather records, imagery, elevation, boundaries, and road networks with spatial SQL. It reads large raster files where they sit in cloud storage and runs raster math on them. The joined data trains the model, sets up each imagined drive, and supplies the real outcomes the model is checked against. The Wherobots documentation describes WherobotsDB as serverless, with more than 300 vector and raster functions and queries up to 20x faster than open-source Apache Sedona.

Turning Earth observation into features. RasterFlow (Public Preview) stitches aerial and satellite images into mosaics. It runs computer vision models over them and turns what they find, such as roads or field boundaries, into map features you can join to drive recordings.

Connecting AI agents to the data. The Wherobots MCP server lets an AI agent browse data catalogs, write spatial SQL, and run queries. An agent that builds or checks a simulation can read the same tables the world model learned from.

The world model is the brain that predicts. Wherobots is the nervous system that feeds it the observed state of the physical world.

Ground observations and post hoc analysis on VED and comma2k19

Two public sets of drive recordings show both jobs. The Vehicle Energy Dataset (VED, Apache 2.0) holds 22,436,808 GPS positions from 383 personal cars on 32,552 trips around Ann Arbor, Michigan, from November 2017 to November 2018. Each position comes with the car’s speed, engine load, and outside temperature. comma2k19 (MIT) holds over 33 hours of commutes on California Interstate 280. It records GPS position and altitude, and speed from the car’s computer.

Each source arrives in a different format. The job reads every one where it is stored:

SourceFormatWhat the job reads
VED drive recordingsWeekly CSV files22,436,808 GPS positions with speed, engine load, and outside temperature
comma2k19 drive recordingsParquet filesGPS position, altitude, and speed from the car’s computer
NOAA hourly weatherCSV files with packed text: temperature stored as “+0056,1”, and snow, rain, and fog written as codes inside the airport’s weather reportTemperature, visibility, and type of weather for each hour
USGS 3DEP elevationGeoTIFF elevation maps, three tiles totaling 1.14 GBGround height 30 m ahead of and behind each position
Overture roadsRoad map table in the Wherobots open data catalogSpeed limit of the nearest road

Most spatial tools handle either map shapes or raster images. With separate tools, a team has to convert and copy the data before anything can be joined. WherobotsDB joins car positions, elevation rasters, and weather tables in one engine. The whole analysis, both datasets, is one SQL job. It ran in about two minutes and saved its results as Apache Iceberg tables.

Test the clock before any join

VED records time as days since 1 November 2017. Its documentation does not say which time zone. A wrong clock would match every drive with the wrong hour’s weather. So the job checks the clock first, against an independent thermometer: the Ann Arbor airport weather station (KARB, NOAA ISD 72537494889).

The job reads the station’s hourly file into a table called karb, one row per hour with the mean temperature tmp_c. It turns the VED day count into a timestamp in a table called ved (t_doc = 1509494400 + (DayNum - 1) * 86400, outside temperature oat_c). Then it slides the cars’ hourly average temperature against the airport’s, one hour at a time, from 96 hours back to 24 hours forward:

CREATE OR REPLACE TEMP VIEW fleet AS
SELECT floor(t_doc / 3600) AS h, AVG(oat_c) AS oat FROM ved
WHERE oat_c IS NOT NULL GROUP BY 1 HAVING COUNT(*) >= 30;

-- Anomalies: each hour minus the mean for its hour of day and month
CREATE OR REPLACE TEMP VIEW fleet_a AS
SELECT h, oat - AVG(oat) OVER (PARTITION BY hour(from_unixtime(h * 3600)), month(from_unixtime(h * 3600))) AS a
FROM fleet;
CREATE OR REPLACE TEMP VIEW karb_a AS
SELECT hour_utc, tmp_c - AVG(tmp_c) OVER (PARTITION BY hour(from_unixtime(hour_utc * 3600)), month(from_unixtime(hour_utc * 3600))) AS a
FROM karb WHERE tmp_c IS NOT NULL;

WITH lags AS (SELECT explode(sequence(-96, 24)) AS lag_h)
SELECT l.lag_h, corr(f.a, k.a) AS r_anomaly
FROM lags l CROSS JOIN fleet_a f
JOIN karb_a k ON k.hour_utc = f.h + l.lag_h
GROUP BY l.lag_h

A simple comparison hides the problem. Every day is warmer in the afternoon, so the raw temperatures line up well under the published clock (correlation 0.871). The query removes that daily cycle and compares only the unusual swings, such as a cold front. Now the published clock scores 0.353. A one-day shift scores 0.531. A two-day shift scores 0.819, across 5,259 matched hours. With the two-day shift applied, the cars’ thermometers track the airport closely (correlation 0.964, typical difference 1.3 °C).

Line chart of correlation between VED fleet outside air temperature and Ann Arbor airport temperature for clock shifts from -96 to +24 hours. The grey line of raw hourly means peaks every 24 hours, at 0.871 for the documented clock and 0.978 near -48 hours. The teal line of anomalies has one clear peak of 0.819 at -48 hours, falls to 0.531 at -24 hours, and is 0.353 at the documented clock
Clock scan for the Vehicle Energy Dataset. With the daily cycle removed, one peak remains, at -48 hours. Source: VED and NOAA Integrated Surface Database, joined in a Wherobots Job Run.

comma2k19 has a different clock problem. Each recording’s file name includes a date and time. The first GPS position in each recording comes about 7.3 hours after that time, read as UTC, across 2,035 recordings. The file names are in Pacific time. A weather match based on them would be 7 or 8 hours off.

Attach weather, daylight, slope, and speed limits to every position

With the clock fixed, each recorded position gets four things: the airport’s weather for that hour, the height of the sun, the slope of the road in the direction of travel, and the speed limit of the nearest road. The slope comes from the USGS 3DEP elevation map, read straight from the public USGS bucket in small tiles:

CREATE OR REPLACE TEMP VIEW dem_aa_src AS
SELECT RS_FromPath('s3a://prd-tnm/StagedProducts/Elevation/13/TIFF/current/n43w084/USGS_13_n43w084.tif',
  'fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.AnonymousAWSCredentialsProvider') AS rast;
CREATE OR REPLACE TEMP VIEW dem_aa AS
SELECT t.tile AS rast FROM (SELECT RS_TileExplode(rast, 256, 256) AS (x, y, tile) FROM dem_aa_src) t;
CACHE TABLE dem_aa;

SELECT q.*, (RS_Value(a.rast, q.q_ahead) - RS_Value(b.rast, q.q_behind)) / 60.0 AS grade_dem
FROM ved_q q
JOIN dem_aa a ON RS_Intersects(a.rast, q.q_ahead)
JOIN dem_aa b ON RS_Intersects(b.rast, q.q_behind)

ved_q holds one position per second for cars moving faster than 5 km/h. For each one it adds two points, 30 m ahead and 30 m behind along the car’s direction (q_ahead and q_behind). The slope is the height difference between those points over 60 m. 11,102,231 moving positions fall inside the elevation tile. 49.4% of them are within about 25 m of a road with a known speed limit.

Measure the speeds and loads the model must match

Here is how fast the cars drove in each condition. A world model’s predictions have to match these numbers:

Weather at KARBDayTwilightDark
Dry0.820.800.84
Rain0.810.660.74
Snow or freezing0.710.650.64

Average speed as a share of the speed limit. The snowy, dark cell holds 27,217 positions; the dry daytime cell holds 4,255,968.

Engine load rises with slope. It averages 30.4% on flat road, 31.7% on slopes of 1% to 4%, and 32.0% above 4%. A model that knew only the car’s speed would predict the same load on all three. Steep downhills average 29.1%, slightly more than gentle downhills at 28.7%. That hints at errors in the elevation slope, which the last check measures.

Count the hours behind each condition

Here is how many hours of driving the recordings hold in each combination of conditions. Where the hours are few, a world model has little to learn from:

Snow or freezingDarkGrade above 4%Hours
NoNoNo1,987.2
NoYesNo526.8
NoNoYes397.6
NoYesYes112.2
YesNoNo33.5
YesYesNo16.4
YesNoYes6.8
YesYesYes3.4

Snow or freezing rain covers 60.1 of 3,084 hours. Snow, darkness, and a steep slope together cover 3.4 hours, about 0.1% of the driving. comma2k19 has even less: fog or poor visibility covers 1.9 of its 34 hours, and fog in the dark on a steep slope covers 2.6 minutes.

Test each layer against the vehicle’s sensors

Outside data has errors of its own. comma2k19 records each car’s GPS altitude, so the job compares two slopes: one from the elevation map and one from the car’s own altitude over six seconds. Across 89,767 positions above 10 km/h, the two agree only partly (correlation 0.645). On a typical road they match: 2.1% from the map, 2.0% from the car. On the steepest 1% of roads they split: 16.7% from the map, 5.8% from the car. The map shows bare ground, so it reads the valley under a bridge and the cut beside a freeway as part of the road. A world model fed that map slope would learn hills the car never climbed. A team should cap or replace map slope on bridges and overpasses first. The cars’ thermometers allow the same check for weather. Over 6,348,887 positions, the cars read 1.2 °C warmer than the airport on average, and 90% were within 4.7 °C.

Limits of this example

  • One airport station supplies the weather for each study area.
  • The speed limit comes from the nearest road within about 25 m, and it is missing where the road data lists no limit.

Conclusions

A driving world model learns from recorded drives. It sees what the car was doing and what the driver did, and it learns to predict the next second: speed, position, engine load. Then its predictions are checked against drives it did not learn from. Each finding below changes what goes into that learning or that check.

  1. VED’s clock is 48 hours off, so every drive would be matched with the wrong weather. A drive recorded in snow would get the airport’s weather from two days later, which may be dry. A model trained on those pairs learns a weak or wrong link between weather and speed. WherobotsDB found the error once the daily temperature cycle was removed. comma2k19’s file names are 7 hours off UTC in the same way.
  2. The recordings give the model’s predictions a number to hit. Cars drove at 0.84 of the speed limit on dry nights and 0.64 on snowy nights. A world model that predicts 0.84 for a snowy night is wrong, and the recordings say by how much. The same check works for every mix of weather and daylight.
  3. 3.4 hours of snowy, dark, steep driving is too little to learn from. Those conditions make up 3.4 of 3,084 hours. The model’s predictions there are guesses, and a driving system trained on them has few real drives behind it. A team can collect more of those hours, or keep them aside to test the model.
  4. Errors in outside data become errors in the model. The elevation map puts the steepest 1% of road slopes at 16.7%. The cars’ own GPS puts them at 5.8%. The map reads the ground under bridges and beside freeway cuts. A model fed the raw map slope learns hills the car never climbed.

Read more from Wherobots

Run these checks on your own drive recordings with a Wherobots free trial at cloud.wherobots.com.

Frequently asked questions

What is a world model in AI?

A world model is an AI model that predicts what happens next. Given the current situation and an action, it returns the situation that follows. An agent uses those predictions to test moves before it makes one. David Ha and Jürgen Schmidhuber brought the term into machine learning with World Models (2018).

How is a world model different from an LLM?

A large language model learns from text, documents, databases, and the internet, and predicts the next token, a word or part of a word. A world model predicts the next state of a place, such as the next video frame, a car’s speed one second later, or tomorrow’s weather, usually after an action. Yann LeCun’s A Path Towards Autonomous Machine Intelligence (2022) argues that machines that plan need predictive world models.

How does reinforcement learning use a world model?

Reinforcement learning trains an agent by trial and error. Some agents first learn a world model, then practice inside it instead of in the real world. Dreamer learns entirely from imagined practice, and MuZero plans its moves with a learned model. If the world model is wrong about some condition, such as snow, the agent learns the wrong behavior for that condition.

Does Waymo use world models?

Yes. In February 2026 Waymo introduced the Waymo World Model, a generative model for driving simulation built on Google DeepMind’s Genie 3 and adapted to produce camera and lidar output. Engineers steer its scenes with language prompts, driving inputs, and scene layouts to simulate rare events.

What data does a driving world model need?

Recorded drives with the right time and position on every record, plus the conditions around the car at each moment: the weather that hour, daylight, the slope of the road, and the speed limit. Those values have to be matched on the right clock and checked against the car’s own sensors. In the Vehicle Energy Dataset, the published clock was 48 hours off. Comparing the cars’ thermometers with an airport weather station showed it.

How does Wherobots help world model teams?

Wherobots is the Context Engine for Physical World Data. WherobotsDB matches weather records, elevation, roads, and imagery to drive recordings with spatial SQL, so a world model has the conditions around every car to learn from and be checked against. It also runs the checks that catch errors in those recordings, such as a wrong clock. RasterFlow (Public Preview) turns aerial and satellite imagery into vector features, and the Wherobots MCP server gives AI agents query access to the results.