World Models: From Predicting Tokens to Predicting Physical States

    World models shift the core learning objective of AI systems from predicting the next token in a language sequence to predicting how physical states evolve over time. This article explains the key differences between the two prediction paradigms, why world models matter for embodied intelligence and simulation, the four main technical approaches, how to evaluate a world model's physical consistency, causal responsiveness, long-horizon stability, and generalization, and the engineering practices needed to build one.

    From Predicting Tokens to Predicting Physical States

    Language models are trained to predict the next token given preceding context. Tokens are discrete symbols, and what the model learns is the statistical regularities of symbol sequences. This paradigm works well for text generation, code completion, and dialogue, but the model itself contains no explicit description of object motion, forces, or spatial relationships.

    World models focus on something different. They take the state of the physical world as both input and output, learning “how the current state changes under a given action.” A state can be a robot’s joint angles, an object’s position and velocity, a scene image or point cloud, or a compressed representation of these. The learning objective thus shifts from the conditional probability of discrete symbols to the dynamics governing how states evolve over time.

    The mathematical forms of the two approaches can be simplified as follows:

    • Language model: P(wt | w_1, …, w{t-1}) — predicting the distribution of the next token.
    • World model: s_{t+1} = f(s_t, a_t), where s denotes the state, a the applied action, and f the state transition function to be learned.

    If f is accurate enough, an agent can mentally rehearse the consequences of different actions without interacting with the real environment, then choose the best course of action.

    Industry attention to this direction began a few years ago. Around 2023, researchers in related fields systematically articulated the concept of a new generation of world models. Since then, the research focus has gradually shifted from pure language modeling toward multimodal perception and physical state modeling.

    Key Differences Between the Two Prediction Paradigms

    The following table compares the two paradigms across six dimensions:

    Dimension Predicting the Next Token Predicting the Next Physical State
    Prediction target Discrete tokens Continuous or structured physical states
    Source of constraints Language distribution, grammar, and semantics Physical laws, spatiotemporal continuity
    Conditional input Preceding text Current state and applied action
    Error propagation Local errors usually affect only local expression Single-step errors accumulate over time, affecting all subsequent states
    Training signal Next symbol in text State transitions in temporal data
    Common evaluation Perplexity, human evaluation, downstream task metrics Physical consistency, response to interventions, multi-step drift

    Error propagation is the most critical distinction. In language generation, a single wrong word usually affects only the current sentence. In physical state prediction, a position estimation error propagates into the next step’s velocity estimate, and then further into the future. Consequently, the main engineering challenge for world models lies in long-horizon stability, not just single-step accuracy.

    Why World Models Are Needed

    For general AI to operate reliably in the physical world, it must understand how the environment responds to its own actions. This need arises in several types of scenarios:

    1. Embodied Intelligence

    Before grasping an object, a robot needs to estimate whether the object will slip out of its fingers after contact. A world model can predict the expected outcomes of multiple candidate actions before execution, allowing the robot to choose a lower-risk plan.

    2. Accelerating Physical Simulation

    Fields such as industrial design, traffic flow analysis, and weather forecasting rely on costly numerical simulation. A world model can serve as an approximate simulator, producing results quickly under certain accuracy requirements. It is suitable for screening and preliminary evaluation of design options, but usually cannot fully replace high-precision simulation—critical conclusions still need to be confirmed by original simulations or real-world measurements.

    3. Motion Prediction and Planning

    Intelligent systems need to predict the future positions of surrounding dynamic objects and plan their own paths accordingly. World models unify motion prediction and action planning within the same state transition framework.

    4. General-Purpose Foundation Capability

    Similar to foundation models in natural language, world models aim to learn transferable physical knowledge through large-scale pretraining. After pretraining, the model can serve different downstream tasks with only a small amount of fine-tuning data. This “train once, use everywhere” pattern is one of the main reasons this direction has attracted attention.

    Four Main Technical Approaches

    Current world model research roughly follows four routes, each centered on a different representation:

    1. Language-Centered

    States are described as text, and language models are used for reasoning and planning. The advantage is that mature language ecosystems and reasoning capabilities can be reused, making this suitable for tasks requiring common sense and logical judgment. The drawback is that text struggles to precisely describe continuous geometric and dynamic details, and the numerical precision of physical quantities is easily lost.

    2. Pixel-Centered

    Future frames are predicted directly in image space. This approach is intuitive, and the generated results are easy to inspect manually. However, pixel space is high-dimensional and computationally expensive. Models also tend to treat details unrelated to physics—such as lighting and texture—as primary learning targets, wasting computational resources.

    3. 3D-Structure-Centered

    Objects’ positions, geometry, and collision relationships are explicitly represented, providing strong physical constraints. This suits manipulation and navigation tasks. The cost is higher expense for perception and 3D reconstruction, along with heavy dependence on sensor quality and scene calibration.

    4. Visual-Representation-Centered

    Future representations are predicted in a compressed latent space. The model retains only task-relevant information, offering high computational efficiency and suitability for large-scale training. Its limitation is that latent representations are less interpretable, making it hard to directly inspect what physical regularities the model has learned.

    When choosing a route, three questions can guide the decision: How much geometric precision does the task require? What form does the available training data take? Are there strict latency constraints on inference? No single route dominates in every scenario. In practice, a common approach is to model in latent space while introducing structured geometric or semantic signals as auxiliary inputs.

    Core Capabilities and How to Test Them

    Whether a world model is usable depends on its performance in the following four areas. Each should have a reproducible testing method rather than relying solely on subjective impressions.

    1. Physical Consistency

    Predicted states should obey basic physical laws, such as conservation of mass, rigid bodies not penetrating each other, and stable direction of gravity.

    • Test: Build simple scenarios with known analytical results and compare the deviation between model outputs and theoretical values.
    • Typical failure: An object hovers without support, or two rigid bodies pass through each other.

    2. Action Causality

    Under the same state, different actions should produce different results consistent with causal relationships. The model must not merely memorize correlations in state sequences.

    • Test: Apply different interventions to the same initial state and check whether the outcomes vary with the action and match expectations.
    • Typical failure: No matter what action is applied, the scene evolves in the same way.

    3. Long-Horizon Rollout Stability

    The model should remain stable over multi-step rollouts. As the number of steps increases, error growth should stay within an acceptable range.

    • Test: Plot prediction error versus rollout steps and observe whether the error grows linearly, exponentially, or converges.
    • Typical failure: Predictions are accurate for the first few steps but the scene visibly distorts after a dozen or so steps.

    4. Generalization

    The model should handle scenes, objects, and tasks not present in the training set.

    • Test: Split training and test scenarios, with the test set containing new objects, new layouts, or new lighting conditions.
    • Typical failure: Performance is good on training scenarios but drops sharply when tested on similar but different objects.

    These four capabilities involve trade-offs. For example, over-smoothing predictions to improve long-horizon stability may weaken responsiveness to subtle differences between actions. Therefore, all four metrics should be evaluated together rather than optimizing only one.

    Key Engineering Considerations

    State Representation

    State representation determines what the model can see. Common approaches include:

    • Continuous latent variables: Encode observations into low-dimensional vectors. Computationally efficient, but an additional decoder is needed to reconstruct observations.
    • Structured states: Explicitly record object positions, poses, and attributes. Highly interpretable, but dependent on the accuracy of perception modules.
    • Hybrid representations: Retain both latent variables and key structural information, balancing efficiency and inspectability.

    Action Conditioning

    Actions must enter the state transition function as explicit inputs. The action encoding should align with physical control quantities, such as joint torques, end-effector displacements, or velocity commands. If the time scales of actions and states are mismatched, the model can easily learn spurious causal relationships.

    Training Data and Temporal Alignment

    Training data for world models typically consists of multimodal sequences with timestamps, including records of observations, actions, and states. Key requirements:

    • Observation and action sampling times must be strictly aligned; otherwise, the model will learn incorrect delay relationships.
    • The data should cover diverse action distributions, including infrequent and anomalous actions; otherwise, the model will fail in rare situations.
    • For mixed training with simulated and real data, the distribution differences between the two should be evaluated separately.

    Multi-Step Training and Error Control

    Training on single-step predictions alone tends to cause error accumulation during rollout. Common mitigation methods include:

    • Multi-step rollout training: Let the model use its own predictions as inputs and compute the loss over multiple steps.
    • Noise injection: Add small perturbations to training inputs to improve robustness to the model’s own errors.
    • Staged training: First learn short-horizon dynamics, then progressively extend the rollout length.

    The following example shows how to use a world model to plan over candidate action sequences. The code uses generic interface names and does not depend on any specific framework:

    1. def rollout(model, state, actions):
    2. """Roll out a sequence of actions inside the model and return the state trajectory."""
    3. trajectory = []
    4. for action in actions:
    5. state = model.predict_next_state(state, action)
    6. trajectory.append(state)
    7. return trajectory
    8. def plan(model, state, candidate_plans, cost_fn):
    9. """Select the candidate action sequence with the lowest cost."""
    10. best_plan, best_cost = None, float("inf")