Embodied AI · Active inference · World models

Find the mug.

An embodied agent searches a realistic home by maintaining beliefs about where a mug is likely to be, choosing informative places to inspect, and revising its plan when the evidence contradicts its expectations.

4 semantic hypotheses
32 s continuous embodied search
Explicit belief and policy readout

The demonstration

Belief-guided search in a realistic 3D home

The agent begins with a semantic prior, searches the most useful locations, treats absence as evidence, and moves continuously through the apartment until the cup is found.

The video has no audio. All information is presented visually through the first-person environment, posterior belief bars, candidate policy scores and the final cup-detection cue.

Download video

The scientific idea

A world model that can expose its reasoning

The central object is not a fixed action policy. It is a structured belief about hidden states of the world, together with a model of what each possible action is expected to reveal.

01

World

A realistic ReplicaCAD apartment is rendered in Habitat-Sim. The agent receives egocentric observations and travels between collision-free inspection viewpoints on the navigation mesh.

02

Belief

The hidden state is the mug location. The agent maintains a categorical posterior over four semantic sites and updates it whenever a location is inspected.

03

Action

Each candidate inspection is scored by travel distance, current probability of success and expected information gain. The lowest-scoring policy is selected.

1 Start with a semantic prior

Mugs are usually more likely in kitchens and dining areas.

2 Evaluate search policies

Which inspection is useful, informative and reachable?

3 Act and observe

The agent moves to a viewpoint and gathers visual evidence.

4 Revise and replan

Negative evidence changes the posterior and the next action.

Accessible maths

The complete demo in three ideas

The implementation uses deliberately transparent equations. Each term has a visible role in the behaviour shown in the video.

1

Update beliefs with evidence

\(L_j\) is a possible mug location. When an inspected site is empty, its likelihood is reduced to 0.05 while the alternatives retain likelihood 1. The probability mass therefore moves elsewhere rather than simply disappearing.

2

Value information

Entropy \(H[q]=-\sum_j q(L_j)\log q(L_j)\) measures uncertainty. An inspection is informative when it is expected to make the posterior sharper, whether the mug is found or ruled out.

How this relates to expected free energy

In the broader active inference formulation, policies are evaluated using expected free energy:

The house-search demo uses a compact, interpretable approximation at the semantic planning level. This keeps every component visible in the readout rather than hiding the decision inside a learned policy network.

Why it matters

Negative evidence becomes part of intelligent behaviour

Many systems can act when the target is visible. A more demanding problem is deciding what to look for, where to look next, and how to recover when the first explanation is wrong.

Inspectability

Beliefs, uncertainty and candidate actions remain visible throughout.

Adaptive replanning

The policy changes online as evidence changes the posterior.

Semantic structure

Knowledge about rooms, objects and likely locations guides efficient search.

Embodiment

Actions take time and must respect spatial constraints in a physical scene.

Current scope

A controlled proof of concept, with a clear route forward

This demonstration is designed to make the inference loop legible. It does not claim general household autonomy.

Current

Hand-specified semantic prior

The initial probabilities encode ordinary knowledge about where mugs tend to be found.

Current

Idealised visual detection

A semantic simulator channel confirms whether the cup is visible from the chosen viewpoint.

Current

Hierarchical control

Active inference selects semantic destinations while Habitat handles local navigation.

Next

Learned vision and uncertain detection

Replace the idealised detector with a vision model that returns graded, fallible evidence.

Next

Unseen homes and richer hypotheses

Test transfer across layouts, object categories and learned semantic relationships.

Next

Manipulation and lower-level inference

Extend the hierarchy from search decisions to grasping, locomotion and continuous control.

Read the paper

Active Inference World Models: From Embodied Control to General-Purpose Adaptive Intelligence

The preprint develops the wider argument for world models grounded in active inference, linking embodied control, semantic priors, adaptive decision-making and general-purpose intelligence.

Read on Zenodo

Shaw, A. D. & Berndt, L. C. S. (2026). Active Inference World Models: From Embodied Control to General-Purpose Adaptive Intelligence. Zenodo.