restless bandits with controlled restarts indexability
play

Restless bandits with controlled restarts: Indexability and - PowerPoint PPT Presentation

Restless bandits with controlled restarts: Indexability and computation of Whittle index Nima Akbarzadeh, Aditya Mahajan McGill University, Electrical and Computer Engineering Department Dec. 13, 2019 1/23 Whack a Mole 2/23 Applications


  1. Restless bandits with controlled restarts: Indexability and computation of Whittle index Nima Akbarzadeh, Aditya Mahajan McGill University, Electrical and Computer Engineering Department Dec. 13, 2019 1/23

  2. Whack a Mole 2/23

  3. Applications Applications : queueing, channel scheduling, machine maintenance and clinical care. 1 A repairman is responsible for maintaining several machines. Each machine stochastically deteriorates . There is a state-dependent cost associated with running and repairing the machine. He can repair one machine at a time. 2 Scheduling multiple data queues over a shared communication channels, there is a cost associated with holding packets or transmitting it. A fixed number of data queues can be selected at a time. The machine/queue restarts upon being repaired/selected. Goal : Find a optimal/near-optimal policy to optimize scheduling! 3/23

  4. Applications Applications : queueing, channel scheduling, machine maintenance and clinical care. 1 A repairman is responsible for maintaining several machines. Each machine stochastically deteriorates . There is a state-dependent cost associated with running and repairing the machine. He can repair one machine at a time. 2 Scheduling multiple data queues over a shared communication channels, there is a cost associated with holding packets or transmitting it. A fixed number of data queues can be selected at a time. The machine/queue restarts upon being repaired/selected. Goal : Find a optimal/near-optimal policy to optimize scheduling! 3/23

  5. Model n available arms (controlled Markov processes), N = { 1 , . . . , n } . m arms have to be selected. ( m < n ) State space of each arm X i , i ∈ N Action space for each arm { 0 , 1 } Passive action: a i t = 0 → Markov chain matrix P i xy Active action: a i t = 1 → Reset PMF Q i y Cost: c i ( x i t , a i t ) 4/23

  6. Objective Problem Given the discount factor β , the total number n of arms, the number m of active arms, the state space {X i } i ∈N , the transition matrices { P i } i ∈N , the reset pmfs { Q i } i ∈N , and the cost functions { c i ( · , · ) } i ∈N , choose a time-homogeneous Markov policy ❣ , � A i ❆ t = ❣ ( ❳ t ) such that t = m i ∈N that minimizes � ∞ � � β t � c i ( X i t , A i J ( ❣ ) := (1 − β ) E t ) . t =0 i ∈N 5/23

  7. Challenge & Solution Challenge: The dynamic program suffers from curse of dimensionality! The size of the state space is |X| n . Example: 100 machines with 3 states each results in a system with 3 100 ≈ 5 . 15 × 10 47 states! Solution: Index-based heuristic policy (Whittle index [1988]) Drawback: Suboptimal! Advantage: Problem decomposition ⇒ 100 problems with 3 states. 6/23

  8. Challenge & Solution Challenge: The dynamic program suffers from curse of dimensionality! The size of the state space is |X| n . Example: 100 machines with 3 states each results in a system with 3 100 ≈ 5 . 15 × 10 47 states! Solution: Index-based heuristic policy (Whittle index [1988]) Drawback: Suboptimal! Advantage: Problem decomposition ⇒ 100 problems with 3 states. 6/23

  9. Whittle Index policy Whittle index heuristic provides a dynamic index for each arm and select the arm with the smallest index at each time. Whittle index exists if indexability condition is satisfied for all arms. Whittle index policy performs close-to-optimal for many applications in the state-of-arts works. There is no general framework to check indexability and correspondingly, obtain the Whittle indices. Objectives: Prove our problem is indexable . Provide a closed-form solution for the Whittle index . 7/23

  10. Whittle Index policy Whittle index heuristic provides a dynamic index for each arm and select the arm with the smallest index at each time. Whittle index exists if indexability condition is satisfied for all arms. Whittle index policy performs close-to-optimal for many applications in the state-of-arts works. There is no general framework to check indexability and correspondingly, obtain the Whittle indices. Objectives: Prove our problem is indexable . Provide a closed-form solution for the Whittle index . 7/23

  11. Problem Decomposition Define c λ ( x i t , a i t ) := c i ( x i , a i t ) + λ a i t , a i t ∈ { 0 , 1 } for arm i . Problem Given an arm i ∈ N , discount factor β , the state space X i , the transition probability matrix P i , the reset probability mass function Q i , the cost function c i ( · , · ) and the penalty λ ∈ R , choose a policy g i : X i → { 0 , 1 } to minimize � ∞ � � J i ( g i ) := (1 − β ) E β t c i λ ( X i t , A i t ) . t =0 8/23

  12. Dynamic Programming Theorem λ : X i → R be the unique fixed point of the following: Let V i V i H i λ ( x , 0) , H i , ∀ x ∈ X i . � � λ ( x ) = min λ ( x , 1) where H i λ ( x , 0) = (1 − β ) c i ( x , 0) + β � P i xy V i λ ( y ) , y ∈X i � H i � c i ( x , 1) + λ � Q i y V i λ ( x , 1) = (1 − β ) + β λ ( y ) . y ∈X i Let g i λ ( x ) denote the minimizer of the right hand side. Then, g i λ is optimal for arm i. 9/23

  13. Indexability Let passive set for arm i be x i ∈ X i : g i Π i � � λ := λ ( x ) = 0 . Definition (Indexability) For any λ 1 , λ 2 ∈ R arm i is indexable if ⇒ Π i λ 1 ⊆ Π i λ 1 < λ 2 = λ 2 . Definition (Whittle index) The Whittle index of state x of arm i is defined as w i ( x ) = inf λ ∈ R : x ∈ Π i � � . λ 10/23

  14. Indexability Proof Sketch Theorem Each arm is indexable. Lemma � L ( x , τ ) − c ( x , 1) � x ∈ X : (1 − β ) inf Π λ = < W λ . 1 − β τ τ Lemma W λ = λ + β � y ∈X Q y V λ ( y ) is increasing in λ . 11/23

  15. Whittle index By definition, � L ( x , τ ) − c ( x , 1) w i ( x ) = inf λ ∈ R : (1 − β ) inf < 1 − β τ τ � � Q i y V i λ + β λ ( y ) . y ∈X i Challenge: Obtaining a closed form solution for Whittle index is inefficient. Solution: To provide a closed-form solution we consider threshold-based policies. 12/23

  16. Threshold Policies The optimal policy for each subproblem is a threshold-based policy, i.e., � 0 , if x < k g ( k ) ( x ) := 1 , otherwise . � ∞ � � = D ( k ) + λ N ( k ) . C ( k ) � β t c λ ( X t , g ( k ) ( X t )) := (1 − β ) E � X 0 ∼ Q � λ t =0 where � ∞ � D ( k ) := (1 − β ) E � � β t c ( X t , g ( k ) ( X t )) � X 0 ∼ Q , � t =0 � ∞ � N ( k ) := (1 − β ) E � � β t g ( k ) ( X t ) � X 0 ∼ Q . � t =0 13/23

  17. Computation of D ( k ) and N ( k ) Let � τ k − 1 � � L ( k ) := E � β t c ( X t , 0) + β τ k c ( X τ k , 1) � X 0 ∼ Q � t =0 � τ k � M ( k ) := E β t � � � X 0 ∼ Q . � t =0 Theorem For all threshold k, D ( k ) = L ( k ) β M ( k ) − 1 − β 1 N ( k ) = and . M ( k ) β 14/23

  18. Property Lemma k λ := arg min k ∈X C ( k ) is increasing in λ . λ k λ k + 1 k Λ ( k ) w ( k − 1) w ( k ) λ Figure: k λ as a function of λ . 15/23

  19. Whittle Index Theorem The Whittle index for threshold-policies at state k ∈ X is w ( k ) = D ( k +1) − D ( k ) N ( k ) − N ( k +1) . Proof. Key Ideas: C ( k ) λ C ( k ) C ( k +1) is continuous in λ . λ λ D ( k +1) C ( k ) w ( k ) = C ( k +1) w ( k ) , i.e., D ( k ) D ( k ) + w ( k ) N ( k ) = D ( k +1) + w ( k ) N ( k +1) . w ( k ) λ 16/23

  20. Whittle Index policy Compute Whittle indices offline. At each time instance, observe the state of each arm and select the arm with the lowest Whittle index. 17/23

  21. Experiment Setup Deterministic restart : Q = [1 , 0 , . . . , 0] c ( x , 0) = ( x − 1) 2 and c ( x , 1) = 0 . 5( |X| − 1) 2 , β = 0 . 9 We consider structured and randomly generated stochastic monotone matrices for P . Monte-Carlo simulations : 5000 iterations with 250 time steps in each one. 18/23

  22. Experiments (1) & (2) Comparison with Optimal Policy for small-scale models: α opt = J ( opt ) J ( wip ) × 100 For |X| = 5, n = 5, m ∈ { 1 , 2 } → α opt ∈ [95 . 5% − 100%]. 100 80 60 40 20 0 95 96 97 98 99 100 α OPT Figure: 100 randomly generated stochastic monotone matrices with m = 1. 19/23

  23. Experiments (3) & (4) Comparison with Myopic Policy for large-scale models: � J ( myp ) − J ( wip ) � × 100 . ε myp = J ( myp ) For |X| = 25, n ∈ { 25 , 50 , 75 } , m ∈ { 1 , 2 , 5 } → ε myp ∈ [0% − 12%]. 60 40 20 0 0 2 4 6 8 10 12 ε MYP Figure: 100 randomly generated stochastic monotone matrices with n = 75, m = 2. 20/23

  24. Conclusion A model for restless bandit with controlled restarts. An indexable model. A closed form expression to compute the Whittle indices when the optimal policy is threshold-based. Numerical experiments shows the Whittle index policy performs very close to the optimal policy and better than a myopic policy. 21/23

  25. Q&A Thank you! 22/23

  26. Q&A J ( k ) λ J ( k +1) λ J ( k +2) λ J ( k +3) λ D ( k +3) D ( k +2) D ( k +1) D ( k ) λ ◦ λ ◦ λ ◦ λ g k , k +1 g k +1 , k +2 g k +2 , k +3 λ ◦ λ ◦ g k , k +2 g k +1 , k +3 23/23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend