73
Densest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha (Joint work with Samir Khuller) Department of Computer Science University of Maryland, College Park, MD 20742 36th ICALP, 2009

On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

On Finding Dense Subgraphs

Barna Saha(Joint work with Samir Khuller)

Department of Computer ScienceUniversity of Maryland, College Park, MD 20742

36th ICALP, 2009

Page 2: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Density for Undirected Graphs

• Given an undirected graph G = (V , E), density of asubgraph H ⊆ G, is defined as dH = |E(H)|

|V (H)| .

Page 3: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Density for Directed Graphs

• Given two subsets of nodes S and T of a directed graphG = (V , E), density is defined as

d(S, T ) =|E(S, T )|√

|S||T |• S and T may not be disjoint.

Page 4: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Density for Directed Graphs

• Proposed by Kannan and Vinay in 1999.

• Subsequently used in many other works [Charikar’00,Andersen’08].

Page 5: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Undirected Graphs:

• Maximum density subgraph can be found in polynomialtime for undirected graphs.

• Combinatorial algorithms based on maxflow computations[Lawler’76, Goldberg’84].

• Linear programming based algorithm [Charikar’00].

• Fast linear time algorithms for computing 2-approximatesolutions [Kortsarz & Peleg’92, Charikar’00].

Page 6: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Undirected Graphs:

• Maximum density subgraph can be found in polynomialtime for undirected graphs.

• Combinatorial algorithms based on maxflow computations[Lawler’76, Goldberg’84].

• Linear programming based algorithm [Charikar’00].

• Fast linear time algorithms for computing 2-approximatesolutions [Kortsarz & Peleg’92, Charikar’00].

Page 7: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Undirected Graphs:

• Maximum density subgraph can be found in polynomialtime for undirected graphs.

• Combinatorial algorithms based on maxflow computations[Lawler’76, Goldberg’84].

• Linear programming based algorithm [Charikar’00].

• Fast linear time algorithms for computing 2-approximatesolutions [Kortsarz & Peleg’92, Charikar’00].

Page 8: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Undirected Graphs:

• Maximum density subgraph can be found in polynomialtime for undirected graphs.

• Combinatorial algorithms based on maxflow computations[Lawler’76, Goldberg’84].

• Linear programming based algorithm [Charikar’00].

• Fast linear time algorithms for computing 2-approximatesolutions [Kortsarz & Peleg’92, Charikar’00].

Page 9: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Directed graphs:

• Maximum density subgraph can be found in polynomialtime.

• Linear programming based algorithm by rounding the LPsolution [Charikar’00].

• Requires computations of |V |2 linear programs.

• No combinatorial algorithm known.

• O(|V |3 + |V |2|E |) algorithm for computing 2-approximatesolutions [Charikar’00].

Page 10: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Directed graphs:

• Maximum density subgraph can be found in polynomialtime.

• Linear programming based algorithm by rounding the LPsolution [Charikar’00].

• Requires computations of |V |2 linear programs.

• No combinatorial algorithm known.

• O(|V |3 + |V |2|E |) algorithm for computing 2-approximatesolutions [Charikar’00].

Page 11: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Directed graphs:

• Maximum density subgraph can be found in polynomialtime.

• Linear programming based algorithm by rounding the LPsolution [Charikar’00].

• Requires computations of |V |2 linear programs.

• No combinatorial algorithm known.

• O(|V |3 + |V |2|E |) algorithm for computing 2-approximatesolutions [Charikar’00].

Page 12: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Maximum Density Subgraphs

Directed graphs:

• Maximum density subgraph can be found in polynomialtime.

• Linear programming based algorithm by rounding the LPsolution [Charikar’00].

• Requires computations of |V |2 linear programs.

• No combinatorial algorithm known.

• O(|V |3 + |V |2|E |) algorithm for computing 2-approximatesolutions [Charikar’00].

Page 13: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest k Subgraph Problem

|V (H)| = k

• NP hard.

• Best approximation algorithm known: |V | 13−ǫ [Feige,Kortsarz, Peleg’93].

• Best hardness result known: No PTAS exists [Khot’04].

Page 14: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Relaxations of Densest k Subgraph Problem[Andersen, Chelapilla’08]

• Densest at least k Subgraph Problem.• |V (H)| ≥ k

• Densest at most k Subgraph Problem.• |V (H)| ≤ k

Page 15: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Densest At Least k SubgraphProblem

• 3-approximation linear time greedy algorithm [Andersen &Chelapilla’08]

• Polynomial time 2 approximation [Andersen]• Requires |V |2 parametric flow computations.

• It was not known whether the problem is NP hard.

Page 16: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Densest At Least k SubgraphProblem

• 3-approximation linear time greedy algorithm [Andersen &Chelapilla’08]

• Polynomial time 2 approximation [Andersen]• Requires |V |2 parametric flow computations.

• It was not known whether the problem is NP hard.

Page 17: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Densest At Least k SubgraphProblem

• 3-approximation linear time greedy algorithm [Andersen &Chelapilla’08]

• Polynomial time 2 approximation [Andersen]• Requires |V |2 parametric flow computations.

• It was not known whether the problem is NP hard.

Page 18: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Previous Results on Densest At most k SubgraphProblem

• NP hard.

• A γ approximation to this problem implies a γ2

approximation algorithm to the densest k subgraphproblem.

Page 19: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

CONTRIBUTIONS

Page 20: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Maximum Density Subgraph Problem

• First combinatorial algorithm for maximum densitysubgraph problem on directed graphs.

• A 2-approximation O(|V |+ |E |) time algorithm forcomputing maximum density subgraphs on directedgraphs.

• Improves the previous running time of O(|V |3 + |V |2|E |).

Page 21: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Maximum Density Subgraph Problem

• First combinatorial algorithm for maximum densitysubgraph problem on directed graphs.

• A 2-approximation O(|V |+ |E |) time algorithm forcomputing maximum density subgraphs on directedgraphs.

• Improves the previous running time of O(|V |3 + |V |2|E |).

Page 22: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem

Undirected Graphs:

• We show the problem is NP-complete.

• We give a combinatorial algorithm that requires onlymax(1, k − dG) parametric flow computations and achieves2-approximation.

• Previous 2 approximation algorithm required n2 parametricflow computations.

• We give a LP rounding based algorithm that also achievesan approximation factor of 2 and requires to solve the LPonly once.

Page 23: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem

Undirected Graphs:

• We show the problem is NP-complete.

• We give a combinatorial algorithm that requires onlymax(1, k − dG) parametric flow computations andachieves 2-approximation.

• Previous 2 approximation algorithm required n2 parametricflow computations.

• We give a LP rounding based algorithm that also achievesan approximation factor of 2 and requires to solve the LPonly once.

Page 24: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem

Undirected Graphs:

• We show the problem is NP-complete.

• We give a combinatorial algorithm that requires onlymax(1, k − dG) parametric flow computations and achieves2-approximation.

• Previous 2 approximation algorithm required n2 parametricflow computations.

• We give a LP rounding based algorithm that alsoachieves an approximation factor of 2 and requires tosolve the LP only once.

Page 25: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem

Directed Graphs:

• We define the densest at least k1, k2 subgraph problemfor directed graphs.

• |S| ≥ k1, |T | ≥ k2

• We give a combinatorial 2 approximation algorithm for it.

Page 26: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem

Directed Graphs:

• We define the densest at least k1, k2 subgraph problem fordirected graphs.

• |S| ≥ k1, |T | ≥ k2

• We give a combinatorial 2 approximation algorithm forit.

Page 27: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At most k Subgraph Problem

• We show a γ approximation algorithm for densest atmost k subgraph problem implies a 4γ approximationalgorithm for the densest k subgraph problem.

• Previously only a quadratic dependency on theapproximation factors between at most k and exact kdensest subgraph problem was known.

Page 28: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Today’s Talk

Maximum Density Subgraph:No Size ConstraintComplexity -Undirected -Directed Combinatorial solution, linear time 2 approx

Densest At least k Subgraph ProblemComplexity NP hardUndirected Fast combinatorial and LP based algorithm 2 approxDirected Combinatorial 2 approx

Densest At most k Subgraph ProblemComplexity Linear dependency with exact kUndirected -Directed -

Page 29: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Today’s Talk

Maximum Density Subgraph:No Size ConstraintComplexity -Undirected -Directed Combinatorial solution. Linear time 2 approx

Densest At least k Subgraph ProblemComplexity NP hardUndirected Fast combinatorial and LP based algorithm 2 approxDirected Combinatorial 2 approx

Densest At most k Subgraph ProblemComplexity Linear dependency with exact kUndirected -Directed -

Page 30: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Combinatorial Algorithm for Maximum DensitySubgraph in Directed Graphs

Page 31: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Combinatorial Algorithm for Maximum DensitySubgraph in Directed Graphs

Main Idea

• Suppose the optimum subgraph is (S, T ).

• Let g = d(S, T ) and let a = |S||T | .

• Guess the value of g and a. For every possible guess,construct a flow network from G.

Page 32: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Combinatorial Algorithm for Maximum DensitySubgraph in Directed Graphs

Main Idea

• Suppose the optimum subgraph is (S, T ).

• Let g = d(S, T ) and let a = |S||T | .

• Guess the value of g and a. For every possible guess,construct a flow network from G.

Page 33: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Combinatorial Algorithm for Maximum DensitySubgraph in Directed Graphs

Main Idea

• Suppose the optimum subgraph is (S, T ).

• Let g = d(S, T ) and let a = |S||T | .

• Guess the value of g and a. For every possible guess,construct a flow network from G.

Page 34: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Combinatorial Algorithm for Maximum DensitySubgraph in Directed Graphs

Main Idea

• The network satisfies the property:• For the correct guess of g and a, the densest subgraph is

easy to detect.

• We will try all values of a and for each choice of a, we willdo a binary search on the value of g.

Page 35: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Combinatorial Algorithm for Maximum DensitySubgraph in Directed Graphs

Main Idea

• The network satisfies the property:• For the correct guess of g and a, the densest subgraph is

easy to detect.

• We will try all values of a and for each choice of a, we willdo a binary search on the value of g.

Page 36: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Combinatorial Algorithm for Maximum DensitySubgraph in Directed Graphs

Main Idea

• The network satisfies the property:• For the correct guess of g and a, the densest subgraph is

easy to detect.

• We will try all values of a and for each choice of a, we willdo a binary search on the value of g.

Page 37: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

23

1

2

3

4

5

1

2

3

4

5

0

0

1

4

56

5

6

5

60

V1 V2

Replicate vertices on both sides and add forward edges ofweight 0.

Page 38: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

23 2

2

1

4

56

1

2

3

4

5

1

2

3

4

5

V1 V2

66

Add backward edges of weight 2.

Page 39: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

12 3

4

56

1

2

3

4

5

1

2

3

4

5

02

5

6

5

6

V1 V2

Page 40: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

12 3

4

56

1

2

3

4

5

1

2

3

4

5

02

s

5

6

5

6

V1 V2

11

11

∀v ∈ V1⋃

V2, add the edge (s, v) and set w(s, v) = |E | = m.

Page 41: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

1

2

3

4

5

1

2

3

4

0

2

s t

5

65

6

V1 V2

m=11

m+ g/√a

m+ g/√a

∀v ∈ V1, add the edge (v , t) with weight w(v , t) = m + g√a.

Page 42: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

1

2

3

4

5

0

2

s t

m+√ag-2dj

5

6

V1 V2

m=11m+ g/√a

∀v ∈ V2, add the edge (v , t) with weightw(v , t) = m +

√ag − 2dv .

Page 43: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

1

2

3

4

5

0

2

s t

m+√ag-2dj

5

6

V1 V2

m=11

m+ g/√a

Trivial cut has value m(|V1|+ |V2|).

Page 44: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Flow Network Construction for Maximum DensitySubgraph in Directed Graphs

1

2

3

4

5

0

2

s t

m+√ag-2dj

5

6

V1 V2

m=11m+ g/√a

Cut-value=m(|V1|+ |V2|) + |S′|√a

(

g − |E(S′,T ′)||S′|/

√a

)

+

|T ′|√a(

g − |E(S′,T ′)||T ′|

√a

)

Page 45: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

• Trivial cut=m(|V1|+ |V2|).• Nontrivial cut=m(|V1|+ |V2|) + |S′|√

a

(

g − |E(S′,T ′)||S′|/

√a

)

+

|T ′|√a(

g − |E(S′,T ′)||T ′|

√a

)

Page 46: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

• Trivial cut=m(|V1|+ |V2|).• Nontrivial cut=m(|V1|+ |V2|) + |S′|√

a

(

g − |E(S′,T ′)||S′|/

√a

)

+

|T ′|√a(

g − |E(S′,T ′)||T ′|

√a

)

Case 1: g < d(S, T ),

• Argue that if the guessed a is correct, both(

g − |E(S,T )||S|/

√a

)

and(

g − E(S,T )

|T |√

a

)

are negative.

• Therefore mincut is formed by some nontrivial cut.

Page 47: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

• Trivial cut=m(|V1|+ |V2|).• Nontrivial cut=m(|V1|+ |V2|) + |S′|√

a

(

g − |E(S′,T ′)||S′|/

√a

)

+

|T ′|√a(

g − |E(S′,T ′)||T ′|

√a

)

Case 2: g > d(S, T ),

• Argue by contradiction that we always obtain a trivial cut.

Page 48: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

• Trivial cut=m(|V1|+ |V2|).• Nontrivial cut=m(|V1|+ |V2|) + |S′|√

a

(

g − |E(S′,T ′)||S′|/

√a

)

+

|T ′|√a(

g − |E(S′,T ′)||T ′|

√a

)

Case 3: g = d(S, T ),

• If a is correct, argue that both the trivial cut and the cut({s, S ⊆ V1, T ⊆ V2},{t , (V1 \ S) ⊆ V1, (V2 \ T ) ⊆ V2} aremin-cuts.

• If a is not correct, argue that the min cut is the trivial cut.

Page 49: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Linear Time 2 Approximation Algorithm for theDensest Subgraph in Directed Graphs

Page 50: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Linear Time 2 Approximation Algorithm for theDensest Subgraph in Directed Graphs

231

4

56

[1,2][4,2]

[2,1]

[1,4]

[1,2]

[2,2]

231

4

56

[1,3]

[1,2]

[2,2]

[-,2][4,2]

[2,1]

[-,2][4,2]

[2,1] [-,2][3,2]

[2,1]2

31

4

56

[-,3]

[1,2]

[2,1]

[-,2] [2,1]

231

4

56

[-,3]

[1,2]

[2,-]

[-,2][3,2]

[2,1]

Page 51: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Linear Time 2 Approximation Algorithm for theDensest Subgraph in Directed Graphs

231

4

56

[-,2][3,2]

[2,-]

[-,2]

[1,2]

[2,-]

231

4

56

[-,1]

[-,2]

[2,-]

[-,2][3,2]

[2,-]

[-,2][2,2]

[2,-] [-,1][2,1]

[2,-]2

31

4

6

[-,2]

[2,-]

[-,2] [2,-]

231

4 [-,2]

[-,1][2,1]

[2,-]

Page 52: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Linear Time 2 Approximation Algorithm for theDensest Subgraph in Directed Graphs

23

4 [-,2]

[2,-][1,1]

23

4 [-,1]

[2,-][-,1]

23

[1,-][-,1]

Page 53: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Algorithm

Algorithm 2.1: DENSEST-SUBGRAPH-DIRECTED(G =(V , E))

n← |V |, H2n ← G, i ← 2nwhile Hi 6= ∅

do

Let v be a vertex in Hi of minimum degreeif category(v) = IN

then Delete all the incoming edges incident on velse Delete all the outgoing edges incident on v

if v has no edges incident on it then Delete vCall the new graph Hi−1, i ← i − 1

return (Hj which has the maximum density among H ′i s)

Page 54: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Linear Time 2 Approximation Algorithm for theDensest Subgraph in Directed Graphs

Proof Sketch

• Detect two values λi and λo, such that in the optimumsolution any vertex in S cannot have outdegree < λo andany vertex in T cannot have indegree < λi .

• Argue that λi = |E(S∗, T ∗)|(

1−√

1− 1|T∗|

)

and

λo = |E(S∗, T ∗)|(

1−√

1− 1|S∗|

)

are appropriate choices.

• Consider the iteration of the algorithm when all the verticeshave out-degree ≥ λo and indegree ≥ λi and argue that forthe above choices of λi and λo, density is at least 1

2 of theoptimum.

Page 55: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Linear Time 2 Approximation Algorithm for theDensest Subgraph in Directed Graphs

Proof Sketch

• Detect two values λi and λo, such that in the optimumsolution any vertex in S cannot have outdegree < λo andany vertex in T cannot have indegree < λi .

• Argue that λi = |E(S∗, T ∗)|(

1−√

1− 1|T∗|

)

and

λo = |E(S∗, T ∗)|(

1−√

1− 1|S∗|

)

are appropriate choices.

• Consider the iteration of the algorithm when all the verticeshave out-degree ≥ λo and indegree ≥ λi and argue that forthe above choices of λi and λo, density is at least 1

2 of theoptimum.

Page 56: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Linear Time 2 Approximation Algorithm for theDensest Subgraph in Directed Graphs

Proof Sketch

• Detect two values λi and λo, such that in the optimumsolution any vertex in S cannot have outdegree < λo andany vertex in T cannot have indegree < λi .

• Argue that λi = |E(S∗, T ∗)|(

1−√

1− 1|T∗|

)

and

λo = |E(S∗, T ∗)|(

1−√

1− 1|S∗|

)

are appropriate choices.

• Consider the iteration of the algorithm when all the verticeshave out-degree ≥ λo and indegree ≥ λi and argue that forthe above choices of λi and λo, density is at least 1

2 of theoptimum.

Page 57: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem is NP Hard

Page 58: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem is NP Hard

G=(V,E), |V|=n

Densest subgraph

of size >= n2+k ?

G’ clique on n2 vertices

Want to know, whether there exists a subgraph of size k inG = (V , E), |V | = n of density ≥ λ.

Page 59: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem is NP Hard

G=(V,E), |V|=n

Densest subgraph

of size >= n2+k ?

G’ clique on n2 vertices

Add a clique G′ of size n2 and ask for the optimum densest atleast n2 + k subgraph in G

G′.

Page 60: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Densest At least k Subgraph Problem is NP Hard

Densest subgraph

of size >= n2+k ?

G=(V,E),

|V|=n

Size exactly k

|V|=n

G’ clique on n2 vertices

Argue that the optimum solution consists of G′ and the densestk subgraph of G.

Page 61: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

Page 62: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

H1

Obtain the maximum density subgraph H1 of G. If |V (H1)| ≥ kSTOP.

Page 63: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

H1

H2

Otherwise, remove H1. If v /∈ V (H1) has x edges to V (H1), adda self-loop of weight x to it. Compute the densest subgraph H2

in G − H1.

Page 64: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

H1

H2

H3

If |V (H1)|+ |V (H2)| ≥ k , STOP. Else remove H2, adjust edgeweights and compute H3.

Page 65: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

H1 + H2 & arbitrary k-

|V(H1)|-|V(H2)| |V(H1)|-|V(H2)|

vertices

Suppose |V (H1)|+ |V (H2)|+ |V (H3)| ≥ k . Consider H1⋃

H2

and some arbitrary vertices to make up for size k .

Page 66: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

H1+H2+H3H1+H2+H3

Consider H1⋃

H2⋃

H3.

Page 67: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

H1+H2+H3H1+H2+H3

Return the one which has higher density.

Page 68: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

Proof Sketch.

• If H1 and H2 already covers half the edges of the optimum,then we get a 2 approximation from the first option.

• Otherwise, half the edges of the optimum still remains andtherefore density of H3 is at least half the density of theoptimum. So the second option gives a 2 approximation inthis case.

Page 69: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

2-approximation Algorithm for Densest At least ksubgraph

Proof Sketch.

• If H1 and H2 already covers half the edges of the optimum,then we get a 2 approximation from the first option.

• Otherwise, half the edges of the optimum still remains andtherefore density of H3 is at least half the density of theoptimum. So the second option gives a 2 approximation inthis case.

Page 70: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Open Problems

• Obtain linear time algorithm for maximum density subgraphproblem for both directed and undirected cases, withapproximation factor better than 2.

• Improve the running time of the combinatorial algorithm forcomputing maximum density subgraph in directed graphs.

• How can we get rid off trying all possible values of a ?

• Improve the approximation factor of 2 for densest at least ksubgraph problem for both undirected and directed graphs.

Page 71: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Open Problems

• Obtain linear time algorithm for maximum density subgraphproblem for both directed and undirected cases, withapproximation factor better than 2.

• Improve the running time of the combinatorial algorithm forcomputing maximum density subgraph in directed graphs.

• How can we get rid off trying all possible values of a ?

• Improve the approximation factor of 2 for densest at least ksubgraph problem for both undirected and directed graphs.

Page 72: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

Open Problems

• Obtain linear time algorithm for maximum density subgraphproblem for both directed and undirected cases, withapproximation factor better than 2.

• Improve the running time of the combinatorial algorithm forcomputing maximum density subgraph in directed graphs.

• How can we get rid off trying all possible values of a ?

• Improve the approximation factor of 2 for densest at least ksubgraph problem for both undirected and directed graphs.

Page 73: On Finding Dense Subgraphs - University Of Marylandsamir/talks/ismp-dense.pdfDensest Subgraph Problem and Variations Some Results Open Problems On Finding Dense Subgraphs Barna Saha

Densest Subgraph Problem and VariationsSome Results

Open Problems

THANK YOU

ANY DENSE QUESTIONS !!