Learning 3D and 4D World Models

A dot rolls across a table, and at step 4 a robot nudges it. Replay the film and you can track the nudge. Predict from the first frames only, and you miss it unless you are told the push: ignoring it puts this toy forecast 1.2 units off.

Learn how a network turns images into 3D, how a scene is fitted from photos, and how points are tracked and then forecast.

Pick Track, then Forecast, then Forecast with action. Slide "now" back and flip the action. Watch the error. Then we build, piece by piece, pointmaps, photo supervision, spatial generation, 4D tracking and PointWorld.

You need a little geometry (a point has coordinates; a camera turns 3D into pixels) and a little Python for the code. We build the rest from zero.

Based on Lecture 16 of Penn CIS 6280: World Models (Fall 2026), taught by Jiatao Gu. Lecture slides. Every idea is re-taught here in our own words and devices; it follows Lecture 15, 3D and 4D Representations in this series.

Track it, or forecast it

2

Illustrative: one made-up point that moves 0.5 right per step and gets a push of 0.6 up or down at step 4. "Track" sees every frame. "Forecast" sees frames up to now and continues its last velocity. "Forecast with action" is told the push, and keeps a small learned error that grows 0.04 per step ahead. Error is the mean distance over the frames it had to estimate.

Chapter 0

Learning a World Model Means Choosing What the Model Sees at Test Time

See how tracking, reconstruction and forecasting differ by one thing: which frames exist when the model runs

You film a friend walking across a room while you walk too. In frame 1 she is at the left of the image. In frame 40 she is at the right. Which pixel in frame 40 is the same spot on her jacket as the pixel you picked in frame 1?

That question is the heart of Lecture 16 of Penn CIS 6280. Lecture 15 showed how to store a 3D or 4D scene. This lecture asks how a network learns to fill that store, from images, and how it then predicts what happens next. One short note on the course first: Assignment 3 released on November 2 and is still due November 18, the final project data is out on Canvas, and office hours are Thursday 4:30 to 5:30 PM in AGH 423.

The same surface point, followed through time

The lecture opens with a recap of tracking. Pick one surface point: one physical spot on an object, such as the corner of a mug handle. A track follows that same spot through a video. Its place in the image changes, because the object moves, the camera moves, or both. A colored track on the slide answers one question: which surface point does this color follow?

Two kinds of motion get confused here. Image flow (also called optical flow) is how a point moves in pixels: where it appears in the two images. Scene flow is how it moves in 3D: where the same point is in the world at the two times. The slide's example: a moving camera creates image flow while a stationary world point has zero scene flow.

Feel the difference

The device below is a top-down view. A point sits 4 m in front of a camera and 0.4 m to its right. Slide the camera sideways between frame 0 and frame 1. Then tell the point to move too.

Move the camera, not the world

Top: the world seen from above. Bottom: the pixel column where the point lands in each frame. Slide the camera right, then press the button to move the point as well.

0.60 m

Illustrative: a pinhole camera with focal length 500 px and image center column 320, a point at depth 4.0 m, the camera looking straight ahead. Image flow is 500 × (shift of the point relative to the camera) ÷ 4.0.

With the camera sliding 0.6 m and the point still, the point jumps 75 pixels left in the image. Yet it never moved in the world. Scene flow is zero. Now cancel the camera move with a point move of the same size and the image flow vanishes, even though the point travelled. A model that learns tracks must tell these cases apart. That is why the lecture insists on one reference frame: one fixed set of axes, in which every position is written.

A trajectory, and a separate visibility bit

Follow N points over T frames and you get a trajectory array. Its shape is N × T × 3: for each point, at each time, three coordinates. The point index is the point's name. It stays the same for the whole video, and that is how identity survives motion.

A point can hide behind another object. This is an occlusion. The camera cannot see the point at that time, so there is no pixel to read. The lecture draws the hidden stretch as a dashed path: the position is inferred, with uncertainty. So visibility is its own output. It says whether this camera can see the point at that time. Position says where the point is, seen or not.

Lifting a 2D track into 3D

A tracked pixel is not yet a 3D position. As Lecture 15 showed, a pixel fixes a viewing ray, and depth selects a point on it. Add the camera pose (where the camera sits and which way it faces) and you can report that point in one shared frame. Repeat this for the same surface point at every time. A learned 3D track therefore needs three ingredients: geometry (depth), correspondence (which point is which) and camera information (pose).

Tracking is not forecasting

Slide 7 draws the distinction that the whole lecture hangs on. A tracking model runs when the frames of the event exist. It recovers motion that already happened. A forecasting model runs with only the observed history, plus conditions such as a proposed action. Future frames are not provided. It must predict motion nobody has recorded.

Both can output point trajectories, and the pictures of the two outputs can look the same. The difference is what the model was allowed to see. The hero at the top of this page makes that concrete: its Track mode sees all frames and recovers the path. Its Forecast mode, without the action, misses a push it never saw.

The road

The lecture then moves in three steps. First, learn 3D geometry: from reference 3D targets (pointmaps), and from photographs (NeRF and splats). Second, generate spatial worlds and recover 4D motion from video you already have. Third, predict the future from the current scene and an action. We follow that order.

  1. Pointmaps: supervise one 3D position per pixel, then align views.
  2. VGGT and CUT3R: one backbone for many outputs, and a state that remembers.
  3. Pixels as supervision: volume rendering, NeRF and Gaussian fitting.
  4. Generating spatial worlds: 3D latents, generated views, memory.
  5. Time-stamped scenes: D-NeRF and 4D Gaussians.
  6. St4RTrack: two pointmaps, one reprojection loss.
  7. SpatialTrackerV2 and D4RT: tracking as a query.
  8. Forecasting points: scene plus action in, future points out.
  9. PointWorld: training, and planning with the predictions.
  10. Limits and tests: what to check before you trust a forecast.
  11. The field guide: numbers, code, links.
A camera slides sideways while filming a table. A point on the table shows image flow of 75 pixels. What is its scene flow?

Chapter 1

Pointmaps Teach a Network to Read 3D Straight from Pixels

Train a network to output one 3D position per pixel, and see why scale must be normalized first

You photograph a statue from two spots in a park. Nobody tells you where you stood or how far the statue is. Can a program look at the two photos and say where every visible point of the statue is in 3D?

The lecture's first answer is to train a network to do it directly. Show it many image pairs together with the true 3D answer. Ask it to copy the answer. Slide 8 puts the question plainly: what supervision turns images into a spatial representation? The first reply is: learn from reference 3D geometry. The second, in Chapter 3, is to fit scenes from the photos alone.

What a pointmap is

A pointmap is an image-shaped array of 3D positions. It has shape H × W × 3. The entry at pixel (row, column) holds the (x, y, z) of the surface point that pixel sees. Think of a depth map where each pixel stores a full 3D location, not just one distance.

Why is that handy? The array keeps the pixel grid, so neighbours stay neighbours. It also needs no camera model at the output: the network writes positions straight into one chosen coordinate system.

DUSt3R: two images in, two pointmaps out

DUSt3R (Wang et al., 2024) takes two images. A shared encoder, a network that squeezes an image into a list of small vectors called tokens, turns each image into tokens. A decoder lets the two token sets exchange information and then writes out two pointmaps. Both pointmaps use the first camera's axes. So the second image's points are expressed in the first camera's frame, and a point seen in both images lands at nearly the same place in both outputs.

The data flow is small. In: two RGB images, each 3 × H × W. Out: two pointmaps, each H × W × 3, in one shared frame. No camera numbers go in, and none are required to come out. A detailed walk-through lives in the DUSt3R paper lesson.

The loss: compare 3D positions

During training each image pair comes with reference pointmaps: the true 3D positions. They can come from depth sensors, from a 3D reconstruction, or from simulation. The loss adds up the 3D distance between prediction and reference over every valid pixel.

Lgeometry
The training loss: one number that falls as the pointmap gets closer to the truth.
valid pixels
Pixels that have a reference position. Sky or missing sensor readings are skipped.
X
The predicted 3D position for that pixel.
X*
The reference 3D position, in the same frame after the scene scale is normalized.

At test time, there is no reference. A new scene gets images in and predicted pointmaps out. The reference is a teacher that only the training run has.

Why the scale must be normalized

Look at the slide's small print: "same frame; normalize scene scale". Here is the reason. Photos cannot tell a small scene close up from a big scene far away. Both look identical. If the loss compared raw metres, the network would be punished for a scale that its inputs cannot reveal.

The fix: divide both the prediction and the reference by a typical distance of the points from the origin. Then compare. The device below shows the effect.

Grade a pointmap

Blue: the reference points of a toy scene seen from above. Warm: the predicted points. Change the model's idea of scale, then add depth noise. Switch the loss between raw and normalized.

1.50×
0.10 m

Illustrative: 9 made-up points of a wavy wall 3 to 5 m from the camera. The noise pattern is fixed, so the same slider gives the same picture each visit. The normalizer here is the mean distance of the points from the origin; real systems choose their own.

Set the scale to 1.5 and the noise to zero. The raw loss is large, yet every point is exactly on the right ray, in the right proportion. Switch normalization on and the loss falls to zero. The network is only asked for what the pictures can tell it.

From pairs to one scene

A pair gives a local frame. A real scene has many photos. Slide 11 shows the pairwise predictions as separate pieces, each in its own frame, with an unknown scale and pose. The system must estimate those alignment variables so that the pieces agree, then fuse them into one reconstruction. The lecture's remark is worth keeping: a strong learned predictor can still use geometric optimization at inference.

A tiny case of this alignment shows the idea. Two pairs saw the same three points. One pair says their distances from the camera are x = (1, 2, 3). The other pair says y = (2.1, 3.9, 6.0). Find the scale s that makes s · x match y best in the least-squares sense: the smallest total of squared gaps.

  1. Write the error: E(s) = (s · 1 − 2.1)2 + (s · 2 − 3.9)2 + (s · 3 − 6.0)2.
  2. Set the slope to zero. The solution is s = ∑ x y ÷ ∑ x2.
  3. Top: 1 · 2.1 + 2 · 3.9 + 3 · 6.0 = 2.1 + 7.8 + 18.0 = 27.9. Bottom: 1 + 4 + 9 = 14.
  4. So s = 27.9 ÷ 14 = 1.993. The second pair sees the world about twice as large.

Real alignment also solves for a rotation and a shift per pair, but the pattern is the same: choose the numbers that make overlapping predictions agree.

What this recovers, and what it cannot

Slide 12 is a caution. Images constrain the surfaces that were seen. Training adds a learned prior: a sense of plausible shapes, which helps when the viewpoint changes a lot or the view is incomplete. But hidden shape and absolute scale may stay uncertain. A coherent reconstruction is a useful estimate, not proof that every hidden surface is right.

The failure looks like this. Symptom: a reconstruction of a chair looks solid from the front, but its back is a smooth guess. Measurement: compare with a scan, and the visible half has a small error, while the hidden half has a large one. Fix: do not trust unseen surfaces, and add views that cover them.

The idea. A pointmap loss teaches a network to read 3D off pixels. Normalizing the scale asks only for what the images can reveal.
python
import numpy as np

def normalize(X):                 # X: (H, W, 3) pointmap, one frame
    m = np.linalg.norm(X.reshape(-1, 3), axis=1).mean()
    return X / m

def pointmap_loss(pred, ref, valid):   # valid: (H, W) bool
    d = np.linalg.norm(normalize(pred) - normalize(ref), axis=-1)
    return d[valid].sum()               # L_geometry over valid pixels

def align_scale(x, y):               # best s so that s * x matches y
    return (x * y).sum() / (x * x).sum()   # 1.993 for the example above
Why does a pointmap loss normalize the scene scale before comparing prediction and reference?

Chapter 2

One Backbone Predicts Cameras, Depth and Points, and CUT3R Remembers

Follow how views talk to each other, and how a recurrent state keeps a scene while images stream in

You have twelve photos of a building. DUSt3R handles two at a time. Twelve photos make 66 pairs, and each pair lives in its own frame. Could one network take all twelve at once and write out everything: where each camera stood, how deep each pixel is, and where each pixel's point sits in 3D?

VGGT: one pass, many outputs

VGGT (Wang et al., 2025) does exactly that. It is a feed-forward model: one forward pass, no per-scene optimization loop. Its input is a collection of views. Its outputs are several geometric attributes at once: camera parameters, depth maps, pointmaps, and features for tracking. All of them hang off one shared visual backbone. The VGGT paper lesson goes deeper.

Data flow, with S views of size H × W: the input is S × 3 × H × W. The camera head returns S camera vectors. The depth head returns S × H × W. The pointmap head returns S × H × W × 3.

Frame attention and global attention

First, a word on attention. A network cuts each image into patches and turns each patch into a token, a small vector. Attention lets every token look at other tokens and blend in what it finds, weighted by how relevant each one is. Think of a meeting where every person listens to the others before speaking.

VGGT alternates two kinds of meeting. Frame attention relates patches inside one image: this patch is a window edge, that one is a wall. Global attention relates evidence across the whole collection: this patch in image A and that patch in image C show the same corner. Cross-view talk is what lets a patch gain a 3D meaning. VGGT also adds camera tokens: extra tokens per image that gather information for the camera prediction.

Why train the outputs together

Each output gets its own teacher, and the teachers agree because they describe one world.

OutputSupervision asks for
Camera calibrationthe reference camera
Depth and pointmapthe reference depth and 3D positions
Correspondencereference tracks across views

Images are the only input. Cameras, depth, points and tracks are training targets. The lecture's summary: a common representation supports related geometric predictions. A camera estimate and a depth map that disagree cannot both be right, so training them together pulls the shared features toward one consistent story.

The cost of everybody talking to everybody

Global attention has a price. Let each image give T tokens and let there be N images. Every token can look at every other token, so the number of token pairs is (N × T)2. Doubling the images quadruples the cost.

VGGT-Ω (Wang et al., 2026) cuts this. Each image gets a few learned summary tokens, called scene registers. In selected layers, full inter-frame attention is replaced by register attention: the image tokens talk within their own frame, and the registers exchange scene information across frames. The image features and shared scene information still support the camera and depth outputs. The lecture adds a careful point: compact summaries reduce cross-view communication, but they do not replace the scene with a fixed 3D grid.

Count the pairs

A worked count shows the gap. Take N = 8 images, T = 196 tokens each (a 14 × 14 patch grid), and R = 4 registers per image.

  1. Global attention: (8 × 196)2 = 1,5682 = 2,458,624 pairs.
  2. Frame attention alone: 8 × 1962 = 307,328 pairs.
  3. Registers: the registers meet each other, (8 × 4)2 = 1,024 pairs, and each image's tokens meet their own registers both ways, 2 × 8 × 196 × 4 = 12,544 pairs.
  4. Frames plus registers: 307,328 + 1,024 + 12,544 = 320,896 pairs, about 7.7 times fewer than global attention.

The device lets you move N and see the three costs. The layout of the register scheme is our toy reading of the lecture's description, not the paper's exact block, and the fine print says so.

Count the attention pairs

Each bar is the number of token pairs one layer must score. Drag the number of images. Watch the global bar grow with the square.

8
4

Illustrative arithmetic: T = 196 tokens per image. "Frames plus registers" counts frame attention, register to register, and each image's tokens with their own registers. It shows the scaling idea only; it is not the published layer.

At N = 32 the global bar needs about 39 million pairs. Frames plus four registers need about 1.3 million. The lesson: a few summary tokens move cross-view information with far less traffic.

CUT3R: a state that remembers

Photos do not always arrive as a neat set. A robot receives a stream. CUT3R (Wang et al., 2025) keeps a persistent state ht: a block of numbers that holds what has been seen so far. When image It arrives, a learned update U merges it in.

ht
The persistent state after seeing the image at time t.
U
A learned update network. It decides what to store and what to overwrite.
ht−1
The state before the new image: past evidence.
It
The new image: current evidence.

The state is read out as geometry in one common coordinate system. The slide also shows a second action: querying the state. Give it a virtual camera, meaning one viewing ray per pixel, and it returns a colored pointmap, a 3D location plus a color for each ray. No new RGB image is supplied. So an update takes in evidence. A query only reads. An unseen view is inferred from the stored evidence and learned priors.

python
def run_stream(images, update, read, rays):
    h = init_state()                      # persistent state, fixed size
    for I in images:                    # update: new evidence comes in
        h = update(h, I)                  # h_t = U(h_{t-1}, I_t)
    return read(h, rays)                 # query: rays (H, W, 3) -> colored pointmap (H, W, 6)

The failure to expect: symptom, a view that nobody photographed looks smooth and plausible but has a wrong door. Measurement: compare the query with a held-out photo. Fix: treat a queried view as an inference, and keep feeding real images.

In CUT3R, what is the difference between updating the state and querying it?

Chapter 3

A 3D Scene Can Be Taught by the Photos It Must Reproduce

Fit a NeRF or a set of Gaussians so that its rendered pixels match the photos

So far a teacher handed the network the true 3D answer. You rarely have one. What you do have is photos. Can the photos alone teach a 3D scene? Yes, if the 3D scene can be turned back into a photo.

Two ways to learn: predict 3D, or reproduce the photo

Slide 20 sets two routes side by side. In the first, a learned predictor (DUSt3R, VGGT, CUT3R) maps images to a 3D estimate and compares it with reference geometry. Its weights are trained across many scenes, then reused on new ones. In the second, scene fitting (NeRF, Gaussian splatting) stores scene parameters, runs a renderer that turns them into an image, and compares that with the observed photo, at the same camera and the same pixels. Standard fitting optimizes one scene at a time.

The lecture's sentence: a 3D representation can be supervised through the images it produces. The photo becomes the teacher. For this to work, the renderer must be differentiable: if the picture is wrong, the math must say which scene numbers to nudge, and by how much.

Volume rendering along one ray

A NeRF answers one question: for a 3D location and a viewing direction, what colour and what density are there? Density is how much that spot blocks light. To get one pixel, we shoot a ray from the camera through that pixel, ask the field at sample points along the ray, and blend the answers.

C
The rendered colour of the pixel.
αi
Opacity of segment i. It grows with density σ and segment length δ: α = 1 − e−σδ.
Ti
Visibility: how much light reaches segment i. It is the product of (1 − α) over all segments in front.
ci
The colour the field returns at that sample.
Tend cbg
Whatever light passes through everything: the remaining background.

Dense material near the camera shrinks T for everything behind it. So a front layer hides a back layer. Here is one ray, with every step. Three segments of length δ = 0.5: empty, then a bluish foreground haze (σ = 2, brightness 0.2), then an orange surface (σ = 6, brightness 0.9). The background is black.

  1. Opacities: α1 = 0 (empty), α2 = 1 − e−1 = 0.632, α3 = 1 − e−3 = 0.950.
  2. Visibility: T1 = 1, T2 = 1, T3 = 1 × (1 − 0.632) = 0.368.
  3. Weights T α: 0, 0.632, and 0.368 × 0.950 = 0.350. Leftover Tend = 0.368 × 0.050 = 0.018.
  4. Pixel: C = 0.632 × 0.2 + 0.350 × 0.9 + 0.018 × 0 = 0.126 + 0.315 = 0.441.

Learning a NeRF: the photo pixel is the label

Now the learning loop. The inputs are photos plus calibrated cameras (where each photo was taken). For one pixel of one photo, the loop does this:

  1. Cast the ray for that pixel. Take 3D sample positions along it, plus the viewing direction.
  2. Ask the NeRF, a small network with trainable weights θ, for colour and density at each sample.
  3. Volume-render them into one rendered pixel Cθ(r).
  4. Compare with the photo pixel at the same camera and same pixel. The slide's loss is the squared colour error summed over rays: LRGB = ∑r (Cθ(r) − Cobs(r))2.
  5. Push the image error back to θ and update.

The key is that one shared field must explain the rays from many cameras. The device shows why that matters. Our toy field has only two numbers: the haze density σF and the surface density σS. Camera 1 looks through the haze at the surface. Camera 2 looks at the surface alone.

Fit the field to the photos

Press train four or five times with camera 2 off. The loss reaches zero, yet the densities are wrong. Reset, turn camera 2 on, and train again.

Illustrative: segment length 0.5, haze brightness 0.2, surface brightness 0.9, black background. The hidden truth, which the photos came from, is σF = 2.0 and σS = 6.0. Training is plain gradient descent on the squared error, learning rate 3, started at 0.2 and 1.0.

With camera 1 only, the loss drops to about zero and the densities settle near 0.06 and 1.4. They are far from 2 and 6. One photo cannot tell a thin haze over a bright surface from a thicker haze over a duller one. With both cameras the fit heads toward the truth, because camera 2 sees the surface without the haze. That is the lecture's point about many views.

Fitting 3D Gaussians from images

A 3D Gaussian is a soft ellipsoid blob. Gaussian splatting (Kerbl et al., 2023) fits thousands of them. Each blob has a position, a scale and rotation, an opacity and a view-dependent colour. These are explicit numbers, not network weights. Our 3D Gaussian Splatting paper lesson covers the details.

Start from sparse points and cameras that structure-from-motion recovered from the photos. That is a classic method that finds camera positions and a sparse set of 3D points from overlapping photos. Render the blobs by projecting and compositing them. Compare with the photo using two terms, balanced by λ.

L
The total image loss.
L1
Pixel colour error: the average absolute difference.
LD-SSIM
Local structure error: do small patches have the same contrast and pattern?
λ
A balance between the two errors.

Gradients flow back through the projection and the splatting, and update the Gaussians themselves. The loop alternates with density control, the lecture's name for changing how many Gaussians there are. Image-error gradients pick the candidates, and size decides what happens.

The failure here is the one the device showed in miniature. Symptom: a splat scene renders the training photos perfectly but shows floaters from a new angle. Measurement: render a held-out photo and compare. Fix: more varied cameras, plus pruning, so that blobs must explain every view.

python
import numpy as np

def render_ray(sigma, color, delta):         # sigma, color: (S,) along the ray
    alpha = 1 - np.exp(-sigma * delta)
    T = np.cumprod(np.concatenate([[1.0], 1 - alpha[:-1]]))
    return (T * alpha * color).sum()          # 0.441 for the example above

def l_rgb(rendered, observed):               # (R, 3) rendered vs photo pixels, same rays
    return ((rendered - observed) ** 2).sum()

def gs_loss(render, photo, lam, dssim):      # (1 - lam) L1 + lam L_D-SSIM
    return (1 - lam) * np.abs(render - photo).mean() + lam * dssim(render, photo)
Why does a NeRF or a Gaussian-splat scene need photos from many cameras, even though one photo can already be reproduced exactly?

Chapter 4

Generating a Spatial World Means Inventing What No Camera Saw

Compare native 3D generation, generated views and a persistent spatial memory

You show a model one photo of a sneaker and ask for the sneaker in 3D. It must give you the sole, the heel and the laces on the far side. No camera ever saw them. The model is not recovering this geometry. It is inventing it, in a way that fits the photo and what sneakers usually look like.

Slide 25 begins a new section, generating spatial worlds. Chapters 1 to 3 explained scenes that photos had observed. Here the photos are only a hint, and the model must complete the world. The lecture shows three routes.

Route 1: generate a 3D code, then decode it

The first route is native 3D latent generation. Hunyuan3D 2.1 and TRELLIS.2 work this way. A latent is a compact code, a short list of numbers that stands for a whole shape. The recipe has two learned parts, and the slide names both.

  1. Learn the code. A 3D autoencoder compresses training shapes into latents and reconstructs them. Its decoder turns any latent into geometry.
  2. Generate the code. A diffusion or flow model, a generator that starts from noise and refines it step by step, learns the conditional distribution of latents, given an image. It samples a new latent.
  3. Decode the sampled latent into a 3D asset.

The image is only the condition. The generated variable is a 3D representation. If you know diffusion from Lecture 13, this is the same machine, aimed at a 3D latent. A deeper look at one such system is in the TRELLIS.2 paper lesson.

Route 2: generate views, then reconstruct

The second route skips a native 3D code. It generates related images, then builds 3D from them. Hunyuan3D 1.0 runs multiview diffusion, which draws several consistent views of one object, then a feed-forward reconstruction that turns the set into one asset. Lyra 2.0 and GEN3C generate a camera-controlled video, a walkthrough, and recover the geometry that its frames share.

The slide's caution is worth memorizing: coherent images help, but a common 3D scene still has to be established. Ten pretty views that disagree about where the door is do not make one world.

GEN3C: geometry guides the video

GEN3C makes the geometry explicit. Its pipeline has four steps. First, estimate depth from the images or video. Second, lift pixels to 3D and store them as a 3D cache, a spatial-temporal point store. Third, render that cache from the cameras you request. Fourth, condition the video generator on those renderings.

Now each requested frame has two kinds of pixels. Where the cache projects onto the new view, the pixels are supported: geometric evidence constrains them. Where the new camera sees something the cache never saw, the pixels are newly exposed, and the video prior supplies plausible appearance. The slide's sentence: a cache rendering gives geometric evidence, while generated completion remains an inference.

Lyra 2.0: a memory that grows as you walk

A walkthrough is long. If the model only remembers recent frames, a room you left will look different when you return. Lyra 2.0 adds persistent spatial memory in three steps. Store: keep past frames and their recovered 3D geometry. Retrieve: the requested camera picks the relevant past views and their correspondences. Generate and add: make new frames, recover their geometry, and append them to the history. So the useful history depends on where the camera goes, as well as when a frame was seen.

Try the memory

The device is a top-down toy. A round object has been photographed only from the front. Move the camera around it. The arc your camera can see is outlined in teal. The arc covered by memory is blue.

Walk around, then remember

Drag the camera angle away from the front. The part of the view outside the blue arc must be invented. Press the button to generate that view and add it to memory.

0°

Illustrative: a flat, 360 degree ring of surface, a camera that sees the 180 degrees facing it, and one original photo of the front 180 degrees. Real cameras and caches are 3D and partial, but the overlap idea is the same.

At 0 degrees every part of the view is supported. At 90 degrees half of it is. At 180 degrees none is, and the whole view is generated. Press the button there and the memory now holds the back. Walk on, and the new view is supported again, but only by what the model made up earlier. That is a risk: memory built from generated frames can repeat an invention as if it were a fact.

Two different questions: change the camera, or change the action

Slide 29 ends the section with a distinction the rest of the lecture uses. A view query holds the scene fixed and changes the camera: Camera A gives View A, Camera B gives View B. The system must preserve the scene's spatial structure. An intervention query holds the observed history fixed and changes the action: Action A gives one predicted response, Action B gives another. The system must predict how the future responds.

The slide cites Atlas, a spatial generation demo from World Labs (September 2026), as an explorable generated scene. The lecture's reading: that establishes a spatial capability. It does not show that the world responds correctly to actions. Action response needs its own training and evaluation evidence.

The failure to watch for: symptom, a generated world looks great from any camera but a pushed cup does not fall. Measurement: ask for the same scene under two different actions and compare with what really happened. Fix: train and test on recorded actions with their outcomes, as Chapters 8 and 9 do.

A generated scene stays consistent as you walk the camera around it. What does that show about its response to a robot's push?

Chapter 5

A Time-Stamped Scene Fits Video by Deforming One Shared Scene

Add a timestamp to the field or the Gaussians and fit a recorded sequence

You filmed a dancer for ten seconds. You have the whole video. Now you want a 3D model of the dancer that you can replay and view from any angle. The motion has already happened. Nothing needs to be predicted. The job is to explain what you recorded.

Slide 30 opens the part of the lecture on learning observed 4D motion. It names two ways to do it. In both, the lecture stresses, the video being explained is available to the reconstruction system.

Two routes for observed motion

Fit an evolving scene. Build a representation that depends on time. Render it at each recorded time and camera, and compare with the recorded images. This is the photo-supervision idea of Chapter 3, with a clock added.

Learn a tracking model. Train a network to predict the same surface point's 3D position across frames, as in Chapters 6 and 7. The loss uses 3D or track targets, or image loss.

The first route gives a 4D representation: where each point was, at every time. The second gives point tracks. This chapter covers the first. Both describe motion that already happened.

Fitting a time-varying scene

Start with a recorded sequence: time-stamped photographs with known cameras. The goal is one scene that changes over time. The slide's data flow has five boxes. The frame's timestamp is an input. A shared scene (a field, or 3D Gaussians) holds the content. Evaluating it at that time gives time-dependent geometry. Rendering at the recorded camera gives a predicted image. The comparison with the recorded photograph produces an error, and that error updates both the shared scene and its deformation.

The two methods on the slide differ in where the deformation sits.

D-NeRF (Pumarola et al., 2021) keeps one shared field, called the canonical field, that describes the scene in a reference pose. For a ray at time t, it takes each sample position in the current scene and maps it back to the canonical field, asks for colour and density there, and then volume-renders as usual. The map goes from "where is it now" to "where is it in the canonical scene".

4D Gaussian Splatting (Wu et al., 2024) keeps explicit Gaussians. At the requested time it deforms each Gaussian forward, then rasterizes the result, meaning it draws the blobs as pixels. The map goes from canonical to now.

Both are the same idea seen from two ends. A renderer that shoots rays needs "from now back to canonical". A renderer that projects blobs needs "from canonical forward to now". Lecture 15 made the same point about deformation, and the previous lesson works a longer example.

A worked deformation

Let an arm turn about a joint at the origin by ω = 12 degrees per frame. Take a canonical point (0, 0.6), 0.6 m above the joint. At frame 3 the angle is 3 × 12 = 36 degrees.

  1. Forward (the 4D Gaussian way): rotate the canonical point by 36 degrees. x = −0.6 sin 36° = −0.353 and y = 0.6 cos 36° = 0.485.
  2. Backward (the D-NeRF way): a ray sample at (−0.353, 0.485) rotates by −36 degrees and lands on (0, 0.6). The canonical field holds the colour there.
  3. Suppose the learned rate is wrong, 8 degrees per frame. At frame 3 the angle is 24 degrees. The point lands at (−0.244, 0.548).
  4. Gap to the true place: √(0.1092 + 0.0632) = 0.126 m. The photo shows the arm elsewhere, so the image error is large and pushes ω up.

The data flow for one training step is: timestamp t plus camera in, H × W × 3 predicted image out. Compare with the photo taken at that time, and the error trains the canonical scene and the deformation together.

Fit the arm

The device shows five recorded frames of an arm that really turns 12 degrees per frame and is 1.0 long. Your model has two numbers: the turn rate and the arm length. Blue is the recording. Warm is what your model draws.

Explain five frames

Each panel is one frame. Fix the turn rate first, then the arm length. Watch which frames the error hits hardest.

6° per frame
0.70

Illustrative: a made-up 1.0 long arm turning 12 degrees per frame about a joint at its base, recorded at frames 0 to 4. Error is the mean distance between 7 matching points along the arm, in arm-length units.

At frame 0 only the length matters. Later frames add the rate. If both are wrong, frame 4 is the worst. Only when the rate and the shared scene are both right do all five frames agree. That is why the image error must update the two together.

What this does not give you

The fitted scene explains the recording. It does not say what the dancer would have done if the music had changed. The slide states it directly: this fits a recorded sequence, and predicting responses to new actions also requires action-conditioned training. We reach that in Chapters 8 and 9.

The failure here: symptom, a 4D fit replays the training video well but a new time between the frames looks smeared. Measurement: render a held-out frame and compare. Fix: denser time sampling, or a smoother deformation model.

D-NeRF maps ray samples back to a shared field, while 4D Gaussian splatting deforms Gaussians forward. Why does each direction suit its renderer?

Chapter 6

St4RTrack Predicts Where Each Surface Point Goes in 3D

Read two pointmaps at the target time and train them with reprojection

Two photos of a cat: one at 9:00, one at 9:01. In the first you circle its left ear. Where is that same ear, in 3D, in the second moment? The cat turned its head. The camera moved a little. A 2D tracker could say where the ear lands in the second image. We want its place in the world.

St4RTrack: two pointmaps for two questions

St4RTrack (Feng et al., 2025) extends the pointmap idea of Chapter 1 to time. It processes an image pair: a source image, where you select points, and a target image, which shows the later scene. It outputs two pointmaps. Both are expressed at the target time and in the same reference frame.

The data flow: in, the pair of images, each 3 × H × W. Out, two arrays of shape H × W × 3. The first is indexed by source pixels. The second is indexed by target pixels. Every cell holds an (x, y, z) at the target time.

The grid names the point, the cell says where it is

Slide 33 states a rule worth remembering: the grid indexes the point; the coordinate stored inside describes where it is. Cell (row 40, column 77) of the tracking pointmap always refers to the surface point that was at pixel (40, 77) in the source image. Its stored coordinate changes with the target time. The index is the point's identity, and the value is its location.

Different pixels can refer to the same surface point. The ear at source pixel (40, 77) may appear at target pixel (52, 61). When both views see that point, the two corresponding cells, one in each pointmap, should agree on its target-time position. That agreement is a free training signal.

Learning from reprojection

Where do the labels come from? The slide splits it in two. On synthetic data, the 3D positions and the correspondences are known, so supervise them directly. On real video, nobody has 3D labels. So adapt with what a video does offer: 2D tracks, depth estimates and camera consistency.

The key tool is reprojection: take the predicted 3D point, project it into the target camera with the pinhole model of Lecture 15, and measure how far the projected pixel is from the tracked target pixel. Reduce that image distance.

Lreproj
The reprojection loss: total image-space distance between projection and track.
π
Projection into the target camera: transform by pose, apply K, divide by depth.
Xi
The predicted 3D position of point i at the target time.
ui
The tracked pixel of point i in the target image, from a 2D tracker.

Why a 2D match is not enough

Here is the catch the slide ends on: a 2D match constrains a viewing ray, and depth provides an additional constraint along that ray. A pixel in the target image says "the point is somewhere on this ray". Every point on the ray projects to the same pixel, so every one of them has zero reprojection error.

A worked case, top-down so we keep x and z. The target camera sits at x = 1.0 and looks forward, f = 500 px. The true target-time point is (0.7, 4.0). The tracker finds it at u = 500 × (0.7 − 1.0) / 4.0 = −37.5 px from the image center.

  1. Guess (0.9, 5.0). Project: u = 500 × (0.9 − 1.0) / 5.0 = −10 px. Error 27.5 px.
  2. Guess (0.625, 5.0). Project: u = 500 × (−0.375) / 5.0 = −37.5 px. Error 0 px.
  3. But (0.625, 5.0) is 1.0 m behind the truth: √(0.0752 + 1.02) = 1.003 m away in 3D.
  4. So reprojection alone cannot find the depth. A depth estimate, or a second camera, fixes it.

That is why St4RTrack's real-video adaptation uses depth estimates and camera consistency together with 2D tracks.

Find the point on the ray

Top-down view. Move the predicted point. Find where the reprojection error is zero, then check how far the point still is from the truth. Switch on the depth estimate.

0.90 m
5.0 m

Illustrative: target camera at x = 1.0 m, focal length 500 px, true point (0.7, 4.0), so the tracked pixel is −37.5 px. The depth term counts each metre of depth error as 50 px; that weight is made up for the toy.

Slide to z = 5 and find the x with zero error: it is 0.625. The dashed ray is the whole set of zero-error answers. Switch on the depth estimate and the zero-loss spot moves to the single point where the ray meets 4.0 m, the truth.

The failure: symptom, tracks that look right on the video but drift in depth, so a hand seems to float toward the camera. Measurement: the reprojection error stays near 0 while the 3D error is large. Fix: add depth and multi-view consistency terms.

python
import numpy as np

def project(X, K, R, t):                 # X: (N, 3) world points -> (N, 2) pixels
    Xc = X @ R.T + t
    uvw = Xc @ K.T
    return uvw[:, :2] / uvw[:, 2:]

def l_reproj(X_pred, u_track, K, R, t, valid):
    d = np.linalg.norm(project(X_pred, K, R, t) - u_track, axis=-1)
    return d[valid].sum()                # zero for every point on the viewing ray
A predicted 3D track has near-zero reprojection error in the target camera but sits 1 m too far away. What explains it?

Chapter 7

SpatialTrackerV2 and D4RT Turn Tracking into a Query

Ask for one point, at one time, in one camera's axes, and read the answer off a shared scene

You film a street from a moving car. A bicycle crosses in front of a van and comes out the other side. You want the bicycle's 3D path through the whole clip, including the moment the van hides it. And you want to ask about any other point too, without building a new system for each question.

SpatialTrackerV2: geometry, camera and motion together

SpatialTrackerV2 (Xiao et al., 2025) attacks the street problem by estimating three things jointly: scene geometry, camera motion, and world-space trajectories. Chapter 0 explained why they cannot be separated. A pixel moves because the camera moved or because the point moved. If you guess the camera wrongly, the motion you read off is wrong too.

The slide shows three stages.

  1. Initialize. Estimate the cameras and a scene geometry. (The lecture credits VGGT, Chapter 2, for this kind of starting point.)
  2. Match. Relate point evidence across the video: which patch in frame 20 looks like this patch in frame 3.
  3. Refine together. Update the motion estimate and the geometric estimates in one joint step.

The joint refinement reads evidence from the shared geometric representation. The lecture's sentence is the point to keep: the same observed changes must be explained by compatible camera and scene estimates. The camera, the geometry and the tracks have to tell one consistent story.

D4RT: tracking as a query

D4RT (Zhang et al., 2026) takes a different design stance. Instead of one pipeline per task, it has one interface: you ask. See also the D4RT paper lesson. The model runs in two parts.

  1. A video encoder reads the recorded frames once and builds a shared scene representation.
  2. A query decoder takes a point-and-time query and returns a 3D position. It can be asked again and again at almost no extra encoding cost.

Many pixels queried at one time give a geometry. One point queried at many times gives a track. The slide's phrase is useful: D4RT makes the output request explicit, instead of needing a separate interface for every task.

The query: five numbers

The slide writes the query as a five-tuple.

q
One query: a request for the 3D position of one point.
u, v
The pixel in the source frame that picks the point. Think of tapping the bicycle's wheel.
tsrc
The frame in which you tapped. It fixes which point.
ttgt
The time at which you want the point located. It fixes when.
tcam
The frame whose camera axes express the answer. It fixes which coordinates.

Hold the source pixel and source time fixed and you follow the same point. Change ttgt and the point moves. Change tcam and only the axes change. The answer is a 3D position, three numbers.

Ask it yourself

The toy: a point moves in the world, the camera also moves, and a van hides the point at time 2. Move the three time sliders and read the answer.

Query a 4D scene

Purple: the point's path in the world. Teal: the camera positions. Pick the tap frame, the target time and the camera frame. The arrow shows the answer.

1
3
0

Illustrative world: the point is at x = 0.3 + 0.4 t and depth 4.0 − 0.2 t (metres) at time t, the camera slides 0.25 m right per frame, focal length 500 px, tap row 240. A van hides the point at time 2, so its position there is inferred.

Try tsrc = 1, ttgt = 3, tcam = 0. The tap pixel at frame 1 is column 379. Frame 3 is where the point is wanted. The answer in camera 0's axes is (1.50, 3.40). Now set tcam = 3 and it becomes (0.75, 3.40): the same point at the same time, written in the axes of a camera that moved 0.75 m. Set ttgt = 2 and visibility drops to hidden: a position still comes back, flagged as inferred.

What each kind of training data gives

Slide 39 sorts the supervision by what it directly constrains and what it leaves to inference.

EvidenceDirectly constrainsStill inferred
Synthetic geometry and trackspositions, identities, visibility, camerastransfer to real observations
Posed RGB-D videovisible geometry, image consistencyhidden surfaces, uncertain matches
Real RGB videoimage correspondences, reprojectionmetric structure, occluded motion

Different training signals provide different parts of the geometric explanation. Synthetic data is complete but not real. Real video is real but incomplete. Models mix them for that reason.

python
def answer(scene, u, v, t_src, t_tgt, t_cam):
    # scene = encoder(video) was computed ONCE; each query only runs the decoder
    X, visible = decoder(scene, (u, v, t_src, t_tgt, t_cam))   # X: (3,) in camera t_cam's axes
    return X, visible

# a track = the same (u, v, t_src), sweeping t_tgt; a point cloud = many (u, v) at one t_tgt
track = [answer(scene, u, v, t0, t, t0)[0] for t in range(T)]      # (T, 3)

The failure: symptom, a track jumps when the point goes behind an object. Measurement: the visibility output flips to hidden and the error rises on those frames. Fix: read the visibility bit, and treat hidden positions as uncertain inferences.

In a D4RT query, you keep (u, v, t source) fixed and sweep t target from 0 to T. What do you get?

Chapter 8

Forecasting Future Points Needs the Current Scene and an Action

Predict displacements for the same points before any future frame exists

A robot arm hovers over a mug. Before it moves, you want to know: if it swings left, does the mug stay? If it swings right, does the mug slide? No video of either swing exists yet. The only way to know is to predict.

Tracking and forecasting differ by what the model may see

Slide 40 puts the two tasks in one table, and the table is the lesson of the chapter.

TaskAvailable at inferenceRequested output
Tracking or reconstructionthe video that contains the target eventrecover its geometry and motion
Forecastingonly the observed history and conditionspredict unobserved future motion

Write the frames as I≤t (observed, up to now) and I>t (later). Tracking may read both. Forecasting reads only I≤t, plus conditions such as an action or an instruction. The lecture adds a warning. Identical trajectory pictures can represent different modeling tasks. Always ask what the model saw.

Predicting future 3D points

Slide 41 poses the question: the future observations are no longer available. Can we predict the same points' future positions before observing them? A proposed interaction can change shape, articulation, contact and object motion, so the prediction must depend on the interaction.

The learning setup has two sides.

The slide says it in one line: the dynamics model receives the current scene and action, and future frames supply training targets only.

What the model outputs: displacements of named points

The lecture writes the output as point motion.

Xi,t+k
The 3D position of scene point i, k steps into the future.
Xi,t
Where point i is now. It is observed.
ΔXi,k
The predicted point flow: its displacement from the start of this prediction chunk. In this lecture "point flow" means 3D displacement, not a diffusion velocity.

The index i never changes. The model predicts a future for the initially sampled points, so the prediction has built-in correspondence. That makes it different from generating a fresh, unordered point cloud. A worked case. Point i is now at (0.10, 0.05, 0.60) m. The model predicts ΔXi,1 = (0.02, 0, 0), ΔXi,2 = (0.05, 0.01, 0), ΔXi,3 = (0.09, 0.01, 0). Then Xi,t+3 = (0.19, 0.06, 0.60) m.

The data flow: in, N × 3 scene points (with features) and the action as robot-point trajectories M × K × 3. Out, N × K × 3 displacements, one 3D step for each scene point and each future step.

Where the targets come from

Slide 44 explains the labels. In real video, track points through the recording, estimate depth, and align everything into common robot-base coordinates. Tracking gives identity, and depth plus camera alignment give 3D location. Exclude invalid or occluded targets. In simulation, the environment can report point positions, correspondence and visibility directly. So the models of Chapters 1 to 7 do double duty here: they are the label makers, and the dynamics model learns to predict without ever seeing the future frames.

Action-conditioned futures

Slide 45 holds the first scene fixed and asks about two proposed robot motions. Motion A pushes toward the object, a possible contact. Motion B passes beside it, no contact. The forecast must respond correctly to the action. The slide adds a careful note: different actions need not always produce different outcomes. If both miss the object, both futures are the same.

Predict the push

In the device, a gripper sweeps left to right along a path you choose. A disc-shaped object waits at the center. The toy dynamics: a path that clips the object pushes it, and the push is strongest for a head-on path. Compare a model that reads the action with one that ignores it.

Forecast the object's response

Drag the offset of the gripper's path. Blue is what really happens. Warm is the forecast. Switch the model between reading and ignoring the action.

0.10 m

Illustrative toy dynamics, not a trained model: contact if the path is within 0.35 m of the center; then the object moves (0.6, −0.4 × sign) times (1 − |offset| / 0.35). The model that reads the action adds a 0.03 m error. The model that ignores it always predicts the average push in its made-up training set, (0.3, 0).

Slide the offset to 0.6. There is no contact, so the truth is zero motion. The model that reads the action agrees. The model that ignores it still predicts a 0.3 m push, an error of 0.30. At offset 0 the push is a full 0.60 and the average-push model is 0.30 short. And at offsets 0.5 and 0.7 the true futures are identical, both zero motion, just as the slide warned.

Three variations from the lecture

VPM, the Video-Point Model (Jeon et al., October 2026) predicts both a future video and 3D point trajectories. It takes an observed multiview history, a language instruction and points selected in the history. A shared predictive representation feeds two supervisions: future appearance across views, and the same points' future 3D positions. The target frames are unavailable at inference, so this is forecasting.

PointWAM (Park et al., 2026) learns scene and hand trajectories in a shared 3D frame, from observed geometry and a language instruction. A final step retargets the hand forecast to robot actions. Here the learned output includes action-related motion, not only a response to a supplied action.

3DPWM (Peri et al., 2026) first completes the scene. A partial observed cloud becomes an inferred completed cloud, then predicted dynamics. Observed means surfaces the sensor saw. Completed means inferred geometry behind or outside them. Completion supplies missing context, but it stays an inference, not a new observation.

The failure: symptom, a forecast moves the object whatever the robot does. Measurement: change the action and see no change in the output. Fix: train on paired data, recorded actions with the motion that followed, and test it with two actions on one scene.

A point-flow model gives the same output for two very different robot motions that both miss the object. Is that necessarily a bug?

Chapter 9

PointWorld Predicts the Scene's Response and Plans with It

Run propose, predict, evaluate and execute in a loop with a point-cloud model

A robot must close a drawer. It has a depth camera and a gripper. It can try a hundred pushes in its head before it tries one with its hand. How would it picture each push? Where would each point of the drawer go?

PointWorld in one sentence

PointWorld (Huang et al., 2026) predicts the action-conditioned motion of scene points in a single forward pass. Its inputs are the RGB-D scene points (colour plus depth from the camera) and the robot's point flows. A shared point-cloud backbone, a network built to read sets of 3D points, takes both. The PointWorld paper lesson goes through the paper in full.

State and action live in the same space

Slide 50 names the three parts and puts them in one spatial frame.

Putting both the scene and the proposed interaction in 3D is the design decision that matters. The model never has to translate from "joint 3 turns 5 degrees" to "something touches the drawer". The contact is visible as robot points near scene points.

Turning robot commands into points

A robot is usually commanded in joint space: a list of joint angles over the prediction horizon. PointWorld needs points. The robot's body is known geometry, so forward kinematics converts joint angles into where each part of the surface sits. Forward kinematics is the chain of rotations and shifts from the base out to each link.

A tiny example, a planar arm with two links of lengths 0.4 m and 0.3 m. Joint angles are 30 degrees and 40 degrees.

  1. The first link points along 30 degrees. Its tip is at (0.4 cos 30°, 0.4 sin 30°) = (0.346, 0.200).
  2. The second link points along 30 + 40 = 70 degrees. It adds (0.3 cos 70°, 0.3 sin 70°) = (0.103, 0.282).
  3. The hand is at (0.346 + 0.103, 0.200 + 0.282) = (0.449, 0.482) m.

Do this for many sampled points on the robot's surface, at every time step of the horizon, and you get the action input: the magenta trajectories on the lecture's slide, supplied to the model as 3D point paths. The slide's summary: robot motion is specified, and the environment's response must be predicted.

One forward pass, a short chunk of motion

Slide 52 shows the data flow. Scene points go in with positions and visual features. Robot action points go in with proposed positions and time. The backbone processes both jointly, and the prediction head outputs scene-point displacements.

In shapes: scene N × (3 + C) (position and C feature numbers), action M × K × 3, output N × K × 3. One pass predicts a short chunk of K steps. Then the system should reobserve the world before the next planning step, because the prediction is a chunk, not the rest of time.

Training: weight the points that move

The lecture's loss compares predicted and target positions of the same points, summed over points and future steps.

Lmotion
The training loss on point motion.
X − X*
Predicted minus target 3D position of point i, k steps ahead. Only valid correspondences count.
ρ
A robust 3D residual. It grows slowly for large errors, so a few bad targets cannot dominate.
wi,k
A movement-based weight. It gives moving points enough training signal.

Why the weight? Take 1,000 scene points where only 20 move, each by 0.10 m. A model that predicts "nothing moves" has a plain mean error of 20 × 0.10 ÷ 1,000 = 0.002 m. That looks excellent and is useless. Give each moving point weight 50 and the weighted error is (20 × 50 × 0.10) ÷ (980 + 20 × 50) = 100 ÷ 1,980 = 0.051 m. The lazy model now looks 25 times worse, and the signal points at the moving part. The slide pairs this with uncertainty estimates, to handle unreliable targets.

Planning with the predictions

A model that predicts consequences can choose actions. Slide 54 draws a loop with four steps: propose candidate robot motions, predict the scene response for each, evaluate a goal cost on each predicted outcome, and execute briefly, observe, and repeat. The model predicts consequences. The planning objective picks which consequences you prefer. So the same learned model serves different goals.

Plan a push

Warm dots are the predicted end positions of the candidate pushes. The star is your goal. The teal ring marks the chosen candidate. The blue dot is where that push really sends the object.

5
0.03 m

Illustrative: the same toy push dynamics as the last chapter, a made-up forecast error that differs for each candidate, goals at (0.30, 0.20) and (0.55, 0.00) m, candidates are path offsets between −0.8 and 0.8 m, chosen so each larger set contains the smaller one.

With Goal A and 5 candidates the best push is still poor: the real cost is 0.36 m, because no candidate lands near the goal. With 6 candidates a push at offset −0.20 appears and the real cost falls to 0.05 m. Raise the model error to 0.15 and the forecast cost reads 0.20 m while the real cost is 0.05 m: the forecast and reality no longer agree. Switch to Goal B and the same model picks a different push, the head-on one at offset 0. That is the lecture's point about reuse.

PointWorld in use

Slide 55 shows an articulated-object demonstration, a drawer. Watch for three things: the contact, the drawer's response, and the repeated observation-and-action loop. The loop matters because a forecast is a short chunk. Each cycle uses a real observation, so errors do not pile up unchecked. Chapter 10 returns to that.

python
import numpy as np

def plan_step(model, scene, candidates, goal_cost):
    # scene: (N, 3+C) points; candidates: list of (M, K, 3) robot point trajectories
    best, best_cost = None, np.inf
    for a in candidates:                     # propose
        dX = model(scene, a)                    # predict: (N, K, 3) displacements, one forward pass
        final = scene[:, :3] + dX[:, -1]         # X_{i,t+K} = X_{i,t} + dX_{i,K}
        c = goal_cost(final)                    # evaluate
        if c < best_cost: best, best_cost = a, c
    return best                              # execute briefly, then reobserve and call again

The failure: symptom, a plan that wins in the model but fails on the robot. Measurement: the predicted cost of the chosen push is low, the real cost is high. Fix: reobserve every chunk, add candidates, and measure the forecast error in the contact cases that matter.

In the planning loop, which step uses the goal, and which step needs the learned dynamics model?

Chapter 10

Test a 3D World Model on Correspondence, Action, Rollout and Use

See what a point forecast cannot promise, and how to check it

A forecast of a cloth being pulled looks perfect for one step. By step twenty the cloth has folded in a way no cloth can. Nothing in the model "knew" it was wrong. How would you catch that before the robot acts on it?

The last stretch of the lecture is about honest limits. A point forecast is a useful tool. It is not a physics engine, and it is not a mind reader. The slides give a vocabulary for what it can and cannot promise.

Beyond rigid objects: deformable things

Slide 56 shows PointWorld on a deformable object. What a model must predict depends on the representation from Lecture 15.

MeshGraphNets (Pfaff et al., 2021) is the lecture's example of a learned mesh simulator. The slide's caution: connectivity, contact and material properties add structure beyond visible point displacement. A cloth is not a bag of independent points. Neighbouring points stay neighbours.

Three limits of point predictions

Slide 57 lists three limits. Each has a plain meaning.

Partial observation. A depth camera sees surfaces, not insides. Some geometry and physical properties stay hidden, such as how heavy the drawer is, or how much it sticks.

Temporal scope. The model keeps correspondence inside a prediction chunk. Point i is the same point for K steps. After the chunk, the system reobserves, and the next chunk starts from a fresh observation.

Rollout error. Predictions and executed actions can diverge over time. A rollout feeds a model's own output back as its next input. Each small error becomes part of the next input, so errors can compound.

Watch the error compound

The device is a toy error model: each step adds a small new error and also amplifies the error that came before. You choose how often the system looks at the real world again.

Reobserve, or keep predicting

The curve is the forecast error at each step. Each tick on the floor is a real observation that resets it. The yellow line is the most error the task can take.

never
1.20×

Illustrative: the error after each step is the amplification times the previous error, plus 0.02 m of new error. A real observation resets it to zero. The tolerance of 0.10 m is made up for the toy.

With no reobservation and 1.2× amplification, the error is 0.02, 0.044, 0.073, 0.107 at steps 1 to 4. It crosses the 0.10 m tolerance at step 4 and reaches about 3.7 m by step 20, far past anything physical. Reobserve every 3 steps and the largest error is 0.073 m. That is why slide 52 told the planner to reobserve before the next planning step.

Many futures from one observation

Slide 58 adds uncertainty. Unobserved properties mean a similar observation can support more than one plausible future. A worked case: you push a closed drawer. Its friction is unknown. With probability one half it slides 0.40 m, and with probability one half it sticks and moves 0.00 m. A model trained to minimize squared error predicts the average, 0.20 m. That prediction is wrong by 0.20 m in both cases and describes neither world.

So a 3D coordinate output does not remove uncertainty or guarantee physical correctness. The remedy is a model that reports a spread or several futures, and uncertainty estimates in training, which the PointWorld loss included.

Four checks for a 3D world model

Slide 59 says visual realism, geometric accuracy and decision usefulness need separate evidence. It lists four checks.

CheckQuestion to ask
CorrespondenceDoes the same point move to the correct place?
Action responseDo different proposed actions change the forecast correctly?
Long rolloutsDo geometry and identity remain coherent?
Closed-loop useDo predictions help decisions under real observations?

Slide 61 turns the same idea into three consistency tests, each holding something fixed.

Held fixedWhat changesWhat must agree
One scene or recorded eventthe camera viewpointcorresponding surfaces project consistently into both views
One selected surface pointthe time in the observed videothe track follows that same point, including through occlusion
One initial observationthe proposed robot motionthe forecast matches the measured response to that action

Check a reconstruction against views, a track against correspondence, and a forecast against held-out outcomes.

The whole lecture on one grid

Slide 60 collects the lecture into four routes. The lecture's closing line is the one to keep: the training inputs and targets determine what "prediction" means.

RouteRepresentationTraining asks
Geometry recoverypointmaps, cameras, depth, fieldsexplain observed views
Spatial generationnative 3D latents, generated views, spatial memorygenerate plausible shared 3D content
4D perceptioncorresponding points and time-dependent geometryrecover motion in observed video
Future dynamicsscene geometry plus proposed actions or instructionspredict motion before future observations arrive

Open directions, and where physics comes in

Slide 62 names three open problems. Long-term spatial memory: keep geometry and identity through extended exploration. Hidden structure and uncertainty: represent what is not yet observed and what may happen next. Physical interactions: connect geometry to contact, materials and reliable action consequences. Scalable learning must connect perceptual data, generative priors and closed-loop experience.

The final slide asks a question for the next lecture. PointWorld learns how scene points respond to a proposed motion. A physical simulator keeps a state of geometry, positions and velocities. A physical update, from laws, material properties, forces and contact constraints, produces the next state. Neural physics asks where neural representations and learned updates can enter that state-evolution loop.

python
def rollout_error(steps, every, growth=1.2, new=0.02):
    e, out = 0.0, []
    for n in range(1, steps + 1):
        e = growth * e + new               # feed the model its own output: errors compound
        out.append(e)
        if n % every == 0: e = 0.0      # a real observation resets the state
    return out                           # every=3 -> peak 0.0728; never -> 3.73 at step 20

The failure: symptom, a model that is excellent at one step and strange at twenty. Measurement: plot error against step, as in the device. Fix: shorter chunks, reobservation, and training against the model's own rollouts.

A forecast model is accurate at step 1 but drifts badly by step 20 when it feeds on its own outputs. Which fix matches the lecture?

Chapter 11

Field Guide: Numbers, Terms, Code and Where to Go Next

Keep the lecture on one page

Lecture 16 teaches one lesson four times: what a model is trained on decides what it can do. Pointmap supervision teaches 3D from reference geometry. Photo supervision teaches a scene from the images it must reproduce. Track supervision teaches where a point went. Forecast supervision teaches where a point will go, from a scene and an action, with future frames used only as targets.

The numbers to remember

Every figure below comes from a worked example in this lesson. Toy numbers are marked.

IdeaNumberChapter
Pointmap shapeH × W × 3, one 3D position per pixel1
Scale alignment (toy)s = 27.9 ÷ 14 = 1.9931
Global vs registered attention (toy, N = 8)2,458,624 pairs vs 320,896, about 7.7 times fewer2
One ray, three segments (toy)weights 0, 0.632, 0.350; pixel 0.4413
One camera cannot pin the field (toy)fit 0.06 and 1.4 against truth 2 and 63
Memory support at 90 degrees (toy)90 of 180 degrees supported, 50 percent4
Wrong turn rate, 8 instead of 12 degrees (toy)0.126 m off at frame 35
Point on the ray (toy)0 px reprojection error, 1.003 m from the truth6
D4RT query (toy)(1.50, 3.40) in camera 0, (0.75, 3.40) in camera 37
Point flow (toy)(0.10, 0.05, 0.60) + (0.09, 0.01, 0) = (0.19, 0.06, 0.60)8
Forward kinematics, two links (toy)hand at (0.449, 0.482) m9
Movement weighting (toy)plain 0.002 m vs weighted 0.051 m, 25 times worse9
Rollout error, amplification 1.2 (toy)0.073 m peak with reobserving every 3 steps; 3.7 m at step 20 without10

The terms

TermPlain meaningChapter
Scene flow, image flowmotion of a point in 3D, and in pixels0
Pointmapan image-shaped array of 3D positions1
Register attentionviews exchange information through a few summary tokens2
Persistent statea fixed-size memory updated by each new image2
Volume renderingblend samples along a ray by opacity and visibility3
Density controlclone, split and prune Gaussians during fitting3
Native 3D latenta learned code that decodes straight to 3D4
View query, intervention querychange the camera, or change the action4
Canonical fieldthe shared scene in a reference pose that deformation maps to and from5
Reprojection lossdistance in the image between a projected 3D point and its tracked pixel6
Query (u, v, t src, t tgt, t cam)which point, when, in whose axes7
Point flowpredicted 3D displacement of a named point8
Forward kinematicsjoint angles to robot surface positions9
Rollouta model fed its own outputs, step after step10

A checklist before you trust a result

The core as code

python
import numpy as np

def render_ray(sigma, color, delta):               # Ch 3: sigma, color (S,)
    alpha = 1 - np.exp(-sigma * delta)
    T = np.cumprod(np.concatenate([[1.0], 1 - alpha[:-1]]))
    return (T * alpha * color).sum()

def l_reproj(X, u_track, K, R, t):                 # Ch 6: X (N,3) -> pixels (N,2)
    uvw = (X @ R.T + t) @ K.T
    return np.linalg.norm(uvw[:, :2] / uvw[:, 2:] - u_track, axis=-1).sum()

def future_points(model, scene, action):             # Ch 8: scene (N,3+C), action (M,K,3)
    dX = model(scene, action)                          # (N, K, 3) point flow, one forward pass
    return scene[:, None, :3] + dX                    # X_{i,t+k} = X_{i,t} + dX_{i,k}

def l_motion(pred, target, w, valid):                # Ch 9: weighted robust residual
    d = np.linalg.norm(pred - target, axis=-1)         # swap in a robust rho for real training
    return (w * d)[valid].sum()

def plan(model, scene, candidates, goal_cost):        # Ch 9: propose, predict, evaluate
    costs = [goal_cost(future_points(model, scene, a)[:, -1]) for a in candidates]
    return candidates[int(np.argmin(costs))]           # execute briefly, then reobserve

Run render_ray on the Chapter 3 ray and you get 0.441. Use future_points on the Chapter 8 point and you get (0.19, 0.06, 0.60) at the third step.

Where this sits

Lecture 13 predicted pixels. Lecture 15 gave the stores for a 3D and 4D world. This lecture shows how to fill them from images, and how to forecast how points move when a robot acts. The last slide asks how learned updates can enter a physical state-evolution loop. That is the neural physics question.

Keep going

The takeaway. Ask three questions of any 3D or 4D model: what did it see when it ran, what was it trained to match, and what does it report when it does not know.
PointWorld's training targets come from tracking models run on recorded video, yet at test time it needs no future frames. What makes that consistent?

Credit and sources

This lesson follows Lecture 16 of Penn CIS 6280: World Models (Fall 2026), taught by Jiatao Gu. Read the lecture on the course site and in the lecture slides. The works the lecture cites include DUSt3R, VGGT, VGGT-Ω, CUT3R, NeRF, 3D Gaussian Splatting, Hunyuan3D 1.0 and 2.1, TRELLIS.2, GEN3C, Lyra 2.0, Atlas (World Labs), D-NeRF, 4D Gaussian Splatting, St4RTrack, SpatialTrackerV2, D4RT, PointWorld, the Video-Point Model, PointWAM, 3D Point World Models and MeshGraphNets. All explanations, devices and toy numbers here are our own, built to teach the lecture's ideas.

Now press Teach and explain, from memory, why a forecast needs the action and a track does not. Then go back to the track-or-forecast instrument at the top and slide "now" once more.

CIS 6280 Lecture 16: Learning 3D and 4D World Models
The course site · Lecture slides · Back to Lecture 15 · Back to Gleams