From Donkeys to Kings in Tournaments

Amir Abboud, Tomer Grossman, Moni Naor, Tomer Solomon

Abstract

In the study of directed graphs, a "king" is a vertex that can reach every other vertex in at most two steps. While it is a well-established result that every tournament graph contains at least one king, the computational complexity of finding multiple kings has remained less understood. This paper explores the boundaries of this problem, revealing a sharp phase transition in complexity. We demonstrate that finding up to three kings is relatively efficient, requiring sublinear queries. However, finding four or more kings suddenly becomes significantly harder, requiring $\Omega(n^2)$ queries—effectively necessitating an inspection of the entire graph. This transition at $k=4$ connects simple combinatorial search to the deep machinery of fine-grained complexity and fast matrix multiplication.

Introduction

A tournament is a complete directed graph where every pair of distinct vertices $u, v$ is connected by exactly one directed edge (either $u \to v$ or $v \to u$). This structure naturally models round-robin competitions where every participant plays every other participant once, and no draws are permitted.

A king in a tournament is a vertex $v$ such that for every other vertex $w$, there is either a direct edge $v \to w$ or a two-step path $v \to u \to w$. In competitive terms, a king is a player who either defeated everyone else directly or defeated someone who, in turn, defeated the remaining players. Landau's Theorem (1953) famously guarantees that every tournament has at least one king. While finding a single king is a classic exercise, this research investigates the complexity of finding a "court" of $k$ kings.

Computational Models

The authors evaluate the problem under two primary lenses:

  1. The Query Model: The complexity is measured by the number of edge queries (asking "who won between A and B?") required to identify $k$ kings. This is particularly relevant for large-scale data where the graph is not fully stored in memory.
  2. The RAM Model: This model considers the actual running time of algorithms on a standard computer, focusing on how the problem scales with $n$ (the number of vertices) and its relationship to the exponent of matrix multiplication, $\omega$.

Methodology

The researchers employ several sophisticated techniques to establish their bounds:

  • The Pivot Lemma: This recursive tool allows algorithms to narrow down the search space. If a king is found within a specific subset of "losers" (those defeated by a chosen pivot vertex), it is guaranteed to be a king for the entire tournament.
  • Yao’s Minimax Principle: To prove lower bounds for randomized algorithms, the authors construct "hard" input distributions where any algorithm must perform many queries on average.
  • Fine-Grained Reductions: The paper links the $k$-king problem to the $\exists\forall$-Triangle Problem, a variant of the classic triangle detection problem. This connection suggests that improving upon certain bounds for finding kings would imply breakthroughs in other fundamental complexity problems.

Key Insights: The $k=4$ Phase Transition

The most significant contribution of the paper is the discovery of a "phase transition" at $k=4$.

For $k \in \{1, 2, 3\}$, the problem is "easy." Using strategies based on the Pivot Lemma, one can find these kings without looking at every edge. Specifically, randomized algorithms can find up to three kings in $O(n)$ queries, which is linear in the number of vertices.

However, for $k \ge 4$, the Pivot Lemma strategy breaks down. The authors show that to find a fourth king, an algorithm is forced to query $\Omega(n^2)$ edges. This means that for $k \ge 4$, one essentially needs to know the outcome of almost every match in the tournament.

A tournament construction used to establish lower bounds for finding multiple kings.

To prove this lower bound, the authors introduce the concept of "donkeys." A donkey is a vertex that is almost a king—it can reach all but one or two other vertices in two steps. The construction shown in Figure 1 illustrates how edges can be oriented between sets $A, B, C$ and candidate nodes $k_1, k_2, k_3$ to create these deceptive "donkey" vertices. Distinguishing a true king from a donkey requires checking specific edges that are hidden within the $O(n^2)$ possible pairs, making the search inherently expensive.

Results and Complexity

The findings are summarized as follows:

For $k \le 3$:

  • Randomized Complexity: $O(n)$ queries are sufficient.
  • Deterministic Complexity: $O(n^{3/2})$ queries are required, leaving a small gap between the best known lower bound of $\Omega(n^{4/3})$ for $k=1$.

For $k \ge 4$:

  • Query Complexity: $\Omega(n^2)$ queries are necessary, even for randomized algorithms.
  • RAM Model Complexity: The problem can be solved in $O(\min\{n^\omega, kn^2\})$ time. The $n^\omega$ term arises because finding all kings is equivalent to computing the square of the adjacency matrix $M$ and identifying rows in $M + M^2$ that have no zeros (excluding the diagonal).

Conclusion and Future Work

This work clarifies the landscape of tournament search problems, showing that the difficulty does not scale linearly with the number of kings but rather jumps abruptly.

Several open questions remain:

  1. Closing the Deterministic Gap: For $k=1$, the gap between $\Omega(n^{4/3})$ and $O(n^{3/2})$ remains an intriguing puzzle in combinatorial search.
  2. Triangle Detection Equivalence: While the paper relates the problem to the $\exists\forall$-Triangle Problem, further work is needed to determine if this variant is strictly as hard as standard triangle detection.
  3. Instance Optimality: Although a general instance-optimal algorithm is impossible for $k > 3$, there may be specific tournament topologies where $k$ kings can still be found efficiently.

Summary updated

BibTeX
@inproceedings{abboud2024from,
  author = {Amir Abboud and Tomer Grossman and Moni Naor and Tomer Solomon},
  title = {{From Donkeys to Kings in Tournaments}},
  booktitle = {ESA},
  year = {2024},
  doi = {10.4230/lipics.esa.2024.3},
}
Figure