arXiv:2610.19038cs.LGOct 2026

Manuscript Offprint

arXiv:2610.19038

Lag: A Mean-Field Optimal Policy for Online Assignment with Reusable Resources

Keerthana Gurushankar

KEERTHANA GURUSHANKAR, Carnegie Mellon University, USA

We study online task assignment with reusable resources. This problem arises in peer reviewer assignment, skill-based call routing, rideshare matching, emergency dispatch, and crowdsourcing: Tasks arrive according to a geometric process and must be immediately assigned to servers that become temporarily busy, yielding rewards that depend on the task-server pair. The goal is to maximize long-run average reward.

We cast the problem as a contextual restless multi-armed bandit (CRMAB). We derive an occupancy-measure LP (OCC-LP) that upper-bounds the reward of any work-conserving policy. From its dual we obtain LAG, a closed-form index policy. We introduce a scaling regime in which the number of copies of each server and the number of arrivals per step grow together. This regime yields the first deterministic fluid limit for a contextual bandit. In it, LAG is asymptotically optimal.

Finally, we evaluate our algorithms on peer review datasets and call center routing. The Lagrangian index achieves 83–99% of the LP upper bound across all load levels. Moreover, the Lagrangian index policy significantly outperforms the natural greedy assignment scheme, improving reward by up to 12.3% on journal data and 36% on structured synthetic instances.

Additional Key Words and Phrases: contextual restless multi-armed bandits, online resource allocation, reusable resources, M/G/R/R loss systems, skill-based routing, mean-field optimality, occupancy-measure linear programming

1 Introduction

Many service systems maintain a pool of heterogeneous reusable resources (agents, servers, responders) that must be assigned to sequentially arriving jobs. In a skill-based call center, an incoming call must be routed to one of R available agent pools; in a data center, an arriving job is dispatched to one of R server types whose architecture may or may not suit its workload; in emergency dispatch, an incident is assigned k units from a heterogeneous fleet. A large body of literature in the queueing and performance evaluation communities has studied these skill-based parallel service systems under binary compatibility: Server r can serve job type v, or it cannot [1, 2, 25]. Routing decisions in these models are constrained by the compatibility graph but are otherwise interchangeable: Any compatible assignment is as good as any other.

Real systems rarely satisfy this equivalence. In a call center, agents differ not just in which call types they can handle but also in how effectively they serve them: A specialist consistently outperforms a generalist on calls both are qualified for. In a data center, a job may run significantly faster on a server whose architecture suits its workload. In peer review, the quality of a referee report depends on how closely a reviewer's expertise matches the paper's topic. In each of these settings, the assignment decision yields a quality score svrs_{vr}, a measure of how well resource r serves task type v. The system operator's goal is to maximize the total quality of assignments over time.

We study a discrete-time generalization of the skill-based parallel service model in which the binary compatibility graph is replaced by a real-valued score matrix S∈RV×RS \in \mathbb{R}^{V \times R}. At each time step, a task of type vv arrives i.i.d.; it must be immediately assigned to kk currently available servers, each of which then becomes busy for a random bounded number of steps DvD_v before returning to the pool. The objective is to maximize long-run average reward per step, where assigning server rr to a type- vv task yields reward svrs_{vr}. Tasks arriving when fewer than kk servers are free are dropped.

Author's Contact Information: Keerthana Gurushankar, Carnegie Mellon University, Pittsburgh, PA, USA, kgurusha@andrew.cmu.edu.

Keerthana Gurushankar

Figure

Fig. 1. Online assignment with reusable servers. At each step tt, a task of type vtv_t arrives i.i.d. with Pr⁡[vt=v]=λv\Pr[v_t = v] = \lambda_v and is assigned to kk available servers. State xix_i denotes steps until server ii is free; xi=0x_i = 0 means available. Scores svt,rs_{v_t,r} are shown for available servers only; hatched circles are busy.

References (13)