Skip to Content
  • Reinforcement Learning Part 12: The Policy Gradient

    Reinforcement Learning Part 12: The Policy Gradient

    In the previous post, we introduced the breakthrough concept of combining deep learning and reinforcement learning (RL). Instead of recording estimated Q-values in a table, which is intractable for large or continuous state spaces, we approximated those Q-values using a neural network. This simple act spawned the current generation of deep RL, paving the way…

    Read more


  • Reinforcement Learning Part 11: Deep Q-Networks (DQN)

    Reinforcement Learning Part 11: Deep Q-Networks (DQN)

    Previously, we looked at how Q-learning used off-policy temporal difference (TD) updates to converge on an optimal policy. This reinforcement learning (RL) algorithm works surprisingly well, but it requires the environment to have relatively small, discrete state and action spaces. The Q-table can quickly grow to intractable sizes with environments that have a large number…

    Read more


  • Reinforcement Learning Part 10: Q-Learning

    Reinforcement Learning Part 10: Q-Learning

    One of the biggest breakthroughs in reinforcement learning (RL) occurred in 1989 with Chris Watkins’s paper, Learning from Delayed Rewards. In it, he proposed Q-learning, which decouples the experience gathered from the policy update. In other words, the agent can collect experience using one policy (called the behavior policy) while updating a different policy (called…

    Read more


  • Reinforcement Learning Part 9: TD(λ) and Eligibility Traces

    Reinforcement Learning Part 9: TD(λ) and Eligibility Traces

    In the previous post, we saw how temporal difference (TD) learning updated value predictions in the middle of an episode rather than waiting to the very end, like we do with Monte Carlo (MC) methods. If you recall, the TD(0) algorithm updates value estimates after every step using a single reward in order to bootstrap…

    Read more


  • Reinforcement Learning Part 8: Temporal-Difference (TD) Learning

    Reinforcement Learning Part 8: Temporal-Difference (TD) Learning

    Temporal Difference (TD) learning is one of the foundational concepts in reinforcement learning (RL). It combines the notion of updating estimates before the final outcome is known, similar to how dynamic programming (DP) works, with the notion of learning directly from experience, like we saw with the Monte Carlo (MC) methods in part 7. MC…

    Read more