Saving Critical Nodes with Firefighters is FPT

Jayesh Choudhari, Anirban Dasgupta, Neeldhara Misra, M. S. Ramanujan

Abstract

The firefighting game is a turn-based game played on a graph where fire spreads from a source and firefighters are placed to block it. We consider the Saving a Critical Set (SACS) problem: can we save a specific subset of nodes $C$ given a budget of $k$ firefighters? We prove that SACS is Fixed-Parameter Tractable (FPT) when parameterized by $k$ on general graphs. Conversely, the problem is para-NP-hard when parameterized by the size of the critical set $|C|$. We also establish that the problem is unlikely to admit a polynomial kernelization and that the "spreading model" variant is W[2]-hard.

Introduction

The Firefighter problem, introduced by Hartnell in 1995, models the containment of a spreading process—such as a fire, virus, or rumor—on a graph. In the standard version, a fire starts at a source $s$ at time $t=0$. In each round $t \ge 1$, a firefighter protects one unburned vertex, and then the fire spreads to all unprotected neighbors of currently burning vertices. Once a node is protected, it can never catch fire.

While most research in this area focuses on maximizing the total number of saved nodes, this paper investigates the Saving a Critical Set (SACS) variant. Here, the goal is to protect a specific subset of nodes $C \subseteq V$. This variant is particularly relevant for protecting critical infrastructure or specific high-value targets during an outbreak. The challenge lies in the fact that the problem is NP-hard even on trees with a maximum degree of 3.

The Complexity Landscape

A striking result in this domain is the "One Node Paradox." Even if the critical set $C$ contains only a single node ($|C|=1$), the problem remains NP-complete on general graphs. This indicates that the difficulty of firefighting arises from the temporal constraints and the topology of the graph, rather than the number of targets.

Furthermore, the authors show that SACS is para-NP-hard when parameterized by $|C|$. This means that for any fixed size of the critical set, the problem remains NP-hard. This motivates the search for other parameters to achieve tractability, specifically the number of firefighters $k$.

Algorithmic Approach: Important Separators

The core contribution of this work is proving that SACS is Fixed-Parameter Tractable (FPT) with respect to the number of firefighters $k$. The authors achieve this by framing the firefighting strategy as a dynamic $s-C$ separator. Unlike a static cut, the "edges" of this separator are determined by the time step at which a firefighter is deployed.

Important Separators and Tight Sequences

The algorithm leverages the machinery of important separators, a core technique in modern FPT algorithms. An important separator is a minimal cut between two sets of nodes that is, in a sense, "pushed" as far as possible toward the target set. Because the number of important separators of a certain size is bounded by a function of that size, they are ideal for search algorithms.

The authors use a recursive strategy based on tight separator sequences. By breaking the graph into regions defined by these separators, they can use a "signature" to track the status of nodes (burned, protected, or saved) across boundaries. This ensures that local solutions can be merged into a global firefighting strategy.

Key Results and Hardness

The paper establishes several significant bounds and complexity results:

  • General Graphs: SACS is FPT when parameterized by the number of firefighters $k$. The running time is $f(k) \cdot O(nm^2)$, where $f(k)$ is roughly $k^{O(k^3)}$.
  • Trees: The authors provide a faster FPT algorithm for trees with a running time of $O^*(4^k)$.
  • Kernelization: Using cross-composition, the authors prove that SACS (even on trees) is unlikely to admit a polynomial kernel. This means the problem cannot be efficiently "pre-processed" into an equivalent instance of size polynomial in $k$.
  • Spreading Model: In a variant where protection also spreads to neighbors (similar to a vaccination model), the problem becomes W[2]-hard. This suggests that the spreading model is fundamentally more difficult than the standard non-spreading model and unlikely to be FPT.

Conclusion and Future Work

This work provides the first FPT algorithm for the SACS problem parameterized by the number of firefighters. By bridging the gap between temporal firefighting games and static separator theory, the authors provide a new framework for studying graph containment problems.

While the current general graph algorithm has a high constant factor ($k^{O(k^3)}$), making it more of a theoretical breakthrough than a practical tool for large budgets, the approach using signatures and important separators could be applied to other variants. Future research may explore whether the $W[2]$-hardness of the spreading model holds on simpler graph classes like trees or if multiple fire sources can be accommodated within this FPT framework.

Summary updated

Abstract

We consider the problem of firefighting to save a critical subset of nodes. The firefighting game is a turn-based game played on a graph, where the fire spreads to vertices in a breadth-first manner from a source, and firefighters can be placed on yet unburnt vertices on alternate rounds to block the fire. In this work, we consider the problem of saving a critical subset of nodes from catching fire, given a total budget on the number of firefighters. We show that the problem is para-NP-hard when parameterized by the size of the critical set. We also show that it is fixed-parameter tractable on general graphs when parameterized by the number of firefighters. We also demonstrate improved running times on trees and establish that the problem is unlikely to admit a polynomial kernelization (even when restricted to trees). Our work is the first to exploit the connection between the firefighting problem and the notions of important separators and tight separator sequences. Finally, we consider the spreading model of the firefighting game, a closely related problem, and show that the problem of saving a critical set parameterized by the number of firefighters is W[2]-hard, which contrasts our FPT result for the non-spreading model.
BibTeX
@inproceedings{choudhari2017saving,
  author = {Jayesh Choudhari and Anirban Dasgupta and Neeldhara Misra and M. S. Ramanujan},
  title = {{Saving Critical Nodes with Firefighters is FPT}},
  booktitle = {ICALP},
  year = {2017},
  url = {https://openreview.net/forum?id=zAe_IEyHeDw},
}
Figure