Linear-Time Inference for Pairwise Comparisons with Gaussian-Process Dynamics

Lucas Maystre, Victor Kristof, Matthias GrossglauserarXiv 2019

Introduction

In competitive environments, a player's or team's skill is rarely a fixed quantity. Factors such as aging, roster changes, or fluctuating morale cause performance to evolve over time. Traditional rating systems like Elo or TrueSkill often struggle to capture these complex dynamics, typically assuming skills follow a simple random walk. This paper presents a more flexible approach using continuous-time Gaussian Processes (GPs) to model skill evolution, paired with a novel linear-time inference algorithm that scales to millions of matches.

Modeling Dynamic Skills

The core contribution is a Bayesian framework where latent skills are treated as stochastic processes. Unlike static models that assume a fixed skill parameter per competitor, this dynamic model allows skills to vary continuously over time.

Comparison of the static plate model (a) and the proposed dynamic model (b) where skills $s_{m}$ evolve over time $t$.

By utilizing Gaussian Processes, the model can incorporate a variety of temporal priors through different covariance functions. This flexibility allows researchers to capture specific real-world phenomena, such as mean reversion or sudden shifts in performance that standard models miss.

Example of a piecewise constant kernel, which can model sudden discontinuities in skill, such as those caused by injuries or roster changes.

Efficient Inference at Scale

Standard GP inference is computationally expensive, scaling cubically $O(N^3)$ with the number of observations. To make the model practical for large-scale datasets like professional sports histories or online gaming logs, the authors exploit the relationship between temporal GPs and state-space models (SSMs). By representing the GP as a Gauss-Markov process, they implement a variational inference scheme that utilizes Kalman filtering and smoothing. This reduces the complexity to $O(N)$, enabling the processing of over 7 million chess matches in just seconds.

Empirical Performance

The model was evaluated across diverse domains, including ATP Tennis, NBA Basketball, World Football, and Chess. In every case, the GP-based dynamic model outperformed traditional baselines like Elo and TrueSkill in terms of predictive accuracy and log-loss.

Key findings include:

  • Sport-Specific Dynamics: Different sports exhibit unique temporal patterns. Basketball skills showed shorter timescales and mean-reverting behavior, while tennis skills were more persistent.
  • Contextual Features: The model easily incorporates external factors like "home-field advantage," which significantly boosted predictive power in football.
  • Handling Intransitivity: By adding pairwise interaction features, the model successfully captured "rock-paper-scissors" dynamics in StarCraft, outperforming specialized models.

Conclusion

This work demonstrates that Gaussian Processes provide a powerful and interpretable foundation for modeling skill dynamics. By overcoming the traditional computational bottlenecks, the authors have made flexible, continuous-time rating systems viable for massive real-world applications, offering deeper insights into how competitive excellence evolves over decades.

Summary updated

BibTeX
@misc{maystre2019linear,
  author = {Lucas Maystre and Victor Kristof and Matthias Grossglauser},
  title = {{Linear-Time Inference for Pairwise Comparisons with Gaussian-Process Dynamics}},
  year = {2019},
  eprint = {1903.07746},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.07746},
}
Figure