AI & ML Atlas
Reinforcement LearningalgorithmAnimated walkthrough
Imitation Learning
Learns to act by copying demonstrations from an expert.
The idea
When designing a reward is hard but demonstrations are available, learn from them. Behavioural cloning treats it as supervised learning; DAgger asks the expert to correct the learner's own mistakes; inverse RL and adversarial methods (GAIL) recover the intent behind the behaviour.
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Collect expert (state, action) demonstrations.
- 2Train a policy to reproduce the expert's choices.
- 3Run the policy and see where it drifts.
- 4Optionally query the expert there and add the corrections.
1/4
Step by step
- 1Collect expert (state, action) demonstrations.
- 2Train a policy to reproduce the expert's choices.
- 3Run the policy and see where it drifts.
- 4Optionally query the expert there and add the corrections.
Where it is used
Driving, robotic manipulation, game AI.
Watch out for
Errors compound: the learner reaches states the expert never showed.