arXiv:2611.09747cs.DSNov 2026

Manuscript Offprint

arXiv:2611.09747

Contention Resolution Against an Adversarial Scheduler

Michael A. Bender, Martín Farach-Colton, Andrew Krapivin, Pritom Kundu, John Kuszmaul, Margaret Kuszmaul, William Kuszmaul, Jingxun Liang

Michael A. Bender

Stony Brook University

Stony Brook, USA

Martín Farach-Colton

New York University

New York, USA

Andrew Krapivin

Carnegie Mellon University

Pittsburgh, USA

Pritom Kundu

Stony Brook University

Stony Brook, USA

John Kuszmaul

Massachusetts Institute of Technology

Cambridge, USA

Margaret Kuszmaul

Northeastern University

Boston, USA

William Kuszmaul

Carnegie Mellon University

Pittsburgh, USA

Jingxun Liang

Carnegie Mellon University

Pittsburgh, USA

Abstract

In the classical contention-resolution problem, a set of players share a broadcast channel, and a player succeeds in a given time step if it is the only player to broadcast during that step. Implicit in the classical problem is the assumption that every player is free to act on every step: once a player arrives, it participates until it succeeds.

We study what happens when that assumption is removed. In our model, an adversarial scheduler decides, on each step, which subset of the players gets scheduled to participate in the step. An unscheduled player simply sleeps through the step. We measure a protocol by its efficiency: the number of players divided by the expected number of steps in which at least one player was active.

Our first result says that, so long as the players are given access to a global clock and to shared randomness, they can achieve efficiency Ω(1/log⁡n)\Omega(1/\log n). The players are able to achieve this bound without requiring any channel feedback, and even if the adversarial scheduler is adaptive. We also give a matching lower bound of O(1/log⁡n)O(1/\log n), which holds even with channel feedback, and even for an oblivious scheduler.

Our upper bounds all require the players to have access to a shared global clock and to shared randomness. Our final result says that this type of implicit shared state is necessary. If the players have neither a global clock nor shared randomness, then no protocol can achieve efficiency better than O(log⁡n/n)O(\log n/n); and this holds even if the other aspects of the problem are designed to be as favorable for the players as possible (the channel gives ternary feedback and the adversary is oblivious).

1 Introduction

In the contention resolution problem there are nn players that need to coordinate temporary and exclusive access to a shared resource. Commonly, we talk about contention resolution in language borrowed from networking, where the shared resource is a communication channel, and each player has a message that it must send on that channel. This is the terminology that we adopt in this paper, although contention resolution is used in a wide range of settings, including WiFi [38, 51] and cellular networks [1], shared-memory architectures [11, 12], concurrency control [7, 35], distributed computing [42], email retransmission [21, 26], congestion control in TCP [39], and cloud computing [45, 49].

Formally, the shared channel is called a multiple-access channel [25, 33]. Each player has a message it wishes to transmit on the channel. Time is divided into steps, each of which is sized to fit a single message. A player who tries to send their message on a given step is said to broadcast on that step. A broadcast results in a successful message transmission if no other players broadcast on the same step [3, 33, 44]. If two or more players try to send on the channel in the same step, there is a collision, and none of the message transmissions succeed. Once a player successfully transmits its message, that player leaves the system.

The goal is for players to make use of the channel with as few wasted steps as possible. Formally, this means that the players wish to maximize the efficiency n/E[L]n/\mathbb{E}[L], where LL is the total number of steps that it takes for all players to succeed, ignoring steps in which there are no players active in the system [17] (we will come back to this distinction shortly). Given this goal, contention resolution becomes a problem of cooperation: how can the players coordinate, either implicitly or explicitly, to avoid either overusing the channel (resulting in collisions) or underusing it (resulting in silence).

Contention resolution has a rich literature dating back to work in the 1970s on ALOHA satellite scheduling [2] and binary exponential backoff [44]. Much of the work on the problem has focused on how the following two aspects of the model affect the players' optimal strategies:

(1) How players enter the system: Do the players all arrive at once, or arrive over time according to an adversary or a stochastic process? If the arrivals are adversarial, is the adversary oblivious or adaptive?

(2) What feedback players hear: Do players who choose not to broadcast still learn whether a given step was a success or a failure? On failure, do they learn whether there was a collision or silence? Or do they learn nothing at all?

Depending on the answers to these questions, one obtains results of very different flavors. In settings where players receive feedback [17, 20, 23] (even limited feedback [19, 24]), they can use this feedback to coordinate with one another in order to achieve efficiency Ω(1)\Omega(1), even in the face of adversarial arrivals [17, 19, 20, 23, 24]. In settings where players do not receive feedback, they can still hope to use cleverly designed backoff/back-on protocols to achieve good efficiency [14, 32, 34, 36]: if the players all enter the system at once, they can achieve efficiency Ω(1)\Omega(1) [13, 14, 32, 34]; if the players enter the system over time, then so long as the arrivals are sufficiently spread out [14] (and determined by an oblivious adversary), the players can achieve efficiency Ω(1/log⁡n)\Omega(1/\log n). There has also been

work on many other variations of the problem, e.g., in which the goal is to minimize energy consumption rather than efficiency [15–17, 19, 20, 27, 28, 37, 40, 43, 52], in which the players can communicate explicitly rather than through feedback [4, 18, 20, 28], and in which an adversary can jam some steps, causing broadcasts in those steps to automatically fail [5, 6, 8, 9, 15–17, 19, 23, 24, 40, 46, 47], etc. See [10] for a survey on the topic.

Yet one important source of uncertainty is largely absent from these models: whether a player is able to participate at all at a given time step. Standard contention-resolution models typically assume that, once a player arrives, it progresses through every time step and always has an opportunity to broadcast or observe the channel. The uncertainty of when a player gets to take steps, however, is a fundamental concern in asynchronous systems. For example, players may represent system processes, which can be delayed by preemptive scheduling or page faults, or individual devices, which may sleep to conserve energy, become temporarily unavailable, or need to swap between multiple tasks [11, 31, 48]. In all of these cases, different players may miss different parts of the execution.

This raises the following natural question: What happens if we allow an adversary to determine not just when each player arrives, but which time steps that player is scheduled for? This is to say that a (possibly adaptive) scheduler gets to choose a subset of the players to be scheduled in a given time step. Players that are scheduled experience the step like a normal time step. Players that are unscheduled do not get to participate at all – they cannot broadcast and they cannot receive feedback on that step.

At first glance, the power of the adversary seems to make efficient contention resolution nearly impossible: players may miss arbitrarily large portions of the execution and thus have radically different views of the state of the system. The main purpose of this paper is to show that this is not the case: even against an adaptive scheduler, efficient contention resolution remains possible. At the same time, as we will see, the presence of the scheduler does significantly change the problem. The algorithmic techniques that the players should use become entirely different; models that are normally very different (depending on feedback or strength of adversary) collapse to have the same asymptotic guarantees; and modeling distinctions that may seem less significant a priori (do the players have access to a global clock and shared randomness) end up playing make-or-break roles for whether the players can succeed.

Results. The first result of this paper is a surprisingly simple upper bound. We show that, so long as the players have access to a few basic resources – a global clock to tell them the time and a shared string of random bits – they can achieve an efficiency of Ω(1/log⁡n)\Omega(1/\log n). Moreover, this result holds even for the most adversarial version of the problem: against an adaptive scheduling adversary, and without any type of feedback from the channel.

THEOREM 1.1. Suppose the players have a global clock, shared randomness, and knowledge of nn. Against any adaptive scheduler, and without any channel feedback, there exists a protocol (the GUESS-ASCALE protocol) that achieves

E[L] ≤ 32(⌊log⁡n⌋+1) n,\mathbb{E}[L]~\leq~32(\lfloor\log n\rfloor+1)~n,

and hence achieves efficiency Ω(1/log⁡n)\Omega(1/\log n).

The basic idea behind Theorem 1.1 is that, rather than treating contention resolution as a problem about back-off/back-on protocols, the players treat it more like a guessing game. On each step, the players use their shared randomness to make a shared guess as to roughly how many players they think are scheduled during that step. The players then use this shared guess to determine with what probability each player should (independently) broadcast. The result is a completely memoryless feedback-free algorithm that still achieves relatively high efficiency.

Note that Theorem 1.1 is interesting even for the classical version of the problem where the scheduler determines player arrivals and nothing else. In this version of the problem, and in the setting of Theorem 1.1 where players receive no feedback, it was known [14] how to achieve efficiency Ω(1/log⁡n)\Omega(1/\log n) only with a substantially limited adversary (one that is oblivious and that is limited in how quickly it can enter players into the system). Theorem 1.1 says that, with a global clock and shared randomness, this limited adversary can be replaced with an arbitrary fully adaptive one, and even one that is permitted to schedule players' entire lives rather than just their arrivals.

The second result of the paper is a lower bound showing that Theorem 1.1 is optimal.

THEOREM 1.2. There exists an oblivious scheduler against which every player protocol satisfies E[L]=Ω(nlog⁡n)\mathbb{E}[L] = \Omega(n \log n) and hence has efficiency O(1/log⁡n)O(1/\log n). This holds even when the players have a global clock, shared randomness, ternary feedback, and knowledge of nn. In fact, it holds even if players are given complete information about the past (i.e., for each step, which players were scheduled and which ones broadcast).

Note that Theorem 1.2 applies even in the setting that is most generous to the players. It restricts the scheduler to be oblivious, and it gives players access not just to per-step feedback but to all information about the past. In the classical version of the problem, these distinctions determine the optimal efficiency, but in the setting of Theorem 1.2, they make no difference – no matter the strength of the adversary or the type of feedback the players receive, the optimal efficiency remains Θ(1/log⁡n)\Theta(1/\log n).

In addition to the theorems above, we also consider several extensions of the model that make the problem more difficult for the players.

In Section 5, we consider what happens if the global clock that the players access gives them only a coarse-grained measurement of time, reporting ⌈t/k⌉\lceil t/k \rceil, where tt is the true time, and kk is some granularity parameter. If the scheduler is adaptive, this tanks the optimal efficiency for the players, transforming it from Θ(1/log⁡n)\Theta(1/\log n) to Θ(1/(klog⁡n))\Theta(1/(k \log n)) (see Appendix A). On the other hand, if the scheduler is oblivious, then something surprising happens: so long as kk is not too large (k≤O(log⁡n)k \leq O(\log n)), the players can still achieve efficiency Θ(1/log⁡n)\Theta(1/\log n), independent of kk. Thus, whereas for a 1-granular clock the adaptiveness of the scheduler does not matter, for a kk-granular clock it does. This result, which is formalized in Theorem 5.2, requires a number of additional algorithmic/analytical ideas beyond Theorem 1.1.

We also consider in Section 6 a second extension to the model in which the players do not know nn in advance. We show that, in

this setting, the players can still achieve efficiency very close to Θ(1/log⁡n)\Theta(1/\log n) (Theorem 6.2).

Finally, in Section 7, we examine more closely the two resources that appear essential for our algorithms: access to a shared global clock and to shared random bits. These resources can both be viewed as examples of implicit shared state, state that allows the players to coordinate without explicitly communicating. Our final result says that such state is fundamentally necessary for good efficiency to be achieved.

THEOREM 1.3. Suppose that players have neither a global clock nor shared randomness. Then for every player protocol, there is an oblivious scheduler under which the expected number of live steps satisfies E[L]=Ω(n2/log⁡n)\mathbb{E}[L] = \Omega(n^2/\log n); the protocol's efficiency is therefore O(log⁡n/n)O(\log n/n). This holds even if the players know nn and receive ternary feedback on the steps where they are scheduled.

Note that, if players always broadcast with probability exactly 1/n1/n, they can trivially achieve efficiency Ω(1/n)\Omega(1/n) (Proposition 7.1). Thus, Theorem 1.3 is very close to being the most aggressive type of lower bound one could ask for. It says that without access to shared implicit state, and even if everything else is designed to be in the players' favor, they cannot hope to do significantly better than the trivial protocol.

We remark that the role of a global clock has also been studied in the classical setting, where the scheduler controls arrivals only. Notably, for the objective function of minimizing latency, [22] shows that there is a separation between models with and without global clocks. Theorem 1.3 can be viewed as offering an analogous separation in our model, but for the case where the global clock is considered together with shared randomness. Although aesthetically similar, it should be noted that the results in [22] are technically very different from those studied here.

References (20)