Reinforcement Learning Overview


Reinforcement Learning Overview

Maria
So, Michael, you mentioned we're finally diving into the algorithms of reinforcement learning. Where do we start?

Michael
Right! First, a quick recap. In RL, an agent interacts with an environment via actions, observes states, and gets rewards. The goal is to maximize cumulative reward. The agent's strategy is the policy π, and the value function V tells you how good a state is.

Maria
And there's a discount factor for future rewards, like in economics. But why is this problem so hard?

Michael
Because state spaces are huge. In chess, there are about 10^47 possible states. You can't enumerate them. So we need efficient ways to learn optimal policies.

Maria
So what's the first big split in RL approaches?

Michael
It's between model-based and model-free. If you have a model of the environment—like a known Markov decision process—you can use dynamic programming methods like policy iteration or value iteration. They rely on Bellman's optimality condition.

Maria
And for continuous control problems, like robots, you'd use the Hamilton-Jacobi-Bellman equation, right?

Michael
Exactly. But those methods are hard to scale to high dimensions. That's why model-free methods are often used. They don't assume a model; they learn purely from experience.

Maria
And within model-free, there's another split: gradient-free versus gradient-based methods.

Michael
Yes. Gradient-free methods don't compute derivatives of the reward. They include on-policy methods like SARSA, where you always use your current best policy to explore, and off-policy methods like Q-learning, where you can learn from suboptimal actions or even watching others.

Maria
So Q-learning can use data from any policy, not just the current one. That makes it more sample efficient, right?

Michael
Exactly. And it's the basis for many modern successes. On the other hand, gradient-based methods like policy gradients directly optimize the policy parameters using gradient ascent. They can be faster but require a differentiable objective.

Maria
And then deep reinforcement learning combines these with neural networks. That's what made AlphaGo and Atari games possible.

Michael
Yes. Deep Q-networks represent the Q-function with a neural net. Actor-critic methods learn both policy and value networks. Deep model predictive control also fits in. So the landscape is broad, but the key choices boil down to whether you have a model, and if not, whether you can use gradients.

Maria
So for someone starting out, what would you recommend they focus on first?

Michael
I'd start with the basics: policy iteration and value iteration for small MDPs, then move to Q-learning. That gives you a solid foundation. Then explore deep RL once you understand the core ideas.

Maria
Great. And this chapter from your book covers all that, right?

Michael
It does. We'll go through each method in detail in future videos. The chapter is free to download. So stay tuned!

Ask anything
We've read this whole study set, so questions about it get the best answers.