Abstract
The Target Location Problem for Multi-commodity Flow (LoMuF) addresses the challenge of optimizing geo-distributed data analysis where sources are fixed but processing targets are flexible. This paper proves the problem is NP-hard in general but provides exact algorithms for trees and robust approximation heuristics for general graphs. By bridging facility location and network flow optimization, the authors provide a framework for maximizing concurrent flow in complex, shared-bandwidth environments.
Introduction: The Need for Flexible Targets
In traditional multi-commodity flow (MCF) problems, both sources (data origins) and targets (data destinations) are assumed to be fixed. However, modern geo-distributed analysis—such as processing massive astronomy datasets from telescopes worldwide—requires a more flexible approach. While the telescopes (sources) are stationary, the data centers (targets) for analysis can often be chosen from several candidates.
The authors introduce the Target Location Problem for Multi-commodity Flow (LoMuF) to answer the question: "Where should we compute?" The objective is to select target locations for multiple commodities to maximize concurrent flow value, effectively minimizing network congestion while commodities compete for shared bandwidth.
Algorithmic Methods and Complexity
The paper establishes that while MCF with fixed targets is solvable in polynomial time via linear programming, making targets flexible renders the problem NP-hard. The authors employ a mix of computational complexity analysis and algorithmic design to tackle this.
Complexity Proofs
The authors utilize reductions from hard problems like 3-Dimensional Matching (3-DM) and 3-Partition to establish NP-hardness and APX-hardness. These proofs demonstrate that the interaction between different commodities competing for limited bandwidth on shared edges is the primary source of complexity.
Proposed Algorithms
- Exact Algorithm for Trees: For undirected trees, the authors propose an iterative algorithm. It begins at the Lowest Common Ancestor (LCA) of a commodity's sources and moves the target toward the "heaviest" subtree until flow can no longer be improved.
- Master Source Heuristic: For general graphs, a simple yet effective heuristic is introduced: setting the target to the location of the source with the highest demand. This achieves a $\max\{\theta - 1, 1\}$-approximation ratio, where $\theta$ is the maximum number of sources for any single commodity.
- Gadget Reductions: A "diamond gadget" is used to show that LoMuF on undirected graphs can be reduced to the directed case (Di-LoMuF), bridging the gap between network types.
Key Insights
- The "Direction" Penalty: Imposing direction on edges increases complexity. While undirected trees are solvable exactly, directed paths (the simplest trees) remain NP-hard.
- Restricted Targets: In practice, targets are often limited to a subset of available servers. The paper proves this restriction makes the problem significantly harder, even on simple star topologies.
- Master Source Power: The realization that a simple heuristic—setting the target to the location of the largest source—provides a guaranteed approximation bound is a powerful insight for practitioners looking for quick, near-optimal deployments.
Summary of Results
- General Graphs: LoMuF is NP-complete on general undirected graphs.
- Trees: Exact polynomial-time algorithm for undirected trees; 2-approximation for symmetric directed trees.
- Directed Graphs: Di-LoMuF cannot be efficiently approximated within a ratio smaller than 2 (unless P=NP).
- Feasibility: The "maximum feasibility" variant (maximizing the number of satisfied commodities) is extremely difficult, with no $O(k^{1-\epsilon})$ approximation possible for $k$ supply vectors.
Limitations and Future Directions
As a theoretical study, this work focuses on mathematical bounds and proofs rather than empirical benchmarks. Future research directions include:
- Online Scenarios: Developing algorithms for tasks that arrive sequentially rather than being known upfront.
- Multi-Target LoMuF: Exploring models where a single commodity's data can be split across multiple processing sites.
- Cost Integration: Combining flow maximization with the cost of "opening" or activating specific data centers.
Summary updated