プリンキピア

第17章強化学習

17.2.4. Optimal Stochastic Policy17.2.4 最適な確率的方策

Both the value function and the action-value function depend upon the policy that the robot chooses. We will next think of the “optimal policy” that achieves the maximal average return
英語のヒント
価値関数も行動価値関数も、ロボットが選ぶ方策に依存する。次に、平均の収益を最大にする「最適方策」を考えよう。
π∗=argmaxπVπ(s0).(17.2.6)
Of all possible stochastic policies that the robot could have taken, the optimal policy π∗ achieves the largest average discounted return for trajectories starting from state s0. Let us denote the value function and the action-value function of the optimal policy as V∗≡Vπ∗ and Q∗≡Qπ∗.
英語のヒント
ロボットがとりえたすべての確率的方策の中で、最適方策π∗は、状態s0から始まる軌跡について、割り引いた平均の収益を最も大きくする。最適方策の価値関数と行動価値関数を、V∗≡Vπ∗とQ∗≡Qπ∗で表そう。
Let us observe that for a deterministic policy where there is only one action that is possible under the policy at any given state. This gives us
英語のヒント
どの状態でも方策のもとでとりうる行動が一つしかない決定的方策について見てみよう。これから次が得られる。
π∗(s)=argmaxa∈𝒜[r(s,a)+γ∑s′∈𝒮P(s′∣s,a) V∗(s′)].(17.2.7)
A good mnemonic to remember this is that the optimal action at state s (for a deterministic policy) is the one that maximizes the sum of reward r(s,a) from the first stage and the average return of the trajectories starting from the next sate s′, averaged over all possible next states s′ from the second stage.
英語のヒント
これを覚えるよい方法は、状態sでの(決定的方策の)最適な行動は、最初の段階からの報酬r(s,a)と、次の状態s′から始まる軌跡の平均の収益を、2番目の段階のありうるすべての次の状態s′について平均したものとの和を最大化する行動である、と覚えることである。