[Paper Review] Maximum Matchings in Random Bipartite Graphs and the Space Utilization of Cuckoo Hashtables
This paper analyzes the size of the maximum matching in random bipartite graphs where each left vertex selects d random neighbors on the right, with applications to cuckoo hashing. It establishes exact thresholds for when a perfect matching (matching all n left vertices) exists whp, using the Karp-Sipser greedy algorithm and differential equations, showing that for d ≥ 3, a matching exists whp when the right side size m ≈ 1.222n (α₁ ≈ 0.818) for d=3.
We study the the following question in Random Graphs. We are given two disjoint sets $L,R$ with $|L|=n=αm$ and $|R|=m$. We construct a random graph $G$ by allowing each $x\in L$ to choose $d$ random neighbours in $R$. The question discussed is as to the size $μ(G)$ of the largest matching in $G$. When considered in the context of Cuckoo Hashing, one key question is as to when is $μ(G)=n$ whp? We answer this question exactly when $d$ is at least four. We also establish a precise threshold for when Phase 1 of the Karp-Sipser Greedy matching algorithm suffices to compute a maximum matching whp.
Motivation & Objective
- To determine the exact threshold for when a maximum matching of size n exists whp in a random bipartite graph with n left vertices, m right vertices, and each left vertex choosing d random neighbors on the right.
- To analyze the performance of the Karp-Sipser greedy matching algorithm in this random graph model, particularly the role of Phase 1 (degree-1 vertex elimination) in achieving a maximum matching.
- To establish precise conditions under which cuckoo hashing with d≥3 hash functions can store all n items in m table locations whp, by relating the problem to matching existence in random bipartite graphs.
- To refine and extend prior results on cuckoo hashing space utilization by providing tight asymptotic thresholds for d≥3, resolving gaps in earlier bounds.
Proposed method
- Uses the Karp-Sipser greedy algorithm, which iteratively matches degree-1 vertices and then randomly selects edges, to analyze the size of the maximum matching.
- Applies the differential equations method to track the evolution of vertex degrees during Phase 1 of the algorithm, modeling the process as a continuous approximation.
- Defines key parameters: z₁ solving z₁ = (e^{z₁} - 1)/(d-1), and α₁ = z₁ / [d(1 - e^{-z₁})^{d-1}], which determines the threshold for whp perfect matching.
- Analyzes the residual graph Γ₁ after Phase 1, showing that whp it has a near-perfect matching when α > α₁, using the largest non-negative solution z* to (z/(αd))^{1/(d-1)} + e^{-z} - 1 = 0.
- Employs probabilistic analysis and witness set enumeration to bound the probability of rare configurations that could prevent a perfect matching.
- Uses coupling arguments and concentration inequalities to show that the number of vertices remaining after Phase 1 concentrates around known asymptotic expressions, enabling precise matching size estimates.
Experimental results
Research questions
- RQ1For d ≥ 3, what is the exact threshold α₁ such that when n = αm and α ≤ α₁, the random bipartite graph whp has a perfect matching of size n?
- RQ2Under what conditions does Phase 1 of the Karp-Sipser algorithm suffice to compute a maximum matching whp, and how large is the matching it produces when α > α₁?
- RQ3What is the asymptotic size of the maximum matching in the residual graph Γ₁ after Phase 1 when α > α₁, and how does it relate to the remaining vertex counts?
- RQ4How does the threshold for perfect matching in this random graph model compare to known results in cuckoo hashing, and can tighter bounds be established for d ≥ 3?
- RQ5What is the precise asymptotic behavior of τ₁ (the number of edges matched in Phase 1) when α > α₁, and how does it depend on the solution z* to the key equation?
Key findings
- For d ≥ 3, if α ≤ α₁, where α₁ = z₁ / [d(1 - e^{-z₁})^{d-1}] and z₁ solves z₁ = (e^{z₁} - 1)/(d-1), then whp μ(G) = n, meaning a perfect matching exists.
- When d = 3, z₁ ≈ 1.251 and α₁ ≈ 0.818, so m ≈ 1.222n locations suffice for whp perfect matching in cuckoo hashing.
- For α > α₁, the number of edges matched in Phase 1 satisfies τ₁ ∼ n(1 - (z*/(αd))^{d/(d-1)}), where z* is the largest non-negative solution to (z/(αd))^{1/(d-1)} + e^{-z} - 1 = 0.
- After Phase 1, the residual graph Γ₁ has whp a matching of size μ(Γ₁) = min{|L₁|, |R₁|} = min{n - τ₁, (1 - (1 + z*)e^{-z*})m + o(m)}.
- The analysis confirms that for d ≥ 3, the threshold for whp perfect matching is strictly below the threshold for d = 2, and provides a tight characterization via the solution z*.
- The paper resolves the space utilization threshold for cuckoo hashing with d ≥ 3 choices, showing that m ≈ 1.222n is sufficient for whp full insertion of n items when d = 3.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.