← Course Home Module 6 · Self-Supervision & Implicit 3D Models
Module 6 · Core Machinery

Self-Supervision & Implicit 3D Models

This is the module where Paper 2's machinery clicks into place: how a robot can label its own training data, how a neural network can be a 3D shape, how NeRF learns 3D from 2D photos — and how the FFKSM adapts that recipe to a moving body watched by a single camera.

▶
Audio recap
A ~2-minute spoken summary of this module — great for revision on the go.

6.1 Learning without labels

Supervised learning needs labelled examples, and labels usually mean expensive human annotation. Self-supervised learning sidesteps this: the supervision signal is generated from the data itself. Paper 2's robot is its own annotator. During motor babbling — random exploratory movement, like an infant flailing to discover its limbs — every frame automatically pairs two things the robot already has:

That pairing is the labelled dataset: 12,000 frames, no human annotation anywhere. The model's job is to predict the image from the angles; reality grades the prediction.

The self in self-supervised Nobody tells the robot what its body looks like. It moves, it watches, and the mismatch between what it predicted it would look like and what it actually looked like is the entire teaching signal. This is also why the same signal can later detect damage (6.6): the teacher never goes away.

6.2 Implicit representations: models you query

Explicit 3D representations store the shape directly: meshes (triangles), CAD models, point clouds. An implicit representation stores no geometry at all — instead, a neural network is the shape:

f(x, y, z) → “occupied?”

Ask the function about any point in space and it answers. Three properties make this powerful:

The model IS the simulation A CAD file needs a physics/rendering engine around it before you can ask questions. An implicit model needs nothing: the network's forward pass is the act of simulating "would my elbow be here?". That is exactly what the paper's title means by robots building simulations of themselves.

6.3 NeRF in one page

Neural radiance fields (NeRF) learn a 3D scene from many ordinary 2D photos. The recipe:

The remarkable part: no 3D supervision anywhere. Because every photo constrains what the field must look like from that viewpoint, many 2D images jointly pin down the 3D structure. The network is never told the geometry — it is forced to invent geometry that explains all the pictures at once.

6.4 The FFKSM: NeRF's robot cousin

Paper 2's free-form kinematic self-model keeps NeRF's core bet — an implicit field trained only against 2D images — but changes three things:

The failed baseline that explains the design The authors first tried adopting NeRF's volume-rendering directly — single density output, cumulative transmittance along the ray. It produced only black images. Why: they have no direct density ground truth, only 2D silhouettes from a stationary camera, and only the camera-facing side of the robot affects any pixel. NeRF's transmittance machinery had nothing to grab onto. Their fix — letting the network learn a separate visibility output α deciding how much each point contributes to the pixel — was not a tweak but a necessity. Expect the examiner to probe this.

The full pipeline, one query point at a time:

query point X→ rotate by first joints: X′ = T−1X→ positional encoding (3→33)→ coordinates encoder C(·)→ predictive module P(·)
joint angles A₂, A₃→ positional encoding (2→22)→ kinematic encoder K(·)→ predictive module P(·)→ (σ, α)→ render pixel→ MSE vs binary silhouette

Three fully-connected networks, three jobs. The coordinates encoder C(·) sees the query point after it has been transformed into virtual coordinates by the first two joints' rotations, X′ = T−1X with Ryaw(A₀) and Rpitch(A₁) — geometrically equivalent to the camera moving while the robot base stays put, so those two joints never need to be learned. The kinematic encoder K(·) handles the remaining angles A₂, A₃. The predictive module P(·) fuses both encodings and outputs, for query point k on the camera ray through pixel (i, j):

σ = 1 − exp(−ReLU(B)) density: always positive, smooth
Predij = Σk σijk · αijk render: sum over M points on the ray
L = 1WH ΣiΣj (Predij − GTij)² loss: MSE vs ground-truth silhouette

Density σ says "is my body here?"; visibility α says "does this point actually influence what the camera sees?". Their product, summed along the ray, is the predicted pixel; the MSE against the 100×100 binary camera image is the entire loss. Everything the model knows was forced into it by that one comparison.

6.5 Positional encoding

Why not feed raw (x, y, z) straight into the coordinates encoder? Because neural networks are biased toward smooth functions of their inputs — raw low-dimensional coordinates make it very hard to learn sharp spatial detail like a thin robot link against empty space. The fix, standard across the NeRF family, is to expand each input through sines and cosines at multiple frequencies — 5 frequencies here — before the network sees it:

The high-frequency features give the network ready-made "wiggly" basis functions, so representing fine structure no longer fights its smoothness bias. This is the mirror image of one-hot encoding from Module 1.7: there a raw number said too much (false order); here a raw number says too little (no fine-scale handles).

6.6 What a differentiable self-model buys you

Because the FFKSM is differentiable end-to-end, gradient descent can optimize not just the weights during training but the inputs after training. That single fact powers all three of Paper 2's demonstrations:

Teaser Module 10 walks through the full results: spiral trajectory tracking, obstacle avoidance with two FFKSMs plus RRT, and the bent-link damage-recovery experiment with 10 to 10,000 recovery samples. Here you only need the why: differentiability and queryability are what convert a passive shape model into a controller, a planner, and a health monitor.
Exam warm-up — say it out loud
  1. What makes Paper 2's training self-supervised rather than supervised — where do the labels come from?
  2. Explain implicit vs explicit 3D representations, with one advantage of each.
  3. Why did adopting vanilla NeRF volume rendering fail here, and what replaced it?
  4. Why is differentiability the load-bearing property of the FFKSM — name the three capabilities it unlocks.

Module 6 Quiz

10 questions. This is the technical heart of Paper 2 — aim for mastery, not a pass.

← Previous
Module 5: Recurrent Networks — LSTM & GRU