Prompts Forms Resume Reports ★ Saved ★ Saved★ + Submit a tool
Core concepts

Reinforcement Learning

About 1267 characters Updated Nov 30, 2026 40 views AI wiki

Reinforcement Learning (RL) is a method in which an agent learns an optimal policy through repeated trial and error in an environment, guided by reward signals. It does not tell you the correct answer; it only tells you whether a step was good or bad.

An Intuitive Way to Think About It

Training a puppy. Do it right and it gets a treat; do it wrong and it gets nothing. The dog does not know the precise meaning of the word "shake", but through repeated attempts and reward feedback it learns. Reinforcement learning works exactly the same way.

Core Elements

  • Agent: the entity that makes decisions
  • Environment: the world the agent lives in
  • State: the current situation
  • Action: the available next step
  • Reward: immediate feedback on an action
  • Policy: the mapping from states to actions, that is, "what to do"

Key Difficulties

Delayed reward is the biggest challenge. In Go, the quality of a move may only become clear dozens of moves later. This requires the algorithm to balance "immediate gain" against "long-term gain".

Landmark Breakthroughs

  • AlphaGo / AlphaZero: defeated human Go champions
  • RLHF: reinforcement learning from human feedback, the key technique that made ChatGPT conversational and polite
  • Robot control: robotic arm grasping and quadruped walking

Role in Large Models

Training today's large models generally has three stages: pretraining, supervised fine-tuning, and RLHF alignment. This last stage determines whether a model's answers are safe, useful, and aligned with human preferences.