Generating key points…
Answers are grounded in this paper and cite their sources.
We consider a system with a finite number of states, 1, 2, ⋯, S. Periodically we observe the current state of the system and perform an action, a, from a finite set A of possible actions. As a joint result of s, the current state, and a, the action performed, two things occur: (1) we receive an immediate return $r(s, a)$; and (2) the system moves to a new state $s'$ with probability q(s' s, a). (For several interesting and occasionally amusing concrete examples of this setup, the reader is referred to Howard's excellent book, [4].) Let F be the (finite) set of functions from S to A. A policy π is a sequence (⋯, fₙ, ⋯, f₁) of members of F. Using n steps of the policy π means observing the system, and upon finding s₀, performing action fₙ(s₀), observing the next state s₁ and performing fₙ₋₁(s₁) and so on until after $n - 1$ of these steps have been completed one observes sₙ₋₁ and performs action f₁(sₙ₋₁) and then stops. The expected (total) return using n steps of π given that the initial state is s₀ is denoted vₙ(s₀, π). A policy π is optimal if vₙ(s, π) vₙ(s, π') for any policy π' and all n and s. In other words, π is optimal if the return using n steps of π cannot be exceeded by using n steps of any other policy regardless of n and the initial state of the system. Obviously, vₙ(s, π) for optimal π may be calculated by value iteration, that is, by the use of the recursion vₙ₊₁(s, π) = maxₐ r(s, a) + ∑s' q(s' s, a)vₙ(s', π). Similarly an optimal π may be generated by letting f₁(s) be any a with r(s, a) r(s, a') for all $a'$, and letting fₙ₊₁(s) be any a for which the expression on the right side of the above equation attains its maximum. This paper is concerned with the return of an optimal policy π. The principal results are as follows: A policy is eventually stationary if for $m, n$ sufficiently large, fₘ = fₙ, that is, if the sequence which is the policy consists of one member of F repeated infinitely often followed by a finite arbitrary sequence. In Section 3, an example is given where there is only one optimal policy and it has the form (⋯, f, g, f, g, f, g), an oscillating sequence of two members of F which shows that there may not be an eventually stationary optimal policy. The author has not determined whether the example represents the worst possible behavior of optimal policies or whether there are cases where there is no periodic optimal policy. For an optimal policy π, the gain of the policy, defined by limₙ n⁻¹vₙ(s, π), exists; it will be denoted by v⁽s, π). It is shown in Lemma 3.1 that if π is optimal then there is an N such that limₙ vnN+r(s, π) - (nN + r)v⁽s, π) exists for any r, that is, asymptotically, the return oscillates periodically around the long range average return. One of the major results of the paper is that there is a stationary policy σ, i.e., one for which fₘ = fₙ for all $m, n$, which has the same gain as the optimal policy π, symbolically, v⁽s, σ) = v⁽s, π) for all s. In fact a stronger result is true (Theorem 4.2), namely that there is some constant C such that vₙ(s, π) - vₙ(s, σ) < C for all n and s. Although it is not known whether all optimal policies are eventually periodic, it is shown (Corollary 4.9 of Theorem 4.8) that there is an eventually periodic policy whose return is an arbitrarily small amount less than that of the optimal policy. Formally, for any ε > 0, there is a policy σ with the property that for some N, fn+N = fₙ for n sufficiently large such that vₙ(s, π) - vₙ(s, σ) < ε for all n and any s. The final section contains further results for the special case that q(s' s, a) > 0 for all $s', s, a$.
No takes yet. Share an insight, caveat, or question.
A 1965 study studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: