The Complexity of Temporal Vertex Cover in Small-Degree Graphs

Thekla Hamm, Nina Klobas, George B. Mertzios, Paul G. Spirakis · DOI

Abstract

This paper investigates the computational complexity of the Temporal Vertex Cover (TVC) problem and its variant, the Sliding-Window Temporal Vertex Cover ($\Delta$-TVC), specifically focusing on graphs with low maximum degrees. While the standard Vertex Cover problem is a cornerstone of combinatorial optimization, its extension to temporal graphs—where edges exist only at specific time steps—introduces significant complexity. The authors demonstrate a sharp contrast between the two variants: while TVC remains solvable in polynomial time on paths and cycles, $\Delta$-TVC is NP-hard even on these simple structures. The study further provides a $(d-1)$-approximation algorithm for general graphs and a Polynomial-Time Approximation Scheme (PTAS) for paths.

Introduction

In the classic Vertex Cover problem, the goal is to identify a minimum set of vertices such that every edge in a static graph is incident to at least one vertex in the set. However, many real-world networks, such as sensor networks or social contacts, are dynamic. Temporal graphs model these systems by assigning time-labels to edges, indicating when a connection is active.

Two primary formulations of the temporal vertex cover have emerged:

  1. Temporal Vertex Cover (TVC): Requires that every edge $(u, v)$ appearing at time $t$ is covered at least once during the graph's entire lifetime.
  2. Sliding-Window Temporal Vertex Cover ($\Delta$-TVC): Requires that every edge is covered at least once within every sliding time window of length $\Delta$.

The $\Delta$-TVC variant is particularly relevant for high-security or high-availability scenarios, such as network surveillance, where gaps in coverage must be strictly limited. Previous research established that $\Delta$-TVC is NP-hard on general graphs with a maximum degree of 3. This paper addresses the "holy grail" of this complexity line: does the problem become tractable when the underlying graph is restricted to the simplest possible topologies—paths and cycles (degree-2 graphs)?

Complexity Analysis: The Hardness of Paths

The most striking result of this research is the proof that $\Delta$-TVC is NP-hard on underlying paths and cycles for any window size $\Delta \ge 2$. This settles a major open question in the field.

To establish this, the authors employ a sophisticated reduction from Planar Monotone Rectilinear 3SAT. They construct a series of gadgets—variable blocks, clause connectors, and vertical line gadgets—using temporal edges on a simple path. These gadgets are designed to simulate Boolean logic through the timing of edge appearances. The reduction demonstrates that the sliding window constraint introduces a form of "temporal memory." Even if a graph appears as a simple path at any single moment, the dependencies created by the overlapping windows allow the encoding of NP-hard problems.

In contrast, the authors show that the standard TVC (where $\Delta$ equals the total lifetime) remains easy. On paths and cycles, TVC can be solved in $O(Tn)$ time using a greedy dynamic programming approach, where $T$ is the lifetime and $n$ is the number of vertices.

Algorithmic Contributions

Beyond the hardness results, the paper provides several algorithmic frameworks for addressing $\Delta$-TVC in both restricted and general settings.

1. Geometric Mapping and PTAS

For $\Delta$-TVC on paths, the authors develop a Polynomial-Time Approximation Scheme (PTAS). They achieve this by mapping the temporal problem into a 2D geometric space. By treating time as a second dimension, vertex appearances are represented as points and coverage requirements as 2-admissible regions (specifically, rectangles). This transformation allows the authors to leverage known results from the Geometric Hitting Set problem to find near-optimal solutions.

2. General Graph Approximations

For general graphs with a maximum degree $d$, the authors introduce a $(d-1)$-approximation algorithm. This represents a significant improvement over the previous state-of-the-art $d$-approximation. This result is particularly useful for sparse graphs where $d$ is small, providing a tighter bound on the optimal solution size.

3. Fixed-Parameter Tractability (FPT)

The paper also explores the problem through the lens of parameterized complexity. They prove that $\Delta$-TVC is Fixed-Parameter Tractable (FPT) when parameterized by the solution size $k$. The proposed algorithm runs in $O((2\Delta)^k Tn^2)$, showing that the problem is solvable efficiently when the required cover set is relatively small.

Key Insights and Future Work

The research highlights a fundamental "dimensionality shift": a 1D path evolving over time behaves computationally like a 2D static structure. The sliding window constraint is the primary driver of complexity, as it forces the solution to account for temporal proximity in a way that standard vertex cover does not.

While this work provides a near-complete picture for degree-2 graphs, several avenues remain for future research:

  • The $\Delta$ Threshold: The paper proves hardness for $\Delta \ge 2$, but the exact relationship between the window size, the graph structure, and the transition from P to NP-hard remains to be fully mapped.
  • Generalizing the PTAS: While the PTAS works for paths and cycles, extending these geometric techniques to trees or graphs with bounded treewidth is a logical next step.
  • Complexity Dichotomy: The ultimate goal is a complete dichotomy theorem that classifies the complexity of $\Delta$-TVC across all graph classes and temporal parameters.

Summary updated

BibTeX
@inproceedings{hamm2022complexity,
  author = {Thekla Hamm and Nina Klobas and George B. Mertzios and Paul G. Spirakis},
  title = {{The Complexity of Temporal Vertex Cover in Small-Degree Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i9.21259},
}
Figure