Reinforcement learning

J(θ)=Eτ∼πθ[R(τ)]J(\theta) = \mathbb{E}_{\tau \sim \pi_\theta}\left[R(\tau)\right] Objective J

J(θ) is the objective: the quantity to maximize, such as the expected return of a policy.

In ML papers

J(θ)J(\theta) is the objective as a function of the parameters θ\theta. In reinforcement learning it is usually the expected return of the policy πθ\pi_\theta, and training does gradient ascent: θ←θ+α∇θJ(θ)\theta \leftarrow \theta + \alpha \nabla_\theta J(\theta). The policy gradient theorem gives that gradient as E[∇θlog⁡πθ(a∣s) A(s,a)]\mathbb{E}\left[\nabla_\theta \log \pi_\theta(a \mid s)\, A(s, a)\right].

PPO's clipped surrogate is written LCLIP(θ)L^{\text{CLIP}}(\theta) and maximized; other papers name such surrogates J\mathcal{J}. The difference from a Loss (ℒ) L\mathcal{L} is only the direction: you maximize JJ and minimize L\mathcal{L}, and L=−J\mathcal{L} = -J turns one into the other.

Other meanings, by context

How to type it

LaTeXShows
J(\theta)J(θ)J(\theta)
\mathcal{J}(\theta)J(θ)\mathcal{J}(\theta)

A worked example

θ←1.0+0.1×3=1.3\theta \leftarrow 1.0 + 0.1 \times 3 = 1.3

With a gradient of 33 and a step size of 0.10.1, ascent moves the parameter up, toward higher expected return.

Equations that use it

Related

L(θ)\mathcal{L}(\theta)Loss (ℒ)pθ(x)p_\theta(x)ThetaEx∼p[f(x)]\mathbb{E}_{x \sim p}[f(x)]ExpectationAπ(s,a)=Qπ(s,a)−Vπ(s)A^\pi(s, a) = Q^\pi(s, a) - V^\pi(s)Advantage A

Decode this example →