プリンキピア

第17章強化学習

17.2.3. Action-Value Function17.2.3 行動価値関数

In implementations, it is often useful to maintain a quantity called the “action value” function which is a closely related quantity to the value function. This is defined to be the average return of a trajectory that begins at s0 but when the action of the first stage is fixed to be a0
英語のヒント
実装では、価値関数と密接に関係する量である「行動価値」関数と呼ばれる量を保持しておくと便利なことが多い。これは、s0から始まるが最初の段階の行動がa0に固定されているときの、軌跡の平均の収益として定義される。
Qπ(s0,a0)=r(s0,a0)+Eat∼π(st)[∑t=1∞γtr(st,at)],(17.2.4)
note that the summation inside the expectation is from t=1,…,∞ because the reward of the first stage is fixed in this case. We can again break down the trajectory into two parts and write
英語のヒント
ここで、この場合は最初の段階の報酬が固定されているので、期待値の中の和はt=1,…,∞にわたることに注意しよう。再び軌跡を二つの部分に分けて、次のように書ける。
Qπ(s,a)=r(s,a)+γ∑s′∈𝒮P(s′∣s,a)∑a′∈𝒜π(a′∣s′) Qπ(s′,a′);  for all s∈𝒮,a∈𝒜.(17.2.5)
This version is the analog of (17.2.3) for the action value function.
英語のヒント
これは、行動価値関数についての(17.2.3)の類似物である。