Drifting Games

Robert E. Schapire

Abstract: This paper introduces "Drifting Games," a geometric framework that provides a unifying theoretical foundation for major machine learning algorithms like AdaBoost and online learning. By framing learning as a game where a "shepherd" guides "chips" toward low-loss regions against a constrained adversary, the author derives the "Optimal Shepherd" (OS) algorithm and proves its optimality.

Introduction

In the late 1990s, algorithms like AdaBoost and Boost-by-Majority were revolutionizing machine learning. However, these methods often appeared as distinct solutions to specific problems. Robert E. Schapire addressed this by abstracting the learning process into a geometric "drifting game." This framework explains the underlying mechanics of these algorithms and provides a path for generalizing them to more complex scenarios, such as multiclass classification or settings where weak learners may abstain from predictions.

The Drifting Game Framework

The core of the paper is the Drifting Game and the OS (Optimal Shepherd) algorithm. The game is played over $T$ rounds with $m$ chips in $n$-dimensional space.

  1. The Game Setup: The "shepherd" (the algorithm) chooses a weight vector for each chip, indicating a desired direction and importance. An adversary then moves the chips; while they do not have to follow the shepherd's directions exactly, they must move in the desired direction on average, meeting a minimum drift threshold $\delta$.
  2. Potential Functions: The OS algorithm relies on a potential function $\phi_t(s)$, representing the "expected future loss" for a chip at position $s$ with $t$ rounds remaining.
  3. Inductive Optimization: Potential functions are defined backward from the final loss $L$. The shepherd’s optimal move is found by solving a minimax optimization: minimizing the worst-case future potential.

Visualizing the Drifting Game

To demonstrate the algorithm's properties, Schapire uses synthetic mathematical examples. A primary example involves chips on a 1D line where the goal is to move them into a specific interval, such as $[2, 7]$.

Extracted figure from page 8 of Drifting Games

As shown in the figure above, the potential function and weight distribution evolve dynamically. The shepherd assigns higher weights to chips that are further from the goal or in danger of drifting away, effectively "herding" them toward the low-loss region.

Key Theoretical Insights

  • Decoupling the Chips: A powerful finding is that the optimal strategy is "local." The shepherd does not need to consider the positions of all chips simultaneously; the optimal weight for a specific chip depends only on its current position and the time remaining.
  • A Unified Theory: Many established algorithms are revealed as specific versions of this game:
  • AdaBoost: A drifting game utilizing an exponential loss function.
  • Boost-by-Majority: A drifting game on a 1D line with a step-function loss.
  • Weighted Majority Algorithm: A drifting game used for combining expert advice.
  • The "Cost" of Time: Counterintuitively, more rounds ($T$) are not always beneficial. In certain configurations, a longer game provides the adversary more opportunities to drift chips away from the goal, potentially increasing the final loss.

Results and Limitations

Schapire proves that the OS algorithm is essentially the best possible strategy, providing upper and lower bounds on loss that match as the number of chips $m$ grows large. Furthermore, the paper provides the first optimal generalization of the boost-by-majority algorithm to multiclass problems.

However, challenges remain. Calculating potential functions for high-dimensional multiclass problems is computationally expensive, growing exponentially with the number of classes. Additionally, the standard OS algorithm requires knowing the drift parameter $\delta$ and the total number of rounds $T$ in advance. Future research is needed to make these algorithms more adaptive and to find closed-form solutions for more general movement constraints.

Summary updated

BibTeX
@inproceedings{schapire2001drifting,
  author = {Robert E. Schapire},
  title = {{Drifting Games}},
  booktitle = {Machine},
  year = {2001},
  doi = {10.1023/a:1010800213066},
}
Figure