A Polynomial Time Algorithm for Spatio-Temporal Security Games

Soheil Behnezhad, Mahsa Derakhshan, MohammadTaghi Hajiaghayi, Aleksandrs Slivkins

Introduction

Security games are a cornerstone of algorithmic game theory, modeling the strategic interaction between a defender protecting assets and an attacker seeking to exploit them. While static security games are well-understood, "spatio-temporal" variants—where both targets and patrols move through space over time—introduce a daunting combinatorial explosion. This paper presents a theoretical breakthrough: the first polynomial-time algorithm to compute optimal minimax strategies for these games on a 1D line.

The Spatio-Temporal Challenge

In a spatio-temporal security game, a defender manages $K$ patrols to protect $A$ moving targets across $T$ time steps. If space is discretized into $M$ locations, a single patrol has $M^T$ possible paths. For multiple patrols, the strategy space grows to $(M^T)^K$, making standard solvers computationally infeasible for any practical application.

Figure 2: Comparison of discrete (a) and continuous (b) spatio-temporal security game models, showing patrol trajectories (black lines) and target locations (red dots) over time.

Previous approaches relied on restrictive assumptions, such as non-overlapping protection ranges or a very small number of rounds. This work removes these limitations, providing a solution that scales efficiently even as the map resolution $M$ becomes massive.

Technical Methodology

The authors' solution rests on three technical pillars that transform the exponential search space into a manageable optimization problem.

1. Spatial Partitioning and Equivalence

The core insight is that the continuous 1D line can be partitioned into a small number of "equivalent" intervals. These intervals are defined by target positions adjusted by the protection radius ($R$) and the maximum patrol speed ($\Delta$). Within these intervals, a patrol's protective capability is invariant, reducing the spatial complexity from polynomial in $M$ to polylogarithmic ($\log M$).

2. Flow-Based Day Graphs

For each time step $t$, the algorithm constructs a "day graph" ($G_t$). A unit of flow through this network represents a snapshot of patrol positions. By treating randomized strategies as network flows, the authors convert a discrete combinatorial problem into a continuous linear programming (LP) problem.

3. Unified LP and Compatibility Constraints

The individual day graphs are linked into a unified LP. The critical challenge is ensuring that a randomized distribution at time $t$ can physically transition to the distribution at time $t+1$.

Figure 6: Illustration of compatibility constraints between time steps $t$ and $t+1$. The dashed lines represent the feasible region for a patrol moving at maximum speed $\Delta$.

These "compatibility constraints" ensure that no patrol is required to exceed its maximum speed $\Delta$ to reach its next assigned interval. Finally, the authors use a "non-crossing" property of 1D flows—where identical patrols crossing paths can be swapped without changing the outcome—to decompose the aggregate flow into valid individual patrol trajectories.

Key Results and Insights

  • Efficiency: The algorithm achieves polynomial complexity relative to the number of targets ($A$), time steps ($T$), and patrols ($K$).
  • Continuous Space Support: The framework extends to continuous 1D coordinates, maintaining polynomial efficiency as long as target locations are rational.
  • Strategy Compression: The optimal strategy can be represented as a distribution over a polynomial number of pure strategies, making it practical for real-world deployment.

Limitations and Future Outlook

While a significant leap forward, the current algorithm is constrained to 1D environments. The "non-crossing" property used to untangle flows does not naturally hold in 2D or 3D spaces. Additionally, the model assumes homogeneous patrols with constant maximum speeds. Future research aims to generalize these findings to higher dimensions and heterogeneous patrol units, such as combinations of drones and ground vehicles.

Summary updated

BibTeX
@inproceedings{behnezhad2017polynomial,
  author = {Soheil Behnezhad and Mahsa Derakhshan and MohammadTaghi Hajiaghayi and Aleksandrs Slivkins},
  title = {{A Polynomial Time Algorithm for Spatio-Temporal Security Games}},
  booktitle = {EC},
  year = {2017},
  doi = {10.1145/3033274.3085133},
}
Figure