Constant-Factor Inapproximability of Interdomain Routing Welfare Maximization #
This module formalizes Exercise 14.8 of [FSS07] (Chapter 14, p. 384):
when no structural restrictions (such as policy consistency) are placed on AS route valuations,
finding a destination-based confluent routing tree T_d whose social welfare comes within any
constant factor of the maximum social welfare is NP-hard.
Model and reduction #
An encoded routing welfare instance RoutingWelfareInstance consists of an undirected AS graph
graph : Cslib.Complexity.Graph, a destination AS dest : ℕ, a list of sparse route valuation
entries RouteValuationEntry (source, path, weight) (representing arbitrary nonnegative integer
valuations on simple routes from source to dest), and a target welfare target : ℕ. A route
allocation π : ℕ → Option (List ℕ) is a valid destination-based confluent routing tree
(IsConfluentRouting) when π dest = some [dest], every assigned route π u = some p is a
simple path in graph from u to dest on declared vertices, and every suffix along an assigned
route agrees with π (single next-hop forwarding).
Given an IndependentSetInstance (G, m), the polynomial-time reduction independentSetToRouting
builds an AS graph H_G on 1 + |V| + 3 |E| nodes with destination 0:
- For each distinct declared vertex
vofG, a source ASroutingVertexNode v = 4 v + 1. - For each valid undirected edge
e_i = (u, w)(u ≠ w) at indexi, an edge ASroutingEdgeNode i = 4 i + 2and two private exit ASesroutingExitLeft i = 8 i + 3androutingExitRight i = 8 i + 7. - Each vertex AS
routingVertexNode vvalues a single desired simple pathvertexDesiredPath G vat weight1(and all other paths at0), threading sequentially through[routingEdgeNode i, routingExitLeft i]for edges withe_i.1 = vand[routingEdgeNode i, routingExitRight i]for edges withe_i.2 = v, terminating at destination0.
Because destination-based forwarding assigns each edge AS routingEdgeNode i a unique next hop,
no confluent tree can simultaneously satisfy both endpoints of an edge e_i (their desired paths
require distinct next hops routingExitLeft i ≠ routingExitRight i). Conversely, for any
independent set S of G, the desired paths of {v ∈ S} are pairwise vertex-disjoint outside
destination 0, forming a valid confluent tree of social welfare |S|. Hence
(independentSetToRouting x).maxWelfare = x.graph.indepNum (maxWelfare_independentSetToRouting).
Combining this exact gap-preserving polynomial-time reduction
(polyTimeReducible_GapIndependentSet_GapRoutingWelfare) with
Cslib.Complexity.GapIndependentSet_npHard establishes that for every constant 0 < s < 1,
approximating maximum interdomain-routing social welfare within factor s is NP-hard
(GapRoutingWelfare_npHard) and outside PromiseP unless P = NP
(GapRoutingWelfare_notMem_PromiseP).
Main definitions #
Cslib.GameTheory.InterdomainRouting.RouteValuationEntry,Cslib.GameTheory.InterdomainRouting.encRouteValuationEntry: sparse nonnegative route valuation entry(source, path, weight)and its binary encoding.Cslib.GameTheory.InterdomainRouting.RoutingWelfareInstance,Cslib.GameTheory.InterdomainRouting.encRoutingWelfareInstance: encoded interdomain-routing welfare maximization instance.Cslib.GameTheory.InterdomainRouting.RoutingWelfareInstance.IsConfluentRouting,Cslib.GameTheory.InterdomainRouting.RoutingWelfareInstance.welfare,Cslib.GameTheory.InterdomainRouting.RoutingWelfareInstance.maxWelfare: confluent routing trees, social welfare, and optimal welfare.Cslib.GameTheory.InterdomainRouting.GapRoutingWelfare: gap promise problem for constant-factor approximation of maximum interdomain-routing social welfare.Cslib.GameTheory.InterdomainRouting.independentSetToRouting: exact gap-preserving polytime reduction fromIndependentSetInstance.
Main results #
Cslib.GameTheory.InterdomainRouting.maxWelfare_independentSetToRouting:(independentSetToRouting x).maxWelfare = x.graph.indepNum.Cslib.GameTheory.InterdomainRouting.computableInPolyTime_independentSetToRouting: the reduction is computable in polynomial time.Cslib.GameTheory.InterdomainRouting.polyTimeReducible_GapIndependentSet_GapRoutingWelfare,Cslib.GameTheory.InterdomainRouting.GapRoutingWelfare_npHard,Cslib.GameTheory.InterdomainRouting.GapRoutingWelfare_notMem_PromiseP: Exercise 14.8 ([FSS07], p. 384) — constant-factor inapproximability of interdomain routing social welfare for every0 < s < 1.
References #
1. Encoded interdomain-routing welfare maximization problem #
Binary encoding of RouteValuationEntry: framed source (encNat), framed path
(encList encNat), and weight (encNat).
An encoded instance of interdomain-routing social-welfare maximization
([FSS07], §14.3.2, p. 375, and Exercise 14.8, p. 384): an undirected AS
graph graph, a destination AS dest, unrestricted nonnegative route valuations valuations, and
a welfare target target.
- graph : Complexity.Graph
The undirected AS graph.
- dest : ℕ
The distinguished destination AS.
- valuations : List RouteValuationEntry
Sparse list of nonnegative route valuation entries.
- target : ℕ
Target total social welfare.
Instances For
The tuple of the fields of encRoutingWelfareInstance.
Binary encoding of RoutingWelfareInstance: framed graph (encGraph), framed dest
(encNat), framed valuations (encList encRouteValuationEntry), and target (encNat).
A route assignment π : ℕ → Option (List ℕ) is a valid destination-based confluent routing
tree ([FSS07], §14.3.1, p. 371) for inst if:
Valuation derived by AS u from allocated route o under inst.valuations.
Total social welfare ∑ u, v_u(π u) summed over the distinct declared ASes of inst.graph.
Maximum social welfare achievable by a valid confluent routing tree for inst.
The gap promise problem for interdomain-routing social welfare maximization with soundness
s: yes-instances have a confluent routing tree achieving welfare at least x.target, and
no-instances have no confluent routing tree achieving welfare strictly greater than
s * x.target ([FSS07], Exercise 14.8, p. 384).
2. Exact gap-preserving reduction from IndependentSet #
Node ID (4 v + 1) assigned to declared vertex v of G.
Node ID (4 i + 2) assigned to the i-th valid edge of G.
Private exit node ID (8 i + 3) used by the first endpoint e.1 after traversing edge i.
Private exit node ID (8 i + 7) used by the second endpoint e.2 after traversing edge i.
Edges of G with distinct endpoints both lying in G.vertices.
Indexed valid edges [(e₀, 0), (e₁, 1), …] of G.
Desired simple path vertexDesiredPath G v from routingVertexNode v to destination 0:
threads sequentially through [routingEdgeNode i, routingExitLeft i] for every indexed valid edge
((u, w), i) with u = v, and [routingEdgeNode i, routingExitRight i] for every indexed valid
edge with w = v, ending at destination 0.
Polynomial-time gap-preserving reduction from IndependentSetInstance to
RoutingWelfareInstance ([FSS07], Exercise 14.8, p. 384).
Structural properties of vertexDesiredPath and independentSetToRouting #
Exact welfare-independence identity: the maximum confluent-routing social welfare of
independentSetToRouting x equals the independence number x.graph.indepNum of x.graph.
3. Polynomial-time computability and constant-factor NP-hardness (Exercise 14.8) #
The reduction independentSetToRouting is computable in polynomial time.
Gap-preserving polynomial-time reduction from GapIndependentSet s to
GapRoutingWelfare s ([FSS07], Exercise 14.8, p. 384).
Exercise 14.8 (constant-factor NP-hardness of interdomain-routing social welfare)
([FSS07], p. 384): without structural restrictions on AS route valuations,
for every constant 0 < s < 1, distinguishing instances with a confluent routing tree of social
welfare at least k from instances with maximum welfare at most s * k is NP-hard.
Unless P = NP, for every constant 0 < s < 1, no polynomial-time algorithm approximates
maximum interdomain-routing social welfare within factor s.