プリンキピア

第17章強化学習

17.2.1. Stochastic Policy17.2.1 確率的方策

A stochastic policy denoted as π(a∣s) (policy for short) is a conditional distribution over the actions a∈𝒜 given the state s∈𝒮, π(a∣s)≡P(a∣s). As an example, if the robot has four actions 𝒜= {go left, go down, go right, go up}. The policy at a state s∈𝒮 for such a set of actions 𝒜 is a categorical distribution where the probabilities of the four actions could be [0.4,0.2,0.1,0.3]; at some other state s′∈𝒮 the probabilities π(a∣s′) of the same four actions could be [0.1,0.1,0.2,0.6]. Note that we should have ∑aπ(a∣s)=1 for any state s. A deterministic policy is a special case of a stochastic policy in that the distribution π(a∣s) only gives non-zero probability to one particular action, e.g., [1,0,0,0] for our example with four actions.
英語のヒント
π(a∣s)と表す確率的方策(略して方策)は、状態s∈𝒮が与えられたときの行動a∈𝒜についての条件付き分布π(a∣s)≡P(a∣s)である。例として、ロボットに四つの行動𝒜= {go left, go down, go right, go up}(左へ、下へ、右へ、上へ)があるとしよう。そうした行動の集合𝒜に対する状態s∈𝒮での方策はカテゴリ分布で、四つの行動の確率はたとえば[0.4,0.2,0.1,0.3]でありうる。別の状態s′∈𝒮では、同じ四つの行動の確率π(a∣s′)は[0.1,0.1,0.2,0.6]でありうる。どの状態sについても∑aπ(a∣s)=1でなければならないことに注意しよう。決定的方策は確率的方策の特別な場合で、分布π(a∣s)が一つの特定の行動にしか0でない確率を与えないものである。たとえば、四つの行動の例では[1,0,0,0]である。
To make the notation less cumbersome, we will often write π(s) as the conditional distribution instead of π(a∣s).
英語のヒント
記法をわずらわしくしないため、条件付き分布を、π(a∣s)ではなくπ(s)と書くことが多い。