In queueing systems, the holding costs of jobs may evolve in uncertain ways. For example, in content moderation for social media platforms, the cost of delaying the review of a content piece is proportional to its view trajectory, which fluctuates and is a priori unknown. To capture such uncertain and evolving holding cost patterns, we consider a queueing model where job states evolve based on a Markov chain with state-dependent instantaneous holding costs. We demonstrate that in the presence of such uncertain and evolving holding costs, the two canonical algorithmic principles, instantaneous-cost (cμ-rule) and expected-remaining-cost (cμ/θ-rule), are suboptimal. By viewing each job as a Markovian ski-rental problem, we develop a new index-based algorithm, Opportunity-adjusted Remaining Cost (OaRC), that adjusts to the opportunity of serving jobs in the future when uncertainty partly resolves. We show that the suboptimality gap of OaRC scales as O~(N), where N is the system size. This bound shows that OaRC achieves asymptotic optimality for overloaded systems when the system size N scales to infinity. Moreover, the bound is independent of the state-space size, which is a desirable property when job states contain contextual information. We corroborate our results with an extensive simulation study based on two holding cost patterns (online ads and user-generated content) that arise in content moderation for social media platforms. Our simulations based on synthetic and real datasets demonstrate that OaRC consistently outperforms existing practice, which is based on the two canonical algorithmic principles.
Figures & tables
Figure 1: In each period, both a Text and a Video (with unknown color) arrive with the given holding cost trajectories. With review capacity of only one post per period, existing algorithmic principles (instantaneous or expected remaining cost) always serve new Video jobs. A better algorithm Waits for one period to know if a Video is of low (blue) or high (red) virality. This enables it to save capacity by not reviewing a blue Video .
Figure 2: An example for the water-filling procedure of constructing (qo,νo) . There are six states, S={1,2,3,4,5,6} with transition probability as given in the leftmost figure. The arrival rate and service rate are λ=0.8 and μ=0.7. The priority ordering is (2,3,5,4,6,1). States with stripes are blocked states (State 2 is fully, State 5 is partially). State 4 is the partially-served state and State 6 is a partially-reduced state. State 3 is an empty state and State 1 is a un-reduced state.
Figure 3: View trajectories of five content pieces with highest cumulative views in the three datasets
Figure 4: YouTube data: policy-violating views of algorithms and reviewer-hour savings by HOaRC
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Symbol
Meaning
S
state space
L
number of levels of the tree (maximum length of a job’s cost trajectory)
θ
minimum abandonment probability
S0,…,Sℓ,…,SL−1
states on level ℓ of the tree
P(i,k)
the probability of transitioning from state i to state k
p(i)
the probability of transitioning from its parent to state i
Appendix
Table 1: Notation for jobs’ tree-shaped Markov chain
Symbol
Meaning
N
the system size which scales to ∞
λ,μ
the (normalized) arrival and service rates
R(t)
the random number of available servers in period t
Q(t)=(Qi(t))i∈S
the number of state- i jobs at the beginning of period t
R(t)=(Ri(t))i∈S
the number of served state- i jobs in period t
Z(t)=(Zi(t))i∈S
the number of remaining state- i jobs after service in period t , which is equal to Qi(t)−Ri(t)
Appendix
Table 2: Notation for system dynamics
Symbol
Meaning
q=(qi)i∈S
fluid-scaled queue length for state i
ν=(νi)i∈S
fluid-scaled service for state i
C⋆
the minimum cost in the fluid LP ( OriginalFluid )
P⋆
the maximum prevented cost, which is λcf(r)−C⋆
π(i)
the probability of a job becoming state i , which is ∏a∈Anc(i)p(a)
π(i)/π(a)
the probability of a state- a job to become a state- i job
Appendix
Table 3: Notation for analysis
Figure 5: UGC: policy-violating views of algorithms and reviewer-hour savings by HOaRC
Figure 6: Ads: policy-violating views of algorithms and reviewer-hour savings by HOaRC
Figure 7: Policy-violating views when the maximum calibration error varies ( 5% review ratio)
Figure 8: Policy-violating views when the platform has a correct prior ((a)) or a wrong prior ((b)) of violation of each content and gradually improves it.
1%
5%
10%
15%
Offline
Bandit
Offline
Bandit
Offline
Bandit
Offline
Bandit
Velocity
16.3
16.3
10.6
10.7
7.63
7.24
5.49
5.56
pIV
17.3
17.7
10.7
10.2
6.09
5.94
4.15
4.11
HOaRC
16.4
16.3
10.3
9.60
6.11
5.91
4.09
3.93
Appendix
Table 4: Policy-violating views across review ratios, with all values in units of 108 .