Manuscript Offprint
arXiv:2611.09747Contention Resolution Against an Adversarial Scheduler
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 . 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 , 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 ; 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 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 , where 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 , 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 [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 . 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 . 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 . Against any adaptive scheduler, and without any channel feedback, there exists a protocol (the GUESS-ASCALE protocol) that achieves
and hence achieves efficiency .
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 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 and hence has efficiency . This holds even when the players have a global clock, shared randomness, ternary feedback, and knowledge of . 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 .
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 , where is the true time, and is some granularity parameter. If the scheduler is adaptive, this tanks the optimal efficiency for the players, transforming it from to (see Appendix A). On the other hand, if the scheduler is oblivious, then something surprising happens: so long as is not too large (), the players can still achieve efficiency , independent of . Thus, whereas for a 1-granular clock the adaptiveness of the scheduler does not matter, for a -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 in advance. We show that, in
this setting, the players can still achieve efficiency very close to (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 ; the protocol's efficiency is therefore . This holds even if the players know and receive ternary feedback on the steps where they are scheduled.
Note that, if players always broadcast with probability exactly , they can trivially achieve efficiency (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.
Players, time steps, and the channel. There are players, each with a single packet to send over a shared channel. Time is divided into discrete steps . On each step, a player either broadcasts or remains silent. A broadcast on step succeeds if and only if exactly one player broadcasts on step . In particular, if two or more players broadcast on the same step, their transmissions collide, and all of the broadcasts fail. Once a player issues a successful broadcast, that player leaves the system and cannot broadcast anymore; we refer to the players that have not yet left as present.
Each player is aware of its own past actions and private random bits. Depending on the variation of the model being considered, it may also be given access to the parameter , a global clock, shared randomness, or feedback from the channel (defined below). We will specify, for each theorem that we prove, which of these features the players are or are not given.
The scheduler. In our model, only a subset of players is allowed to participate in each step, which is chosen by an adversary. Formally, we model the adversary as a scheduler which determines on each step a set of players that are permitted to broadcast on that step. The players in are scheduled on step , while every other player is unscheduled. We say that a player is active on step if it is both scheduled and present on step , and that it is inactive otherwise (i.e., if it is unscheduled or has already left the system). Only active players can broadcast; in particular, a scheduled player that is no longer present cannot. Each player is only aware of the steps in which it is scheduled. And, unless the player is given access to a clock, it does not know any information about the steps in which it was unscheduled.
Our results will consider two types of schedulers, oblivious and adaptive. Both schedulers know the protocol that the players are following, but only an adaptive scheduler may respond adaptively to the players' behaviors. Formally, an oblivious scheduler fixes the entire sequence before the first time step, independently of the players' random choices. In contrast, an adaptive scheduler may choose based on the players' past behavior, namely, which players issued broadcasts on all of steps . Note that the adaptive scheduler still must commit to before observing which players choose to broadcast on step (it cannot, for example, look at which players will broadcast, and define to be the complement set). Neither scheduler is able to directly see the random bits used by the players.
We remark that the schedulers described above are significantly more powerful than schedulers that have been considered in past work on contention resolution. Past works have typically either considered no scheduler, or considered a scheduler whose only job is to pick arrival times for each player [14, 22, 29]. The scheduler in our model can not only choose each player's arrival time implicitly, by leaving that player unscheduled on all earlier steps, but also capture other kinds of asynchronous behavior, such as processes that are preempted by the operating system or devices that run at different speeds.
It is also worth noting that the schedulers we study differ significantly from the notion of a jamming adversary [8, 16, 24, 40], which can interfere with the channel on selected steps and prevent any broadcast from succeeding, even if exactly one player broadcasts. A jamming adversary is not an asynchronous scheduler: regardless of which steps are jammed, all players participate in all steps between when they arrive and successfully transmit.
Live steps and efficiency. The time cost of a protocol (which the players try to minimize and the scheduler tries to maximize) is the number of live steps over the entire execution, where a step is considered live if there is at least one player that has not yet succeeded (i.e., there is at least one active player). Steps on which no player is active are not considered to be live. Let
denote the total number of live steps over the entire execution. Note that, once the player protocol has been selected, and for a given (potentially randomized) scheduler, is a random variable whose randomness comes from both the players and the scheduler.
The efficiency (also known as implicit throughput) of a protocol against a given scheduler is . The (worst-case) efficiency of a protocol is its worst-case efficiency over all schedulers in the model under consideration. An efficiency of, say, means that
the players convert one out of every broadcast opportunities into a success, on average.
As discussed above, an active player's decision whether to broadcast depends on the information available to it. We vary this information across our theorems along four dimensions: access to the parameter , access to a clock, shared randomness, and channel feedback. These are discussed in more detail below.
Access to . For most of the results in this paper, we will assume the players know in advance. We will see, however, that removing this assumption only slightly affects the efficiency that the players can achieve (Section 6).
Access to a clock. In every setting, a player can maintain a private counter recording the number of steps on which it has been scheduled. The clock assumptions specify what additional information about global time is available. With a global clock, each scheduled player can read the current step number . With a -granular clock, it can instead read . Thus, a global clock is a 1-granular clock, and a -granular clock for a large is closer to no clock at all.
Shared randomness. In every setting, each player has access to its own private random bits, independent of those of the other players. With shared randomness, the players additionally have access to a common infinite string of random bits, independent of their private randomness, fixed before the execution begins and hidden from the adversary.
Feedback. In every setting, a player learns whether its own broadcast succeeds, so that it can leave the system upon success. With no feedback, players receive no additional information from the channel. With ternary feedback (also known as collision detection), scheduled players can listen on the channel in each step, and learn whether it was silent (no players broadcast), successful (only one player broadcast) or noisy (2+ players broadcast). Note that, in some settings, one also considers binary feedback (which distinguishes successes and failures without distinguishing silent versus noisy steps). In this paper, however, all upper bounds will apply with no feedback and all lower bounds will apply with full ternary feedback, so there will be no need to consider any intermediate notions.
3 Basic Tools
In this section, we present three simple lemmas that will be used throughout the rest of the paper.
The one-success formula. The first lemma relates the probability of a successful transmission to the number of broadcasting candidates and their broadcast probability.
Lemma 3.1 (The one-success formula). Suppose players are active and each broadcasts independently with probability . Then the probability that the step is a success is exactly . Consequently:
(a) If and , the step succeeds with probability 1.
(b) If and , the step succeeds with probability at least .
PROOF. The formula is immediate: there are ways to choose the lone broadcaster, and the step is a success exactly when that player broadcasts and the other do not. Part (a) is the case , . For part (b), recall that for all .¹ Writing and using , we get . Multiplying by gives .
Lemma 3.1 says that the broadcast probability only has to be right to within a constant factor. If is within a factor of two of , a constant fraction of such steps succeed. Note that if is off by a large factor in either direction, the step is nearly worthless: with small there are no broadcasts, and with large there are collisions.
The accounting lemmas. The next two lemmas allow us to obtain bounds on by proving bounds on how each individual step behaves. One lemma is for upper bounds while the other is for lower bounds.
For , let the history be the random variable keeping track of, for every step , which players were scheduled, which broadcast, and whether the step was a success. The first accounting lemma says that, if every live step has probability at least of succeeding, then the efficiency is at least .
Lemma 3.2 (Accounting lemma for upper bounds). Let , and suppose that
for every step , every possible history for the first steps, and every set of scheduled players containing a player that is present according to . Then , so the efficiency is at least .
PROOF. By assumption, . Since there are at most successes over all time,
as desired.
Finally, the second accounting lemma gives a simple condition under which we can conclude that the efficiency is small.
Lemma 3.3 (Accounting lemma for lower bounds). Let . Suppose that
and
for every step and every possible history for the first steps in which at least players are present. Then , so the efficiency is at most .
PROOF. Let be the event that at least players are present at the start of step ; it is determined by . Discarding the histories in which fails and using the second hypothesis on the rest,
so it suffices to show that . If, with positive probability, occurs for all , then the sum is infinite. Otherwise the number of present players falls below with probability 1, eventually, so at least successes occur on steps where occurs. In this case, defining to be the event that step is a success, and using to denote the indicator random variable for event , we can apply the first hypothesis to get
Rearranging gives , as desired.
4 The Most Basic Setting: Fine-Grained Clock and Known
In this section, we consider what happens if the players are given access to both a global clock and to shared randomness and get to know . In this setting we show that the optimal efficiency is . Our upper bound holds even under a pessimal setup for the players (an adaptive scheduler and with no feedback), while our lower bound holds even under a pessimal setup for the scheduler (an oblivious scheduler and with ternary feedback). In fact, as we will see, the lower bound even holds in a slightly stronger setting in which players are given full access to all information about the history of the system.
4.1 The GUESS-A-SCALE Protocol
Our upper bound will be achieved via the following simple protocol. Let
and call each a scale. Using their shared randomness, the players agree on an infinite sequence of scales, where the s are independent and uniformly random scales . Then, on each step , the players that are active each broadcast independently (using their private randomness) with probability . We refer to this algorithm as the GUESS-A-SCALE protocol.
To get a sense of why this works, consider some step , let be the number of players that are active during that step, and suppose . To obtain a constant success probability, the players would like to broadcast with probability about , but they do not know . They do, however, know that , so Lemma 3.1 guarantees that one of the scales yields a suitable broadcast probability. By selecting such a scale at random, and by using their shared randomness to ensure that all of the players use the same , the players have a chance of selecting a good broadcast probability. This intuition is formalized in the following theorem.
THEOREM 1.1. Suppose the players have a global clock, shared randomness, and knowledge of n. Against any adaptive scheduler, and
The function increases from 1/4 at p = 1/2 toward 1/e as .
without any channel feedback, there exists a protocol (the GUESS-ASCALE protocol) that achieves
and hence achieves efficiency .
PROOF. Fix a step , and condition on the history of the first steps taking some particular value and on the scheduler scheduling some particular set on step . This fixes the number of players that are active. The current scale is independent of everything we have conditioned on and is uniformly random from .
Suppose that step is live, meaning that , and let . With probability , the players choose . Conditioned on this event, their broadcast probability satisfies . If , then and , so by Lemma 3.1(a) the step succeeds with probability 1. Otherwise , so , and by Lemma 3.1(b) the conditional probability of a successful broadcast is at least . Thus, for any history and set that result in step being live, we have
By Lemma 3.2 with , it follows that n.
It is worth pausing to appreciate how much this simple protocol achieves. The scheduler may choose arrival times adaptively, schedule any subset of players on any step, observe every success, and use the entire history to plan its next move. Each player, meanwhile, simply reads the clock and flips a coin: it neither tracks the other players nor receives channel feedback beyond notification of its own success. The clock and shared randomness let the players agree on a fresh scale that the scheduler cannot predict. This coordination alone is enough to achieve efficiency .
4.2 A Matching Lower Bound
Next we establish a matching lower bound. The basic idea is that, now, the scheduler chooses a random scale on each step, and schedules each player independently with probability . Once the history and the players' current random choices are fixed, each present player has a fixed decision about whether to broadcast if scheduled. Randomizing the scheduling probability makes it unlikely that exactly one of these potential broadcasters is selected. We show that successes occur with probability per step, while steps remain live with constant probability as long as at least half the players are present.
THEOREM 1.2. There exists an oblivious scheduler against which every player protocol satisfies and hence has efficiency . This holds even when the players have a global clock, shared randomness, ternary feedback, and knowledge of n. 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).
PROOF. We start by defining the oblivious scheduler and then analyzing its effect on any protocol.
The scheduler. Independently on each step , the scheduler chooses a uniformly random scale and schedules each of the players independently with probability . These choices are all made at the beginning of time (so that the scheduler is oblivious) and therefore do not depend on which players are still present on a given step. The set of scheduled players may therefore contain both players which are present and players which are not.
Successes are rare. Fix a step , and condition on the history of the first steps taking some particular value , and on all the randomness the players will use on step . This fixes each player's decision whether to broadcast at step if scheduled: the history records everything the players know about the past, and the conditioning fixes their current random choices. For each player , define
Under the conditioning above, each is a fixed value in . Let
Thus, a counts the present players that would broadcast if scheduled, and a is also fixed under the conditioning. The only remaining randomness at step t is the scheduler's scale and its scheduling choices.
We now bound the probability that step succeeds under the preceding conditioning. If , success is impossible, so assume . Conditioned further on , the number of broadcasters has distribution . The one-success formula therefore gives success probability . Averaging over while retaining the conditioning on the history and the players' current random choices, we obtain
We claim that
This is the heart of the argument: only a constant number of values of j give a scheduling probability within a constant factor of , and the contributions decay at least geometrically as moves away from this range in either direction.
The case a = 1 is immediate, since the sum is then
So assume that , and write for the expected number of broadcasters when the scheduling probability is . The -th term of the sum is , and applying with , followed by , gives
It therefore suffices to bound by 14, and we do this by splitting the values of according to whether .
Since , the values that are at most 2 form a geometric sequence of ratio whose largest element is at most 2. The values of with therefore contribute at most
For the values of with , let . These integers are distinct, because implies and hence . Moreover is decreasing for , so each such term satisfies . Summing over the distinct integers , these values of contribute at most
Adding the two bounds gives , which proves (2).
Plugging (2) into (1) gives
Therefore, averaging over the players' current random choices gives
Live steps are common. Consider a possible history in which at least players are present at the start of step . For every scale , the probability that no present player is scheduled is at most , because . Consequently,
Combining the bounds. Finally, applying Lemma 3.3, with and , gives
5 Extending to a Coarse-Grained Clock
So far, we have assumed a 1-granular global clock, meaning that every player knows the exact time step that is currently occurring. In this section we consider what happens if, instead, players are given access to a -granular global clock for some . Throughout the rest of the section, we assume a -granular global clock, and for each we refer to the block of steps , which are exactly the steps on which the clock reads , as the window .
Note that the analysis of the GUESS-A-SCALE algorithm (from Section 4) trivially extends to this setting by considering only the first live step in each window (if such a step exists), and gives an efficiency of . We show in Appendix A that, if the scheduler is adaptive, then this efficiency is optimal. This means that, morally, each window is only able to contribute one “potentially useful” step.
Perhaps surprisingly, though, if we are against an oblivious scheduler, we can do better. The main result of this section is to show that, against an oblivious scheduler, the players can achieve efficiency (Theorem 5.2). This means that, so long as k is not too large ( ), the efficiency remains .
Why GUESS-A-SCALE breaks. We begin by discussing why the GUESS-A-SCALE algorithm from the previous section does not get an -efficiency bound in this new setting.
Suppose we run the GUESS-A-SCALE algorithm, but with one scale per window w. Then, the scheduler can attack the algorithm by scheduling only a single player for all k steps of a window. The players draw one scale for the whole window, so with probability that scale is far too small, the lone player stays silent for all k steps, and the window burns k live steps for nothing. On the rare windows where the scale is large, the window still only produces one success. Averaging over the scale, a window of this kind produces about successes at a cost of about k live steps, for an efficiency of roughly . Compared with Theorem 1.1, we have lost a factor of nearly k.
What the above scheduler demonstrates is the following general problem: If the same players are scheduled in every step of the window, and if the number of active players is some number , then there is a substantial asymmetry between the cost of the window (the k steps that the players are present for if they don't all succeed) versus the benefit of the window (the up to r successes that could occur). This is the problem that we must solve if we wish to continue achieving good efficiency.
The TWO-MODE protocol. The failure above happens only when the number of active players is small. Notice, however, that when is small, say , there is a trivial protocol that does reasonably well: if every player just broadcasts independently with probability , then, until the first success of the window, each such step succeeds with probability . This suggests the following Two-MODE protocol, which chooses on each window randomly between the GUESS-A-SCALE approach versus the broadcast-with-probability- approach.
Definition 5.1 (The Two-MODE protocol). For each window w, the players use their shared randomness to draw an independent fair coin and an independent uniform scale . On every step of window w, every active player broadcasts independently with probability
The following theorem shows that, if , and if the scheduler is oblivious, then the above algorithm achieves efficiency .
THEOREM 5.2. Suppose , and suppose the players have a k-granular clock, shared randomness, and knowledge of . Then against an oblivious scheduler, and without requiring any feedback, the Two-MODE protocol satisfies , and therefore achieves efficiency .
Before the proof, we establish some notation for a single window. Fix a window w, and condition on the entire history up to the moment the window begins. Because the scheduler is oblivious, the sets and the arrival times are fixed in advance, so at this moment we already know, for each step t of the window, the quantity
Think of as the number of players who would be active on step t if nobody were to succeed during the window. Let be the actual number of active players on step t. The two differ by exactly the number of successes that have already occurred during the window among the relevant players. Finally set
the number of steps of the window that could be live. Since players only leave, every live step of the window is one of these, so the number of live steps in the window satisfies . Let denote the number of successes during the window.
The key to proving the theorem is to establish the following lemma, which says that a window always pays for itself at a rate of .
Lemma 5.3 (Window lemma). In the setting of Theorem 5.2, and conditioned on any history up to the start of window w,
PROOF OF LEMMA 5.3. Split the potentially-live steps of the window according to how crowded they are:
so that . We show separately that and that . Since at least one of or is at least , the lemma follows.
The uncrowded steps. Condition on steady mode, which happens with probability ; then on every step of the window. Consider the steps with , and process them in chronological order. If no success has yet occurred during the window, then no player has left, so , and by the one-success formula the probability that step succeeds is
using for the first factor, in the exponent, and for . Chaining this over the such steps (at each one, conditioned on there being no success so far in the window, we get a success with probability at least ) gives
where the third step uses for , and the last step uses . Multiplying by the probability of steady mode gives , as claimed.
The crowded steps. Now condition on guessing mode, which also occurs with probability . For each scale , let
so that . Fix a scale with and condition further on , an event that occurs with probability ; the broadcast probability is then throughout the window. Call the steps counted by the designated steps.
Consider a designated step , and suppose that fewer than successes have occurred so far during the window. Then , using . Combined with , this gives . Moreover , since means , which forces . So Lemma 3.1(b) applies: step succeeds with probability at least .
In other words, walking through the designated steps in order (and conditioning on ), at each one either at least successes have already occurred in this window - in which case and we are more than done - or the step succeeds with conditional probability at least 1/32. It follows that stochastically dominates , where . To evaluate the expected value of this, note that always, so , meaning that
where the last step uses . Finally, removing the condition , and observing that the events are disjoint -probability events across ,
where the last step uses for .
PROOF OF THEOREM 5.2. Since is determined at the start of the window, taking expectations in Lemma 5.3 gives for every window , where is the window's value of . Summing over all windows and using together with ,
as desired.
We remark that Theorem 5.2 gives a nontrivial bound even for arbitrarily large window size : when , the efficiency is . Whether this tradeoff is optimal for large k remains an interesting open question.
6 Extending to Unknown n
Our final upper bound concerns the case where the players do not get to know in advance. We show that, in this setting, it is still possible for the players to achieve efficiency very close to : for every constant integer and every constant , there is a protocol whose efficiency is within a factor of of , where denotes the -times-iterated natural logarithm (Theorem 6.2). We also show that, for a natural class of protocols (including those in this paper), an efficiency of , where the product runs over the entire tower of iterated logarithms, is not possible, so the in the exponent cannot be removed. Throughout this section, denotes the natural logarithm, while continues to denote the base-2 logarithm.
The basic idea is to adapt the GUESS-A-SCALE protocol of Section 4 to the unknown- setting. Since the players no longer know , they cannot draw uniformly from . Instead, they draw from a distribution that is, in some sense, as close as possible to being uniform on for all simultaneously.
Definition 6.1 (The GUESS-A-SCALE protocol). Fix an integer and a real , and let denote the k-times iterated natural logarithm, floored at 1 so that it is defined and at least 1 everywhere: and . For each , define the weight
let , and let be the probability distribution on given by . The players use their shared randomness to draw independent scales from , one per step. On step , every active player broadcasts independently with probability .
Note that, in the definition above, the quantity is finite (see, e.g., [50, §4.3, Exercise 11, p. 230]), so the distribution q is well-defined.
THEOREM 6.2. Fix a constant integer and a constant , and suppose the players have a global clock and shared randomness but no knowledge of n. Then GUESS-A-SCALE achieves efficiency
against an adaptive scheduler and with no feedback. The hidden constant depends on both r and .
PROOF. The proof of Theorem 1.1 goes through unchanged except for the probability of guessing the right scale. On a live step with active players, the good scale is , and since is decreasing it is drawn with probability
where . Using the fact that we have that for each . Since and are constants, we can conclude that
Using this bound in place of the bound in the proof of Theorem 1.1, the result follows from the same arguments as in the proof of Theorem 1.1.
Finally, we conclude the section by proving that there is no single distribution for that can achieve an efficiency of for all simultaneously, where the product runs over the entire tower of iterated logarithms.
Proposition 6.3. Consider the protocol of Definition 6.1, but with an arbitrary probability distribution on in place of the one defined there, where denotes the probability that assigns to . No matter how is chosen, there are infinitely many values of for which the efficiency is
where the product runs over the entire tower of iterated logarithms; that is, the denominator is , with the floored iterated logarithms of Definition 6.1, all but finitely many of which equal 1. This is true even for the oblivious scheduler that schedules every player on every step.
We remark that the use of rather than in Proposition 6.3 is not just aesthetic. Because there are a super-constant number of logarithms in the denominator, the functions and are not asymptotically the same. And, whereas the first of the following two series converges, the second diverges:
PROOF. Because a fresh scale is drawn on each step, and because every active player then broadcasts with the same probability , the probability that a step succeeds depends only on the number of active players. For an integer , let denote that probability when exactly players are active, and for let
be the largest of these probabilities as a ranges over the values between and . The main step of the proof is to show that
To prove (3), fix a number of players and a scale and let , so that is the expected number of broadcasters when the scale is . By the one-success formula, where , and we claim that there is an absolute constant satisfying for all and . If , this is immediate from . If , write and use along with to get
where the second-to-last step uses the fact that is bounded.
Now fix and let be any number of players in the range . Then , so , and therefore
Since this holds for every such , it holds in particular for the that maximizes over the range, and so
Summing this bound over , and then exchanging the order of the two summations,
where we have used that for every , and that is a probability distribution. This proves (3).
We can now use (3) to find values of N for which is small. For , let
be the product of the entire tower of iterated logarithms of . We use the standard fact that the series
diverges, where again the product runs over the entire tower. Writing , and using , we have , since each is nondecreasing. Hence diverges as well. Suppose that, for some , we had for all sufficiently large . Then for some , and the right-hand side diverges, contradicting (3). So no such exists, which is to say that there is an infinite set of values of along which . Fix , take players, all arriving on step 1, and let the scheduler schedule every player on every step. Every step is then live until the last player leaves, and whenever exactly players are present, each step succeeds with probability exactly , whatever the history is. The number of steps on which exactly players are present is therefore geometric with mean , and counting only the steps on which more than players are present,
The efficiency is thus at most . Since and along , the efficiency is .
7 The Importance of Implicit Shared State
The two resources that the players in Sections 4 through 6 rely on – a global clock and shared randomness – can both be viewed as forms of implicit shared state. In this section, we show that such state is fundamentally necessary to get good efficiency. Without it, no protocol achieves efficiency better than (Theorem 1.3). As noted in the following proposition, this is within a logarithmic factor of the bound achieved by the trivial broadcast-with-probability protocol.
Proposition 7.1 (The trivial protocol). Suppose the players know n. If every active player broadcasts with probability on every step, then , so the efficiency is . This does not require any clock, shared randomness, or feedback, and it holds against any adaptive scheduler.
PROOF. On a live step with active players, the one-success formula gives success probability . This holds no matter what the history is and no matter which players the scheduler schedules, so Lemma 3.2 applies with to give .
The rest of the section is spent proving the following theorem.
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 ; the protocol's efficiency is therefore . This holds even if the players know n and receive ternary feedback on the steps where they are scheduled.
PROOF OF THEOREM 1.3. Fix any player protocol. The main challenge in the proof is to construct the scheduler that we will use against it. The scheduler runs in rounds, where each round is either:
-
a broad round, which is a single step on which every player is scheduled;
-
a narrow round, which is a block of n consecutive steps, the i-th of which schedules player i alone.
Note that, when deciding whether to broadcast during a given round, the players cannot tell what type of round is occurring. In both cases, each player gets exactly one turn. Since players do not have a global clock, they experience only their own turns, so after r rounds every player has lived through exactly r turns, no matter which types of round those were.
Our scheduler is oblivious, so the type of each round is decided before the execution begins. Write for the type of round , and call the sequence the schedule.
The ghost process. To choose whether a round should be broad or narrow, it will be helpful for the scheduler to reason about a fictitious process in which broad rounds always produce collision failures. In the ghost process for a schedule , everything is as in the real execution of except that, regardless of how many players actually broadcast, the players are told that the round failed due to a collision; and even if exactly one player broadcasts, that player remains present. Narrow rounds behave normally.
The key property that makes the ghost process useful is that, for every schedule, the players do not interact:
Claim 7.2. Let be any schedule, and consider the ghost process for . For each player and each round , let be the indicator random variable for the event that player is present at round and broadcasts on its turn in round , and let . Then the sequences are mutually independent. In particular, for every round , the indicators are mutually independent.
PROOF. Since the players have no global clock, the only information that player ever receives is the feedback from the rounds that it takes part in, and it takes part in exactly one turn per round. On a broad round, the ghost process reports a collision failure to , no matter what any of the players actually did. On a narrow round, is the only scheduled player, so the player either broadcasts and succeeds or does not broadcast and hears silence. From player 's perspective, then, the game being played is this: on each round, gets to choose whether to broadcast or not; it then learns whether the round was broad or narrow, and it succeeds if and only if the round was narrow and it chose to broadcast.
Since there is no shared randomness, since is fixed (not random), and since there is no interaction between the games being played by different players, the only randomness in this game is the players' own private random bits. These random bits are mutually independent across players, and hence so are the sequences .
The scheduler. Having defined the ghost process, we can now describe how the scheduler chooses which rounds should be broad or narrow.
Let . The scheduler determines one after another, as follows. Suppose that have already been determined, and let be as in Claim 7.2 (critically, the s are determined by the ghost process, and so later we will be able to use the fact that they are independent across ). The distribution of is completely determined by (and by the description of the protocol that the players are using, which the scheduler can be assumed to know). So the number
which we can think of as being the contention in round , is also completely determined by . Thus, even though the scheduler is oblivious, it can compute . The scheduler sets if , and otherwise. This completes the description of the scheduler.
For the rest of the proof, denotes the schedule that we have just constructed, and (along with the sequences ) denote the indicators defined in Claim 7.2 for that schedule.
The ghost process is faithful. To analyze the scheduler, we first observe that, with good probability, the real and ghost processes agree throughout the first rounds. Couple the real and ghost processes by giving them the same player random bits. They agree step for step until the first broad round in which fewer than two present players broadcast, since that is the only place where their rules differ. Consider a broad round , so that . The number of players that broadcast in round is , which by Claim 7.2 is a sum of independent indicators with mean . So, by the standard lower-tail Chernoff bound,
where the first inequality uses . Union bounding over the first rounds, the real and ghost processes agree throughout those rounds with probability at least . For the rest of the proof, we consider only the first rounds, we work with the ghost process, and we add to the failure probability at the end.
Analyzing the efficiency. Let , and assume is large enough that . In a narrow round , each player that broadcasts is the only scheduled player when it does so, so the number of successes is exactly , whose expectation is . Consider the first narrow rounds, where is the number of narrow rounds among the first . The total number of successes across these rounds is succeeds in one of them], and each term here is determined by , so by Claim 7.2 this is again a sum of independent indicators. Its mean is at most . By the standard upper-tail Chernoff bound, the probability that it reaches is at most .
So, except with probability , fewer than n/4 players have left the system during those rounds, i.e. at least 3n/4 players are present throughout them. Now split into two cases.
If , then each of the first narrow rounds contains at least live steps (one per surviving player), so
If instead , then at least of the first rounds are broad rounds, and each of them is a live step because at least players are present; so , which is even larger.
Thus, with probability at least we have , and therefore . The efficiency is , which completes the proof.
Acknowledgments
Part of this research was conducted while attending the Circles Workshop on Concurrent Data Structures at the Jane Street office in New York, supported through the Circles, the Simons Institute – Jane Street Small Group Collaborations program.
M. A. Bender was supported by NSF grants CCF 2247577, IIS 2551616, Broadcom, Sandia National Laboratories, and the John L. Hennessy Chaired Professorship. P. Kundu and M. Kuszmaul were supported by NSF grants CCF 2247577 and IIS 2551616. M. Farach-Colton was supported by NSF Grants 2551614, 2420942, 2247576, and 2230742. A. Krapivin supported by the Jeanne B. and Richard F. Berdik ARCS Pittsburgh Endowed Scholar Award, NSF grants CNS-2504471 and CCF-2542165, a Jane Street Research Grant, the David and Lucile Packard Foundation (Award #202071730), and gifts from Nikolai Mushegian and Microsoft. J. Kuszmaul was supported by NSF Grant CCF-2330048, BSF Grant 2024233, a Simons Investigator Award, and an MIT Akamai Presidential Fellowship. W. Kuszmaul and J. Liang were supported by NSF grants CNS-2504471 and CCF-2542165, and a Jane Street Research Grant.
AI Acknowledgments
All of the technical results in this paper are human generated. AI tools (GPT 5.6, GPT 6, Opus 5.0, Opus 5.5) were used to assist in writing and editing the paper, and for filling in routine calculations. All portions generated by AI were then heavily edited by the authors.
References
[1] 3GPP. 2017. LTE, Evolved Universal Terrestrial Radio Access (E-UTRA), Medium Access Control (MAC) Protocol Specification (3GPP TS 36.321, Version 14.2.1, Release 14). http://www.etsi.org/deliver/etsi_ts_136300_136399/136321/14.02.01_60/ts_136321v140201p.pdf.
[2] Norman Abramson. 1970. The ALOHA System: Another Alternative for Computer Communications. In Proceedings of the November 17-19, 1970, Fall Joint Computer Conference (Houston, Texas). Association for Computing Machinery, New York, NY, USA, 281–285.
[3] N. Abramson. 1973. The Aloha system. In Computer-Communication Networks, N. Abramson and Frank Kuo (Eds.). Prentice-Hall, Englewood Cliffs, New Jersey, 501–518.
[4] Kunal Agrawal, Michael A. Bender, Jeremy T. Fineman, Seth Gilbert, and Maxwell Young. 2020. Contention Resolution with Message Deadlines. In Proceedings of the 32nd ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2020, Virtual Event, USA, July 15-17, 2020. ACM, 23–35. doi:10.1145/3350755.3400239
[5] Lakshmi Anantharamu, Bogdan S. Chlebus, Dariusz R. Kowalski, and Mariusz A. Rokicki. 2011. Medium Access Control for Adversarial Channels with Jamming. In Structural Information and Communication Complexity - 18th International Colloquium, SIROCCO 2011, Gdansk, Poland, June 26-29, 2011. Proceedings (Lecture Notes in Computer Science, Vol. 6796). Springer, 89–100. doi:10.1007/978-3-642-22212-2_9
[6] Lakshmi Anantharamu, Bogdan S. Chlebus, Dariusz R. Kowalski, and Mariusz A. Rokicki. 2019. Packet latency of deterministic broadcasting in adversarial multiple access channels. J. Comput. Syst. Sci. 99 (2019), 27–52. doi:10.1016/j.jcss.2018.07.001
[7] T. E. Anderson. 1990. The performance of spin lock alternatives for shared-memory multiprocessors. IEEE Transactions on Parallel and Distributed Systems 1, 1 (1990), 6–16.
[8] Baruch Awerbuch, Andréa W. Richa, and Christian Scheideler. 2008. A jamming-resistant MAC protocol for single-hop wireless networks. In Proceedings of the Twenty-Seventh Annual ACM Symposium on Principles of Distributed Computing, PODC 2008, Toronto, Canada, August 18-21, 2008. ACM, 45–54. doi:10.1145/1400751.1400759
[9] Baruch Awerbuch, Andréa W. Richa, Christian Scheideler, Stefan Schmid, and Jin Zhang. 2014. Principles of Robust Medium Access and an Application to Leader Election. ACM Trans. Algorithms 10, 4 (2014), 241–24:26. doi:10.1145/2635818
[10] Ioana Banicescu, Trisha Chakraborty, Seth Gilbert, and Maxwell Young. 2025. A Survey on Adversarial Contention Resolution. Comput. Surveys (2025). doi:10.1145/3733594 Preprint: arXiv:2403.03876.
[11] Naama Ben-David and Guy E. Belloch. 2017. Analyzing Contention and Backoff in Asynchronous Shared Memory. In Proceedings of the ACM Symposium on Principles of Distributed Computing, PODC 2017, Washington, DC, USA, July 25-27, 2017. 53–62. doi:10.1145/3087801.3087828
[12] Michael A. Bender, Guy E. Blielloch, Martin Farach-Colton, Yang Hu, Rob Johnson, Rotem Oshman, and Renfei Zhou. 2026. Fast Concurrent Primitives Despite Contention. In Proceedings of the 38th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA '26). Association for Computing Machinery, 196–233. doi:10.1145/3816782.3819207
[13] Michael A. Bender, Martin Farach-Colton, Simai He, Bradley C. Kuszmaul, and Charles E. Leiserson. 2004. Adversarial Analyses of Window Backoff Strategies. In Proceedings of the 18th International Parallel and Distributed Processing Symposium (IPDPS). doi:10.1109/IPDPS.2004.1303230
[14] Michael A. Bender, Martin Farach-Colton, Simai He, Bradley C. Kuszmaul, and Charles E. Leiserson. 2005. Adversarial Contention Resolution for Simple Channels. In Proc. 17th Annual ACM Symposium on Parallelism in Algorithms and Architectures (SPAA). ACM, Las Vegas, USA, 325–332.
[15] Michael A. Bender, Jeremy T. Fineman, Seth Gilbert, John Kuszmaul, and Maxwell Young. 2024. Fully Energy-Efficient Randomized Backoff: Slow Feedback Loops Yield Fast Contention Resolution. In Proceedings of the 43rd ACM Symposium on Principles of Distributed Computing (PODC '24). Association for Computing Machinery, 231–242. doi:10.1145/3662158.3662807
[16] Michael A. Bender, Jeremy T. Fineman, Seth Gilbert, John Kuszmaul, and Maxwell Young. 2025. Jamming-Resistant Backoff with Polylogarithmic Sending and Listening Cost. SIAM J. Comput. 54, 5 (2025), 1335–1385. doi:10.1137/24M1670743
[17] Michael A. Bender, Jeremy T. Fineman, Seth Gilbert, and Maxwell Young. 2019. Scaling Exponential Backoff: Constant Throughput, Polylogarithmic Channel-Access Attempts, and Robustness. J. ACM 66, 1 (2019), 6:1–6:33. doi:10.1145/3276769
[18] Michael A. Bender, Seth Gilbert, Fabian Kuhn, John Kuszmaul, and Muriel Méard. 2022. Contention Resolution for Coded Radio Networks. In Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA '22). Association for Computing Machinery, 119–130. doi:10.1145/3490148.3538573
[19] Michael A. Bender, Tsvi Kopelowitz, William Kuszmaul, and Seth Pettie. 2020. Contention Resolution without Collision Detection. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing (STOC '20). Association for Computing Machinery, 105–118. doi:10.1145/3357713.3384305
[20] Michael A. Bender, Tsvi Kopelowitz, Seth Pettie, and Maxwell Young. 2018. Contention Resolution with Constant Throughput and Log-Logstar Channel Accesses. SIAM J. Comput. 47, 5 (2018), 1735–1754. doi:10.1137/17M1158604
[21] D. J. Bernstein. 1998. qmail – An email Message Transfer Agent. http://cryp.to/qmail.html.
[22] Zixi Cai, Kuowen Chen, Shengquan Du, Tsvi Kopelowitz, Seth Pettie, and Ben Plosk. 2026. Contention Resolution, with and without a Global Clock. In Proceedings of the 58th Annual ACM Symposium on Theory of Computing (STOC '26). Association for Computing Machinery, 823–834. doi:10.1145/3798129.3800797 Preprint: arXiv:2602.12070.
[23] Yi-Jun Chang, Wenyu Jin, and Seth Pettie. 2019. Simple Contention Resolution via Multiplicative Weight Updates. In Proceedings of the 2nd Symposium on Simplicity in Algorithms (SOSA '19, Vol. 69). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 16:1–16:16. doi:10.4230/OASlcS.SOSA.2019.16
[24] Haimin Chen, Yonggang Jiang, and Chaodong Zheng. 2021. Tight Trade-off in Contention Resolution without Collision Detection. In Proceedings of the 2021 ACM Symposium on Principles of Distributed Computing (PODC '21). Association for Computing Machinery, 139–149. doi:10.1145/3465084.3467920
[25] Imrich Chlamtac and Shay Kuttaen. 1985. On Broadcasting in Radio Networks-Problem Analysis and Protocol Design. IEEE Trans. Commun. 33, 12 (1985), 1240–1246. doi:10.1109/TCOM.1985.1096245
[26] Bryan Costales and Eric Allman. 2002. Sendmail (third ed.). O'Reilly.
[27] Gianluca De Marco, Dariusz R. Kowalski, and Grzegorz Stachowiak. 2022. Contention Resolution without Collision Detection: Constant Throughput and Logarithmic Energy. In Proceedings of the 36th International Symposium on Distributed Computing (DISC '22, Vol. 246). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 17:1–17:21. doi:10.4230/LIPics.DISC.2022.17
[28] Gianluca De Marco, Dariusz R. Kowalski, and Grzegorz Stachowiak. 2022. Time and Energy Efficient Contention Resolution in Asynchronous Shared Channels. CoRR abs/2209.14140 (2022). doi:10.48550/arXiv:2209.14140
[29] Gianluca De Marco and Grzegorz Stachowiak. 2017. Asynchronous Shared Channel. In Proceedings of the ACM Symposium on Principles of Distributed Computing (PODC '17). Association for Computing Machinery, 391–400. doi:10.1145/3087801.3087831
[30] Devdatt Dubhashi and Desh Ranjan. 1998. Balls and Pins: A Study in Negative Dependence. Random Structures & Algorithms 13, 2 (1998), 99–124. doi:10.1002/(SICI)1098-2418(199809)13:2-99::AID-RSA1-3.0.CO;2-M
[31] Faith Ellen Fich, Victor Luchango, Mark Moir, and Nir Shavit. 2005. Obstruction-free algorithms can be practically wait-free. In International Symposium on Distributed Computing. Springer, 78–92.
[32] Mihály Géréb-Graus and Thanasis Tsantilas. 1992. Efficient optical communication in parallel computers. In Proceedings of the fourth annual ACM symposium on Parallel algorithms and architectures. 41–48.
[33] Leslie Ann Goldberg. 2000. Notes on Contention Resolution. (2000). http://www.dcs.warwick.ac.uk/-leslie/contention.html
[34] Ronald I Greenberg and Charles E Leiserson. 1985. Randomized routing on fat-trees. In 26th annual symposium on foundations of computer science (sfs 1985). IEEE, 241–249.
[35] Maurice Herlihy and J. Eliot B. Moss. 1993. Transactional Memory: Architectural Support for Lock-Free Data Structures. SIGARCH Comput. Archit. News 21, 2 (May 1993), 289–300. doi:10.1145/173682.165164
[36] J. Håstad, T. Leighton, and B. Rogoff. 1987. Analysis of Backoff Protocols for Multiple Access Channels. In Proceedings of the Nineteenth Annual ACM Symposium on Theory of Computing (New York, New York, USA) (STOC '87). Association for Computing Machinery, New York, NY, USA, 241–253. doi:10.1145/28395.28422
[37] Elijah Hradovich, Marek Klonowski, and Dariusz R. Kowalski. 2020. Contention Resolution on a Restrained Channel. In Proceedings of the 26th IEEE International Conference on Parallel and Distributed Systems (ICPADS '20). IEEE, 89–98. Preprint: arXiv:1808.02216.
[38] IEEE 802.11 Working Group. 1999. ANSI/IEEE Std. 802.11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. IEEE Computer Society.
[39] V. Jacobson. 1988. Congestion Avoidance and Control. SIGCOMM Comput. Commun. Rev. 18, 4 (Aug. 1988), 314–329.
[40] Yonggang Jiang and Chaodong Zheng. 2022. Robust and Optimal Contention Resolution without Collision Detection. In SPAA '22: 34th ACM Symposium on Parallelism in Algorithms and Architectures, Philadelphia, PA, USA, July 11 - 14, 2022. ACM, 107–118. doi:10.1145/3490148.3538592
[41] Kumar Joag-Dev and Frank Proschan. 1983. Negative Association of Random Variables with Applications. The Annals of Statistics 11, 1 (1983), 286–295. doi:10.1214/aoS/1176346079
[42] Michael Luby. 1986. A simple parallel algorithm for the maximal independent set problem. SIAM Journal on Computing 15, 4 (1986), 1036–1053.
[43] Gianluca De Marco, Dariusz R. Kowalski, and Grzegorz Stachowiak. 2021. Deterministic Contention Resolution without Collision Detection: Throughput vs Energy. In 41st IEEE International Conference on Distributed Computing Systems, ICDCS 2021, Washington DC, USA, July 7-10, 2021. IEEE, 1009–1019. doi:10.1109/ICDCS51616.2021.00100
[44] Robert M. Metcalfe and David R. Boggs. 1976. Ethernet: Distributed Packet Switching for Local Computer Networks. Commun. ACM 19, 7 (July 1976), 395–404.
[45] Google Apps Platform. 2011. Google Documents List API version 3.0: Implementing Exponential Backoff. https://developers.google.com/google-apps/documents-list/?csw=1#implementing_exponential_backoff
[46] Andréa W. Richa, Christian Scheideler, Stefan Schmid, and Jin Zhang. 2011. Competitive and Fair Medium Access Despite Reactive Jamming. In 31st International Conference on Distributed Computing Systems, ICDCS 2011, Minneapolis, Minnesota, USA, June 20-24, 2011. IEEE Computer Society, 507–516. doi:10.1109/ICDCS.2011.8
[47] Andréa W. Richa, Christian Scheideler, Stefan Schmid, and Jin Zhang. 2012. Competitive and fair throughput for co-existing networks under adversarial interference. In ACM Symposium on Principles of Distributed Computing, PODC '12, Funchal, Madeira, Portugal, July 16-18, 2012. ACM, 291–300. doi:10.1145/2332432.2332488
[48] William N Scherer III and Michael L Scott. 2005. Advanced contention management for dynamic software transactional memory. In Proceedings of the twenty-fourth annual ACM symposium on Principles of distributed computing, 240–248.
[49] Amazon Web Services. 2012. Error Retries and Exponential Backoff in AWS. http://docs.aws.amazon.com/general/latest/gr/api-retries.html.
[50] William F. Trench. 2013. Introduction to Real Analysis. https://digitalcommons.trinity.edu/mono/7 Free Hyperlinked Edition 2.04.
[51] Yang Xiao. 2005. Performance Analysis of Priority Schemes for IEEE 802.11 and IEEE 802.11e Wireless LANs. Wireless Communications, IEEE Transactions on 4, 4 (July 2005), 1506–1515.
[52] Yuntian Xie and Chaodong Zheng. 2025. Listening Efficient Contention Resolution for Semi-batch Arrivals without Collision Detection. In Proceedings of the 37th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2025, Portland, OR, USA, 28 July 2025 - 1 August 2025. ACM, 284–298. doi:10.1145/3694906.3743324
A Coarse-Grained Clocks Against an Adaptive Scheduler
In Section 5, we showed that, against an oblivious scheduler, a k-granular clock costs the players nothing so long as (Theorem 5.2). In this appendix, we show that the assumption of an oblivious scheduler is necessary: against an adaptive scheduler, a k-granular clock costs the players a factor of k, even if they receive ternary feedback and complete information about all previous windows. As in Section 5, for , we refer to the block of steps on which the clock reads w as the window w, and to step as the i-th step of window w.
Proposition A.1. Suppose that . Then there exists an adaptive scheduler against which every player protocol satisfies and hence has efficiency . This holds even when the players have a k-granular clock, shared randomness, ternary feedback, and knowledge of n. In fact, it holds even if every player that is scheduled during a window is given complete information about all previous windows (i.e., for each step of each previous window, which players were scheduled and which ones broadcast).
Note that the lemma is tight. Indeed, if the players run the GUSSA-SCALE protocol from Section 4 with one shared scale per window rather than per step, then the scale is still fresh on the first live step of each window. The proof of Theorem 1.1 shows that this step succeeds with probability . And, since each window contains at most k live steps, it follows that , even against an adaptive scheduler.
The high-level approach that the scheduler takes for Proposition A.1 is as follows. What the scheduler achieves is that, in each window, all steps are live, and the expected number of successes is (at least while players are present). The first step of each window is a probe: similarly to the scheduler in the proof of Theorem 1.2, the scheduler guesses a random scale and samples a random number of players according to the scale. As in the earlier proof, players can succeed on the probe step with probability at best, but now the probe also teaches the scheduler roughly how likely the players are to broadcast. If the probe is silent or successful, then few players are willing to broadcast, so on the remaining steps of the window, the scheduler schedules one player at a time, and is unlikely to choose any broadcasting players. If the probe is noisy (i.e., results in a collision), then many players are willing to broadcast, so the scheduler instead schedules large groups of players at a time, which are likely to collide. Crucially, the scheduler never schedules any player twice during the same window. Since the clock reads the same value throughout the window, a player therefore cannot tell whether it is being scheduled on the probe step or on one of the later steps and thus cannot change their own behavior in response to the scheduler. This intuition is formalized in the following proof.
PROOF OF PROPOSITION A.1. Throughout the proof, we assume that is sufficiently large (otherwise, the lemma follows directly from Theorem 1.2). Define
Since , the interval has length , so
We start by defining the scheduler and then analyze its effect on any protocol.
The scheduler. Consider a window w, and let P be the set of players that are present at the start of the window. If , the scheduler simply schedules all of P on every step of the window (such windows will play no role in the analysis). Otherwise, using fresh randomness, the scheduler acts as follows.
-
The probe step (step 1 of the window). The scheduler chooses a uniformly random , sets , and schedules a uniformly random set of exactly players (note ).
-
The remaining steps (steps 2, ..., k of the window). All players scheduled on these steps are drawn from , and no player is scheduled on more than one of them. There are two cases.
-
Quiet case (the probe step was silent or successful). The scheduler chooses distinct players uniformly at random from , and schedules the -th of them alone on step of the window.
-
Loud case (the probe step was noisy). The scheduler partitions uniformly at random into groups whose sizes differ by at most one, and schedules the -th group on step of the window.
Every step is live. First note that every step is guaranteed to be live. If , the scheduler schedules all of P on every step, so every step is live. Otherwise, as n is sufficiently large, at least one player is scheduled on every step, and, as every step schedules players that were present at the end of the previous window and that were not yet scheduled in the current window, every scheduled player is present.
Players cannot tell the steps of a window apart. Fix a window w, and condition on the history through the end of window w - 1 taking some particular value h in which at least n/2 players are present, and on all the randomness that the players will use during window w. Consider a player . The scheduler schedules p at most once during window w, and throughout the window the clock reads w. So, whenever p is scheduled during window w, it has not yet received any feedback during the window, and everything it knows is determined by what we have conditioned on. It follows that p's decision whether to broadcast if scheduled during window w is fixed, and, critically, is the same no matter which step of the window p is scheduled on.
We define to be the set of players in that would broadcast if scheduled during the window, and let . Under the conditioning above, and are fixed, and the only remaining randomness is the scheduler's randomness in window . Since every scheduled player is present, a step of the window succeeds if and only if exactly one player of is scheduled on it. In particular, letting , the probe step is silent or successful if and noisy if .
A sampling fact. Both the probe set and each group in the loud case are uniformly random sets of a fixed size, so we will analyze them using the following standard fact. Let be a finite set, let be fixed, let be a uniformly random subset of of some fixed size, and let and . Then
Both are Chernoff bounds: the indicators for are negatively associated, since the indicators of membership in a uniformly random set of fixed size are negatively associated [41], and any subset of a family of negatively associated random variables is again negatively associated; and Chernoff bounds apply to sums of negatively associated indicators just as they do to sums of independent ones [30].
What the probe reveals. Roughly, the following claim says that, with high probability, if a is large, the probe will be noisy, and, if a is small, the probe is quiet. Let
Claim A.2. Condition on everything above. Then, whatever the scale j is:
(a) If , then the probe step is noisy with probability at most .
(b) If , then .
(c) If , then the probe step is silent or successful with probability at most .
PROOF. Fix the scale , so that , and let , so that . We apply the sampling fact with , , and , so that and .
Parts (a) and (b) use only that the probe set is small: . For part (a), this gives , so (4) with gives . For part (b), this gives , so (4) with gives
where the last step uses .
Part (c) uses only that the probe set is large: , which gives (using ). So (5) gives .
Successes are rare. Let denote the number of successes during window w. We bound the expected contributions to from the probe step, from the quiet case, and from the loud case.
The probe step. The analysis of the probe step is similar to that of a step in the proof of Theorem 1.2: the probe step succeeds only if , which is unlikely unless , and only scales give . Formally, for a fixed scale , we have , where , and if , then (5) gives . As ranges over , the value of doubles from each scale to the next. Thus, since is uniform over , the scales with contribute at most
to the probability that the probe step succeeds, and the scales with contribute at most
for a total success probability of .
The quiet case. If , then by Claim A.2(c), the quiet case occurs with probability at most , so it contributes at most expected successes. Otherwise, . Each of steps 2, ..., k then schedules a single player, uniformly random from the at least n/4 players of , so each of these steps succeeds with probability at most . The quiet case then contributes at most
expected successes. Intuitively, if is large, then the probe is unlikely to be quiet; and if is small, then a randomly chosen player is unlikely to lie in .
The loud case. If , then by Claim A.2(a), the loud case occurs with probability at most , so it contributes at most expected successes. Otherwise, . By Claim A.2(b), the event occurs with probability at most and so contributes at most expected successes. So condition on a probe set with and , so that at least players of lie in . By linearity of expectation, it suffices to bound the success probability of each of steps individually. Consider step , and let be the -th group, which on its own is a uniformly random subset of of size at least . We apply the sampling fact with , , and , so that and
The step succeeds only if , so, by (5), it succeeds with probability at most . Summing over the steps, the loud case contributes at most expected successes in this case, as well. Intuitively, if is small, then the probe is unlikely to be noisy; and if is large, then every group contains many players of , and so collides.
Putting the pieces together. The bounds for the quiet and loud cases hold for every scale , while the bound for the probe step holds after averaging over . Summing the three, and conditioning on the history and on the players' randomness (but no longer on
j),
Since this bound holds for every value of the players' randomness during window w, it also holds after averaging over that randomness, i.e., conditioned only on the history h.
Combining the bounds. We finish with an argument similar to the proof of Lemma 3.3, but with windows in place of steps. Let be the bound on from above, and let be the number of windows that start with at most successes so far (i.e., with at least players present). Since the number of successes never decreases, these are exactly windows . Since every step is live, , so it suffices to show that .
If with positive probability, this is immediate. Otherwise, is finite with probability 1, and, since window starts with more than successes, more than successes occur during windows . The event is determined by the history through the end of window , so the bound on successes from above gives
Therefore,