A Polynomial Time Algorithm for Fair Resource Allocation in Resource Exchange

Xiang Yan, Wei Zhu

Introduction

In peer-to-peer (P2P) networks and the sharing economy, participants act as both suppliers and consumers of resources such as bandwidth or storage. A fundamental challenge in these systems is designing exchange protocols that incentivize participation through fair allocation. While the "proportional response" mechanism (the BD Mechanism) was previously proposed to address this, its implementation relied on a complex combinatorial structure known as a bottleneck decomposition. Until now, computing this decomposition efficiently was an open problem, as it required searching through $2^{|V|}$ possible vertex subsets. This paper provides the first polynomial-time algorithm to solve this problem, bridging the gap between theoretical fairness and practical implementation.

Methodology

The authors propose a two-phase iterative algorithm that leverages max-flow/min-cut techniques to compute the bottleneck decomposition of a graph $G=(V, E; w)$. The process centers on the $\alpha$-ratio, a metric measuring the ratio of resources in a subset's neighborhood to the resources within the subset itself.

Phase 1: Finding the Minimal $\alpha$-ratio

The first phase involves identifying the minimal $\alpha$-ratio ($\alpha^*$) of the graph. To achieve this, the authors construct an augmented directed network $N(G, \alpha)$ parameterized by an expansion ratio $\alpha$. By applying a binary search approach and using the Edmonds-Karp algorithm to find minimum $s-t$ cuts, the algorithm efficiently pinpoints $\alpha^*$.

The construction of the parameterized network $N(G, \alpha)$ from the original graph $G$ allows the bottleneck problem to be solved via min-cut algorithms.

Phase 2: Extracting the Maximal Bottleneck

Once $\alpha^*$ is determined, the algorithm must find the maximal bottleneck set—the largest subset of vertices sharing this minimal ratio. The authors introduce a tiny perturbation parameter $\epsilon > 0$ into the network capacities of a new network $N(G, \alpha^*, \epsilon)$. This perturbation ensures that the min-cut algorithm breaks ties in favor of size, returning the unique maximal set $B^*$.

The iterative algorithm for computing the maximal bottleneck $B^*$ using a perturbed network and the Edmonds-Karp algorithm.

Key Results and Theoretical Impact

The algorithm achieves the complete bottleneck decomposition in $O(n^6 \log(nU))$ time, where $n$ is the number of vertices and $U$ is the maximum resource weight. This represents a significant improvement in the computational feasibility of market equilibrium models in resource exchange.

Beyond computational efficiency, the paper establishes a profound theoretical connection between two distinct fairness paradigms. The allocation generated by this mechanism is proven to be both a "proportional response" (where agents allocate resources proportionally to what they receive) and "lex-optimal" (lexicographically optimal exchange ratios). This unification provides a robust mathematical foundation for fairness in decentralized resource sharing.

Conclusion

By transforming a difficult combinatorial search into a series of network flow problems, this work resolves a long-standing open problem in algorithmic game theory. The resulting polynomial-time algorithm enables the practical application of fair resource exchange protocols in large-scale P2P networks.

Summary updated

BibTeX
@inproceedings{yan2019polynomial,
  author = {Xiang Yan and Wei Zhu},
  title = {{A Polynomial Time Algorithm for Fair Resource Allocation in Resource Exchange}},
  booktitle = {FAW},
  year = {2019},
  url = {https://openreview.net/forum?id=wELB98I925m},
}
Figure