Conditions for indexability of restless bandits and an algorithm to compute Whittle index

Nima Akbarzadeh, Aditya Mahajan

Abstract

Restless bandits are a class of sequential resource allocation problems concerned with allocating one or more resources among several alternative processes where the evolution of the processes depends on the resources allocated to them. Such models capture the fundamental trade-offs between exploration and exploitation. In 1988, Whittle developed an index heuristic for restless bandit problems which has emerged as a popular solution approach because of its simplicity and strong empirical performance. The Whittle index heuristic is applicable if the model satisfies a technical condition known as indexability. In this paper, we present two general sufficient conditions for indexability and identify simpler-to-verify refinements of these conditions. We then revisit a previously proposed algorithm called the adaptive greedy algorithm which is known to compute the Whittle index for a sub-class of restless bandits. We show that a generalization of the adaptive greedy algorithm computes the Whittle index for all indexable restless bandits. We present an efficient implementation of this algorithm which can compute the Whittle index of a restless bandit with K states in $\mathcal{O}(K^3)$ computations. Finally, we present a detailed numerical study which affirms the strong performance of the Whittle index heuristic.

Introduction

Restless multi-armed bandits (RMABs) provide a powerful framework for modeling sequential resource allocation under uncertainty. Unlike classical multi-armed bandits, where unchosen arms remain static, RMABs allow all arms to evolve according to their own transition dynamics regardless of whether they are selected. This "restless" nature makes the problem significantly more complex, with optimal solutions being PSPACE-hard to compute for large systems.

To address this intractability, Peter Whittle proposed a heuristic in 1988 that decomposes the multi-arm problem into independent single-arm problems. By introducing a "subsidy for passivity" ($\lambda$), one can define a Whittle index for each state of an arm. The heuristic then involves selecting the arms with the highest indices at each time step. However, this approach relies on a property called indexability, which ensures that the set of states where it is optimal to be passive increases monotonically with the subsidy $\lambda$.

Conditions for Indexability

Proving indexability is notoriously difficult. This research simplifies the process by introducing two general sufficient conditions. By redefining the "passive set" through the lens of stopping times, the authors derive mathematical frameworks that are easier to verify than previous methods.

One notable practical finding is that a restless bandit is guaranteed to be indexable if the discount factor $\beta \leq 0.5$. Furthermore, the paper identifies "controlled restarts"—systems where an action resets the state to a known distribution—as a class that is always indexable. These theoretical refinements provide a more accessible path for researchers to validate the use of Whittle's heuristic in diverse applications like machine maintenance or network scheduling.

The Generalized Adaptive Greedy Algorithm

A major contribution of this work is the refinement and generalization of the "adaptive greedy algorithm." Originally proposed by J. Niño-Mora for a specific sub-class of restless bandits, the authors prove that this algorithm is actually universal for all indexable RMABs.

The algorithm's success is rooted in the geometric properties of the value function. As shown in Figure 1, the value function $J_\lambda(x)$ is a piecewise linear and convex function of the subsidy $\lambda$. The "corners" or breakpoints in this function correspond to the critical values of $\lambda$ where the optimal policy changes.

Geometric interpretation of the value function $J_\lambda(x)$ as a function of the subsidy $\lambda$, showing the piecewise linear structure that enables the adaptive greedy algorithm.

By iteratively identifying these breakpoints, the algorithm computes the exact Whittle index for every state. To achieve high efficiency, the authors employ the Sherman-Morrison formula. Since each step of the algorithm involves a policy change in only one state, the formula allows for $\mathcal{O}(K^2)$ updates to the matrix inversions required for value calculation. This results in a total computational complexity of $\mathcal{O}(K^3)$, a significant improvement over traditional binary search methods that often require $\mathcal{O}(K^4)$ or more.

Numerical Performance

The authors validated their theoretical and algorithmic advances through extensive Monte Carlo simulations. In scenarios where the optimal policy could be computed exactly, the Whittle Index Policy (WIP) achieved near-perfect performance, ranging from 99.95% to 100% of the optimal reward.

In larger-scale simulations involving up to 75 arms and 25 states per arm, the WIP consistently outperformed standard myopic (greedy) baselines. The relative performance gains reached up to 12%, demonstrating the heuristic's robustness across various transition matrix structures, including those generated via Levy distributions and stochastic monotone matrices.

Conclusion

This paper bridges a significant gap in the restless bandit literature by providing both the theoretical tools to prove indexability and a highly efficient algorithm to compute the Whittle index. By showing that the adaptive greedy algorithm is universal for indexable bandits and optimizing it to $\mathcal{O}(K^3)$, the authors have made the Whittle heuristic a much more practical tool for real-time resource allocation in complex, evolving systems. Future work may extend these methods to reinforcement learning settings where transition dynamics are initially unknown.

Summary updated

BibTeX
@inproceedings{akbarzadeh2022conditions,
  author = {Nima Akbarzadeh and Aditya Mahajan},
  title = {{Conditions for indexability of restless bandits and an algorithm to compute Whittle index}},
  booktitle = {Advances},
  year = {2022},
  doi = {10.1017/apr.2021.61},
}
Figure