liveBook · Manning

World model

As explained in The AI Pocket Book

An internal representation an AI system builds about how the world works, including object properties and common situations, used to generalize beyond training examples.

A world model is an AI system’s internal picture of how things work: what objects are like, how situations connect, and what usually happens next. It helps a model generalize beyond familiar examples, but a shallow or shortcut-based model produces confident mistakes. section 2.8

The umbrella and the horse

A driver seeing a flying umbrella may continue straight because an umbrella is soft, but steer around a horse because it is solid and heavy. That judgment depends on knowing what these objects are like, not merely memorizing driving examples. AI systems face the same problem when rare situations fall outside their learned patterns. section 2.8

LLMs form partial world models through representations such as contextualized embeddings, allowing them to capture advanced facts. Yet they may memorize common solutions or rely on accidental correlations instead of learning the underlying relationship. A CNN that recognizes cows only when grass appears nearby illustrates the failure: it learns “cow plus grass” rather than what makes something a cow. section 2.8

World models become unreliable when:

  • Training data misses long-tail situations, such as cows on beaches, flying umbrellas, or unusual combinations of familiar tasks. section 2.9
  • A predictive model is used for intervention or scenario analysis that its training objective never covered. section 2.11
  • The model substitutes correlated inputs for the real relationship, such as using color and star rating instead of price to predict sales. section 2.11

How The AI Pocket Book covers it

How deep it goes
Defines internal representations, illustrates shortcut learning, and discusses data limits without explaining how to construct comprehensive world models.
Examples
Uses driving around umbrellas and horses, cows on beaches, and price-sensitive sales prediction to expose weak generalization.
What you can do after
Evaluate whether model outputs reflect learned relationships or shortcuts before using them on rare cases or changed inputs.
How it connects
Connects world models to hallucinations, contextualized embeddings, training data, long-tail scenarios, shortcut learning, and objective misalignment.

Also explained in

Compare how 3 books explain world model →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The AI Pocket Book. The section links point to the parts of the book it draws on.