Stochastic Dynamic Programming and the Control of Queueing Systems IV: Average Cost Optimal Stationary Policies Exist for Finite State SpacesTextbook
Why average cost on finite state spaces
Controlled queues, inventories and communication links are run for a long time, and the quantity an operator usually cares about is the long-run average cost per period rather than a discounted total. The average cost criterion is harder to work with than the discounted one: its value is a of Cesàro means, it is not given by a contraction, and for general (history dependent, randomized) policies the limit need not exist. Chapter 6 of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999) treats the case of a finite state space, where the strongest results hold: an average cost optimal policy exists, can be taken stationary, and can be obtained as a limit of discount optimal policies as the discount factor tends to one.
The results go back to D. Blackwell, "Discrete dynamic programming", Ann. Math. Statist. 33 (1962), who showed that for finite states and actions some stationary policy is discount optimal for all discount factors close to one. Such a policy is now called Blackwell optimal. Sennott's Chapter 6 derives average cost optimality of this policy and the multichain average cost optimality equation from it, in the notation used throughout the book.
Setting
A Markov decision chain (MDC) has a countable state space , a finite nonempty action set in each state , nonnegative finite costs , and transition probabilities with . A policy chooses the action at time from a distribution on that may depend on the whole history . A stationary policy always chooses a fixed action in state .
With the state and action at time and , define
- the discounted cost for , and the discounted value function ;
- the horizon cost ;
- the average cost , its version , and the minimum average cost .
All infima range over all general policies, and every quantity may equal . A policy is discount optimal if , and average cost optimal if .
For a stationary policy on a finite state space, the induced Markov chain splits into positive recurrent classes and transient states. With the probability of reaching from , distinguished states , and , the relative value function is .
Formalization targets
Goal: Proposition 6.2.3
For an MDC with a finite state space there are and one stationary policy such that is discount optimal for every , is average cost optimal, and
Milestones
- Proposition 4.5.3. For finite and stationary , is a finite, continuous, rational function on .
- Proposition 6.1.1. For every policy on a countable state space,
with three equivalent conditions for equality. 3. Proposition 6.2.2. For finite and stationary , . 4. Proposition 4.5.1, Proposition 4.5.4, Corollary 4.5.5. The power series structure of in ; monotonicity and left continuity of ; continuity under bounded costs. 5. Theorem 6.3.1. For the policy of the goal, exists, and
together with the limit identities (i)–(iii) and the optimality criterion (v). 6. Proposition 6.3.3. with as .
Significance
The goal says that on a finite state space nothing is gained by randomizing or by remembering the past when minimizing average cost, and that the minimum average cost is the vanishing-discount limit of the discounted value function. This justifies computing average cost optimal policies through discounted problems and value iteration, the route taken in the rest of Chapter 6 and, via approximating sequences, for countable state spaces in Chapters 7 and 8. Theorem 6.3.1 supplies an optimality equation without any unichain or communication assumption. The book's Example 6.3.2 shows that the inequality in that equation can be strict, and that a stationary policy attaining the minimum need not be optimal.
The results are classical and proved in the book. No machine-checked version of them is known to exist. The platform has average-reward results for unichain finite MDPs with Markov policies (the Puterman series) and an average-cost optimality equation under recurrence assumptions (the Bertsekas series). Neither covers existence of a Blackwell optimal policy against the class of all history dependent randomized policies, or the multichain equation. A formal development also yields reusable infrastructure: the law of a controlled process under a general policy, first passage quantities of finite chains, and the Abelian inequality between Abel and Cesàro means of a nonnegative sequence.
Difficulty
The obvious argument picks, for each , a stationary discount optimal policy and lets . Finiteness of the set of stationary policies gives one policy that is optimal along some sequence , but not on an interval. Excluding infinite switching between two policies requires the analytic structure of (Proposition 4.5.3), which in turn rests on matrix inversion of . Passing from the discounted criterion to the average one requires an Abelian inequality for nonnegative series whose terms may be infinite (Proposition 6.1.1), and comparison against general policies rules out any argument that works only within stationary or Markov policies. For Theorem 6.3.1 the difficulty is the multichain structure: the relative value function has to be assembled class by class from first passage times and costs, and its limit must be identified.
Formalization scope
- States form a type
S;[Countable S]for Section 4.5 and Proposition 6.1.1,[Fintype S]from Section 6.2 on, as in the book. Actions form a typeActwithA i : Finset Actnonempty. Costs are inℝ≥0, transition probabilities inℝ≥0∞. - A general policy is a function of the list of past state-action pairs (most recent first) and the current state, giving a distribution on
A i. Stationary policies embed as degenerate policies. The law of the process is built from this data, and every infimum ranges over all general policies. - , , , , , are in
ℝ≥0∞, so is represented. is the filter𝓝[<] 1. On a finite state space these quantities are finite. The real valued objects of Section 6.3 (, , , equation (6.6)) are therefore formed withtoReal, and this switch fromℝ≥0∞toℝhappens only in Theorem 6.3.1 and Proposition 6.3.3. - The objects of Section 6.3 (, , , , ) are defined from . The distinguished states are a hypothesis quantified over.
- A trivializing formalization would take the infimum over stationary policies only, let the optimal policy depend on , or state rationality as an equation
p/qwithout requiring . Each is excluded here: and are infima over all general policies, one pair is quantified before all , and the denominator is required to be nonzero on .
Useful infrastructure includes rational functions of one real variable and their finitely many sign changes, the resolvent of a stochastic matrix, the Abelian inequality for -valued sequences, and renewal-reward identities for finite chains. Contributions of general lemmas on these topics are welcome, as are proofs of individual milestones.
Selected references
- L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999. https://doi.org/10.1002/9780470317037
- D. Blackwell, "Discrete dynamic programming", Annals of Mathematical Statistics 33 (1962), 719–726. https://doi.org/10.1214/aoms/1177704593
- M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887