[Paper Review] Testing Indexability and Computing Whittle and Gittins Index in Subcubic Time
This paper presents the first subcubic algorithm for computing Whittle and Gittins indices in restless multi-armed bandits, achieving O(n^2.5286) complexity via recursive index computation using the Sherman-Morrison formula and optimized matrix operations. It enables efficient indexability testing and index computation for finite-state Markovian arms in both discounted and undiscounted settings, with practical performance on thousands of states in seconds.
Whittle index is a generalization of Gittins index that provides very efficient allocation rules for restless multi-armed bandits. In this work, we develop an algorithm to test the indexability and compute the Whittle indices of any finite-state restless bandit arm. This algorithm works in the discounted and non-discounted cases, and can compute Gittins index. Our algorithm builds on three tools: (1) a careful characterization of Whittle index that allows one to compute recursively the kth smallest index from the $(k - 1)$th smallest, and to test indexability, (2) the use of the Sherman-Morrison formula to make this recursive computation efficient, and (3) a sporadic use of the fastest matrix inversion and multiplication methods to obtain a subcubic complexity. We show that an efficient use of the Sherman-Morrison formula leads to an algorithm that computes Whittle index in $(2/3)n^3 + o(n^3)$ arithmetic operations, where $n$ is the number of states of the arm. The careful use of fast matrix multiplication leads to the first subcubic algorithm to compute Whittle or Gittins index: By using the current fastest matrix multiplication, the theoretical complexity of our algorithm is O(n^2.5286 ). We also develop an efficient implementation of our algorithm that can compute indices of Markov chains with several thousands of states in less than a few seconds.
Motivation & Objective
- To develop an efficient algorithm for testing indexability and computing Whittle and Gittins indices in restless bandit problems.
- To achieve subcubic time complexity for index computation, surpassing the (2/3)n³ + o(n³) bound of prior methods.
- To unify computation for both discounted and undiscounted cases, including the time-average reward setting.
- To enable practical computation of indices for Markov chains with several thousand states in under a few seconds.
- To provide a robust, implementable framework that avoids reliance on restrictive indexability conditions.
Proposed method
- Uses a recursive characterization of Whittle index to compute the kth smallest index from the (k−1)th, enabling incremental computation.
- Employs the Sherman-Morrison formula to efficiently update inverse matrices during recursive index computation, reducing per-step cost.
- Introduces a novel matrix update strategy based on horizontal computation (via Subroutine 3) instead of full matrix updates, enabling subcubic scaling.
- Leverages the fastest known matrix multiplication algorithms (e.g., Coppersmith-Winograd-based) to achieve O(n^2.5286) theoretical complexity.
- Optimizes memory usage and avoids redundant computation in implementation, especially for large-state systems.
- Adapts the active advantage function and average reward formulation for the undiscounted case, differing from prior discounted-only approaches.
Experimental results
Research questions
- RQ1Can Whittle index computation be performed in subcubic time, breaking the (2/3)n³ + o(n³) barrier of prior methods?
- RQ2Is it possible to test indexability and compute Whittle indices efficiently in both discounted and undiscounted restless bandit models?
- RQ3Does the use of the Sherman-Morrison formula enable a recursive and efficient update strategy that supports subcubic complexity?
- RQ4Can fast matrix multiplication be effectively integrated into the index computation pipeline to achieve theoretical subcubic performance?
- RQ5How does the proposed algorithm compare in practice to existing methods like fast-pivoting and adaptive-greedy algorithms?
Key findings
- The proposed algorithm achieves a theoretical time complexity of O(n^2.5286) by combining recursive index computation with fast matrix multiplication, marking the first subcubic algorithm for Whittle and Gittins index computation.
- The algorithm computes Whittle indices in (2/3)n³ + o(n³) arithmetic operations when using standard matrix inversion, matching the best prior methods in this regime.
- By redefining the matrix update strategy to use horizontal updates (via Subroutine 3), the algorithm enables subcubic scaling, unlike prior methods that rely on full matrix updates.
- The implementation efficiently computes indices for Markov chains with several thousand states in less than a few seconds, demonstrating practical scalability.
- The approach generalizes to the undiscounted case using average reward and active advantage functions, overcoming limitations of prior work that focused only on discounted models.
- The algorithm avoids reliance on restrictive indexability conditions, providing a general-purpose solution for testing indexability and computing indices in finite-state arms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.