Formula

On-Policy Objective Function

In reinforcement learning, the on-policy objective function evaluates the performance of a policy πθ\pi_\theta using trajectories generated exclusively by that same policy. This performance measure, denoted as J(θ)J(\theta), is defined as the expected cumulative reward R(τ)R(\tau) over the distribution of trajectories τ\tau generated by following πθ\pi_\theta. The goal of the agent is to find the policy parameters θ\theta that maximize this value. The formula is: J(θ)=Eτπθ[R(τ)]J(\theta) = \mathbb{E}_{\tau \sim \pi_\theta} [R(\tau)]

0

1

Updated 2026-06-29

Contributors are:

Who are from:

Tags

Ch.4 Alignment - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences