Attacking Shortest Paths by Cutting Edges

Benjamin A. Miller, Zohair Shafi, Wheeler Ruml, Yevgeniy Vorobeychik, Tina Eliassi-Rad, Scott Alfeld · DOI · OpenReview

Abstract

Shortest-path routing is a fundamental principle in network traffic management, ensuring efficiency in systems ranging from internet data transfer to urban transportation. This paper introduces and analyzes the "Force Path Cut" problem, where an adversary seeks to remove a minimum-cost set of edges to make a specific target path the shortest route between two nodes. We demonstrate that while this problem is APX-hard, it can be effectively approximated by mapping it to a Weighted Set Cover formulation. Our proposed algorithm, PATHATTACK, utilizes constraint generation to provide near-optimal solutions. Experimental results across 16,000 trials on diverse real-world and synthetic networks show that PATHATTACK consistently outperforms baseline strategies, finding optimal solutions in over 86% of cases.

Introduction

In many critical infrastructures, traffic naturally gravitates toward the "shortest path" to minimize latency or cost. An adversary might exploit this behavior to force traffic through a specific route—for instance, to redirect data through a compromised router for surveillance or to funnel vehicles onto a specific toll road.

The primary challenge for such an adversary is efficiency: removing all alternative paths is often prohibitively expensive. Instead, the goal is to identify the minimum-cost set of edges to remove such that the target path $p^*$ becomes the unique shortest route. This paper formalizes this as the Force Path Cut problem and extends the analysis to related problems like forcing specific nodes or edges into the shortest path.

Theoretical Hardness and the PATHATTACK Algorithm

The authors prove that the Force Path Cut problem is APX-hard, establishing that no polynomial-time algorithm can find a perfectly optimal solution unless P=NP. This hardness stems from the complex interdependencies between paths in a network. The figure below illustrates the type of graph construction used to establish these theoretical lower bounds, where multiple overlapping paths must be strategically interrupted.

Graph construction used to prove the APX-hardness of the Force Path Cut problem.

Despite its complexity, the problem can be elegantly recast as a Weighted Set Cover problem. In this mapping, the "elements" to be covered are all paths between the source and target that are currently shorter than or equal to the target path $p^*$. The "sets" are the edges in the graph; choosing an edge (set) "covers" (interrupts) all paths that pass through it.

Mapping the Force Path Cut problem to a Weighted Set Cover formulation.

To address the exponential number of possible paths in large graphs, the authors developed PATHATTACK. This algorithm employs Constraint Generation, iteratively identifying the current shortest path and adding it as a constraint to the Set Cover solver until the target path $p^*$ successfully becomes the shortest. Two versions were proposed: a fast Greedy heuristic and a Randomized version based on Linear Programming (LP) relaxation for better theoretical guarantees.

Experimental Evaluation

The researchers evaluated PATHATTACK across a wide array of topologies, including synthetic models (Erdős–Rényi, Barabási–Albert, Watts–Strogatz) and real-world networks such as the Wikispeedia navigation graph (WIKI), Oregon autonomous systems (AS), and US road networks (PA-ROAD, NEUS).

Key Findings: * Optimality: The randomized PATHATTACK algorithm achieved the optimal solution in over 86% of experimental trials. * Topological Sensitivity: The algorithm's advantage is most pronounced in "clustered" networks like social or citation graphs (e.g., DBLP), where many overlapping alternative paths exist. In contrast, in grid-like networks (lattices and road maps), simple greedy strategies often suffice due to a lack of strategic bottlenecks. * Efficiency: PATHATTACK significantly reduced the required "attack budget" compared to naive baselines that simply cut the cheapest edge on the current shortest path.

Conclusion and Future Work

This research provides a robust framework for understanding and executing shortest-path manipulation attacks. While PATHATTACK is highly effective, computational scaling remains a challenge for extremely large networks or complex node-forcing tasks. Future work should focus on closing the theoretical approximation gap and, crucially, developing defensive strategies to design networks that are inherently resilient to such path-manipulation attacks.

Summary updated

BibTeX
@article{miller2024attacking,
  author = {Benjamin A. Miller and Zohair Shafi and Wheeler Ruml and Yevgeniy Vorobeychik and Tina Eliassi-Rad and Scott Alfeld},
  title = {{Attacking Shortest Paths by Cutting Edges}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2024},
  doi = {10.1145/3622941},
}
Figure