The Multiplicative Version of Azuma's Inequality, with an Application to Contention Analysis

William Kuszmaul, Qi Qi · DOI

Abstract

Azuma's inequality is a tool for proving concentration bounds on random variables. The inequality can be thought of as a natural generalization of additive Chernoff bounds. On the other hand, the analogous generalization of multiplicative Chernoff bounds does not appear to be widely known. We formulate a multiplicative-error version of Azuma's inequality. We then show how to apply this new inequality in order to greatly simplify (and correct) the analysis of contention delays in multithreaded systems managed by randomized work stealing.

Introduction

In theoretical computer science, a recurring challenge is proving that a random variable—such as the execution time of an algorithm—remains close to its expected value. Traditionally, researchers rely on two primary tools: Chernoff bounds and Azuma’s inequality. Chernoff bounds are highly effective for sums of independent random variables, particularly in their "multiplicative" form, which provides tight bounds when the expected value is small relative to the maximum possible value. Conversely, Azuma’s inequality is the standard for dependent variables forming a martingale.

However, a significant gap exists: standard Azuma’s inequality is "additive," meaning its error term scales with the number of steps. This can result in loose bounds when the actual expected outcome is small. This paper introduces a "Multiplicative Azuma" inequality that bridges this gap, providing a robust tool for analyzing scenarios involving dependencies and small means, such as those encountered with adaptive adversaries.

Methodology

The authors derive Theorem 5, the Multiplicative Azuma’s Inequality, by synthesizing the core machinery of multiplicative Chernoff bounds—specifically moment-generating functions and Markov’s inequality—with the iterative conditional expectation structure characteristic of Azuma’s proofs.

A key technical feature is the focus on supermartingales to bound the probability that a process exceeds its expected "drift." The derivation relies on decomposing the total change in the random variable into a sum of differences, as shown below:

Decomposition of the martingale difference sequence used in the proof.

The technical framework includes:

  • Supermartingale focus: Bounding the probability of exceeding expected drift.
  • Adversarial Extension: Theorem 10 extends the result to cases where bounds on random variables are determined adaptively, provided the total sum of expected values remains bounded.
  • Lower Tail Bounds: Providing a corresponding version for variables falling significantly below their mean.

Key Insights and Applications

One of the primary advantages of this new inequality is its performance when the expected value $\mu$ is much smaller than the total number of steps $n$. In such cases, the multiplicative bound is exponentially more powerful than the additive one. For instance, if $n$ variables each have a $1/n$ probability of being 1, an additive bound suggests the sum is $O(\sqrt{n})$, whereas the multiplicative bound correctly identifies it as $O(1)$ with high probability.

The authors apply this tool to revisit the $(P, M)$-recycling game, a model for contention in parallel computing originally analyzed in 1999. The original analysis contained a subtle error by ignoring dependencies between ball tosses. By applying Multiplicative Azuma, the authors provide a proof that is both shorter and formally correct, handling these dependencies naturally through the martingale property.

Key Results

The core result is a bound of the form: $$Pr[Z_n - Z_0 \geq \delta\mu] \leq \exp\left(-\frac{\delta^2\mu}{(2+\delta)c}\right)$$ where $c$ represents the range of the steps and $\mu$ is the sum of the conditional means.

Applying this to the $(P, M)$-recycling game, the authors prove a total delay of $O(M + P \log(1/\epsilon))$ with probability $1-\epsilon$. This result is slightly tighter than the previously accepted (though incorrect) bound. Beyond contention analysis, the tool's versatility is demonstrated through applications in edge orientation in incremental forests and task scheduling against adaptive adversaries.

Conclusion

While the mathematical derivation of the inequality is a straightforward combination of existing techniques, its value lies in its explicit formulation as a "plug-and-play" theorem. By providing a clear, citable version of Multiplicative Azuma, the authors aim to help researchers avoid the combinatorial pitfalls that have affected previous high-profile analyses. Future work will involve applying this framework to other areas of randomized algorithm analysis where independence is often incorrectly assumed for the sake of simplicity.

Summary updated

BibTeX
@misc{kuszmaul2021multiplicative,
  author = {William Kuszmaul and Qi Qi},
  title = {{The Multiplicative Version of Azuma's Inequality, with an Application to Contention Analysis}},
  year = {2021},
  eprint = {2102.05077},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.05077},
}
Figure