Glossary

What is Policy gradient?

In Turkish: Politika gradyanı · Topic: Math foundations

A family of reinforcement learning methods that improve an agent's behavior rule, its policy, by adjusting it directly rather than going through a table of values.

How does it work?

The policy is usually a neural network that looks at the situation and outputs probabilities for each action. The agent plays a few episodes with this policy and measures how much reward each one earned. The network's weights are then updated in small gradient steps so that actions in high-reward episodes become more likely and actions in low-reward ones become less likely. As this loop repeats, the policy improves. Because action choice is probabilistic, the approach also works comfortably with continuous action spaces.

Why does it matter?

Policy gradients are a natural choice for tasks that need continuous movement, such as robot control. PPO, one of the methods used to train chat models with human feedback, belongs to this family. That is why the term comes up indirectly in news about aligning large language models.

Example

A robot learning to walk in simulation raises the probability of the movements from episodes where it advanced without falling, gradually developing a balanced gait.

FAQ

What is the difference between policy gradient and Q-learning?

Q-learning first learns the value of actions and then picks the most valuable one. A policy gradient method learns the rule that chooses the action directly and does not need value estimates.

What is the weakness of policy gradient methods?

Because episode outcomes depend partly on chance, the gradient estimate is noisy, which can make training slow and unstable. Various techniques are used to reduce that noise.

All terms