A model for efficient dynamical ranking in networks

Andrea Della Vecchia, Kibidi Neocosmos, Daniel B. Larremore, Cristopher Moore, Caterina De BaccoarXiv 2023 · DOI

Abstract

We present a physics-inspired method for inferring dynamic rankings in directed temporal networks - networks in which each directed and timestamped edge reflects the outcome and timing of a pairwise interaction. The inferred ranking of each node is real-valued and varies in time as each new edge, encoding an outcome like a win or loss, raises or lowers the node's estimated strength or prestige, as is often observed in real scenarios including sequences of games, tournaments, or interactions in animal hierarchies. Our method works by solving a linear system of equations and requires only one parameter to be tuned. As a result, the corresponding algorithm is scalable and efficient. We test our method by evaluating its ability to predict interactions (edges' existence) and their outcomes (edges' directions) in a variety of applications, including both synthetic and real data. Our analysis shows that in many cases our method's performance is better than existing methods for predicting dynamic rankings and interaction outcomes.

Introduction

In many systems—from the NBA to animal dominance hierarchies—rankings aren't static; they shift as new interactions occur. Traditional "static" models treat all games in a season as one big pile of data, ignoring the fact that a team might start weak and end strong.

Existing "dynamic" models have trade-offs: the famous Elo system can be "jumpy" and reactive, while others like Whole-History Rating (WHR) are computationally intensive. The challenge is to create a model that is dynamic, smooth, and scalable. Researchers have developed Dynamical SpringRank (DSR), a physics-inspired algorithm that tracks how rankings in a network evolve over time by modeling interactions as physical springs.

Methods: The Physics of Ranking

The authors build upon SpringRank, a model where nodes (entities) are treated as positions on a 1D line, and directed edges (wins/losses) are treated as physical springs. If Team A beats Team B, a spring "pulls" A above B.

The "Dynamical" part introduces a clever twist: Self-Springs.

  • The Intuition: Imagine each team is connected to its own "past self" by a spring. This spring penalizes the team for changing its rank too drastically from one time step to the next, enforcing a "smooth" trajectory.
  • The Math: The model boils down to solving a linear system of equations. This is a massive win for efficiency because linear systems are extremely fast for computers to solve, making the algorithm highly scalable.
Schematic of the Dynamical SpringRank model showing nodes connected by springs both to opponents and their own past states.

The paper explores an "Online" version (predicting the next step based only on the past) and an "Offline" version (reconstructing the whole history at once). Surprisingly, the Online version often proved more accurate for future predictions.

Datasets

The authors tested their model on both controlled synthetic data and four high-profile real-world datasets:

  • NBA (Basketball): 9,594 games over 218 time steps (2010–2018).
  • Lichess.org (Chess): 298 matches between 96 players.
  • Italian Serie A (Soccer): 5,679 games over 397 time steps (1993–2016).
  • English Premier League (Soccer): 3,396 games over 114 time steps (2006–2018).

Key Results and Insights

Superior Accuracy and Smoothness

On the NBA dataset, Dynamical SpringRank (DSR) achieved the highest accuracy (65%) and the lowest "agony" (a metric that penalizes ranking violations), beating out Elo, TrueSkill, and WHR. Qualitatively, DSR produces much smoother ranking trajectories than the "win-loss" decay models, which tend to produce jagged, erratic lines.

Comparison of ranking trajectories for NBA teams across different models. DSR and Elo show smoother, more interpretable trends compared to the highly volatile W-L model.

Chronology and Forecasting

Using a "permutation test," the authors found that for the NBA, the order of games is crucial for accuracy. However, for European soccer, a static model performed nearly as well. This suggests soccer hierarchies are more stable, while NBA teams fluctuate more due to factors like fatigue or mid-season trades.

In the "Offline" model, knowing future results to explain the past actually made out-of-sample predictions worse. The "Online" model, which only looks backward, was more robust for forecasting.

Conclusion and Future Work

Dynamical SpringRank offers a scalable, efficient alternative to complex Bayesian models by relying on sparse linear algebra. Unlike complex Bayesian models, DSR only requires tuning one main hyperparameter ($k$), which controls the "stiffness" of the temporal spring.

Future work could address limitations such as:

  • Fixed Time Steps: Scaling the spring constant by the time interval ($\Delta t$) to handle irregular gaps.
  • Momentum: Adding a "momentum" term to account for the rate of change in rank (e.g., "hot streaks").
  • Strategic Interactions: Integrating "choice" behavior where players specifically challenge those just above them in rank.

Summary updated

BibTeX
@misc{vecchia2023model,
  author = {Andrea Della Vecchia and Kibidi Neocosmos and Daniel B. Larremore and Cristopher Moore and Caterina De Bacco},
  title = {{A model for efficient dynamical ranking in networks}},
  year = {2023},
  eprint = {2307.13544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.13544},
}
Figure