paper

Testing Bipartiteness in Logarithmic Rounds

arXiv:2606.13583

Abstract

The seminal work of Goldreich and Ron (\textit{Combinatorica, 1999}) showed that bipartiteness of bounded-degree graphs can be tested using random walks of length . In this work, we improve their result by showing that random walks of length suffice. As a corollary, we obtain an -pass, -space streaming algorithm for testing bipartiteness, whose pass complexity is optimal in light of a recent lower bound of Fei, Minzer, and Wang (\textit{arXiv, 2026}). Our proof takes a different approach from that of Goldreich and Ron, using the semidefinite programming relaxation for Max-Cut introduced by Goemans and Williamson (\textit{J. ACM, 1995}).

Testing Bipartiteness in Logarithmic Rounds · wovepaper