Settings

Theme

The Little Book of Reinforcement Learning

github.com

213 points by mustaphah · 28 comments

Reader

7 threads
verdverm

This looks like a good pre-read for Nathan Lambert's https://rlhfbook.com/

newsomix9xl

Real biological operant behavior isn't exactly trial and error learning.

Many factors shape and guide initial responses.

What I've noticed in some descriptions of models is the use of optimization for reinforcement to shape responses. In real organisms behavior may be controlled by short or long term outcomes, and may oscillate between this "optimization" based on schedules. This produces variability in the trials which can adjust behavior. Are we seeing these reinforcement models do this?

  • herodoturtle

    I found this comment/question deeply intriguing.

    I’m no expert at this and was wondering what you meant by the following:

    > In real organisms behavior may be controlled by short or long term outcomes, and may oscillate between this "optimization" based on schedules

    Could you perhaps provide an example that would help me understand what you mean?

    Thanks for the insightful comment either way.

    • newsomix9xl

      In humans this is often called impulsivity, the preference for smaller sooner outcomes. This is often seen in children and animals and in some adult human behavior.

      An impulsive choice is not optimal. You can buy a cheaper pack of gum at Costco in a week or get one for three times the cost right now.

  • ainch

    There is a field of hierarchical RL in which the optimisation occurs over a range of time scales/abstraction. But I'm not aware of much practical success for these approaches so far.

programjames

I skimmed through the book, and it's lacking the information theory foundations. For example, "trust region methods" come from maximizing the policy's relative entropy (to a reference policy) under a tournament system where high-scoring agents are exponentially likely to survive. In general, a reward is the negative bits it costs an environment to propagate an agent (multiplied by some temperature).

  • ainch

    Do you have a good source on this information theory framing? I don't remember it being covered in Sutton & Barto.

    • porridgeraisin

      It's just another way to frame it. It's as foundational as the many other ways to frame it. I'm not aware of any major insight you get specifically from this framing. Is there one?

janalsncm

I wonder what Sutton thinks about some of the more recent innovations in RL like GRPO. In some ways it’s new, in other ways it’s an echo of RLOO.

  • porridgeraisin

    GRPO is policy gradient/PPO with your value function baseline monte carlo estimated using k rollouts. The only new thing is finding out it works well with binary rewards and LLM policies.

    • janalsncm

      It is a huge improvement to PPO because you don’t need a separate critic model which cuts memory costs in half and stabilizes training.

laurensr

This reminds me of the Little Book of Calm, discussed extensively in the Black Books TV series.

johnea

Is this riffing on Strunk and Whites: The Elements of Style?

Often referred to as "The Little Book".

Envwnger

Should have named it little RL book.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection