The Pure Price of Anarchy of Pool Block Withholding Attacks in Bitcoin Mining

Colleen Alkalay-Houlihan, Nisarg Shah

Introduction

Bitcoin mining pools allow individual miners to reduce income variance by sharing rewards. However, this cooperative structure is vulnerable to "block withholding" attacks. In such an attack, a pool sends its miners to a competitor. These infiltrators submit partial proofs of work (shares) to claim a portion of the victim pool's rewards but discard any full solutions that would actually benefit the victim. This creates a strategic environment known as the "Miner's Dilemma," where pools are incentivized to sabotage each other even though they would collectively be better off mining honestly.

Modeling the Miner's Dilemma

The authors model this interaction as a non-cooperative game between mining pools. Each pool $i$ chooses an attack rate $x_{ij}$, representing the fraction of its power used to infiltrate pool $j$. The reward functions are derived based on "effective mining power"—the honest work remaining after accounting for power lost to attacks and the revenue gained from successful infiltrations.

Equilibrium and Convergence

A critical question in game theory is whether such a system reaches a stable state. The authors prove that for any two-player Miner's Dilemma game, a pure Nash equilibrium always exists. Furthermore, simulations of "best-response dynamics"—where pools iteratively adjust their strategies to maximize their own rewards—demonstrate that the system converges to this equilibrium remarkably fast.

Convergence of best-response dynamics for two pools, showing error rates dropping to near zero within 100 iterations.

As shown in Figure 1, the error rate of the best response for two pools decreases exponentially, typically reaching equilibrium in fewer than 10 iterations. This suggests that in a real-world scenario, pools would quickly settle into a stable pattern of mutual sabotage.

Quantifying Efficiency Loss: The Pure Price of Anarchy

To quantify the impact of this selfish behavior on the network, the authors use the "Pure Price of Anarchy" (PPoA). This metric is the ratio of the total mining power available to the power actually used for honest mining at equilibrium. A PPoA of 1 indicates perfect efficiency, while a PPoA of 2 means half the network's power is wasted on attacks.

The paper's most significant theoretical result is a proof that the PPoA is strictly less than 3. This provides a worst-case bound on the efficiency loss caused by block withholding. However, numerical simulations and proofs for specific cases suggest a tighter bound.

Pure Price of Anarchy for two pools in a scenario with no other miners, showing a peak PPoA of 2 when pools are of equal size.

In Figure 4, we observe the PPoA for two pools that control 100% of the network's hash power. The efficiency loss is greatest when the pools are of equal size ($m_1 = m_2 = 50$), where the PPoA reaches exactly 2. This supports the authors' conjecture that the true upper bound for PPoA in this game is 2, rather than 3. Interestingly, as the number of pools increases, experimental data suggests the PPoA may actually decrease, implying that a more fragmented mining landscape might be more resilient to the total efficiency loss from these attacks.

Conclusion and Future Outlook

This research provides a rigorous foundation for understanding the costs of sabotage in Bitcoin mining. While the Miner's Dilemma leads to unavoidable efficiency losses, the finding that the Price of Anarchy is bounded (likely by 2) offers some reassurance regarding the network's overall stability. Future work remains to extend these proofs to $N$-pool scenarios and to consider more complex reward structures and dynamic difficulty adjustments.

Summary updated

BibTeX
@inproceedings{alkalayhoulihan2019pure,
  author = {Colleen Alkalay-Houlihan and Nisarg Shah},
  title = {{The Pure Price of Anarchy of Pool Block Withholding Attacks in Bitcoin Mining}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33011724},
}
Figure