On the complexity of optimal routing and content caching in heterogeneous networks

Mostafa Dehghan, Anand Seetharam, Bo Jiang, Ting He, Theodoros Salonidis, Jim Kurose, Don Towsley, Ramesh K. Sitaraman

Abstract

This paper investigates the joint optimization of content caching and request routing in heterogeneous networks to minimize average access delay. We demonstrate that while the problem is NP-complete under both congestion-insensitive and congestion-sensitive models, it can be reformulated as the maximization of a monotone submodular function. Leveraging this property, we propose greedy algorithms that provide a $(1 - 1/e)$ approximation guarantee. Experimental results using real-world web traces show that our approach can reduce access delay by up to 50% compared to traditional caching strategies.

Introduction

In modern hybrid networks—such as cellular networks augmented with edge caches or mobile ad-hoc networks (MANETs)—users have multiple paths to fetch content. They can retrieve data from a nearby, low-latency edge cache or request it directly from a distant, potentially congested back-end server. To optimize network performance, operators must simultaneously decide which content to store at the edge and how to route user requests.

Heterogeneous network model with edge caches and back-end server.

Problem Formulation

The joint caching and routing problem is modeled as a Mixed-Integer Program (MIP). We consider two distinct network delay models:

  1. Congestion-Insensitive Model: The delay to the back-end server is assumed to be constant.
  2. Congestion-Sensitive Model: The delay to the back-end server increases with traffic load, modeled using M/M/1 queueing theory.

The objective is to minimize the average access delay by selecting an optimal set of files for each cache and determining the routing probabilities for user requests.

Methodology and Complexity

A rigorous complexity analysis reveals that the joint problem is NP-complete in the general case. However, a key methodological breakthrough is the proof that the objective of minimizing average delay can be transformed into maximizing a monotone submodular function subject to matroid constraints (cache capacities). Submodularity implies "diminishing returns": the marginal benefit of adding a file to a cache decreases as the cache becomes more populated.

Based on this structure, we propose two algorithms:

  • GreedyWG (Algorithm 1): A greedy algorithm with a theoretical $(1 - 1/e)$ approximation guarantee.
  • Greedy (Algorithm 2): A computationally efficient heuristic that prioritizes immediate delay reduction, suitable for large-scale deployments.

Theoretical Insights

The NP-completeness of the congestion-insensitive model is tied to the presence of odd-length cycles in the bipartite graph connecting users and caches. In contrast, the congestion-sensitive model is fundamentally harder, remaining NP-complete even in a single-cache scenario with unique user requests.

Bipartite graph representation mapping users to cache slots for submodular optimization.

The submodular property is the "saving grace" of the problem, bridging the gap between theoretical intractability and practical solvability.

Experimental Evaluation

We evaluated the proposed algorithms using real-world web access traces from an industrial research lab, comprising 9 million requests for over 3 million distinct files.

Key Results

  • Near-Optimality: In small-scale tests, the greedy algorithms achieved solutions within 1% of the brute-forced optimal.
  • Delay Reduction: In large-scale simulations, the "Greedy" heuristic reduced average access delay by up to 50% compared to probabilistic LRU (p-LRU) baselines.
  • Topology Impact: We found that centralized caching is preferable for small total budgets, while distributed edge caching yields lower delays as the total available capacity increases.

Conclusion

While joint caching and routing is computationally difficult, submodular optimization provides a robust framework for near-optimal solutions. Future work will focus on developing distributed versions of these algorithms and adapting the models to account for time-varying content popularity.

Summary updated

BibTeX
@inproceedings{dehghan2015complexity,
  author = {Mostafa Dehghan and Anand Seetharam and Bo Jiang and Ting He and Theodoros Salonidis and Jim Kurose and Don Towsley and Ramesh K. Sitaraman},
  title = {{On the complexity of optimal routing and content caching in heterogeneous networks}},
  booktitle = {INFOCOM},
  year = {2015},
  doi = {10.1109/infocom.2015.7218465},
}
Figure