Imitation Learning vs Reinforcement Learning
People think robots learn every skill by trial and error, and they do not. In reinforcement learning, the robot tries things and learns from a score. In imitation learning, a person shows the task and the robot copies it. Copying is quicker to start. But the robot only gets as good as the examples it saw.
Imitation Learning
Teaching a robot by showing it. It copies what a person did.
Imitation learning teaches a robot by showing it what to do. A person does the task many times, often by steering the robot with a controller. The robot records what it saw and how it moved each time. A model then learns to copy those moves from the same views. The simplest kind is called behavior cloning. It needs no reward, but it only learns as well as the examples it was shown.
Reinforcement Learning
Learning by trial and error. Good actions earn rewards, so the agent repeats them.
Reinforcement learning is learning by trying things and getting rewards. A program, called the agent, takes an action in some world. The world changes and hands back a reward or a penalty. The agent repeats this many times and learns which actions lead to the most reward over time. Nobody shows it the right moves, only the score.
In one line
- Imitation Learning
- Teaching a robot by showing it. It copies what a person did.
- Reinforcement Learning
- Learning by trial and error. Good actions earn rewards, so the agent repeats them.