Computational Hardness and Inapproximability of Network Influence Maximization #
This module formalizes Exercise 24.3(a)–(b) of [Kle07] (Section 24.4, p. 623, and
Exercises, p. 632; originally [KKT03]), establishing both NP-hardness of
exact influence maximization in the Independent Cascade Model and NP-hardness of
n ^ (1 - ε)-approximation in the General Threshold and Order-Independent Cascade Models:
- Independent Cascade Influence Maximization (
ICInfluence, Exercise 24.3(a)): AnInfluenceMaxInstanceencodes a weighted directed network (ICNetwork, with unary vertex countnumVerticesand rational directed edgesICEdge), a binary seed budgetbudget, and a binary target expected influencetarget. Every valid network embeds directly intoCslib.GameTheory.Network.IndependentCascadeModel. Reducing fromVertexCovervia a bipartite directed graph of vertex nodes and edge nodes with unit-probability directed edges provesVertexCover ≤ₚ ICInfluenceandICInfluence_npHard. - Deterministic Sharp-Threshold General Threshold / Cascade Networks (
SharpThresholdNetwork, Exercise 24.3(a)–(b)): Following [Kle07], Section 24.3 case (i) (p. 621), each vertexv < numVerticeshas an integer activation thresholdτ_v ≥ 1and activates deterministically once at leastτ_vof its incoming neighbors are active (toGeneralThresholdModel,toCascadeModel). For everySharpThresholdNetwork, expected influence under bothGeneralThresholdModel.influenceandCascadeModel.influenceequals the cardinality of the deterministic fixed pointdetFinal, which is polynomial-time computable (detFinalBits), placingSharpThresholdInfluenceinNP. n ^ (1 - ε)Inapproximability (GapSharpThresholdInfluence, Exercise 24.3(b)): Appending a layer ofM = (m_V + m_E + 4) ^ damplifier nodes (each with incoming edges from allm_Eedge nodes and sharp thresholdm_E) to the bipartite vertex-cover gadget amplifies the YES/NO influence gap beyondn ^ (1 - ε)for every0 < ε < 1while keeping the instance polynomial-sized. This provesPromiseProblem.NPHardforGapSharpThresholdInfluence ε(GapSharpThresholdInfluence_npHard),NPCompleteforSharpThresholdInfluence, and that for everyε > 0, any polynomial-timen ^ (1 - ε)-approximation algorithm (returning either a feasible seed list or a rational value estimate) impliesP = NP(P_eq_NP_of_sharpThreshold_approx,P_eq_NP_of_sharpThreshold_valueApprox).
Main definitions #
Cslib.Complexity.ICEdge,Cslib.Complexity.ICNetwork,Cslib.Complexity.InfluenceMaxInstance,Cslib.Complexity.ICInfluence: encoded Independent Cascade influence maximization problem and itsenc_structureencodings.Cslib.Complexity.SharpThresholdNetwork,Cslib.Complexity.SharpThresholdInstance,Cslib.Complexity.SharpThresholdInfluence,Cslib.Complexity.GapSharpThresholdInfluence: encoded deterministic sharp-threshold General Threshold / Cascade networks, decision problem, andn ^ (1 - ε)gap promise problem.
Main results #
Cslib.Complexity.polyTimeReducible_VertexCover_ICInfluence,Cslib.Complexity.ICInfluence_npHard:NP-hardness of Independent Cascade influence maximization ([Kle07], Section 24.4, p. 623, and Exercise 24.3(a), p. 632; [KKT03]).Cslib.Complexity.SharpThresholdNetwork.toCascadeModel_prob_eq,Cslib.Complexity.SharpThresholdNetwork.influence_eq_card_detFinal: exact equivalence with [Kle07], Section 24.3 case (i) (p. 621), and deterministic evaluation of expected influence.Cslib.Complexity.SharpThresholdInfluence_npComplete:NP-completeness of sharp-threshold influence maximization.Cslib.Complexity.polyTimeReducible_VertexCover_GapSharpThresholdInfluence,Cslib.Complexity.GapSharpThresholdInfluence_npHard:NP-hardness of then ^ (1 - ε)influence gap problem for every0 < ε < 1([Kle07], Section 24.4, p. 623, and Exercise 24.3(b), p. 632; [KKT03]).Cslib.Complexity.P_eq_NP_of_sharpThreshold_approx,Cslib.Complexity.P_eq_NP_of_sharpThreshold_valueApprox: for everyε > 0, any polynomial-timen ^ (1 - ε)-approximation algorithm for sharp-threshold General Threshold / Cascade influence maximization impliesP = NP.
References #
Part 1: Independent Cascade Influence Maximization (Exercise 24.3(a)) #
A finite directed network on vertices 0, ..., numVertices - 1 with rational edge weights.
- numVertices : ℕ
Number of vertices
n, encoded in unary so input length is at leastn. Directed weighted edges.
Instances For
The tuple of the fields of encICNetwork.
An instance of decision influence maximization: a weighted directed network, a seed budget k,
and an integer target expected influence.
- network : ICNetwork
The underlying weighted directed network.
- budget : ℕ
Maximum number of initial seed vertices.
- target : ℕ
Target lower bound on expected activated nodes.
Instances For
Framed encICNetwork followed by binary budget and binary target.
Well-formedness for an Independent Cascade network: all edge endpoints are in bounds, all edge
probabilities lie in [0, 1], and no directed pair (src, dst) appears twice.
Directed graph on Fin N.numVertices induced by N.edges.
Edge activation probability extracted from N.edges, defaulting to 0 when absent or outside
[0, 1].
Interpret any ICNetwork as an IndependentCascadeModel on N.toDigraph.
On a valid Independent Cascade network, toIndependentCascadeModel.edgeProb agrees with the
listed edge weight on every listed edge.
On any deterministic (0/1) Independent Cascade model where every edge of G has probability
1, expected influence from S equals the deterministic reachable-set size
|liveReachable G S|.
Reduction VertexCover ≤ₚ ICInfluence (Exercise 24.3(a)) #
Bipartite Independent Cascade reduction from VertexCover: vertices 0, ..., m_V - 1 represent
G.distinctVertices, vertices m_V, ..., m_V + m_E - 1 represent VertexCover.properEdges G,
each proper edge e = (a, b) receives unit-probability directed edges from its two endpoints, the
budget is x.k, and the target is x.k + m_E.
Correctness of vertexCoverToIC ([Kle07], Exercise 24.3(a), p. 632):
x ∈ VertexCover if and only if vertexCoverToIC x ∈ ICInfluence.
vertexCoverToIC is computable in polynomial time.
Polynomial-time many-one reduction VertexCover ≤ₚ ICInfluence.
Part 2: Deterministic Sharp-Threshold General Threshold / Cascade Networks #
A finite directed network where each vertex v < numVertices has an integer activation
threshold τ_v ≥ 1 ([Kle07], Section 24.3 case (i), p. 621).
- numVertices : ℕ
Number of vertices
n, encoded in unary so input length is at leastn. Directed edges
(u, v)withu, v < numVertices.Positive integer activation thresholds
τ_0, ..., τ_{n-1}.
Instances For
Framed unary vertex count, framed binary edge list, and framed list of binary thresholds.
An instance of sharp-threshold influence maximization: a SharpThresholdNetwork, a binary
seed budget budget, and a binary influence target target.
- network : SharpThresholdNetwork
The sharp-threshold directed network.
- budget : ℕ
Maximum number of initial seeds
k. - target : ℕ
Target expected number of activated nodes.
Instances For
The tuple of the fields of encSharpThresholdInstance.
Framed encSharpThresholdNetwork followed by binary budget and binary target.
Well-formedness of a SharpThresholdNetwork: one positive threshold per vertex and all edge
endpoints in 0, ..., numVertices - 1.
Executable Boolean validity check for SharpThresholdNetwork.
Directed graph on Fin N.numVertices induced by N.edges.
Positive activation threshold max 1 (thresholds.getD v 1) at vertex v.
Embed SharpThresholdNetwork as a GeneralThresholdModel on N.toDigraph
([Kle07], Section 24.3, pp. 619–621): g_v(X) = 1 if at least thresholdAt v incoming
neighbors of v lie in X, and 0 otherwise.
Equivalent Order-Independent Cascade Model (toGeneralThresholdModel.toCascadeModel,
[Kle07], Section 24.3 case (i), p. 621).
Exact match with [Kle07], Section 24.3 case (i) (p. 621): for an untried incoming
neighbor u of v, N.toCascadeModel.prob v u X = 1 iff (X ∩ inNeighbors v).card + 1 = τ_v,
and 0 otherwise.
One deterministic sharp-threshold activation step on Fin N.numVertices.
Deterministic final active set after numVertices steps from seed set S.
Deterministic evaluation of expected influence: for every seed set S, the expected
influence under N.toGeneralThresholdModel equals |(N.detFinal S)|.
The equivalent Order-Independent Cascade Model has the exact same expected influence.
Maximum expected influence achievable in N with at most k initial seeds.
Executable polynomial-time simulation (detFinalBits) #
One executable Boolean-vector step of the sharp-threshold cascade on N.
Executable numVertices-step sharp-threshold cascade on a Boolean activation vector.
Counting true bits in N.detFinalBits (seedMask N.numVertices l) equals
|(N.detFinal (seedFinset N.numVertices l))|.
Computing the exact final active count (N.detFinalBits (seedMask N.numVertices l)).countP id
from a network and a binary seed list is polynomial-time.
SharpThresholdInfluence belongs to NP, witnessed by a subset of List.range numVertices
verified by the polynomial-time deterministic cascade simulator detFinalBits.
Part 3: n ^ (1 - ε) Inapproximability (Exercise 24.3(b)) #
n ^ (1 - ε) Gap Problem for Sharp-Threshold Influence Maximization ([Kle07],
Section 24.4, p. 623, and Exercise 24.3(b), p. 632; [KKT03]):
among valid instances with 1 < numVertices, yes-instances achieve optimal expected influence at
least target, while no-instances have optimal expected influence at most
target / numVertices ^ (1 - ε).
Amplifier gadget reduction from VertexCover #
Three-layer amplifier reduction from VertexCover to GapSharpThresholdInfluence:
given exponent d ≥ 2 and (G, k), trivial cases map to yesGapInstance d / noGapInstance d;
otherwise, with mV = |distinctVertices|, mE = |properEdges|, L = mV + mE + 4, and
M = L ^ d, the network has:
- Layer 1 (
0 .. mV - 1): vertex nodes (no incoming edges, threshold1); - Layer 2 (
mV .. mV + mE - 1): edge nodes (incoming edges from both endpoints, threshold1); - Layer 3 (
mV + mE .. mV + mE + M - 1):Mamplifier nodes (incoming edges from allmEedge nodes, thresholdmE).
Gap-preserving correctness of vertexCoverToSharpThreshold ([Kle07],
Exercise 24.3(b), p. 632): for 0 < ε < 1 and 2 ≤ d with 2 ≤ (d + 1) * ε,
vertexCoverToSharpThreshold d maps VertexCover into (GapSharpThresholdInfluence ε).yes and
VertexCoverᶜ into (GapSharpThresholdInfluence ε).no.
For every fixed exponent d, vertexCoverToSharpThreshold d is computable in polynomial
time.
Polynomial-time gap reduction from VertexCover to GapSharpThresholdInfluence ε for every
0 < ε < 1 ([Kle07], Exercise 24.3(b), p. 632).
GapSharpThresholdInfluence ε is NP-hard for every 0 < ε < 1 ([Kle07],
Section 24.4, p. 623, and Exercise 24.3(b), p. 632; [KKT03]).
SharpThresholdInfluence is NP-hard (via the ε = 1 / 2 gap reduction).
SharpThresholdInfluence is NP-complete ([Kle07], Exercise 24.3(a), p. 632).
Algorithmic n ^ (1 - ε)-inapproximability corollaries (P = NP) #
Inapproximability within n ^ (1 - ε) for value-approximating algorithms
([Kle07], Section 24.4, p. 623, and Exercise 24.3(b), p. 632; [KKT03]):
for every ε > 0, if a polynomial-time algorithm computes a rational estimate V x satisfying
optInfluence / numVertices ^ (1 - ε) ≤ V x ≤ optInfluence on every valid sharp-threshold
instance with 1 < numVertices, then P = NP.
Inapproximability within n ^ (1 - ε) for seed-selecting algorithms ([Kle07],
Section 24.4, p. 623, and Exercise 24.3(b), p. 632; [KKT03]):
for every ε > 0, if a polynomial-time algorithm A outputs a seed list whose in-bounds vertex
set S = seedFinset numVertices (A x) satisfies S.card ≤ budget and
optInfluence / numVertices ^ (1 - ε) ≤ influence S (under GeneralThresholdModel.influence,
equivalently CascadeModel.influence) on every valid sharp-threshold instance with
1 < numVertices, then P = NP.