NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fair coin flipping: tighter analysis and the many-party case

Niv Buchbinder, Iftach Haitner, Nissan Levi, Eliad Tsfadia · DOI

Introduction

Generating a common random bit among mutually distrusting parties—a process known as fair coin flipping—is a foundational problem in distributed computing and cryptography. In a setting with $t$ parties and $m$ rounds of communication, the objective is to ensure that even if some parties are malicious, the final output remains as close to a uniform distribution as possible.

The primary challenge arises in the "fail-stop" model. In this scenario, malicious parties cannot deviate from the protocol's mathematical rules, but they can choose to abort the protocol prematurely. By observing the intermediate state of the protocol, an adversary can decide to stop if they perceive the current trajectory is unfavorable, thereby attempting to bias the final outcome. The quality of a protocol is measured by its bias: the maximum deviation from a 50/50 distribution that an adversary can induce.

Historical Context and the 1985 Barrier

The quest for optimal fairness has spanned decades. In 1986, Cleve established a fundamental lower bound, proving that for any $m$-round protocol, an adversary can always force a bias of at least $\Omega(1/m)$. While the two-party case was eventually solved with an optimal $\Theta(1/m)$ protocol in 2009, the multi-party scenario ($t \ge 3$) remained stagnant. For over thirty years, the best known protocols for more than two parties could only guarantee a bias of $\Theta(t/\sqrt{m})$, a result dating back to 1985. This paper breaks this long-standing barrier for a small number of parties, providing the first significant improvement in decades.

The Recovery Protocol with Calibrated Noise

The authors build upon the "recovery protocol" framework. In this paradigm, if a party aborts, the remaining parties do not simply restart the process, which would grant the adversary significant leverage. Instead, they transition to a "defense" functionality designed to preserve the expected value of the coin based on the state prior to the abort.

However, a naive defense mechanism can inadvertently leak information about the eventual outcome, which an adaptive adversary can exploit. To mitigate this, the paper introduces a novel Noise functionality. By injecting carefully calibrated mathematical noise into the defense values, the protocol prevents the adversary from gaining too much information from the abort process. This "Goldilocks" approach to noise—providing enough to mask the outcome but not so much that the recovery fails—is central to the protocol's success.

A New Analytical Paradigm: Linear Programming

Perhaps the most significant contribution of the work is the introduction of a Linear Programming (LP) framework for security analysis. Analyzing an adaptive adversary, who can choose to abort at any round based on the protocol's history, is traditionally a complex probabilistic task.

The authors transform this problem by modeling the adversary’s strategy as an "online binomial game." They demonstrate that:

  1. All possible adversarial strategies correspond to feasible solutions of a primal Linear Program.
  2. The maximum bias achievable by an adversary is exactly the objective value of this LP.

To prove the protocol's security, the authors utilize the principle of LP weak duality. Rather than solving the primal LP directly, they construct a feasible solution to the dual LP. By the properties of duality, any feasible solution to the dual provides a rigorous upper bound on the primal's objective value. This methodological shift turns a messy cryptographic proof into a structured optimization problem, allowing for much tighter bounds than previous methods.

Key Results and Improvements

The new protocol and its LP-based analysis yield a significant improvement in the achievable bias for multi-party coin flipping. The authors establish a bias of:

$$O\left(\frac{t^4 \cdot 2^t \cdot \sqrt{\log m}}{m^{1/2 + 1/(2^{t-1}-2)}}\right)$$

For a constant number of parties ($t \in O(1)$), this achieves a bias of $1/m^{1/2 + \Theta(1)}$, effectively shattering the $\Theta(t/\sqrt{m})$ barrier. Specifically, for the three-party case, the protocol achieves a bias of $O(\sqrt{\log m} / m)$, a substantial improvement over the previous state-of-the-art $O(\log^3 m / m)$.

Limitations and Future Directions

While the paper represents a major theoretical breakthrough, it also highlights remaining challenges. The current protocol only outperforms the 1985 baseline when the number of parties is relatively small ($t \le \frac{1}{2} \log \log m$). As $t$ grows, the exponential dependence on the number of parties causes the bound to degrade, meaning the classical $\Theta(t/\sqrt{m})$ protocol remains superior for large $t$.

Furthermore, a gap still exists between the new upper bounds and Cleve’s $1/m$ lower bound for $t > 3$. Future research may explore whether the $O(\sqrt{\log m})$ factor in the three-party case is an artifact of the analysis or a fundamental requirement, and whether the LP framework can be extended to provide tighter bounds for a larger number of participants.

Summary updated

BibTeX
@inproceedings{buchbinder2017fair,
  author = {Niv Buchbinder and Iftach Haitner and Nissan Levi and Eliad Tsfadia},
  title = {{Fair coin flipping: tighter analysis and the many-party case}},
  booktitle = {SODA},
  year = {2017},
  doi = {10.1137/1.9781611974782.170},
}
Figure