39
Preventing Unraveling in Social Networks: The Anchored k -Core Problem Kshipra Bhawalkar 1 Jon Kleinberg 2 Kevin Lewi 1 Tim Roughgarden 1 Aneesh Sharma 3 1 Stanford University 2 Cornell University 3 Twitter, Inc. ICALP 2012 Kevin Lewi The Anchored k-Core Problem

Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Preventing Unraveling in Social Networks:The Anchored k-Core Problem

Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Tim Roughgarden1 Aneesh Sharma3

1Stanford University2Cornell University

3Twitter, Inc.

ICALP 2012

Kevin Lewi The Anchored k-Core Problem

Page 2: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Outline

1 The Problem

2 Easy Cases

3 Hardness of Approximation

4 Graphs with Bounded Treewidth

5 Open Problems

Kevin Lewi The Anchored k-Core Problem

Page 3: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored k-Core

The k-core of a graph = the maximal induced subgraph whereall vertices have degree at least k .

Computing the k-core of a graph is easy

for example, suppose k = 3, and G looks like this:

Kevin Lewi The Anchored k-Core Problem

Page 4: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

An Example

k = 3

Kevin Lewi The Anchored k-Core Problem

Page 5: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

An Example

k = 3

Kevin Lewi The Anchored k-Core Problem

Page 6: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

An Example

k = 3

Kevin Lewi The Anchored k-Core Problem

Page 7: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

An Example

k = 3

Kevin Lewi The Anchored k-Core Problem

Page 8: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

An Example

k = 3

Kevin Lewi The Anchored k-Core Problem

Page 9: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Conference Talks

Suppose I know that people will pay attention to the talk aslong as they have at least 3 other friends who are also payingattention

My goal is to maximize the number of people paying attention

Also, assume that I have $50 to spare.

Kevin Lewi The Anchored k-Core Problem

Page 10: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Conference Talks

Suppose I know that people will pay attention to the talk aslong as they have at least 3 other friends who are also payingattention

My goal is to maximize the number of people paying attention

Also, assume that I have $50 to spare.

Kevin Lewi The Anchored k-Core Problem

Page 11: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Conference Talks

Suppose I know that people will pay attention to the talk aslong as they have at least 3 other friends who are also payingattention

My goal is to maximize the number of people paying attention

Also, assume that I have $50 to spare.

Kevin Lewi The Anchored k-Core Problem

Page 12: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Conference Talks

Suppose I know that people will pay attention to the talk aslong as they have at least 3 other friends who are also payingattention

My goal is to maximize the number of people paying attention

Also, assume that I have $50 to spare.

Kevin Lewi The Anchored k-Core Problem

Page 13: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Another Example

k = 3b = 5

Kevin Lewi The Anchored k-Core Problem

Page 14: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Another Example

k = 3b = 5

Kevin Lewi The Anchored k-Core Problem

Page 15: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Another Example

k = 3b = 5

Kevin Lewi The Anchored k-Core Problem

Page 16: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Another Example

k = 3b = 5

Kevin Lewi The Anchored k-Core Problem

Page 17: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Another Example

k = 3b = 5

Kevin Lewi The Anchored k-Core Problem

Page 18: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Another Example

k = 3b = 5

Kevin Lewi The Anchored k-Core Problem

Page 19: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored k-Core with budget b

the maximum induced subgraph in which every vertex eitherhas degree at least k , or is anchored

Goal: Find a set S , |S | = b, such that placing anchors on thenodes of S maximizes the number of vertices that remain.

Fact: there is a simple algorithm that runs in time O(nb)

Fact: k = 0 and k = 1 are trivial

Kevin Lewi The Anchored k-Core Problem

Page 20: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored 2-Core

What happens for k = 2?

Observation: Every vertex that lies on a cycle already belongsto the 2-core.

Algorithm: take longest paths (runs in time O(n2))

Can be more clever (runs in time O(m + n log n))

Kevin Lewi The Anchored k-Core Problem

Page 21: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored 2-Core

What happens for k = 2?

Observation: Every vertex that lies on a cycle already belongsto the 2-core.

Algorithm: take longest paths (runs in time O(n2))

Can be more clever (runs in time O(m + n log n))

Kevin Lewi The Anchored k-Core Problem

Page 22: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored 2-Core

What happens for k = 2?

Observation: Every vertex that lies on a cycle already belongsto the 2-core.

Algorithm: take longest paths (runs in time O(n2))

Can be more clever (runs in time O(m + n log n))

Kevin Lewi The Anchored k-Core Problem

Page 23: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored 2-Core

What happens for k = 2?

Observation: Every vertex that lies on a cycle already belongsto the 2-core.

Algorithm: take longest paths (runs in time O(n2))

Can be more clever (runs in time O(m + n log n))

Kevin Lewi The Anchored k-Core Problem

Page 24: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored 3-Core

What happens for k = 3?

Cannot simplify graph into a forest in this case

In fact, we show that for k ≥ 3, the problem is difficult.

Kevin Lewi The Anchored k-Core Problem

Page 25: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored 3-Core

What happens for k = 3?

Cannot simplify graph into a forest in this case

In fact, we show that for k ≥ 3, the problem is difficult.

Kevin Lewi The Anchored k-Core Problem

Page 26: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Anchored 3-Core

What happens for k = 3?

Cannot simplify graph into a forest in this case

In fact, we show that for k ≥ 3, the problem is difficult.

Kevin Lewi The Anchored k-Core Problem

Page 27: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Solution Quality

Fact: b ≤ solution quality ≤ n

So, any algorithm obtains an n/b approximation...

Theorem: It is NP-hard to obtain an O(n1−ε) approximationfor k ≥ 3.

Kevin Lewi The Anchored k-Core Problem

Page 28: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Solution Quality

Fact: b ≤ solution quality ≤ n

So, any algorithm obtains an n/b approximation...

Theorem: It is NP-hard to obtain an O(n1−ε) approximationfor k ≥ 3.

Kevin Lewi The Anchored k-Core Problem

Page 29: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Reduction from Set Cover

Recall Set Cover: n sets, m elements

covering < m elements is just like covering 0 elements

this property is ensured by having lots of cycles in the graph

it’s too difficult to figure out how to cover all m elements(because set cover is NP-hard)

Kevin Lewi The Anchored k-Core Problem

Page 30: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Treewidth

The treewidth of a graph is a measure of how closely a graphresembles a tree

Trees have treewidth 1, and cliques on n vertices havetreewidth n − 1

Kevin Lewi The Anchored k-Core Problem

Page 31: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

FPT w.r.t. treewidth

For graphs of treewidth w , we have anO((3(k + 1)2)w · b2 · poly(n))-time exact algorithm

given graph G , decomposes it into a tree

runs a dynamic programming procedure on the resulting tree

Kevin Lewi The Anchored k-Core Problem

Page 32: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Generalizations

weighted budget costs

weighted rewards

directed edges

variable thresholds

variations on the objective function

Kevin Lewi The Anchored k-Core Problem

Page 33: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Summary and Open Problems

In general, anchored k-core is very difficult, but as soon asthere is some structure to the graph, it becomes easier

PTAS for graphs which exclude fixed minors (planar, etc.)?

Can it be analyzed for random graphs?

Kevin Lewi The Anchored k-Core Problem

Page 34: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Cheating

Resource Augmentation:

compare us against the optimal solution using b anchors

But, allow ourselves to use 2b anchors

Kevin Lewi The Anchored k-Core Problem

Page 35: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Cheating

Resource Augmentation:

compare us against the optimal solution using b anchors

But, allow ourselves to use b · log n anchors

Kevin Lewi The Anchored k-Core Problem

Page 36: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Cheating

Resource Augmentation:

compare us against the optimal solution using b anchors

But, allow ourselves to use b · polylogn anchors

Kevin Lewi The Anchored k-Core Problem

Page 37: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Cheating

Resource Augmentation:

compare us against the optimal solution using b anchors

But, allow ourselves to use b · polylogn anchors

Still NP-hard to get an O(n1−ε) approximation!

Kevin Lewi The Anchored k-Core Problem

Page 38: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Parameterization by the budget

Is anyone here a fan of FPT?

Recall that O(nb) is easy to obtain. Can we getO(f (b) · poly(n))?

No. The problem is W[2]-hard with respect to b (viaDominating Set).

Kevin Lewi The Anchored k-Core Problem

Page 39: Preventing Unraveling in Social Networks: The Anchored k ... · Preventing Unraveling in Social Networks: The Anchored k-Core Problem Kshipra Bhawalkar1 Jon Kleinberg2 Kevin Lewi1

Parameterization by the budget

Is anyone here a fan of FPT?

Recall that O(nb) is easy to obtain. Can we getO(f (b) · poly(n))?

No. The problem is W[2]-hard with respect to b (viaDominating Set).

Kevin Lewi The Anchored k-Core Problem