<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Networked Restless Bandits with Positive Externalities</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10406983</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings of the  AAAI Conference on Artificial Intelligence</title>
<idno>2159-5399</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Christine Herlihy</author><author>John Dickerson</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Restless multi-armed bandits are often used to model budgetconstrained resource allocation tasks where receipt of the resource is associated with an increased probability of a favorable state transition. Prior work assumes that individual arms only benefit if they receive the resource directly. However, many allocation tasks occur within communities and can be characterized by positive externalities that allow arms to derive partial benefit when their neighbor(s) receive the resource. We thus introduce networked restless bandits, a novel multi-armed bandit setting in which arms are both restless and embedded within a directed graph. We then present GRETA, a graph-aware, Whittle index-based heuristic algorithm that can be used to efficiently construct a constrained reward-maximizing action vector at each timestep. Our empirical results demonstrate that GRETA outperforms comparison policies across a range of hyperparameter values and graph topologies. For reproducibility purposes, all code is available at: crherlihy/networked restless bandits.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>We study the planning task of allocating budget-constrained indivisible resources so as to maximize the expected amount of time that members of a cohort will spend in a desirable state (e.g., adherent to a prescribed exercise regimen). Restless multi-arm bandits (RMABs) are well-suited for such tasks, as they represent each individual as a Markov decision process (MDP) whose stochastic state transitions are governed by an action-dependent transition function.</p><p>Conventionally, an arm must receive the resource at time t to derive any benefit from it, where benefit takes the form of an increased probability of transitioning to the desirable state at time t + 1 (i.e., relative to non-receipt). However, many resource allocation tasks occur within communities and can be characterized by positive externalities that allow arms to derive partial, indirect benefit when their neighbor(s) receive the resource. We consider chronic disease management programs as a motivating example. These programs often combine resource-constrained physician support with less cost-intensive, more scalable peer support to encourage participants to make lifestyle modifications. To this end, we introduce networked restless bandits, a novel multi-armed bandit setting in which arms are both restless and embedded within a directed graph. We then present a graph-aware, Whittle-based heuristic algorithm that is constrained rewardmaximizing in this setting. Our core contributions include:</p><p>(i) Our networked restless bandit model, which lets us represent topological relationships between arms, and associate arm i's receipt of a pull with positive externalities for its neighbors. (ii) GRETA, a graph-aware, Whittle index-based heuristic algorithm that lets us efficiently construct a constrained reward-maximizing mapping from arms to actions at each timestep. (iii) Empirical results which demonstrate that GRETA outperforms comparison policies across a range of hyperparameter values and graph topologies.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Related Work</head><p>Restless bandits: The restless multi-armed bandit (RMAB) framework was introduced by <ref type="bibr">Whittle (1988)</ref> as a way to model the sequential allocation of a budget-constrained, indivisible resource over a population of N dynamic arms, where:</p><p>(1) at most k n arms can receive the resource (i.e., a pull) at any given timestep; and (2) the state of each arm evolves over time, regardless of whether or not it is pulled. We provide a formal description in Section 2.1.</p><p>Indexability: In the general case, it is PSPACE-hard to pre-compute the optimal policy for a given cohort of restless arms <ref type="bibr">(Papadimitriou and Tsitsiklis 1994)</ref>. However, as conjectured by <ref type="bibr">Whittle (1988)</ref> and proven by <ref type="bibr">Weber and Weiss (1990)</ref>, when each arm is indexable, a tractable solution exists that is provably asymptotically optimal: we can decouple the arms and consider a Lagrangian relaxation of the original problem. In this context, the Whittle index can be thought of as the infimum subsidy required to make an arm indifferent between a pull and passivity, given its current state. Whittle-index based policies use these index values to rank arms when selecting which k arms to pull.</p><p>Proving indexability can be difficult and often requires the problem instance to satisfy specific structural properties, such as the optimality of threshold policies <ref type="bibr">(Liu and Zhao 2010)</ref>. Additionally, much of the foundational work in this space focuses on the two-action setting, and cannot be directly extended to the multi-action setting that we consider. <ref type="bibr">Glazebrook, Hodge, and Kirkbride (2011)</ref> do consider the multi-action setting, but for divisible rather than indivisible resources; they also require an arm to consume this resource at a level that is decreasing in the resource charge. <ref type="bibr">Killian, Perrault, and Tambe (2021)</ref> study multi-action restless bandits and do not make any of the structural assumptions required to verify indexability, but instead develop a Lagrangian bound-minimization approach; however, they do not consider relationships among arms. <ref type="bibr">Mate et al. (2020)</ref> introduce the collapsing bandit model, and demonstrate that this problem is indexable when forward or reverse threshold policies are optimal. They also introduce an efficient, closed-form approach to computing the Whittle index called THRESHOLD WHITTLE (TW), and empirically demonstrate that this approach performs well even when optimality conditions are not satisfied. We leverage TW as a subroutine within GRETA.</p><p>Bandits and graphs: Prior work at the intersection of multi-armed bandits and graphs has tended to focus on stochastic, rather than restless arms, and on graph-structured feedback (i.e., rewards), rather than the embedding of arms within a directed graph, and/or the spillover effects associated with allocation in the face of adjacency. For example, <ref type="bibr">Valko (2016)</ref> examines a graph structure among actions in stochastic bandits, and <ref type="bibr">Lu, Hu, and Zhang (2021)</ref> examines a graph structure over rewards. However, we examine a graph structure among arms in the restless bandit setting.</p><p>In recent work, <ref type="bibr">Ou et al. (2022)</ref> look at a mobile intervention setting. Similarly to our model, they combine the traditional restless bandit setting with network externalities; however, their model and goal are fundamentally different. Their arms represent locations on a network with pulls impacting a mixture of subpopulations that are located at or near that pull, probabilistically. In contrast, in our model, vertices represent individual arms, and our algorithm exploitswhen advantageous-the propensity for allocating a highcost, high-benefit resource to one arm to unlock potential lower-cost, intermediate-benefit resources for the arm's neighbors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Model Preliminaries</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Restless Multi-arm Bandits</head><p>The restless bandit (RMAB) setting features an agent with n &#8712; N arms. The state of each arm evolves over time and in response to the agent's actions, in a way that is governed by the arm's underlying Markov decision process (MDP). Each MDP is defined by a state space, S, an action space, A, a cost function, C : A &#8594; R, a local reward function, r : S &#8594; R, and a transition function, P : S &#215; A &#8594; S. The objective is to find a policy, &#960; : S &#8594; A, that maximizes total expected discounted reward over a finite time horizon, Ti.e., &#960; * = arg max &#960; E &#960; [R(&#8226;)]. The agent must select exactly one action per arm at each timestep, and the associated costs must not exceed the per-timestep budget, B &#8712; R &#8805;0 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Motivating Example</head><p>For ease of exposition, we ground our networked restless bandit model in a motivating example: let arms represent patients striving to adhere to a chronic disease management program, such as an exercise regimen. A patient's "state" on any given day is thus determined by whether they adhere (i.e., exercise), or fail to adhere to their regimen. To encourage adherence, many such programs feature a combination of resource-constrained physician-and peer support <ref type="bibr">(Fisher et al. 2017)</ref>. Examples include, but need not be limited to, a reminder call from a physician, a supportive message from a fellow participant, or the provision of awareness-raising outreach materials. Thus, a coordinator seeking to maximize the number of patients who exercise over the program's duration might select a small subset of patients each day to receive a call from a physician, and ask these people to message a handful of their peers in turn, or pass along an educational pamphlet to their caregiver(s). In each case, the lower-cost, easier-to-scale information dissemination option amplifies physician outreach, allowing a broader subset of individuals to receive partial benefit.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Networked Restless Bandits</head><p>With this motivating example in mind, we now introduce our networked restless bandit model, which allows us to model directed relationships among arms. Given a set of n arms, let G = (V, E) be a directed graph, and let there exist a bijective mapping &#981; from arms to vertices -i.e., &#8704;v &#8712; V,</p><p>s one-hop indegree and outdegree neighborhoods, respectively. This graph is assumed to be constructed or operated by the agent; as such, it is assumed to be observable. Real-life examples with this property include mentoring programs and online social networks.</p><p>State space: We consider a discrete state space, S := {0, 1}, where the states admit a total ordering by desirability, such that state 1 is more "desirable" than state 0. In our example, state 0 represents non-adherence to the exercise regimen, while state 1 represents adherence. We assume each arm's state is observable (e.g., via fitness tracker data).</p><p>Action space: The traditional restless bandit setting considers a binary action space, A := {0, 1}, where 1 (or 0) represents the decision to pull (or not pull) arm i at time t. To model positive externalities, we define an extended action space, A := {0 : no-act, 1 : message, 2 : pull}. Here, actions 0 and 2 correspond to the actions don't pull and pull respectively. We note that our message action need not represent a literal message. Instead, it represents an intermediate action with respect to desirability that gets "unlocked" as an available action for vertex v at time t only when some vertex u &#8712; N in (v) receives a pull at time t.</p><p>Transition function: For each arm i &#8712; [n], let P a,i s,s represent the probability that arm i will transition from state s to s given action a. In the offline setting, these transition matrices are assumed to be static and known to the agent at planning time. This assumption is reasonable when historical data from the same or similar population(s) provides a source for informative priors, as is common in many domains, in-cluding healthcare and finance <ref type="bibr">(Steimle and Denton 2017;</ref><ref type="bibr">Pasanisi, Fu, and Bousquet 2012)</ref>. Extension to the online setting where transition matrices must be learned is possible via Thompson sampling <ref type="bibr">(Thompson 1933;</ref><ref type="bibr">Ortner et al. 2012;</ref><ref type="bibr">Jung and Tewari 2019;</ref><ref type="bibr">Jung, Abeille, and Tewari 2019)</ref>.</p><p>We assume nonzero transition matrix entries, and impose two sets of domain-motivated structural constraints <ref type="bibr">(Mate et al. 2020</ref>): (i) &#8704;a &#8712; A, P a 0,1 &lt; P a 1,1 and (ii) &#8704;(a, a ) &#8712; A &#215; A, a &lt; a &#8594; P a 0,1 &lt; P a 0,1 ; P a 1,1 &lt; P a 1,1 . Constraint set (i) implies that each arm is more likely to stay in the desirable state (i.e., s = 1) than transition there from the undesirable state (i.e., s = 0). Constraint set (ii) implies that messages and pulls are beneficial when received and that a strict preference relation over actions can be defined for each arm, such that no-act &#8826; message &#8826; pull.</p><p>Cost function: We map our action space to the cost vector c = [0, &#968;, 1], where 0 &#8804; &#968; &lt; 1. Intuitively, this mapping preserves standard notion that no cost is incurred when an arm does not receive any form of intervention. It also encodes the idea that the more beneficial an action is, the more expensive it is to provide, which motivates us to exploit positive externalities. Additionally, when there are no edges, i.e., E = &#8709;, and no messages can be sent, the unit cost of a pull lets us recover the original restless bandit setting, where we must choose which k n arms to pull at each timestep. Objective and constraints: It is possible, though not tractable at scale, to take a constrained optimization-based approach to solving for the optimal policy, &#960; * . We build on Killian, Perrault, and Tambe (2021)'s approach below to show how our constrained setting can be modeled. To begin, let s represent a vector containing the state of each arm, i.e.</p><p>[s i &#8712; S|i &#8712; [n]], and let X represent a matrix containing binary decision variables, one for each of n arms and |A| actions. We require our local reward function, r : S &#8594; R to be non-decreasing in s, which is consistent with our goal of maximizing the expected time that each arm spends in the "desirable" state. Equation 1 formalizes our task:</p><p>Our goal is to find assignments of the decision variables contained in X such that expected discounted reward is maximized, subject to a series of feasibility constraints: (i) across all actions and arms, do not expend more than B budget; (ii) ensure that if message is chosen for an arm i, then that arm has at least one indegree neighbor i such that pull was chosen; and, (iii) ensure that each arm receives exactly one action at each timestep. However, two challenges arise:</p><p>(1) a direct solution via value iteration is exponential in n, and (2) Lagrangian relaxation-based approaches rely on the decoupling of arms, which jeopardizes the satisfaction of our neighborhood constraint on actions. This motivates us to propose a graph-aware, Whittle-based heuristic algorithm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Algorithmic Approach</head><p>Here, we introduce GRETA, a graph-aware, Whittle-indexbased heuristic algorithm that can be used to efficiently construct a constrained reward-maximizing policy. A key insight that GRETA exploits is that while we cannot decouple arms in the networked setting, since we must know whether any of an arm's indegree neighbors will receive a pull at time t to know if the arm is eligible to receive a message, we can compute two sets of Whittle indices for each arm, by considering each active action as a separate instance of a two-action problem. Note that the structural constraints ensure that for a given state, an arm will require a higher subsidy to forgo a pull as opposed to a message. We can then construct an augmented graph that allows us to compare the cumulative subsidy required for the arms represented by directed edge (u, v) to forgo a pull and message, respectively to those required by other directed edges &#8712; G (including, importantly, the inverse action-pair implied by edge (v, u)).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">GRETA: A Graph-aware Heuristic</head><p>Set-up: We begin by building an augmented graph, G . This graph contains every vertex and edge in G, along with a dummy vertex, -1, and directed edge (u, -1) &#8704;u &#8712; V . This lets us map each directed edge (u, v) in G to the action pair (pull, message), and (u, -1) to (pull, no-act). We also construct an augmented arm set, [n] &#8746; {-1}, and extend our bijective mapping from arms to vertices such that &#981; : -1 &#8594; -1. Appendix A.1 provides pseudocode.</p><p>Next, we pre-compute the Whittle index for each vertexactive action combination (v, &#945;) &#8712; V &#215; A \ {0}. When we compute the Whittle index for a given (v, &#945;) pair, we seek the infimum subsidy, m, required to make arm i (i.e., &#981; -1 (v)) indifferent between passivity (i.e., no-act) and receipt of action &#945; at time t <ref type="bibr">(Whittle 1988)</ref>. We cannot compute the Whittle index for our placeholder -1 vertex because it is not attached to an MDP, so we map it to 0.</p><p>The value function represents the maximum expected discounted reward that arm i &#8712; [n] with state s i t can receive at time t given a subsidy m, discount rate &#946;, and active action &#945; &#8712; {1, 2}.</p><p>GRETA: With our augmented graph and Whittle index values in hand, we now present our algorithm. We provide pseudocode in Algorithm 2, and structure our exposition sequentially. At each timestep t &#8712; T , GRETA takes as input:</p><p>(1) an augmented set of restless arms,</p><p>(3) a cost function, C : A &#8594; R; (4) a message cost, &#968; &#8712; [0, 1); and (5) a set of Whittle index values per active action &#945; &#8712; {1, 2}, denoted by W 1 and W 2 , respectively. Given these inputs, GRETA returns a reward-maximizing, constraint-satisfying action vector, a t .</p><p>Algorithm 2: GRETA: graph-aware, Whittle-based heuristic Note: all sorts are descending; arrays are zero-indexed.</p><p>Consider pulls and messages 7:</p><p>return at</p><p>In lines 2-3 of Algorithm 2, we initialize a t such that each vertex is mapped to 0 (no-act), and set our remaining budget variable, B , equal to the per-timestep budget, B.</p><p>In lines 4-13, we iteratively update our action vector a t until we have insufficient remaining budget to afford any available edge-action pair, or our augmented edge set, E = &#8709;. The termination check in line 4 requires us to: (1) check if we've already incurred the cost of a pull or message (message) for vertex u (v); and (2) offset accordingly when we compute the cost of (a u t = 2, a v t = 1), per Alg. 3.</p><p>Algorithm 3: Compute cost to pull u and message v</p><p>The subroutines called in lines 6-7 of GRETA serve to ensure that we will only deviate from the pull-assignment choices of graph-agnostic THRESHOLD WHITTLE-i.e., by considering a combination of pulls and messages-when it is strictly beneficial to do so.</p><p>Since pulls have unit cost, and &#968; &#8712; [0, 1), we consider our per-timestep budget in sequential chunks of 2. We have two options for allocating each chunk over actions: (1) considering only pulls, and selecting the two arms with highest W 2 index values; or (2) considering messages and pulls, and selecting the set of directed (u, v) edges with highest edgelevel subsidies such that each u receives a pull, and each v (excluding -1) receives a message. In lines 8-13, we select the candidate action set with the highest cumulative subsidy, and update a t , B , and G accordingly.</p><p>Pulls only: Allocation option (1) maps arms who have yet to receive a pull at time t to candidate actions &#8712; {0, 2} by sorting their W 2 index values in descending order and selecting the top-2 arms to receive pulls. App. A.1 gives pseudocode (Alg 7).</p><p>Messages and pulls: Allocation option (2) maps arms to candidate actions by computing an edge index value for each directed edge &#8712; E . Algorithm 4 provides pseudocode.</p><p>Algorithm 4: Cumulative subsidy of max pull-message set Note: all sorts are descending; arrays are zero-indexed.</p><p>if |values| = 0 then 13: break 14:</p><p>break Return best arm-actions, cumulative subsidy, E 23:</p><p>In line 2 of Algorithm 4, we start by defining G to be a local copy of our augmented graph, G . We then create a function, a (1,2) to map each vertex v &#8712; V to its candidate action, which we initialize to be a v t (line 3). We do this because we require the current G to determine which (pull u , message v ) edge-action combinations are possible, and for a t to correctly compute the cost of these hypothetical actions, but we don't want to modify a t or G in-place. Next, in lines 4-5, we define a function, f that maps each edge (u, v) &#8712; E to a real-valued edge index value, and a set, E , to hold the edges we will need to remove from G if we select the candidate actions returned by Algorithm 4. In line 6, we initialize &#957; (1,2) = 0 to represent the cumulative subsidy of our candidate action set.</p><p>In lines 7-22 of Algorithm 4, we iteratively update our candidate action function, &#226;(1,2) , until we run out of (smallb) budget, or E = &#8709;. Inside each iteration of the WHILEloop, we begin by computing an edge index value for each directed edge (u, v) &#8712; E (lines 8-10). To do this, we loop over vertices in V \ {-1} (line 8), and for each vertex u, let N out (u) &#8838; N out (u) represent the subset of u's one-hop out-degree neighbors currently slated to receive a no-act at time t.</p><p>For each edge (u, v) &#8712; N out (u), our edge index value represents the cumulative subsidy required to forgo a pull for arm u (i.e., W u</p><p>2 ) and a message for arm v (i.e., W v 1 ). Note: if we pull u, message v, and have budget left over, we can message up to |M u t | vertices v &#8712; N out (u) at time t without incurring additional pull costs, where</p><p>To exploit this diminishing marginal cost, we sort u's, neighbors by their index-values and let the max-valued edge represent the cumulative, cost-feasible value of N out (u), rather than just (u, v). Algorithm 5 provides pseudocode.</p><p>Algorithm 5: Compute edge index values Note: all sorts are descending; arrays are zero-indexed.</p><p>Then, in lines 11-13 of Algorithm 4, we sort the edge-index values in descending order. Note that we break if there are no values to be sorted; this corresponds to the scenario in which no additional pulls are available/cost-feasible, and every arm not receiving a pull is already receiving a message, but we still have budget left-i.e., when &#968; = 0. In lines 14-22, we choose the top cost-feasible edge-action pair from our sorted list, and update our candidate action function, a (1,2) and local budget, b accordingly. Note that if &#968; = 0 and arm u receives a pull, we message every v &#8712; N out (u). App. A.1 provides pseudocode for the MODACTSB subroutine (see Algorithm 8 in Appendix A.1).</p><p>Finally, we update our local copy of the augmented graph by removing (u, v), as well as any directed edge terminating in u, and the placeholder edge, (u, -1). This is because: (a) we do not want to reconsider the edge-action pair we've selected; and (b) by virtue of how we select (u, v), f ((u, v)) &#8805; f ((&#8226;, u)) or any such u-terminating edge is costprohibitive. App. A.1 provides pseudocode for the UPDATEG subroutine (see Algorithm 9). We conclude the MP subroutine (Algorithm 4) by returning our candidate action function, &#226;(1,2) , the associated cumulative subsidy value, &#957; (1,2) , and the set of candidate edges to be removed from G , E .</p><p>Putting the pieces together: With the exposition of each of GRETA's subroutines complete, we now return to lines 8-13 of Algorithm 2. We compare the cumulative subsidy values returned by the PULLONLY and MP subroutines, and use the candidate action function associated with the maximum cumulative subsidy to update our action vector, a t , remaining budget, B , and augmented graph, G . When the WHILE-loop terminates, we return a t . By virtue of how this action vector is constructed, it is reward-maximizing and guaranteed to satisfy the budget constraint.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Theoretical Analysis</head><p>Bounding expected reward: Per Theorem 3.1, the expected cumulative reward of GRETA with message cost, &#968; &gt; 0, will be lower-bounded by that of graph-agnostic THRESHOLD WHITTLE, and upper-bounded by GRETA with &#968; = 0. See Appendix A.2 for a complete proof. Theorem 3.1. For a given set of [n] restless or collapsing arms with transition matrices satisfying the structural constraints outlined in Section 2.3, corresponding directed graph, G = (V, E), budget B &#8712; R &#8805;0 , non-decreasing local reward function, r : S &#8594; R, cumulative reward function, R, and cost vector c = [0, &#968;, 1] such that &#968; &#8712; [0, 1), we have:</p><p>Proof Sketch. The first inequality follows from how GRETA constructs each a t . The second inequality follows from the fact that: (a) per our structural constraints and choice of r, E[r i t |s i t , a i t ] is strictly increasing with a i t &#8704;i, t; and (b) for &#968; = 0, we can message at least as many arms as when &#968; &gt; 0.</p><p>Computational complexity: Per Theorem 3.2, GRETA is efficiently computable in time polynomial in its inputs; see Appendix A.2 for a complete proof. Theorem 3.2. For convenience, let:</p><p>Then, for &#968; &#8712; [0, 1) and time horizon, T , the time complexity of GRETA is:</p><p>These bounds indicate that GRETA is well-suited for sparse graphs and values of &#968; = 0 or &#968; &#8594; 0.5 (&#968; &gt; 0.5 will also improve runtime, but may reduce opportunities to exploit externalities). Conversely, pathological cases will include large-scale dense graphs and values of the message cost, &#968;, which approach but do not equal 0. We consider improving scale to be a valuable direction for future work. The combinatorial nature of the problem we consider suggests that sampling and/or distributed methods will be critical in this regard <ref type="bibr">(Zhou et al. 2020;</ref><ref type="bibr">Almasan et al. 2022</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experimental Evaluation</head><p>In this section, we demonstrate that GRETA consistently outperforms a set of robust graph-agnostic and graph-aware comparison policies. We begin by identifying the set of policies we compare against, as well as our evaluation metrics, graph generation, and mapping of arms to vertices. We proceed to present results from three experiments: (1) GRETA versus the optimal policy (for small n); (2) GRETA versus comparison policies for a fixed cohort and graph; and (3) GRETA evaluated on a series of different budgets, message costs, and graph topologies.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Experimental Setup</head><p>Policies: In our experiments, we compare the policy produced by GRETA against a subset of the following graph-{agnostic and aware &#8224; } policies: Find the optimal policy via value iteration for system-level MDP (intractable at scale, but computable for small |V | and |E|).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Table 1: Comparison policies</head><p>We note that in the restless (but graph-agnostic) setting:</p><p>(1) RANDOM and MYOPIC are common baselines. Here, we have extended them to the networked setting. (2) THRESH-OLD WHITTLE represents a state-of-the-art approach. To the best of our knowledge, no additional (efficiently computable) graph-aware policies exist for the novel networked restless bandit setting we propose.</p><p>Objective: Our optimization task is consistent with assigning equal value to each timestep that any arm spends in the "desirable" state. This motivates our choice of a local reward function r t (s t t ) := s i t &#8712; {0, 1} and undiscounted cumulative reward function R(r(s)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Intervention benefit (IB):</head><p>For each policy, we compute total expected reward, E &#960; [R(&#8226;)], by taking the average over 50 simulation seeds. We then compute the intervention benefit as defined in Equation <ref type="formula">3</ref>, where NOACT represents a policy in which no pulls or messages are executed, and GH represents the policy produced by GRETA.</p><p>Graph generation: For each cohort of n restless arms that we consider in our experiments, we use a stochastic block model (SBM) to generate a graph with |V | = n vertices <ref type="bibr">(Holland, Laskey, and Leinhardt 1983)</ref>. This generator partitions the vertices into blocks and stochastically inserts directed edges, with hyperparameter p in (p out ) &#8712; [0, 1] controlling the probability that a directed edge will exist between two vertices in the same (different) block(s).</p><p>We consider two options for &#981; : [n] &#8594; V : (1) random; and (2) by cluster. For mapping (1), we generate n 10 blocks of uniform size, and map arms to vertices-and, by extension, to blocks-uniformly at random. This mapping represents allocation settings with a peer support component where participants are randomly assigned to groups, without regard for their behavioral similarity.</p><p>For mapping (2), we use an off-the-shelf K-MEANS algorithm to cluster the arms in flattened transition-matrix vector space <ref type="bibr">(Pedregosa et al. 2011)</ref>. We use the cardinality of the resulting clusters to determine the size of each block and map arms to vertices based on cluster membership. This mapping represents intervention allocation settings with a peer support component where participants with similar transition dynamics are grouped together.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">GRETA vs. the Optimal Policy</head><p>In this experiment, we compare GRETA to &#960; * VI , where &#960; * VI denotes the optimal policy obtained via value iteration for the system-level MDP <ref type="bibr">(Sutton and Barto 2018)</ref>. This system-level MDP has state space S := {S} n , action space A := {A} n , a transition function, P : S &#215; A &#8594; S , and reward function, R = i&#8712;[n] s i . To ensure budget and neighborhood constraint satisfaction, only cost-and topologically feasible actions, A &#8838; A are considered. Figure <ref type="figure">1</ref> reports results for a synthetic cohort of 8 arms embedded in a fully connected graph (i.e., p in = p out = 1.0). We let T = 120, &#968; = 0.5, and report unnormalized E &#960; [R], along with margins of error for 95% confidence intervals computed over 50 simulation seeds for values of B &#8712; {1, 1.5, 2, 2.5, 3}. GRETA outperforms TW for each value of B (with predictably larger gaps for values with remainders = &#968; that graph-agnostic TW cannot exploit), and is competitive with respect to &#960; * VI .</p><p>1.0 1.5 2.0 2.5 3.0 </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">GRETA vs. Alternative Policies</head><p>Here we compare GRETA to the graph-agnostic and graphaware comparison policies outlined in Section 4.1. We consider a synthetic cohort of n = 100 restless arms whose transition matrices are randomly generated in such a way so as to satisfy the structural constraints introduced in Section 2. We use a stochastic block model (SBM) generator with p in = 0.2 and p out = 0.05, and consider both the random and by cluster options for &#981;. We let T = 120, B = 10, and &#968; = 0.5.</p><p>In Table <ref type="table">2</ref>, we report results for each mapping-policy combination, along with margins of error for 95% confidence intervals computed over 50 simulation seeds. the best-performing alternative, is larger for the by cluster mapping than the random mapping. This suggests that in assortative networks, relatively homogeneous transition dynamics within blocks facilitate the exploitation of the diminishing marginal costs associated with the pull-message dynamic.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Sensitivity Analysis</head><p>We conduct sensitivity analysis with respect to: (1) the budget, B;</p><p>(2) the message cost, &#968;; and (3) the underlying graph topology, via the p in and p out hyperparameters of our stochastic block model graph generator. As we vary each of the aforementioned hyperparameters, we consider a fixed cohort size of n = 100 randomly-generated, structural constraintsatisfying arms, a time horizon, T = 120, and a mapping &#981; : i &#8712; [n] &#8594; v &#8712; V from arms to vertices that is determined by cluster. We report unnormalized E &#960; [R], along with margins of error for 95% confidence intervals computed over 50 simulation seeds, for GRETA, THRESHOLD WHITTLE, NOACT, and MYOPIC, which is the best-performing non-TW alternative. We describe each task below, and present results in Figure <ref type="figure">2</ref>. Budget: We hold message cost fixed at &#968; = 0.5, let p in = 0.25, p out = 0.05, and consider values of B &#8712; {5%, 10%, 15%} of n. As Figure <ref type="figure">2</ref>(a) illustrates, E &#960; [R] intuitively rises with B for each policy considered. For each value of B, we find that GRETA achieves higher E &#960; [R] than the comparison policies and that the gap between GRETA and the best-performing alternative also increases with B.</p><p>Message cost: Here, we hold the budget fixed at 6, let p in = 0.25, p out = 0.05, and consider values of &#968; &#8712; {0.0, 0.25, 0.5, 0.75, 0.9}. As Figure <ref type="figure">2</ref>(b) illustrates, E &#960; [R] decreases as the message cost, &#968;, increases for GRETA and MYOPIC, while it remains constant for active-action agnostic NOACT and message-agnostic TW. For each value of &#968; that we consider, GRETA achieves higher E &#960; [R] than each of the comparison policies. This gap is intuitively largest when &#968; = 0, and decreases until GRETA converges with TW-notably, without suffering loss in total expected reward due to divisibility issues with respect to B, when &#968; = 0.75.</p><p>Graph topology: We hold the budget fixed at B = 10, let message cost, &#968; = 0.5, and consider two sets of increasingly assortative (disassortative) (p in , p out ) ordered pairs. In each case, we start with E = &#8709;-i.e., (0.0, 0.0), and then hold p out (p in ) fixed at 0.1 and steadily increase p in (p out ). Figure <ref type="figure">2(c</ref>) and (d) present results. For GRETA, while E &#960; [R] is generally increasing in the number of edges, the rate of growth levels off as assortativity rises but remains robust as disassortativity rises. This suggests that homophilic clustering of arms with respect to transition dynamics may undermine total welfare by inducing competition within neighborhoods, while heterophilic clustering can help to smooth out subgroups' relative demand for constrained resources over time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusion &amp; Future Work</head><p>In this paper, we introduce networked restless bandits, a novel multi-armed bandit setting in which arms are restless and embedded in a directed graph. We show that this framework can be used to model constrained resource allocation in community settings, where receipt of the resource by an individual can result in spillover effects that benefit their neighbor(s). We also present GRETA, a graph-aware, Whittle-based heuristic algorithm which is constrained reward-maximizing and budget-constraint satisfying in our networked restless bandit setting. Our empirical results demonstrate that the policy produced by GRETA outperforms a set of graph-agnostic and graph-aware comparison policies for a range of different budgets, message costs, and graph topologies. Future directions include: (1) relaxing the assumption of perfect observability of transition matrices and/or graph topology; (2) considering individual and/or group fairness; and (3) incorporating sampling and/or distributed methods to improve scalability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Heuristic Policy</head><p>In this section, we provide additional details related to the heuristic policy we introduce in Section 3, including pseudocode for subroutines and complete proofs for theorems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.1 Pseudocode</head><p>Construct G Recall from Section 3.1 that GRETA takes as input a pre-constructed augmented graph, G = (V , E ), where V and E represent augmented vertex and edge sets, respectively (Alg. 2, line 1). Algorithm 6 provides pseudocode for the construction of this augmented graph:</p><p>The figure below visually represents this process for an example graph, G, and corresponding augmented graph, G :</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G'</head><p>PULLONLY subroutine Here we present pseudocode for the PULLONLY subroutine called in line 6 of GRETA (Algorithm 2).</p><p>Algorithm 7: Cumulative subsidy of top-2 arms (pulls) Note: all sorts are descending; arrays are zero-indexed.</p><p>Return top-b arm-actions and their cumulative subsidy 8:</p><p>return &#226;2, &#957;2</p><p>MODACTSB subroutine Here we present pseudocode for the MODACTSB subroutine called in line 9 or 12 (depending on the IF/ELSE in line 8) of GRETA (Algorithm 2), as well as in line 18 of the MP subroutine (Algorithm 4).</p><p>Algorithm 8: Update a t and budget per max-value action(s)</p><p>1: procedure MODACTSB(G , C, &#226; * , at, B ) For every vertex u with an updated action: 2:</p><p>for u &#8712; dom(&#226; * ) do 3:</p><p>if &#226; * (u) = 1 then New action is a message; update at, B 4:</p><p>else if &#226; * (u) = 2 then New action is a pull; update at, B 7: E &#8592; E &#8746; {es,t|es,t &#8712; E &#8743; 5:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.2 Proofs</head><p>Bounding expected reward Here, we begin with Remark A.1, and proceed to prove Theorem 3.1 (restated for convenience below).</p><p>Remark A.1. For any restless arm i &#8712; [n] whose transition matrix entries satisfy the structural constraints introduced in Section 2.3, action space A := {0 : no-act, 1 : message, 2 : pull}, and non-decreasing local reward function, r : S &#8594; R, we have:</p><p>For a given set of [n] restless or collapsing arms with transition matrices satisfying the structural constraints outlined in Section 2.3, corresponding directed graph, G = (V, E), budget B &#8712; R &#8805;0 , non-decreasing local reward function, r : S &#8594; R, cumulative reward function, R, and cost vector c = [0, &#968;, 1] such that &#968; &#8712; [0, 1), we have:</p><p>follows directly from how GRETA constructs each a t . GRETA's PUL-LONLY subroutine (Algorithm 7) computes candidate action vector &#226;2 , which represents the actions we would take when following graph-agnostic TW for each budget chunk, b &#8592; min(B , 2).</p><p>Since we do not execute a t until we are finished constructing it-i.e., until we have run out of budget or edges, per &#8712; V , so we will break on line 13 after at most O(|V |) iterations of the WHILE-loop.</p><p>Lemma A.9. For notational convenience, let &#958; Finally, we consider the subroutine in its entirety. For notational convenience, let &#958; represent the outer cost of the WHILE-loop, where the maximum number of iterations is defined per Lemma A.8:</p><p>Then, for &#968; &#8712; [0, 1) and time horizon, T , the time complexity of GRETA is: The WHILE-loop termination check we perform in line 4 has time complexity O(|E |) since we call GETCOST (Algorithm 3) for each edge e &#8712; E . Line 5 has cost O(1).</p><p>Inside the WHILE-loop (i.e., Algorithm 2, lines 4-13), the call to the MSGPULL subroutine on line 7 contributes the dominating cost. Per Lemma A.9, for &#968; &#8712; [0, 1), this subroutine has time complexity:</p><p>Next, we can bound the number of WHILE-loop iterations that occur during any given call to GRETA in a way that proceeds identically to the bound we establish for the MS-GPULL subroutine's WHILE-loop in Lemma A.8, with one small modification: we replace b with the full budget, B, noting that b &#8804; B. This accounts for the presence of the &#958; 2 term in Theorem 3.2.</p><p>Finally, we note that we call GRETA once per timestep t. Thus, when we consider the time complexity over time horizon, T , the cost of computing a t T times dominates the O(|V ||A||S| 2 T ) cost of precomputing the Whittle indices, and we are done.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B Additional empirical results</head><p>Here we provide additional empirical support for Theorem 3.1, reproduced below for convenience: Thus, in the complete graph setting, we can modify the constrained optimization-based approach represented by Equation 1 (reproduced for convenience below) to: (1) include the requirement that at least one arm receive a pull (i.e., constraint c); and (2) remove the neighborhood constraint (i.e., constraint a), since it is guaranteed to be satisfied without being explicitly enforced. To empirically validate this claim, we consider a synthetic cohort of n = 100 restless arms whose transition matrices are randomly generated in such a way so as to satisfy the structural constraints introduced in Section 2. We let T = 120, B = 10, and &#968; = 0.5. We can then construct graphs using this fixed vertex set but containing edge sets with varying cardinalities, expressed as a percentage of the number of edges the complete graph would contain.</p><p>More concretely, we define a set of six edge generation seeds, and use each seed to select subsets of edges uniformly at random, such that the subsets have cardinalities &#8712; {0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0} of the complete graph. For each graph so constructed, we report unnormalized E &#960; [R], along with margins of error for 95% confidence intervals computed over 30 simulation iterations (see subfigures a-f). We observe that:  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C Additional experimental details</head><p>Source code: For the source code and instructions needed to reproduce the experimental results we report in Section 4, see: crherlihy/networked restless bandits.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Compute resources:</head><p>We ran all of our simulations on a MacBook Pro with a 2 GHz Quad-Core Intel(R) Core i5 CPU and 16 GB of RAM.</p></div></body>
		</text>
</TEI>
