r/reinforcementlearning • • 7d ago

DL Looking for project-based resources to learn Reinforcement Learning (RL)

I'm looking for good resources to learn RL through a hands-on, project-oriented approach.

I'd prefer resources where I can learn concepts by building projects, implementing algorithms, experimenting with different approaches, and modifying existing implementations to understand how things work under the hood.

I'm comfortable with programming and have some ML/DL background, so I'm open to GitHub repositories, practical courses, tutorials, or research-oriented projects.

I'd really appreciate recommendations from people who've learned RL through this approach. What resources helped you the most?

21 Upvotes

6 comments sorted by

11

u/cons_ssj 7d ago

This comes from my experience dealing with undegrads and master students with 0 experience in RL. Unfortunately, if you have no clue about ML and the math behind, you will struggle. I have supervised students and I have all the good will to teach them but the gap of the required knowledge and what they already know is huge. And on top of that function approximation with neural networks makes it almost impossible. If you collaborate with someone you will become more of a hindrance than help.

My recommendation is to look at the problems in the book of Barto and Sutton. These are small constrained problems that will help you understand the foundational blocks. Solve them entirely by yourself with no help from LLMs. If you cannot code by yourself a tabular Qlearning approach do not expect to use PGs or DeepQ methods and understand them. When the foundational blocks are fully understood then you can use LLMs to inplement them and start looking at more complex problems.

4

u/chizkidd 6d ago

I’d say to supplement projects with a little bit of theory side-by-side. Sutton and Barto RL book is a great resource, I went through all of it and distilled it into notes. You can find my notes here: https://github.com/chizkidd/rl-sutton-barto-notes. If you prefer PDF: https://chizkidd.github.io/rl-sutton-barto-notes/rl-notes.pdf

Also HuggingFace has a reinforcement learning course that is project based. You can find my implementation here: https://github.com/chizkidd/huggingface-deep-RL-course

2

u/chingford-explorer 7d ago

Great course on udemy by Tom Walker

1

u/Krekken24 7d ago

You could take a look at hugging face courses.

1

u/joonohani 5d ago

I learned most of what I know by building a bot for the board game Quoridor.

Pick a small game where you can write a simple scripted opponent, like an alpha-beta search a few moves deep. You then have one number to track, win rate against that opponent, and you can tell whether a change helped.

I started with PPO from Stable-Baselines3 and got nowhere: 18 versions, and against my scripted engine it won 0 to 2 games out of 40. Once I had it imitate a 3-ply search first and fine-tuned with RL afterwards, it won over 90%. Later I rewrote the whole thing AlphaZero-style (policy/value net plus MCTS), and MCTS made sense to me only after I wrote the tree search myself.

Log every run, including the failed ones, since most of what I learned came from runs that got worse.