Policy
A rule by which the agent in reinforcement learning selects an action: receives a state — selects an action.
Types
- Deterministic — always one action per state;
- Stochastic — outputs a probability distribution over actions.
In LLM
The concept of strategy is close to sampling: the model outputs token probabilities, and the strategy decides which one to choose. In RL, the strategy is the model itself, which is being trained.