Skip to content
BIASED

Reinforcement learning for language models

Block 1 of 7~2 min

From fixed weights to RL

Multi-agent systems built agents around a model whose weights never changed: prompts, tools, memory and structure did the learning. This section changes the weights. The tool is the policy gradient of Policy gradients and actor-critic; the policy is the language model of The language model as a policy, read at the token level: state st=(x,y<t)s_t=(x,y_{<t}), action the next token, reward when the response is complete. The NLP course’s instruction-tuning note introduced reward models, RLHF and DPO; this topic derives the objective those methods optimize and how PPO and GRPO approach it.

Answers are saved on the server and tied to this browser until you sign in.