the.ai

Planning / Methods

verified

Imitation Learning

Rather than specify a reward, show the behaviour you want and have the model copy it. It sidesteps reward design entirely, which is the hardest part of reinforcement learning in practice. The weakness appears the moment the learner drifts somewhere the expert never went — it has no demonstration for the situation its own mistake created.

Viz primitive · loss-curvesteps = 2000 · lr = 0.002 · batch = 64 · params = 1
loss
step 0dashed = held-out2000

Loss over 2000 training steps, starting near 7.2. It falls to about 1.95, with 93% of the total improvement arriving in the first half. A second line shows held-out, ending higher at about 2.22.

Loss on the expert's own states against loss on the states the learner drifts into. Drag the drift up to watch the second curve leave the first — every demonstration is on the first distribution and none is on the second.

0.2

Reviewed by opendroid · 2026-08-18