The short answer
Not in the way the question usually means. Reinforcement learning trains an agent by letting it act in an environment and giving it rewards. It doesn’t learn from a fixed set of labeled examples, and it doesn’t typically train on a pool of unlabeled examples either. Its data is the experience the agent collects while acting. Some research does combine reinforcement learning with unlabeled data, so the answer depends on the setup.
Unsupervised learning is the usual answer to which learning uses unlabeled data. Reinforcement learning doesn’t fit that pattern well.
How reinforcement learning works
A reinforcement learning setup usually has five parts:
- Agent: the learner that makes decisions.
- Environment: what the agent acts in, such as a game or a simulated robot.
- State: what the agent observes at a given moment.
- Action: what the agent chooses to do.
- Reward: a number that signals how good the result was.
The agent tries to choose actions that lead to more reward over time. Through many rounds of acting and receiving feedback, it can learn a strategy for choosing actions, which is called a policy.
Why it doesn’t fit the labeled or unlabeled split
In supervised learning, each training example has a label that gives the correct output. In reinforcement learning, the feedback is a reward. It may arrive late, after many actions, and it doesn’t say which action was right. The agent has to work out, through trial and error, which choices led to good outcomes.
Where unlabeled data can appear
Unlabeled data can show up around reinforcement learning in a few ways:
- Learning representations. An agent may first learn compact representations of raw observations, such as video frames, using self-supervised methods on unlabeled data.
- Offline reinforcement learning. The agent learns from a log of past interactions recorded in advance, and it doesn’t gather new experience during training. These logs include rewards, so they aren’t unlabeled in the supervised sense.
- Learning from observations alone. Some research studies how agents might learn from observation data, such as recorded video without actions or rewards. This is an active research area, and the methods vary widely.
How the learning types compare
| Type | Feedback the learner gets |
|---|---|
| Supervised | A label for each example |
| Unsupervised | None; it finds structure in unlabeled data |
| Reinforcement | Rewards from actions taken in an environment |
Introductions to machine learning often answer what are the main 3 types of ML models with supervised, unsupervised and reinforcement learning. Reinforcement learning stands apart from the other two in how it gets its feedback.
Takeaway
For most readers, the simple answer is no: reinforcement learning is driven by rewards, not by labeled or unlabeled datasets. The more precise answer is that it can be combined with unlabeled observations in research, but that is a design choice layered on top of reinforcement learning rather than what defines it.